video_common: xvidc_edid.h File Reference

| video_common Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xvidc_edid.h File Reference

## Macros
Address mapping for the base EDID block.
#define | XVIDC_EDID_HEADER 0x00
#define | XVIDC_EDID_VPI_ID_MAN_NAME0 0x08
#define | XVIDC_EDID_VPI_ID_MAN_NAME1 0x09
#define | XVIDC_EDID_VPI_ID_PROD_CODE_LSB 0x0A
#define | XVIDC_EDID_VPI_ID_PROD_CODE_MSB 0x0B
#define | XVIDC_EDID_VPI_ID_SN0 0x0C
#define | XVIDC_EDID_VPI_ID_SN1 0x0D
#define | XVIDC_EDID_VPI_ID_SN2 0x0E
#define | XVIDC_EDID_VPI_ID_SN3 0x0F
#define | XVIDC_EDID_VPI_WEEK_MAN 0x10
#define | XVIDC_EDID_VPI_YEAR 0x11
#define | XVIDC_EDID_STRUCT_VER 0x12
#define | XVIDC_EDID_STRUCT_REV 0x13
#define | XVIDC_EDID_BDISP_VID 0x14
#define | XVIDC_EDID_BDISP_H_SSAR 0x15
#define | XVIDC_EDID_BDISP_V_SSAR 0x16
#define | XVIDC_EDID_BDISP_GAMMA 0x17
#define | XVIDC_EDID_BDISP_FEATURE 0x18
#define | XVIDC_EDID_CC_RG_LOW 0x19
#define | XVIDC_EDID_CC_BW_LOW 0x1A
#define | XVIDC_EDID_CC_REDX_HIGH 0x1B
#define | XVIDC_EDID_CC_REDY_HIGH 0x1C
#define | XVIDC_EDID_CC_GREENX_HIGH 0x1D
#define | XVIDC_EDID_EST_TIMINGS_I 0x23
#define | XVIDC_EDID_EST_TIMINGS_II 0x24
#define | XVIDC_EDID_EST_TIMINGS_MAN 0x25
#define | XVIDC_EDID_STD_TIMINGS_H(N) (0x26 + 2 * (N - 1))
#define | XVIDC_EDID_STD_TIMINGS_AR_FRR(N) (0x27 + 2 * (N - 1))
#define | XVIDC_EDID_18BYTE_DESCRIPTOR(N) (0x36 + 18 * (N - 1))
#define | XVIDC_EDID_PTM (XVIDC_EDID_18BYTE_DESCRIPTOR(1))
#define | XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_LSB 0x00
#define | XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_MSB 0x01
#define | XVIDC_EDID_DTD_PTM_HRES_LSB 0x02
#define | XVIDC_EDID_DTD_PTM_HBLANK_LSB 0x03
#define | XVIDC_EDID_DTD_PTM_HRES_HBLANK_U4 0x04
#define | XVIDC_EDID_DTD_PTM_VRES_LSB 0x05
#define | XVIDC_EDID_DTD_PTM_VBLANK_LSB 0x06
#define | XVIDC_EDID_DTD_PTM_VRES_VBLANK_U4 0x07
#define | XVIDC_EDID_DTD_PTM_HFPORCH_LSB 0x08
#define | XVIDC_EDID_DTD_PTM_HSPW_LSB 0x09
#define | XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4 0x0A
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2 0x0B
#define | XVIDC_EDID_DTD_PTM_HIMGSIZE_MM_LSB 0x0C
#define | XVIDC_EDID_DTD_PTM_VIMGSIZE_MM_LSB 0x0D
#define | XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4 0x0E
#define | XVIDC_EDID_DTD_PTM_HBORDER 0x0F
#define | XVIDC_EDID_DTD_PTM_VBORDER 0x10
#define | XVIDC_EDID_DTD_PTM_SIGNAL 0x11
#define | XVIDC_EDID_EXT_BLK_COUNT 0x7E
#define | XVIDC_EDID_CHECKSUM 0x7F
Extended Display Identification Data: Masks, shifts, and values.
#define | XVIDC_EDID_CC_GREENY_HIGH 0x1E
#define | XVIDC_EDID_CC_BLUEX_HIGH 0x1F
#define | XVIDC_EDID_CC_BLUEY_HIGH 0x20
#define | XVIDC_EDID_CC_WHITEX_HIGH 0x21
#define | XVIDC_EDID_CC_WHITEY_HIGH 0x22
#define | XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_SHIFT 2
#define | XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK (0x1F << 2)
#define | XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_MASK 0x03
#define | XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_POS 3
#define | XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR1_SHIFT 5
#define | XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR2_MASK 0x1F
#define | XVIDC_EDID_BDISP_VID_VSI_SHIFT 7
#define | XVIDC_EDID_BDISP_VID_VSI_MASK (0x01 << 7)
#define | XVIDC_EDID_BDISP_VID_ANA_SLS_SHIFT 5
#define | XVIDC_EDID_BDISP_VID_ANA_SLS_MASK (0x03 << 5)
#define | XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0300_1000 0x0
#define | XVIDC_EDID_BDISP_VID_ANA_SLS_0714_0286_1000 0x1
#define | XVIDC_EDID_BDISP_VID_ANA_SLS_1000_0400_1400 0x2
#define | XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0000_0700 0x3
#define | XVIDC_EDID_BDISP_VID_ANA_VID_SETUP_MASK (0x01 << 4)
#define | XVIDC_EDID_BDISP_VID_ANA_SEP_SYNC_HV_MASK (0x01 << 3)
#define | XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_H_MASK (0x01 << 2)
#define | XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_G_MASK (0x01 << 1)
#define | XVIDC_EDID_BDISP_VID_ANA_SERR_V_SYNC_MASK (0x01)
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_SHIFT 4
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_MASK (0x7 << 4)
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_UNDEF 0x0
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_6 0x1
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_8 0x2
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_10 0x3
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_12 0x4
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_14 0x5
#define | XVIDC_EDID_BDISP_VID_DIG_BPC_16 0x6
#define | XVIDC_EDID_BDISP_VID_DIG_VIS_MASK 0xF
#define | XVIDC_EDID_BDISP_VID_DIG_VIS_UNDEF 0x0
#define | XVIDC_EDID_BDISP_VID_DIG_VIS_DVI 0x1
#define | XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIA 0x2
#define | XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIB 0x3
#define | XVIDC_EDID_BDISP_VID_DIG_VIS_MDDI 0x4
#define | XVIDC_EDID_BDISP_VID_DIG_VIS_DP 0x5
#define | XVIDC_EDID_BDISP_FEATURE_PM_STANDBY_MASK (0x1 << 7)
#define | XVIDC_EDID_BDISP_FEATURE_PM_SUSPEND_MASK (0x1 << 6)
#define | XVIDC_EDID_BDISP_FEATURE_PM_OFF_VLP_MASK (0x1 << 5)
#define | XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_SHIFT 3
#define | XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MASK (0x3 << 3)
#define | XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MCG 0x0
#define | XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_RGB 0x1
#define | XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_NRGB 0x2
#define | XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_UNDEF 0x3
#define | XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB444_MASK (0x1 << 3)
#define | XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB422_MASK (0x1 << 4)
#define | XVIDC_EDID_BDISP_FEATURE_SRGB_DEF_MASK (0x1 << 2)
#define | XVIDC_EDID_BDISP_FEATURE_PTM_INC_MASK (0x1 << 1)
#define | XVIDC_EDID_BDISP_FEATURE_CONTFREQ_MASK (0x1)
#define | XVIDC_EDID_CC_HIGH_SHIFT 2
#define | XVIDC_EDID_CC_RBX_LOW_SHIFT 6
#define | XVIDC_EDID_CC_RBY_LOW_SHIFT 4
#define | XVIDC_EDID_CC_RBY_LOW_MASK (0x3 << 4)
#define | XVIDC_EDID_CC_GWX_LOW_SHIFT 2
#define | XVIDC_EDID_CC_GWX_LOW_MASK (0x3 << 2)
#define | XVIDC_EDID_CC_GWY_LOW_MASK (0x3)
#define | XVIDC_EDID_CC_GREENY_HIGH 0x1E
#define | XVIDC_EDID_CC_BLUEX_HIGH 0x1F
#define | XVIDC_EDID_CC_BLUEY_HIGH 0x20
#define | XVIDC_EDID_CC_WHITEX_HIGH 0x21
#define | XVIDC_EDID_CC_WHITEY_HIGH 0x22
#define | XVIDC_EDID_EST_TIMINGS_I_720x400_70_MASK (0x1 << 7)
#define | XVIDC_EDID_EST_TIMINGS_I_720x400_88_MASK (0x1 << 6)
#define | XVIDC_EDID_EST_TIMINGS_I_640x480_60_MASK (0x1 << 5)
#define | XVIDC_EDID_EST_TIMINGS_I_640x480_67_MASK (0x1 << 4)
#define | XVIDC_EDID_EST_TIMINGS_I_640x480_72_MASK (0x1 << 3)
#define | XVIDC_EDID_EST_TIMINGS_I_640x480_75_MASK (0x1 << 2)
#define | XVIDC_EDID_EST_TIMINGS_I_800x600_56_MASK (0x1 << 1)
#define | XVIDC_EDID_EST_TIMINGS_I_800x600_60_MASK (0x1)
#define | XVIDC_EDID_EST_TIMINGS_II_800x600_72_MASK (0x1 << 7)
#define | XVIDC_EDID_EST_TIMINGS_II_800x600_75_MASK (0x1 << 6)
#define | XVIDC_EDID_EST_TIMINGS_II_832x624_75_MASK (0x1 << 5)
#define | XVIDC_EDID_EST_TIMINGS_II_1024x768_87_MASK (0x1 << 4)
#define | XVIDC_EDID_EST_TIMINGS_II_1024x768_60_MASK (0x1 << 3)
#define | XVIDC_EDID_EST_TIMINGS_II_1024x768_70_MASK (0x1 << 2)
#define | XVIDC_EDID_EST_TIMINGS_II_1024x768_75_MASK (0x1 << 1)
#define | XVIDC_EDID_EST_TIMINGS_II_1280x1024_75_MASK (0x1)
#define | XVIDC_EDID_EST_TIMINGS_MAN_1152x870_75_MASK (0x1 << 7)
#define | XVIDC_EDID_EST_TIMINGS_MAN_MASK (0x7F)
#define | XVIDC_EDID_STD_TIMINGS_AR_SHIFT 6
#define | XVIDC_EDID_STD_TIMINGS_AR_16_10 0x0
#define | XVIDC_EDID_STD_TIMINGS_AR_4_3 0x1
#define | XVIDC_EDID_STD_TIMINGS_AR_5_4 0x2
#define | XVIDC_EDID_STD_TIMINGS_AR_16_9 0x3
#define | XVIDC_EDID_STD_TIMINGS_FRR_MASK (0x3F)
#define | XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XBLANK_MASK 0x0F
#define | XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_MASK 0xF0
#define | XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_SHIFT 4
#define | XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VSPW_MASK 0x0F
#define | XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_MASK 0xF0
#define | XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_SHIFT 4
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_MASK 0xC0
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_MASK 0x30
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_MASK 0x0C
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VSPW_MASK 0x03
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_SHIFT 6
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_SHIFT 4
#define | XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_SHIFT 2
#define | XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_VIMGSIZE_MM_MASK 0x0F
#define | XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_MASK 0xF0
#define | XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_SHIFT 4
#define | XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_MASK 0x80
#define | XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_SHIFT 7
#define | XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_MASK 0x02
#define | XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_MASK 0x04
#define | XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_SHIFT 1
#define | XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_SHIFT 2

