HAL types. More...
#include <sys/types.h>#include <stdint.h>#include <stdbool.h>Go to the source code of this file.
Data Structures | |
| struct | _dsAudioSADList_t |
| Structure that holds Short Audio Descriptors retrieved from connected ARC device. More... | |
| struct | _dsAudioARCStatus_t |
| Structure that holds ARC status for the HDMI ARC/EARC port. More... | |
| struct | _dsMS12AudioProfileList_t |
| struct | _dsVolumeLeveller_t |
| This defines the type of volume leveller mode. More... | |
| struct | _dsSurroundVirtualizer_t |
| This defines the type of surround virtualizer mode. More... | |
| struct | _dsVideoConfig_t |
| Structure that defines video device configuration for the output. More... | |
| struct | _dsAudioTypeConfig_t |
| Structure that defines audio output device configuration. More... | |
| struct | _dsVideoPortResolution_t |
| Structure that defines video port resolution settings of output video device. More... | |
| struct | _dsAudioPortId_t |
| Structure that defines the audio port type and associated ID. More... | |
| struct | _dsVideoPortPortId_t |
| Structure that defines port id associated with video port. More... | |
| struct | _dsVideoPortTypeConfig_t |
| Structure that defines the video output port configuration. More... | |
| struct | _dsAudioPortConfig_t |
| Structure that defines audio port configuration. More... | |
| struct | _dsVideoPortPortConfig_t |
| Structure that defines video port configuration settings. More... | |
| struct | _dsDisplayEDID_t |
| Structure for the EDID display. More... | |
| struct | _dsHdmiInStatus_t |
| Structure type for HDMI input status. More... | |
| struct | _dsHdmiInCap_t |
| Structure type for HDMI input ARC Capability. More... | |
| struct | _dsCompositeInStatus_t |
| Structure type for Composite input status. More... | |
| struct | dsVideoCodecProfileSupport_t |
| Structure type for HEVC profiles. More... | |
| struct | dsVideoCodecInfo_t |
| Structure type for Video codec info. More... | |
| struct | dsSpd_infoframe_st |
| Structure type for spd info frame. More... | |
| struct | _dsSupportedGameFeatureList_t |
| Structure that captures Supported Game Features list. More... | |
Macros | |
| #define | dsAUDIOPORT_TYPE_NUM_MAX 4 |
| #define | dsAudioPORT_NUM_MAX 4 |
| #define | dsAudioType_isValid(t) (((t) >= dsAUDIOPORT_TYPE_ID_LR ) && ((t) < dsAUDIOPORT_TYPE_MAX)) |
| Audio output port type validation check. | |
| #define | dsAudioEncoding_isValid(t) (((t) >= dsAUDIO_ENC_NONE ) && ((t) < dsAUDIO_ENC_MAX)) |
| Audio encoding type validation check. | |
| #define | MAX_SAD 15 |
| Max values for SADs. | |
| #define | MAX_PROFILE_LIST_BUFFER_LEN 1024 |
| Structure that captures MS12 Audio Profile list. | |
| #define | dsAudioCompression_isValid(t) (((t) >= dsAUDIO_CMP_NONE ) && ((t) < dsAUDIO_CMP_MAX)) |
| Audio compression type validation check. | |
| #define | dsAudioStereoMode_isValid(t) (((t) >= dsAUDIO_STEREO_UNKNOWN ) && ((t) < dsAUDIO_STEREO_MAX)) |
| Audio stereo mode type validation check. | |
| #define | dsHdcpStatus_isValid(t) (((t) >= dsHDCP_STATUS_UNPOWERED ) && ((t) < dsHDCP_STATUS_MAX)) |
| HDCP status validation check. | |
| #define | dsVideoPortType_isValid(t) (((t) >= dsVIDEOPORT_TYPE_RF ) && ((t) < dsVIDEOPORT_TYPE_MAX)) |
| Video output port type validation check. | |
| #define | dsVideoPortPixelResolution_isValid(t) (((t) >= dsVIDEO_PIXELRES_720x480 ) && ((t) < dsVIDEO_PIXELRES_MAX)) |
| Video output resolutions type validation check. | |
| #define | dsVideoPortFrameRate_isValid(t) (((t) >= dsVIDEO_FRAMERATE_UNKNOWN ) && ((t) < dsVIDEO_FRAMERATE_MAX)) |
| Video output framerate validation check. | |
| #define | dsVideoPortScanMode_isValid(t) (((t) >= dsVIDEO_SCANMODE_INTERLACED ) && ((t) < dsVIDEO_SCANMODE_MAX)) |
| Video scan mode type validation check. | |
| #define | dsVideoPortAspectRatio_isValid(t) (((t) >= dsVIDEO_ASPECT_RATIO_4x3 ) && ((t) < dsVIDEO_ASPECT_RATIO_MAX)) |
| Video aspect ratio type validation check. | |
| #define | dsVideoPortStereoScopicMode_isValid(t) (((t) >= dsVIDEO_SSMODE_UNKNOWN ) && ((t) < dsVIDEO_SSMODE_MAX)) |
| Video Stereo Scopic modes type validation check. | |
| #define | dsVideoPortDFC_isValid(t) (((t) >= dsVIDEO_ZOOM_NONE ) && ((t) < dsVIDEO_ZOOM_MAX)) |
| Video screen zoom validation check. | |
| #define | HDCP_KEY_MAX_SIZE (4*1024) |
| Max Key size. | |
| #define | MS12_CONFIG_BUF_SIZE 16 |
| defines the maximum size of buffer to hold ms12 config type details Ex: CONFIG_Z, CONFIG_X, CONFIG_Y etc. | |
| #define | MAX_LANGUAGE_LEN 10 |
| Max length of Language Code String. | |
| #define | dsFPDColor_Make(R8, G8, B8) (((R8)<<16) | ((G8)<< 8) | ((B8) )) |
| Defines the color values in RGB format. | |
| #define | dsFPDColor_R(RGB32) (((RGB32) >> 16) & 0xFF) |
| Extract Red value form RGB value. | |
| #define | dsFPDColor_G(RGB32) (((RGB32) >> 8) & 0xFF) |
| Extract Green value form RGB value. | |
| #define | dsFPDColor_B(RGB32) (((RGB32) ) & 0xFF) |
| Extract Blue value form RGB value. | |
| #define | dsFPD_COLOR_BLUE dsFPDColor_Make(0, 0, 0xFF) |
| Define a set of common colors, for backward compatibility . | |
| #define | dsFPD_COLOR_GREEN dsFPDColor_Make(0, 0xFF, 0) |
| Green color LED | |
| #define | dsFPD_COLOR_RED dsFPDColor_Make(0xFF, 0, 0x0) |
| Red color LED | |
| #define | dsFPD_COLOR_YELLOW dsFPDColor_Make(0xFF, 0xFF, 0xE0) |
| Yellow color LED | |
| #define | dsFPD_COLOR_ORANGE dsFPDColor_Make(0xFF, 0x8C, 0x00) |
| Orange color LED | |
| #define | dsFPD_COLOR_WHITE dsFPDColor_Make(0xFF, 0xFF, 0xFF) |
| White color LED | |
| #define | dsFPD_COLOR_MAX 6 |
| Out of range. | |
| #define | dsFPDColor_isValid(t) (((t) & 0xFF000000) == 0) |
| Front panel LED colors validation check. | |
| #define | dsFPD_INDICATOR_MESSAGE 0 |
| This enumeration pre-defines common front panel indicators. Implementation may not have to use these enumerators. | |
| #define | dsFPD_INDICATOR_POWER 1 |
| Power LED. | |
| #define | dsFPD_INDICATOR_RECORD 2 |
| Record LED. | |
| #define | dsFPD_INDICATOR_REMOTE 3 |
| Remote LED. | |
| #define | dsFPD_INDICATOR_RFBYPASS 4 |
| RF Bypass LED. | |
| #define | dsFPD_INDICATOR_MAX 5 |
| Out of range. | |
| #define | dsFPDIndicator_isValid(t) (true) |
| Front panel LED indicator type validation check. | |
| #define | dsFPDTextDisplay_isValid(t) (((t) >= dsFPD_TEXTDISP_TEXT ) && ((t) < dsFPD_TEXTDISP_MAX)) |
| FPD text display type validation check. | |
| #define | dsFPD_BRIGHTNESS_MAX 100 |
| Maximum Value of FPD Led Brightness. | |
| #define | dsEEDID_MAX_VIDEO_CODE 64 |
| Maximum Value video modes are described in CEA specifictaion. | |
| #define | dsEEDID_MAX_MON_NAME_LENGTH 14 |
| Maximum length for for Connected Display Monitor names. | |
| #define | MAX_EDID_BYTES_LEN (1024) |
| Maximum length for EDID data. | |
| #define | dsSleepMode_isValid(t) (((t) >= dsHOST_SLEEP_MODE_LIGHT) && ((t) < dsHOST_SLEEP_MODE_MAX)) |
| Sleep mode validation check. | |
| #define | MAX_FEATURE_LIST_BUFFER_LEN 1024 |
| Max buffer length for the feature list. | |
| #define | dsHAL_APIVER(major, minor) (uint32_t)((major << 16) | (minor & 0xFFFF)) |
| HAL version number. | |
| #define | dsHAL_APIVER_MAJOR(x) ((x) >> 16) & (0x7FFF) |
| HAL Major version number. | |
| #define | dsHAL_APIVER_MINOR(x) (x & 0xFFFF) |
| HAL Minor version number. | |
Typedefs | |
| typedef enum _dsAudioPortType_t | dsAudioPortType_t |
| This enumeration defines the audio port types. | |
| typedef enum _dsAudioEncoding_t | dsAudioEncoding_t |
| This enumeration defines the audio encoding types. | |
| typedef enum _dsAudioCompression_t | dsAudioCompression_t |
| This enumeration defines the type of audio compression. | |
| typedef enum _dsAudioFormat_t | dsAudioFormat_t |
| This enumeration defines the type of audio format. | |
| typedef enum _dsAudioDuckingAction_t | dsAudioDuckingAction_t |
| This enumeration defines the type of audio ducking action. | |
| typedef enum _dsAudioDuckingType_t | dsAudioDuckingType_t |
| This enumeration defines the type of audio ducking type. | |
| typedef int | dsAudioCompressionValue_t |
| This defines the type of audio compression that can be used. | |
| typedef int | dsDialogEnhancer_t |
| This defines the type of dialog enhancer level that can be used. | |
| typedef int | dsIntelligentEqualizerMode_t |
| This defines the type of dialog enhancer level that can be used. | |
| typedef enum _dsAudioCapabilities_t | dsAudioCapabilities_t |
| Enumeration defines all of the supported Audio types. Each bit of uint32_t represent a standard. If a device supports multiple standards, the capability is the bitwise OR of the standards. | |
| typedef enum _dsAudioARCTypes_t | dsAudioARCTypes_t |
| Enumeration defines all of the supported Arc types. Each bit of uint32_t represent an ARC support type. If a device multiple ARC types support, it's represented as bitwise OR of the types. | |
| typedef struct _dsAudioSADList_t | dsAudioSADList_t |
| Structure that holds Short Audio Descriptors retrieved from connected ARC device. | |
| typedef struct _dsAudioARCStatus_t | dsAudioARCStatus_t |
| Structure that holds ARC status for the HDMI ARC/EARC port. | |
| typedef enum _dsMS12Capabilities_t | dsMS12Capabilities_t |
| Enumeration defines all of the supported MS12 types. Each bit of uint32_t represent a standard. If a device supports multiple standards, the capability is the bitwise OR of the standards. | |
| typedef struct _dsMS12AudioProfileList_t | dsMS12AudioProfileList_t |
| typedef struct _dsVolumeLeveller_t | dsVolumeLeveller_t |
| This defines the type of volume leveller mode. | |
| typedef struct _dsSurroundVirtualizer_t | dsSurroundVirtualizer_t |
| This defines the type of surround virtualizer mode. | |
| typedef enum StereoMode | dsAudioStereoMode_t |
| This enumeration defines the type of audio stereo mode. | |
| typedef enum _dsATMOSCapability_t | dsATMOSCapability_t |
| This enumeration defines ATMOS protocol version types. | |
| typedef enum _dsHdcpProtocolVersion_t | dsHdcpProtocolVersion_t |
| This enumeration defines HDCP protocol version types. | |
| typedef enum _dsHdcpStatus_t | dsHdcpStatus_t |
| This enumeration defines all HDCP Authentication Status. | |
| typedef enum _dsVideoPortType_t | dsVideoPortType_t |
| This enumeration defines all of the standard type of Video ports. | |
| typedef enum _dsVideoResolution_t | dsVideoResolution_t |
| This enumeration defines all of the standard video port resolutions. | |
| typedef enum _dsTVResolution_t | dsTVResolution_t |
| This enumeration defines all of the standard TV supported resolution with interlace information. | |
| typedef enum _dsVideoFrameRate_t | dsVideoFrameRate_t |
| This enumeration defines all of the standard frame rates at which video may be played out of the video port. | |
| typedef enum _dsVideoScanMode_t | dsVideoScanMode_t |
| This enumeration defines all of the standard video port scan modes. | |
| typedef enum _dsVideoBackgroundColor_t | dsVideoBackgroundColor_t |
| This enumeration defines background color for video port. | |
| typedef enum _dsVideoAspectRatio_t | dsVideoAspectRatio_t |
| This enumeration defines all of the standard video aspect ratios. | |
| typedef enum _dsVideoStereoScopicMode_t | dsVideoStereoScopicMode_t |
| This enumeration defines all of the standard video Stereo Scopic modes. | |
| typedef enum _dsVideoZoom_t | dsVideoZoom_t |
| This enumeration defines all of the standard screen zoom (format conversion) modes. | |
| typedef struct _dsVideoConfig_t | dsVideoConfig_t |
| Structure that defines video device configuration for the output. | |
| typedef struct _dsAudioTypeConfig_t | dsAudioTypeConfig_t |
| Structure that defines audio output device configuration. | |
| typedef struct _dsVideoPortResolution_t | dsVideoPortResolution_t |
| Structure that defines video port resolution settings of output video device. | |
| typedef struct _dsAudioPortId_t | dsAudioPortId_t |
| Structure that defines the audio port type and associated ID. | |
| typedef struct _dsVideoPortPortId_t | dsVideoPortPortId_t |
| Structure that defines port id associated with video port. | |
| typedef struct _dsVideoPortTypeConfig_t | dsVideoPortTypeConfig_t |
| Structure that defines the video output port configuration. | |
| typedef enum _dsHDRStandard_t | dsHDRStandard_t |
| Enumeration defines all of the standard HDR types. Each bit of uint32_t represent a standard. If a device supports multiple standards, the capability is the bitwise OR of the standards. | |
| typedef enum _dsSURROUNDMode_t | dsSURROUNDMode_t |
| Enumeration defines surround mode. Each bit of uint32_t represent supported surround mode. | |
| typedef enum _dsMS12FEATURE_t | dsMS12FEATURE_t |
| Enumeration defines MS12 feature. | |
| typedef struct _dsAudioPortConfig_t | dsAudioPortConfig_t |
| Structure that defines audio port configuration. | |
| typedef struct _dsVideoPortPortConfig_t | dsVideoPortPortConfig_t |
| Structure that defines video port configuration settings. | |
| typedef uint32_t | dsFPDColor_t |
| dsFPDColor_t is an 4-byte integer that is composed of RGB32 value in the following pattern: | |
| typedef int32_t | dsFPDIndicator_t |
| dsFPDIndicator_t is an ID number that uniquely identifies a hardware LED entity on the front panel. Each MFR implementation is free to assign any number to its LEDs. The mapping of LED ID to its display name (such as "Record LED") is done outside MFR library. | |
| typedef enum __dsFPDTextDisplay_t | dsFPDTextDisplay_t |
| This enumeration defines the FPD text display types. | |
| typedef enum __dsFPDState_t | dsFPDState_t |
| This enumeration defines the front panel display state. | |
| typedef enum __dsFPDLedState_t | dsFPDLedState_t |
| This enumeration defines the front panel display state. | |
| typedef enum __dsFPDTimeFormat_t | dsFPDTimeFormat_t |
| This enumeration defines the time formats to be used in the front panel text display. | |
| typedef uint32_t | dsFPDBrightness_t |
| Type definition for the brightness setting of a front panel indicator LED. | |
| typedef enum __dsFPDMode_t | dsFPDMode_t |
| This enumeration defines the front panel display mode. | |
| typedef struct _dsDisplayEDID_t | dsDisplayEDID_t |
| Structure for the EDID display. | |
| typedef enum _dsSleepMode_t | dsSleepMode_t |
| typedef enum _dsPowerState_t | dsPowerState_t |
| This enumeration defines the types of powerstate. | |
| typedef enum _dsDisplayMatrixCoefficients_t | dsDisplayMatrixCoefficients_t |
| This enumeration defines the type of Matrix coefficients. | |
| typedef enum _dsDisplayColorimetryInfo_t | dsDisplayColorimetryInfo_t |
| This enumeration defines the information of colorimetry. | |
| typedef enum _dsDisplayColorSpace_t | dsDisplayColorSpace_t |
| This enumeration defines the type of display color spaces supported. | |
| typedef enum _dsDisplayQuantizationRange_t | dsDisplayQuantizationRange_t |
| This enumeration defines the type of display quantization ranges. | |
| typedef enum _dsDisplayColorDepth_t | dsDisplayColorDepth_t |
| This enumeration defines the type of display Color depth. | |
| typedef enum _dsHdmiInPort_t | dsHdmiInPort_t |
| This enumeration defines the type of HDMI ports. | |
| typedef enum _dsHdmiInSignalStatus_t | dsHdmiInSignalStatus_t |
| This enumeration defines the type of HDMI signal status. | |
| typedef struct _dsHdmiInStatus_t | dsHdmiInStatus_t |
| Structure type for HDMI input status. | |
| typedef struct _dsHdmiInCap_t | dsHdmiInCap_t |
| Structure type for HDMI input ARC Capability. | |
| typedef enum _dsCompInSignalStatus_t | dsCompInSignalStatus_t |
| This enumeration defines the type composite signal status. | |
| typedef enum _dsCompositeInPort_t | dsCompositeInPort_t |
| This enumeration defines the type of composite ports. | |
| typedef struct _dsCompositeInStatus_t | dsCompositeInStatus_t |
| Structure type for Composite input status. | |
| typedef enum tv_hdmi_edid_version_e | tv_hdmi_edid_version_t |
| Enum for EDID version. | |
| typedef struct _dsSupportedGameFeatureList_t | dsSupportedGameFeatureList_t |
| Structure that captures Supported Game Features list. | |
| typedef enum _dsAudioPortState | dsAudioPortState_t |
| This enumeration defines the Audio port state. | |
| typedef enum dsAviContentType | dsAviContentType_t |
| This enumeration defines the AVI Content Types. | |
HAL types.
This API defines common types used by the HAL.