## Functions
void | XVidC_EdidGetManName (const u8 *EdidRaw, char ManName[4])
| Get the manufacturer name as specified in the vendor and product ID field of the supplied base Extended Display Identification Data (EDID). More...
XVidC_ColorDepth | XVidC_EdidGetColorDepth (const u8 *EdidRaw)
| Get the color bit depth (bits per primary color) as specified in the basic display parameters and features, video input definition field of the supplied base Extended Display Identification Data (EDID). More...
int | XVidC_EdidGetCcRedX (const u8 *EdidRaw)
| Calculates the x chromaticity coordinate for red by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More...
int | XVidC_EdidGetCcRedY (const u8 *EdidRaw)
| Calculates the y chromaticity coordinate for red by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More...
int | XVidC_EdidGetCcGreenX (const u8 *EdidRaw)
| Calculates the x chromaticity coordinate for green by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More...
int | XVidC_EdidGetCcGreenY (const u8 *EdidRaw)
| Calculates the y chromaticity coordinate for green by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More...
int | XVidC_EdidGetCcBlueX (const u8 *EdidRaw)
| Calculates the x chromaticity coordinate for blue by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More...
int | XVidC_EdidGetCcBlueY (const u8 *EdidRaw)
| Calculates the y chromaticity coordinate for blue by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More...
int | XVidC_EdidGetCcWhiteX (const u8 *EdidRaw)
| Calculates the x chromaticity coordinate for white by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More...
int | XVidC_EdidGetCcWhiteY (const u8 *EdidRaw)
| Calculates the y chromaticity coordinate for white by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to an integer in Q0.10 Format. More...
u16 | XVidC_EdidGetStdTimingsV (const u8 *EdidRaw, u8 StdTimingsNum)
| Retrieves the active vertical resolution from the standard timings field of the supplied base Extended Display Identification Data (EDID). More...
u32 | XVidC_EdidIsVideoTimingSupported (const u8 *EdidRaw, const XVidC_VideoTimingMode *VtMode)
| Checks whether or not a specified video timing mode is supported as specified in the supplied base Extended Display Identification Data (EDID). More...