video_common
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Overview

Data Structures

struct  XVidC_VideoTiming
 Video timing structure. More...
 
struct  XVidC_3DSamplingInfo
 3D Sampling info structure. More...
 
struct  XVidC_3DInfo
 3D info structure. More...
 
struct  XVidC_VideoStream
 Video stream structure. More...
 
struct  XVidC_VideoWindow
 Video window structure. More...
 
struct  XVidC_VideoTimingMode
 Video timing mode from the video timing table. More...
 

Macros

#define XVidC_IsStream3D(VidStreamPtr)   ((VidStreamPtr)->Is3D)
 This macro check if video stream is 3D or 2D. More...
 
#define XVidC_EdidIsHeaderValid(E)   !memcmp(E, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8)
 Check if EDID header matches valid signature. More...
 
#define XVidC_EdidGetIdProdCode(E)
 Get product code from EDID. More...
 
#define XVidC_EdidGetIdSn(E)
 Extract 32-bit serial number from EDID. More...
 
#define XVidC_EdidGetManWeek(E)   (E[XVIDC_EDID_VPI_WEEK_MAN])
 Get week of manufacture from EDID. More...
 
#define XVidC_EdidGetModManYear(E)   (E[XVIDC_EDID_VPI_YEAR] + 1990)
 Get model/manufacture year from EDID. More...
 
#define XVidC_EdidIsYearModel(E)   (XVidC_EdidGetManWeek(E) == 0xFF)
 Check if year field represents model year (week=0xFF) More...
 
#define XVidC_EdidIsYearMan(E)   (XVidC_EdidGetManWeek(E) != 0xFF)
 Check if year field represents manufacture year (week!=0xFF) More...
 
#define XVidC_EdidGetStructVer(E)   (E[XVIDC_EDID_STRUCT_VER])
 Get EDID structure version number. More...
 
#define XVidC_EdidGetStructRev(E)   (E[XVIDC_EDID_STRUCT_REV])
 Get EDID structure revision number. More...
 
#define XVidC_EdidIsDigitalSig(E)   ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) != 0)
 Check if display uses digital signal input. More...
 
#define XVidC_EdidIsAnalogSig(E)   ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) == 0)
 Check if display uses analog signal input. More...
 
#define XVidC_EdidGetAnalogSigLvlStd(E)
 Get analog signal level standard. More...
 
#define XVidC_EdidGetAnalogSigVidSetup(E)
 Get analog video setup (blank-to-black setup/pedestal) More...
 
#define XVidC_EdidSuppAnalogSigSepSyncHv(E)
 Check if analog separate sync H and V supported. More...
 
#define XVidC_EdidSuppAnalogSigCompSyncH(E)
 Check if analog composite sync on H supported. More...
 
#define XVidC_EdidSuppAnalogSigCompSyncG(E)
 Check if analog composite sync on G (green) supported. More...
 
#define XVidC_EdidSuppAnalogSigSerrVsync(E)
 Check if analog serration on V sync pulse supported. More...
 
#define XVidC_EdidGetDigitalSigIfaceStd(E)   (E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_DIG_VIS_MASK)
 Get digital signal video interface standard. More...
 
#define XVidC_EdidIsSsArDefined(E)   ((E[XVIDC_EDID_BDISP_H_SSAR] | E[XVIDC_EDID_BDISP_V_SSAR]) != 0)
 Check if screen size or aspect ratio is defined. More...
 
#define XVidC_EdidGetSsArH(E)   E[XVIDC_EDID_BDISP_H_SSAR]
 Get horizontal screen size or aspect ratio value. More...
 
#define XVidC_EdidGetSsArV(E)   E[XVIDC_EDID_BDISP_V_SSAR]
 Get vertical screen size or aspect ratio value. More...
 
#define XVidC_EdidIsSsArSs(E)   ((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) != 0))
 Check if values represent screen size (both non-zero) More...
 
#define XVidC_EdidIsSsArArL(E)   ((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) == 0))
 Check if values represent landscape aspect ratio (H non-zero, V zero) More...
 
#define XVidC_EdidIsSsArArP(E)   ((XVidC_EdidGetSsArH(E) == 0) && (XVidC_EdidGetSsArV(E) != 0))
 Check if values represent portrait aspect ratio (H zero, V non-zero) More...
 
#define XVidC_EdidGetSsArArL(E)   ((float)((XVidC_EdidGetSsArH(E) + 99.0) / 100.0))
 Calculate landscape aspect ratio. More...
 
#define XVidC_EdidGetSsArArP(E)   ((float)(100.0 / (XVidC_EdidGetSsArV(E) + 99.0)))
 Calculate portrait aspect ratio. More...
 
#define XVidC_EdidIsGammaInExt(E)   (E[XVIDC_EDID_BDISP_GAMMA] == 0xFF)
 Check if gamma value is stored in extension block. More...
 
#define XVidC_EdidGetGamma(E)   ((float)((E[XVIDC_EDID_BDISP_GAMMA] + 100.0) / 100.0))
 Calculate gamma value from EDID. More...
 
#define XVidC_EdidSuppFeaturePmStandby(E)
 Check if standby power management supported. More...
 
#define XVidC_EdidSuppFeaturePmSuspend(E)
 Check if suspend power management supported. More...
 
#define XVidC_EdidSuppFeaturePmOffVlp(E)
 Check if active-off/very low power supported. More...
 
#define XVidC_EdidGetFeatureAnaColorType(E)
 Get analog display color type. More...
 
#define XVidC_EdidSuppFeatureDigColorEncYCrCb444(E)
 Check if digital YCrCb 4:4:4 color encoding supported. More...
 
#define XVidC_EdidSuppFeatureDigColorEncYCrCb422(E)
 Check if digital YCrCb 4:2:2 color encoding supported. More...
 
#define XVidC_EdidIsFeatureSrgbDef(E)
 Check if sRGB is default color space. More...
 
#define XVidC_EdidIsFeaturePtmInc(E)
 Check if preferred timing mode included. More...
 
#define XVidC_EdidIsFeatureContFreq(E)
 Check if continuous frequency operation supported. More...
 
#define XVidC_EdidSuppEstTimings720x400_70(E)
 Check if 720x400 @ 70Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings720x400_88(E)
 Check if 720x400 @ 88Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings640x480_60(E)
 Check if 640x480 @ 60Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings640x480_67(E)
 Check if 640x480 @ 67Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings640x480_72(E)
 Check if 640x480 @ 72Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings640x480_75(E)
 Check if 640x480 @ 75Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings800x600_56(E)
 Check if 800x600 @ 56Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings800x600_60(E)
 Check if 800x600 @ 60Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings800x600_72(E)
 Check if 800x600 @ 72Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings800x600_75(E)
 Check if 800x600 @ 75Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings832x624_75(E)
 Check if 832x624 @ 75Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings1024x768_87(E)
 Check if 1024x768 @ 87Hz interlaced timing supported. More...
 
#define XVidC_EdidSuppEstTimings1024x768_60(E)
 Check if 1024x768 @ 60Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings1024x768_70(E)
 Check if 1024x768 @ 70Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings1024x768_75(E)
 Check if 1024x768 @ 75Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings1280x1024_75(E)
 Check if 1280x1024 @ 75Hz timing supported. More...
 
#define XVidC_EdidSuppEstTimings1152x870_75(E)
 Check if 1152x870 @ 75Hz manufacturer timing supported. More...
 
#define XVidC_EdidGetTimingsMan(E)   (E[XVIDC_EDID_EST_TIMINGS_MAN] & XVIDC_EDID_EST_TIMINGS_MAN_MASK)
 Get manufacturer-specific established timings. More...
 
#define XVidC_EdidGetStdTimingsH(E, N)   ((E[XVIDC_EDID_STD_TIMINGS_H(N)] + 31) * 8)
 Get standard timing horizontal resolution. More...
 
#define XVidC_EdidGetStdTimingsAr(E, N)   (E[XVIDC_EDID_STD_TIMINGS_AR_FRR(N)] >> XVIDC_EDID_STD_TIMINGS_AR_SHIFT)
 Get standard timing aspect ratio. More...
 
#define XVidC_EdidGetStdTimingsFrr(E, N)
 Get standard timing field refresh rate. More...
 
#define XVidC_EdidIsDtdPtmInterlaced(E)
 Check if DTD/PTM uses interlaced scan. More...
 
#define XVidC_EdidGetExtBlkCount(E)   (E[XVIDC_EDID_EXT_BLK_COUNT])
 Get number of EDID extension blocks. More...
 
#define XVidC_EdidGetChecksum(E)   (E[XVIDC_EDID_CHECKSUM])
 Get EDID base block checksum. More...
 

Typedefs

typedef void(* XVidC_DelayHandler )(void *TimerPtr, u32 Delay)
 Callback type which represents a custom timer wait handler. More...
 

Enumerations

enum  XVidC_VideoMode {
  XVIDC_VM_720x480_60_I = 0, XVIDC_VM_720x486_60_I, XVIDC_VM_720x576_50_I, XVIDC_VM_1440x480_60_I,
  XVIDC_VM_1440x480_120_I, XVIDC_VM_1440x480_240_I, XVIDC_VM_1440x576_50_I, XVIDC_VM_1440x576_100_I,
  XVIDC_VM_1440x576_200_I, XVIDC_VM_1920x1080_48_I, XVIDC_VM_1920x1080_50_I, XVIDC_VM_1920x1080_50_I_VT1250,
  XVIDC_VM_1920x1080_60_I, XVIDC_VM_1920x1080_96_I, XVIDC_VM_1920x1080_100_I, XVIDC_VM_1920x1080_120_I,
  XVIDC_VM_2048x1080_48_I, XVIDC_VM_2048x1080_50_I, XVIDC_VM_2048x1080_60_I, XVIDC_VM_2048x1080_96_I,
  XVIDC_VM_2048x1080_100_I, XVIDC_VM_2048x1080_120_I, XVIDC_VM_2880x480_60_I, XVIDC_VM_2880x576_50_I,
  XVIDC_VM_640x350_85_P, XVIDC_VM_640x480_60_P, XVIDC_VM_640x480_72_P, XVIDC_VM_640x480_75_P,
  XVIDC_VM_640x480_85_P, XVIDC_VM_720x400_85_P, XVIDC_VM_720x480_60_P, XVIDC_VM_720x480_120_P,
  XVIDC_VM_720x480_240_P, XVIDC_VM_720x576_50_P, XVIDC_VM_720x576_100_P, XVIDC_VM_720x576_200_P,
  XVIDC_VM_800x600_56_P, XVIDC_VM_800x600_60_P, XVIDC_VM_800x600_72_P, XVIDC_VM_800x600_75_P,
  XVIDC_VM_800x600_85_P, XVIDC_VM_800x600_120_P_RB, XVIDC_VM_848x480_60_P, XVIDC_VM_1024x768_60_P,
  XVIDC_VM_1024x768_70_P, XVIDC_VM_1024x768_75_P, XVIDC_VM_1024x768_85_P, XVIDC_VM_1024x768_120_P_RB,
  XVIDC_VM_1152x864_75_P, XVIDC_VM_1280x720_24_P, XVIDC_VM_1280x720_25_P, XVIDC_VM_1280x720_30_P,
  XVIDC_VM_1280x720_48_P, XVIDC_VM_1280x720_50_P, XVIDC_VM_1280x720_60_P, XVIDC_VM_1280x720_100_P,
  XVIDC_VM_1280x720_120_P, XVIDC_VM_1280x768_60_P, XVIDC_VM_1280x768_60_P_RB, XVIDC_VM_1280x768_75_P,
  XVIDC_VM_1280x768_85_P, XVIDC_VM_1280x768_120_P_RB, XVIDC_VM_1280x800_60_P, XVIDC_VM_1280x800_60_P_RB,
  XVIDC_VM_1280x800_75_P, XVIDC_VM_1280x800_85_P, XVIDC_VM_1280x800_120_P_RB, XVIDC_VM_1280x960_60_P,
  XVIDC_VM_1280x960_85_P, XVIDC_VM_1280x960_120_P_RB, XVIDC_VM_1280x1024_60_P, XVIDC_VM_1280x1024_75_P,
  XVIDC_VM_1280x1024_85_P, XVIDC_VM_1280x1024_120_P_RB, XVIDC_VM_1360x768_60_P, XVIDC_VM_1360x768_120_P_RB,
  XVIDC_VM_1366x768_60_P, XVIDC_VM_1366x768_60_P_RB, XVIDC_VM_1400x1050_60_P, XVIDC_VM_1400x1050_60_P_RB,
  XVIDC_VM_1400x1050_75_P, XVIDC_VM_1400x1050_85_P, XVIDC_VM_1400x1050_120_P_RB, XVIDC_VM_1440x240_60_P,
  XVIDC_VM_1440x240_60_P_VT263, XVIDC_VM_1440x288_50_P, XVIDC_VM_1440x288_50_P_VT314, XVIDC_VM_1440x288_50_P_VT312,
  XVIDC_VM_1440x480_60_P, XVIDC_VM_1440x576_50_P, XVIDC_VM_1440x900_60_P, XVIDC_VM_1440x900_60_P_RB,
  XVIDC_VM_1440x900_75_P, XVIDC_VM_1440x900_85_P, XVIDC_VM_1440x900_120_P_RB, XVIDC_VM_1600x1200_60_P,
  XVIDC_VM_1600x1200_65_P, XVIDC_VM_1600x1200_70_P, XVIDC_VM_1600x1200_75_P, XVIDC_VM_1600x1200_85_P,
  XVIDC_VM_1600x1200_120_P_RB, XVIDC_VM_1680x720_24_P, XVIDC_VM_1680x720_25_P, XVIDC_VM_1680x720_30_P,
  XVIDC_VM_1680x720_48_P, XVIDC_VM_1680x720_50_P, XVIDC_VM_1680x720_60_P, XVIDC_VM_1680x720_100_P,
  XVIDC_VM_1680x720_120_P, XVIDC_VM_1680x1050_50_P, XVIDC_VM_1680x1050_60_P, XVIDC_VM_1680x1050_60_P_RB,
  XVIDC_VM_1680x1050_75_P, XVIDC_VM_1680x1050_85_P, XVIDC_VM_1680x1050_120_P_RB, XVIDC_VM_1792x1344_60_P,
  XVIDC_VM_1792x1344_75_P, XVIDC_VM_1792x1344_120_P_RB, XVIDC_VM_1856x1392_60_P, XVIDC_VM_1856x1392_75_P,
  XVIDC_VM_1856x1392_120_P_RB, XVIDC_VM_1920x1080_24_P, XVIDC_VM_1920x1080_25_P, XVIDC_VM_1920x1080_30_P,
  XVIDC_VM_1920x1080_48_P, XVIDC_VM_1920x1080_50_P, XVIDC_VM_1920x1080_60_P, XVIDC_VM_1920x1080_100_P,
  XVIDC_VM_1920x1080_120_P, XVIDC_VM_1920x1200_60_P, XVIDC_VM_1920x1200_60_P_RB, XVIDC_VM_1920x1200_75_P,
  XVIDC_VM_1920x1200_85_P, XVIDC_VM_1920x1200_120_P_RB, XVIDC_VM_1920x1440_60_P, XVIDC_VM_1920x1440_75_P,
  XVIDC_VM_1920x1440_120_P_RB, XVIDC_VM_1920x2160_60_P, XVIDC_VM_2048x1080_24_P, XVIDC_VM_2048x1080_25_P,
  XVIDC_VM_2048x1080_30_P, XVIDC_VM_2048x1080_48_P, XVIDC_VM_2048x1080_50_P, XVIDC_VM_2048x1080_60_P,
  XVIDC_VM_2048x1080_100_P, XVIDC_VM_2048x1080_120_P, XVIDC_VM_2560x1080_24_P, XVIDC_VM_2560x1080_25_P,
  XVIDC_VM_2560x1080_30_P, XVIDC_VM_2560x1080_48_P, XVIDC_VM_2560x1080_50_P, XVIDC_VM_2560x1080_60_P,
  XVIDC_VM_2560x1080_100_P, XVIDC_VM_2560x1080_120_P, XVIDC_VM_2560x1600_60_P, XVIDC_VM_2560x1600_60_P_RB,
  XVIDC_VM_2560x1600_75_P, XVIDC_VM_2560x1600_85_P, XVIDC_VM_2560x1600_120_P_RB, XVIDC_VM_2880x240_60_P,
  XVIDC_VM_2880x240_60_P_VT263, XVIDC_VM_2880x288_50_P, XVIDC_VM_2880x288_50_P_VT314, XVIDC_VM_2880x288_50_P_VT312,
  XVIDC_VM_2880x480_60_P, XVIDC_VM_2880x576_50_P, XVIDC_VM_3840x2160_24_P, XVIDC_VM_3840x2160_25_P,
  XVIDC_VM_3840x2160_30_P, XVIDC_VM_3840x2160_48_P, XVIDC_VM_3840x2160_50_P, XVIDC_VM_3840x2160_60_P,
  XVIDC_VM_3840x2160_60_P_RB, XVIDC_VM_3840x2160_100_P, XVIDC_VM_3840x2160_120_P, XVIDC_VM_4096x2160_24_P,
  XVIDC_VM_4096x2160_25_P, XVIDC_VM_4096x2160_30_P, XVIDC_VM_4096x2160_48_P, XVIDC_VM_4096x2160_50_P,
  XVIDC_VM_4096x2160_60_P, XVIDC_VM_4096x2160_60_P_RB, XVIDC_VM_4096x2160_100_P, XVIDC_VM_4096x2160_120_P,
  XVIDC_VM_5120x2160_24_P, XVIDC_VM_5120x2160_25_P, XVIDC_VM_5120x2160_30_P, XVIDC_VM_5120x2160_48_P,
  XVIDC_VM_5120x2160_50_P, XVIDC_VM_5120x2160_60_P, XVIDC_VM_5120x2160_100_P, XVIDC_VM_5120x2160_120_P,
  XVIDC_VM_7680x4320_24_P, XVIDC_VM_7680x4320_25_P, XVIDC_VM_7680x4320_30_P, XVIDC_VM_7680x4320_48_P,
  XVIDC_VM_7680x4320_50_P, XVIDC_VM_7680x4320_60_P, XVIDC_VM_7680x4320_120_P, XVIDC_VM_7680x4320_100_P,
  XVIDC_VM_10240x4320_24_P, XVIDC_VM_10240x4320_25_P, XVIDC_VM_10240x4320_30_P, XVIDC_VM_10240x4320_48_P,
  XVIDC_VM_10240x4320_50_P, XVIDC_VM_10240x4320_60_P, XVIDC_VM_10240x4320_100_P, XVIDC_VM_10240x4320_120_P,
  XVIDC_VM_NUM_SUPPORTED, XVIDC_VM_USE_EDID_PREFERRED, XVIDC_VM_NO_INPUT, XVIDC_VM_NOT_SUPPORTED,
  XVIDC_VM_CUSTOM, XVIDC_VM_INTL_START = XVIDC_VM_720x480_60_I, XVIDC_VM_PROG_START = XVIDC_VM_640x350_85_P, XVIDC_VM_INTL_END = (XVIDC_VM_PROG_START - 1),
  XVIDC_VM_PROG_END = (XVIDC_VM_NUM_SUPPORTED - 1), XVIDC_VM_480_60_I = XVIDC_VM_720x480_60_I, XVIDC_VM_486_60_I = XVIDC_VM_720x486_60_I, XVIDC_VM_576_50_I = XVIDC_VM_720x576_50_I,
  XVIDC_VM_1080_50_I = XVIDC_VM_1920x1080_50_I, XVIDC_VM_1080_60_I = XVIDC_VM_1920x1080_60_I, XVIDC_VM_VGA_60_P = XVIDC_VM_640x480_60_P, XVIDC_VM_480_60_P = XVIDC_VM_720x480_60_P,
  XVIDC_VM_SVGA_60_P = XVIDC_VM_800x600_60_P, XVIDC_VM_XGA_60_P = XVIDC_VM_1024x768_60_P, XVIDC_VM_720_50_P = XVIDC_VM_1280x720_50_P, XVIDC_VM_720_60_P = XVIDC_VM_1280x720_60_P,
  XVIDC_VM_WXGA_60_P = XVIDC_VM_1366x768_60_P, XVIDC_VM_UXGA_60_P = XVIDC_VM_1600x1200_60_P, XVIDC_VM_WSXGA_60_P = XVIDC_VM_1680x1050_60_P, XVIDC_VM_1080_24_P = XVIDC_VM_1920x1080_24_P,
  XVIDC_VM_1080_25_P = XVIDC_VM_1920x1080_25_P, XVIDC_VM_1080_30_P = XVIDC_VM_1920x1080_30_P, XVIDC_VM_1080_50_P = XVIDC_VM_1920x1080_50_P, XVIDC_VM_1080_60_P = XVIDC_VM_1920x1080_60_P,
  XVIDC_VM_WUXGA_60_P = XVIDC_VM_1920x1200_60_P, XVIDC_VM_UHD2_60_P = XVIDC_VM_1920x2160_60_P, XVIDC_VM_UHD_24_P = XVIDC_VM_3840x2160_24_P, XVIDC_VM_UHD_25_P = XVIDC_VM_3840x2160_25_P,
  XVIDC_VM_UHD_30_P = XVIDC_VM_3840x2160_30_P, XVIDC_VM_UHD_60_P = XVIDC_VM_3840x2160_60_P, XVIDC_VM_4K2K_60_P = XVIDC_VM_4096x2160_60_P, XVIDC_VM_4K2K_60_P_RB = XVIDC_VM_4096x2160_60_P_RB
}
 This typedef enumerates the list of available standard display monitor timings as specified in the xvidc_timings_table.c file. More...
 
enum  XVidC_VideoFormat { XVIDC_VF_PROGRESSIVE = 0, XVIDC_VF_INTERLACED, XVIDC_VF_UNKNOWN }
 Progressive/interlaced video format. More...
 
enum  XVidC_FrameRate {
  XVIDC_FR_24HZ = 24, XVIDC_FR_25HZ = 25, XVIDC_FR_30HZ = 30, XVIDC_FR_48HZ = 48,
  XVIDC_FR_50HZ = 50, XVIDC_FR_56HZ = 56, XVIDC_FR_60HZ = 60, XVIDC_FR_65HZ = 65,
  XVIDC_FR_67HZ = 67, XVIDC_FR_70HZ = 70, XVIDC_FR_72HZ = 72, XVIDC_FR_75HZ = 75,
  XVIDC_FR_85HZ = 85, XVIDC_FR_87HZ = 87, XVIDC_FR_88HZ = 88, XVIDC_FR_96HZ = 96,
  XVIDC_FR_100HZ = 100, XVIDC_FR_120HZ = 120, XVIDC_FR_144HZ = 144, XVIDC_FR_200HZ = 200,
  XVIDC_FR_240HZ = 240, XVIDC_FR_NUM_SUPPORTED = 21, XVIDC_FR_UNKNOWN
}
 Frame rate. More...
 
enum  XVidC_ColorDepth {
  XVIDC_BPC_6 = 6, XVIDC_BPC_8 = 8, XVIDC_BPC_10 = 10, XVIDC_BPC_12 = 12,
  XVIDC_BPC_14 = 14, XVIDC_BPC_16 = 16, XVIDC_BPC_NUM_SUPPORTED = 6, XVIDC_BPC_UNKNOWN
}
 Color depth - bits per color component. More...
 
enum  XVidC_PixelsPerClock {
  XVIDC_PPC_1 = 1, XVIDC_PPC_2 = 2, XVIDC_PPC_4 = 4, XVIDC_PPC_8 = 8,
  XVIDC_PPC_NUM_SUPPORTED = 4
}
 Pixels per clock. More...
 
enum  XVidC_ColorFormat {
  XVIDC_CSF_RGB = 0, XVIDC_CSF_YCRCB_444, XVIDC_CSF_YCRCB_422, XVIDC_CSF_YCRCB_420,
  XVIDC_CSF_YONLY, XVIDC_CSF_RGBA, XVIDC_CSF_YCRCBA_444, XVIDC_CSF_MEM_RGBX8 = 10,
  XVIDC_CSF_MEM_YUVX8, XVIDC_CSF_MEM_YUYV8, XVIDC_CSF_MEM_RGBA8, XVIDC_CSF_MEM_YUVA8,
  XVIDC_CSF_MEM_RGBX10, XVIDC_CSF_MEM_YUVX10, XVIDC_CSF_MEM_RGB565, XVIDC_CSF_MEM_Y_UV8,
  XVIDC_CSF_MEM_Y_UV8_420, XVIDC_CSF_MEM_RGB8, XVIDC_CSF_MEM_YUV8, XVIDC_CSF_MEM_Y_UV10,
  XVIDC_CSF_MEM_Y_UV10_420, XVIDC_CSF_MEM_Y8, XVIDC_CSF_MEM_Y10, XVIDC_CSF_MEM_BGRA8,
  XVIDC_CSF_MEM_BGRX8, XVIDC_CSF_MEM_UYVY8, XVIDC_CSF_MEM_BGR8, XVIDC_CSF_MEM_RGBX12,
  XVIDC_CSF_MEM_YUVX12, XVIDC_CSF_MEM_Y_UV12, XVIDC_CSF_MEM_Y_UV12_420, XVIDC_CSF_MEM_Y12,
  XVIDC_CSF_MEM_RGB16, XVIDC_CSF_MEM_YUV16, XVIDC_CSF_MEM_Y_UV16, XVIDC_CSF_MEM_Y_UV16_420,
  XVIDC_CSF_MEM_Y16, XVIDC_CSF_MEM_R_G_B8, XVIDC_CSF_MEM_Y_U_V8_420, XVIDC_CSF_MEM_Y_U_V8,
  XVIDC_CSF_MEM_Y_U_V10, XVIDC_CSF_MEM_Y_U_V12, XVIDC_CSF_MEM_Y_U_V10_L16LE, XVIDC_CSF_MEM_Y_UV10_L16LE,
  XVIDC_CSF_MEM_Y_UV10_420_L16LE, XVIDC_CSF_MEM_Y10_L16LE, XVIDC_CSF_MEM_Y_U_V12_L16LE, XVIDC_CSF_MEM_Y_UV12_L16LE,
  XVIDC_CSF_MEM_Y_UV12_420_L16LE, XVIDC_CSF_MEM_Y12_L16LE, XVIDC_CSF_MEM_Y_U_V10_M16LE, XVIDC_CSF_MEM_Y_UV10_M16LE,
  XVIDC_CSF_MEM_Y_UV10_420_M16LE, XVIDC_CSF_MEM_Y10_M16LE, XVIDC_CSF_MEM_Y_U_V12_M16LE, XVIDC_CSF_MEM_Y_UV12_M16LE,
  XVIDC_CSF_MEM_Y_UV12_420_M16LE, XVIDC_CSF_MEM_Y12_M16LE, XVIDC_CSF_MEM_END, XVIDC_CSF_YCBCR_422 = 64,
  XVIDC_CSF_YCBCR_420, XVIDC_CSF_YCBCR_444, XVIDC_CSF_NUM_SUPPORTED, XVIDC_CSF_UNKNOWN,
  XVIDC_CSF_STRM_START = XVIDC_CSF_RGB, XVIDC_CSF_STRM_END = XVIDC_CSF_YONLY, XVIDC_CSF_MEM_START = XVIDC_CSF_MEM_RGBX8, XVIDC_CSF_NUM_STRM = (XVIDC_CSF_STRM_END - XVIDC_CSF_STRM_START + 1),
  XVIDC_CSF_NUM_MEM = (XVIDC_CSF_MEM_END - XVIDC_CSF_MEM_START)
}
 Color space format. More...
 
enum  XVidC_TileSize { XVIDC_TILE_32 = 32, XVIDC_TILE_64 = 64, XVIDC_TILE_NUM_SUPPORTED = 2 }
 Tile Size in Tile format. More...
 
enum  XVidC_AspectRatio { XVIDC_AR_4_3 = 0, XVIDC_AR_16_9 = 1 }
 Image Aspect Ratio. More...
 
enum  XVidC_ColorStd {
  XVIDC_BT_2020 = 0, XVIDC_BT_709, XVIDC_BT_601, XVIDC_BT_NUM_SUPPORTED,
  XVIDC_BT_UNKNOWN
}
 Color space conversion standard. More...
 
enum  XVidC_ColorRange {
  XVIDC_CR_16_235 = 0, XVIDC_CR_16_240, XVIDC_CR_0_255, XVIDC_CR_NUM_SUPPORTED,
  XVIDC_CR_UNKNOWN_RANGE
}
 Color conversion output range. More...
 
enum  XVidC_3DFormat {
  XVIDC_3D_FRAME_PACKING = 0, XVIDC_3D_FIELD_ALTERNATIVE, XVIDC_3D_LINE_ALTERNATIVE, XVIDC_3D_SIDE_BY_SIDE_FULL,
  XVIDC_3D_TOP_AND_BOTTOM_HALF, XVIDC_3D_SIDE_BY_SIDE_HALF, XVIDC_3D_UNKNOWN
}
 3D formats. More...
 
enum  XVidC_3DSamplingMethod { XVIDC_3D_SAMPLING_HORIZONTAL = 0, XVIDC_3D_SAMPLING_QUINCUNX, XVIDC_3D_SAMPLING_UNKNOWN }
 3D Sub-sampling methods. More...
 
enum  XVidC_3DSamplingPosition {
  XVIDC_3D_SAMPPOS_OLOR = 0, XVIDC_3D_SAMPPOS_OLER, XVIDC_3D_SAMPPOS_ELOR, XVIDC_3D_SAMPPOS_ELER,
  XVIDC_3D_SAMPPOS_UNKNOWN
}
 3D Sub-sampling positions. More...
 
enum  XVidC_Eotf {
  XVIDC_EOTF_TG_SDR = 0, XVIDC_EOTF_TG_HDR, XVIDC_EOTF_SMPTE2084, XVIDC_EOTF_HLG,
  XVIDC_EOTF_NUM_SUPPORTED, XVIDC_EOTF_UNKNOWN
}
 Electro Optical Transfer Function. More...
 

Functions

u32 XVidC_RegisterCustomTimingModes (const XVidC_VideoTimingMode *CustomTable, u16 NumElems)
 This function registers a user-defined custom video mode timing table with video_common. More...
 
void XVidC_UnregisterCustomTimingModes (void)
 This function unregisters the user-defined custom video mode timing table previously registered by XVidC_RegisterCustomTimingModes(). More...
 
u64 XVidC_GetPixelClockHzByHVFr (u32 HTotal, u32 VTotal, u8 FrameRate)
 This function calculates pixel clock based on the inputs. More...
 
u64 XVidC_GetPixelClockHzByVmId (XVidC_VideoMode VmId)
 This function calculates pixel clock from video mode. More...
 
XVidC_VideoFormat XVidC_GetVideoFormat (XVidC_VideoMode VmId)
 This function checks if the input video mode is interlaced/progressive based on its ID from the video timings table. More...
 
u8 XVidC_IsInterlaced (XVidC_VideoMode VmId)
 This function checks if the input video mode is interlaced based on its ID from the video timings table. More...
 
XVidC_VideoMode XVidC_GetVideoModeIdWBlanking (const XVidC_VideoTiming *Timing, u32 FrameRate, u8 IsInterlaced)
 This function returns the Video Mode ID that matches the detected input timing, frame rate and I/P flag. More...
 
XVidC_VideoMode XVidC_GetVideoModeId (u32 Width, u32 Height, u32 FrameRate, u8 IsInterlaced)
 This function returns the Video Mode ID that matches the detected input width, height, frame rate and I/P flag. More...
 
XVidC_VideoMode XVidC_GetVideoModeIdExtensive (XVidC_VideoTiming *Timing, u32 FrameRate, u8 IsInterlaced, u8 IsExtensive)
 This function returns the Video Mode ID that matches the detected input timing, frame rate and I/P flag. More...
 
XVidC_VideoMode XVidC_GetVideoModeIdRb (u32 Width, u32 Height, u32 FrameRate, u8 IsInterlaced, u8 RbN)
 This function returns the video mode ID that matches the detected input width, height, frame rate, interlaced or progressive, and reduced blanking. More...
 
const XVidC_VideoTimingModeXVidC_GetVideoModeData (XVidC_VideoMode VmId)
 This function returns the pointer to video mode data at index provided. More...
 
const char * XVidC_GetVideoModeStr (XVidC_VideoMode VmId)
 This function returns the resolution name for index specified. More...
 
const char * XVidC_GetFrameRateStr (XVidC_VideoMode VmId)
 This function returns the frame rate name for index specified. More...
 
const char * XVidC_Get3DFormatStr (XVidC_3DFormat Format)
 This function returns a string representation of the enumerated type, XVidC_3DFormat. More...
 
const char * XVidC_GetColorFormatStr (XVidC_ColorFormat ColorFormatId)
 This function returns the color format name for index specified. More...
 
XVidC_FrameRate XVidC_GetFrameRate (XVidC_VideoMode VmId)
 This function returns the frame rate for index specified. More...
 
const XVidC_VideoTimingXVidC_GetTimingInfo (XVidC_VideoMode VmId)
 This function returns the timing parameters for specified resolution. More...
 
u32 XVidC_SetVideoStream (XVidC_VideoStream *VidStrmPtr, XVidC_VideoMode VmId, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc, XVidC_PixelsPerClock Ppc)
 This function sets the VideoStream structure for the specified video format. More...
 
u32 XVidC_Set3DVideoStream (XVidC_VideoStream *VidStrmPtr, XVidC_VideoMode VmId, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc, XVidC_PixelsPerClock Ppc, XVidC_3DInfo *Info3DPtr)
 This function sets the VideoStream structure for the specified 3D video format. More...
 
void XVidC_ReportStreamInfo (const XVidC_VideoStream *Stream)
 This function prints the stream information on STDIO/UART console. More...
 
void XVidC_ReportTiming (const XVidC_VideoTiming *Timing, u8 IsInterlaced)
 This function prints timing information on STDIO/Uart console. More...
 
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...
 

Variables

const XVidC_VideoTimingMode XVidC_VideoTimingModes [XVIDC_VM_NUM_SUPPORTED]
 This table contains the main stream attributes for various standard resolutions. More...
 
const XVidC_VideoTimingMode XVidC_VideoTimingModes [XVIDC_VM_NUM_SUPPORTED]
 This table contains the main stream attributes for various standard resolutions. More...
 

Address mapping for the base EDID block.

#define XVIDC_EDID_HEADER   0x00
 EDID header field offset. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME0   0x08
 Vendor/product ID manufacturer name byte 0 offset. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME1   0x09
 Vendor/product ID manufacturer name byte 1 offset. More...
 
#define XVIDC_EDID_VPI_ID_PROD_CODE_LSB   0x0A
 Vendor/product ID product code LSB offset. More...
 
#define XVIDC_EDID_VPI_ID_PROD_CODE_MSB   0x0B
 Vendor/product ID product code MSB offset. More...
 
#define XVIDC_EDID_VPI_ID_SN0   0x0C
 Vendor/product ID serial number byte 0 offset. More...
 
#define XVIDC_EDID_VPI_ID_SN1   0x0D
 Vendor/product ID serial number byte 1 offset. More...
 
#define XVIDC_EDID_VPI_ID_SN2   0x0E
 Vendor/product ID serial number byte 2 offset. More...
 
#define XVIDC_EDID_VPI_ID_SN3   0x0F
 Vendor/product ID serial number byte 3 offset. More...
 
#define XVIDC_EDID_VPI_WEEK_MAN   0x10
 Vendor/product ID week of manufacture offset. More...
 
#define XVIDC_EDID_VPI_YEAR   0x11
 Vendor/product ID year of manufacture/model offset. More...
 
#define XVIDC_EDID_STRUCT_VER   0x12
 EDID structure version number offset. More...
 
#define XVIDC_EDID_STRUCT_REV   0x13
 EDID structure revision number offset. More...
 
#define XVIDC_EDID_BDISP_VID   0x14
 Basic display video input definition offset. More...
 
#define XVIDC_EDID_BDISP_H_SSAR   0x15
 Basic display horizontal screen size or aspect ratio offset. More...
 
#define XVIDC_EDID_BDISP_V_SSAR   0x16
 Basic display vertical screen size or aspect ratio offset. More...
 
#define XVIDC_EDID_BDISP_GAMMA   0x17
 Basic display gamma offset. More...
 
#define XVIDC_EDID_BDISP_FEATURE   0x18
 Basic display feature support offset. More...
 
#define XVIDC_EDID_CC_RG_LOW   0x19
 Color characteristics red/green low bits offset. More...
 
#define XVIDC_EDID_CC_BW_LOW   0x1A
 Color characteristics blue/white low bits offset. More...
 
#define XVIDC_EDID_CC_REDX_HIGH   0x1B
 Color characteristics red X high bits offset. More...
 
#define XVIDC_EDID_CC_REDY_HIGH   0x1C
 Color characteristics red Y high bits offset. More...
 
#define XVIDC_EDID_CC_GREENX_HIGH   0x1D
 Color characteristics green X high bits offset. More...
 
#define XVIDC_EDID_EST_TIMINGS_I   0x23
 Established timings I offset. More...
 
#define XVIDC_EDID_EST_TIMINGS_II   0x24
 Established timings II offset. More...
 
#define XVIDC_EDID_EST_TIMINGS_MAN   0x25
 Manufacturer established timings offset. More...
 
#define XVIDC_EDID_STD_TIMINGS_H(N)   (0x26 + 2 * (N - 1))
 Standard timing horizontal resolution offset (N=1-8) More...
 
#define XVIDC_EDID_STD_TIMINGS_AR_FRR(N)   (0x27 + 2 * (N - 1))
 Standard timing aspect ratio and field refresh rate offset (N=1-8) More...
 
#define XVIDC_EDID_18BYTE_DESCRIPTOR(N)   (0x36 + 18 * (N - 1))
 18-byte descriptor block offset (N=1-4) More...
 
#define XVIDC_EDID_PTM   (XVIDC_EDID_18BYTE_DESCRIPTOR(1))
 Preferred timing mode offset (first 18-byte descriptor) More...
 
#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_LSB   0x00
 DTD/PTM pixel clock in kHz LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_MSB   0x01
 DTD/PTM pixel clock in kHz MSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_HRES_LSB   0x02
 DTD/PTM horizontal addressable pixels LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_HBLANK_LSB   0x03
 DTD/PTM horizontal blanking pixels LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_HRES_HBLANK_U4   0x04
 DTD/PTM horizontal res/blanking upper 4 bits offset. More...
 
#define XVIDC_EDID_DTD_PTM_VRES_LSB   0x05
 DTD/PTM vertical addressable lines LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_VBLANK_LSB   0x06
 DTD/PTM vertical blanking lines LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_VRES_VBLANK_U4   0x07
 DTD/PTM vertical res/blanking upper 4 bits offset. More...
 
#define XVIDC_EDID_DTD_PTM_HFPORCH_LSB   0x08
 DTD/PTM horizontal front porch pixels LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_HSPW_LSB   0x09
 DTD/PTM horizontal sync pulse width LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4   0x0A
 DTD/PTM vertical front porch and sync pulse width lower 4 bits offset. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2   0x0B
 DTD/PTM horizontal/vertical front porch and sync pulse width upper 2 bits offset. More...
 
#define XVIDC_EDID_DTD_PTM_HIMGSIZE_MM_LSB   0x0C
 DTD/PTM horizontal display size in mm LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_VIMGSIZE_MM_LSB   0x0D
 DTD/PTM vertical display size in mm LSB offset. More...
 
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4   0x0E
 DTD/PTM horizontal/vertical display size upper 4 bits offset. More...
 
#define XVIDC_EDID_DTD_PTM_HBORDER   0x0F
 DTD/PTM horizontal border pixels offset. More...
 
#define XVIDC_EDID_DTD_PTM_VBORDER   0x10
 DTD/PTM vertical border lines offset. More...
 
#define XVIDC_EDID_DTD_PTM_SIGNAL   0x11
 DTD/PTM signal features offset. More...
 
#define XVIDC_EDID_EXT_BLK_COUNT   0x7E
 Extension block count offset. More...
 
#define XVIDC_EDID_CHECKSUM   0x7F
 EDID checksum offset. More...
 

Extended Display Identification Data: Masks, shifts, and values.

#define XVIDC_EDID_CC_GREENY_HIGH   0x1E
 Color characteristics green Y high bits offset. More...
 
#define XVIDC_EDID_CC_GREENY_HIGH   0x1E
 Color characteristics green Y high bits offset. More...
 
#define XVIDC_EDID_CC_BLUEX_HIGH   0x1F
 Color characteristics blue X high bits offset. More...
 
#define XVIDC_EDID_CC_BLUEX_HIGH   0x1F
 Color characteristics blue X high bits offset. More...
 
#define XVIDC_EDID_CC_BLUEY_HIGH   0x20
 Color characteristics blue Y high bits offset. More...
 
#define XVIDC_EDID_CC_BLUEY_HIGH   0x20
 Color characteristics blue Y high bits offset. More...
 
#define XVIDC_EDID_CC_WHITEX_HIGH   0x21
 Color characteristics white X high bits offset. More...
 
#define XVIDC_EDID_CC_WHITEX_HIGH   0x21
 Color characteristics white X high bits offset. More...
 
#define XVIDC_EDID_CC_WHITEY_HIGH   0x22
 Color characteristics white Y high bits offset. More...
 
#define XVIDC_EDID_CC_WHITEY_HIGH   0x22
 Color characteristics white Y high bits offset. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_SHIFT   2
 Manufacturer name character 0 bit shift. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK   (0x1F << 2)
 Manufacturer name character 0 bit mask. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_MASK   0x03
 Manufacturer name character 1 low bits mask. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_POS   3
 Manufacturer name character 1 bit position. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR1_SHIFT   5
 Manufacturer name character 1 high bits shift. More...
 
#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR2_MASK   0x1F
 Manufacturer name character 2 bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_VSI_SHIFT   7
 Video signal interface bit shift. More...
 
#define XVIDC_EDID_BDISP_VID_VSI_MASK   (0x01 << 7)
 Video signal interface bit mask (0=analog, 1=digital) More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SLS_SHIFT   5
 Analog signal level standard bit shift. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SLS_MASK   (0x03 << 5)
 Analog signal level standard bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0300_1000   0x0
 Analog signal level 0.700/0.300/1.000 V. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0714_0286_1000   0x1
 Analog signal level 0.714/0.286/1.000 V. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SLS_1000_0400_1400   0x2
 Analog signal level 1.000/0.400/1.400 V. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0000_0700   0x3
 Analog signal level 0.700/0.000/0.700 V. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_VID_SETUP_MASK   (0x01 << 4)
 Analog blank-to-black setup expected bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SEP_SYNC_HV_MASK   (0x01 << 3)
 Analog separate sync H and V signals supported bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_H_MASK   (0x01 << 2)
 Analog composite sync signal on H bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_G_MASK   (0x01 << 1)
 Analog composite sync signal on green bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_ANA_SERR_V_SYNC_MASK   (0x01)
 Analog serration on V sync pulse bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_SHIFT   4
 Digital bits per color bit shift. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_MASK   (0x7 << 4)
 Digital bits per color bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_UNDEF   0x0
 Digital bits per color undefined. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_6   0x1
 Digital 6 bits per color. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_8   0x2
 Digital 8 bits per color. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_10   0x3
 Digital 10 bits per color. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_12   0x4
 Digital 12 bits per color. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_14   0x5
 Digital 14 bits per color. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_BPC_16   0x6
 Digital 16 bits per color. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_VIS_MASK   0xF
 Digital video interface standard bit mask. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_VIS_UNDEF   0x0
 Digital video interface standard undefined. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_VIS_DVI   0x1
 Digital video interface standard DVI. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIA   0x2
 Digital video interface standard HDMI-A. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIB   0x3
 Digital video interface standard HDMI-B. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_VIS_MDDI   0x4
 Digital video interface standard MDDI. More...
 
#define XVIDC_EDID_BDISP_VID_DIG_VIS_DP   0x5
 Digital video interface standard DisplayPort. More...
 
#define XVIDC_EDID_BDISP_FEATURE_PM_STANDBY_MASK   (0x1 << 7)
 Feature support standby power management bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_PM_SUSPEND_MASK   (0x1 << 6)
 Feature support suspend power management bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_PM_OFF_VLP_MASK   (0x1 << 5)
 Feature support active-off/very low power bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_SHIFT   3
 Feature support analog display color type bit shift. More...
 
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MASK   (0x3 << 3)
 Feature support analog display color type bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MCG   0x0
 Analog display color type monochrome/grayscale. More...
 
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_RGB   0x1
 Analog display color type RGB color. More...
 
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_NRGB   0x2
 Analog display color type non-RGB color. More...
 
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_UNDEF   0x3
 Analog display color type undefined. More...
 
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB444_MASK   (0x1 << 3)
 Feature support digital YCrCb 4:4:4 color encoding bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB422_MASK   (0x1 << 4)
 Feature support digital YCrCb 4:2:2 color encoding bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_SRGB_DEF_MASK   (0x1 << 2)
 Feature support sRGB is default color space bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_PTM_INC_MASK   (0x1 << 1)
 Feature support preferred timing mode included bit mask. More...
 
#define XVIDC_EDID_BDISP_FEATURE_CONTFREQ_MASK   (0x1)
 Feature support continuous frequency operation bit mask. More...
 
#define XVIDC_EDID_CC_HIGH_SHIFT   2
 Color characteristics high bits shift value. More...
 
#define XVIDC_EDID_CC_RBX_LOW_SHIFT   6
 Red/Blue X coordinate low bits shift. More...
 
#define XVIDC_EDID_CC_RBY_LOW_SHIFT   4
 Red/Blue Y coordinate low bits shift. More...
 
#define XVIDC_EDID_CC_RBY_LOW_MASK   (0x3 << 4)
 Red/Blue Y coordinate low bits mask. More...
 
#define XVIDC_EDID_CC_GWX_LOW_SHIFT   2
 Green/White X coordinate low bits shift. More...
 
#define XVIDC_EDID_CC_GWX_LOW_MASK   (0x3 << 2)
 Green/White X coordinate low bits mask. More...
 
#define XVIDC_EDID_CC_GWY_LOW_MASK   (0x3)
 Green/White Y coordinate low bits mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_720x400_70_MASK   (0x1 << 7)
 Established timing: 720x400 @ 70Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_720x400_88_MASK   (0x1 << 6)
 Established timing: 720x400 @ 88Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_640x480_60_MASK   (0x1 << 5)
 Established timing: 640x480 @ 60Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_640x480_67_MASK   (0x1 << 4)
 Established timing: 640x480 @ 67Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_640x480_72_MASK   (0x1 << 3)
 Established timing: 640x480 @ 72Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_640x480_75_MASK   (0x1 << 2)
 Established timing: 640x480 @ 75Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_800x600_56_MASK   (0x1 << 1)
 Established timing: 800x600 @ 56Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_I_800x600_60_MASK   (0x1)
 Established timing: 800x600 @ 60Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_800x600_72_MASK   (0x1 << 7)
 Established timing: 800x600 @ 72Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_800x600_75_MASK   (0x1 << 6)
 Established timing: 800x600 @ 75Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_832x624_75_MASK   (0x1 << 5)
 Established timing: 832x624 @ 75Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_87_MASK   (0x1 << 4)
 Established timing: 1024x768 @ 87Hz interlaced bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_60_MASK   (0x1 << 3)
 Established timing: 1024x768 @ 60Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_70_MASK   (0x1 << 2)
 Established timing: 1024x768 @ 70Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_75_MASK   (0x1 << 1)
 Established timing: 1024x768 @ 75Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_II_1280x1024_75_MASK   (0x1)
 Established timing: 1280x1024 @ 75Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_MAN_1152x870_75_MASK   (0x1 << 7)
 Manufacturer established timing: 1152x870 @ 75Hz bit mask. More...
 
#define XVIDC_EDID_EST_TIMINGS_MAN_MASK   (0x7F)
 Manufacturer established timings bit mask. More...
 
#define XVIDC_EDID_STD_TIMINGS_AR_SHIFT   6
 Standard timings aspect ratio bit shift. More...
 
#define XVIDC_EDID_STD_TIMINGS_AR_16_10   0x0
 Standard timing aspect ratio: 16:10. More...
 
#define XVIDC_EDID_STD_TIMINGS_AR_4_3   0x1
 Standard timing aspect ratio: 4:3. More...
 
#define XVIDC_EDID_STD_TIMINGS_AR_5_4   0x2
 Standard timing aspect ratio: 5:4. More...
 
#define XVIDC_EDID_STD_TIMINGS_AR_16_9   0x3
 Standard timing aspect ratio: 16:9. More...
 
#define XVIDC_EDID_STD_TIMINGS_FRR_MASK   (0x3F)
 Standard timings field refresh rate bit mask. More...
 
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XBLANK_MASK   0x0F
 DTD/PTM horizontal/vertical resolution and blanking upper 4 bits: blanking mask. More...
 
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_MASK   0xF0
 DTD/PTM horizontal/vertical resolution and blanking upper 4 bits: resolution mask. More...
 
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_SHIFT   4
 DTD/PTM horizontal/vertical resolution and blanking upper 4 bits: resolution shift. More...
 
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VSPW_MASK   0x0F
 DTD/PTM vertical front porch and sync pulse width lower 4 bits: sync pulse width mask. More...
 
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_MASK   0xF0
 DTD/PTM vertical front porch and sync pulse width lower 4 bits: front porch mask. More...
 
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_SHIFT   4
 DTD/PTM vertical front porch and sync pulse width lower 4 bits: front porch shift. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_MASK   0xC0
 DTD/PTM horizontal front porch upper 2 bits mask. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_MASK   0x30
 DTD/PTM horizontal sync pulse width upper 2 bits mask. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_MASK   0x0C
 DTD/PTM vertical front porch upper 2 bits mask. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VSPW_MASK   0x03
 DTD/PTM vertical sync pulse width upper 2 bits mask. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_SHIFT   6
 DTD/PTM horizontal front porch upper 2 bits shift. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_SHIFT   4
 DTD/PTM horizontal sync pulse width upper 2 bits shift. More...
 
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_SHIFT   2
 DTD/PTM vertical front porch upper 2 bits shift. More...
 
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_VIMGSIZE_MM_MASK   0x0F
 DTD/PTM vertical image size upper 4 bits mask. More...
 
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_MASK   0xF0
 DTD/PTM horizontal image size upper 4 bits mask. More...
 
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_SHIFT   4
 DTD/PTM horizontal image size upper 4 bits shift. More...
 
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_MASK   0x80
 DTD/PTM interlaced bit mask. More...
 
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_SHIFT   7
 DTD/PTM interlaced bit shift. More...
 
#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_MASK   0x02
 DTD/PTM horizontal polarity bit mask. More...
 
#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_MASK   0x04
 DTD/PTM vertical polarity bit mask. More...
 
#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_SHIFT   1
 DTD/PTM horizontal polarity bit shift. More...
 
#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_SHIFT   2
 DTD/PTM vertical polarity bit shift. More...
 

Macro Definition Documentation

#define XVIDC_EDID_18BYTE_DESCRIPTOR (   N)    (0x36 + 18 * (N - 1))

18-byte descriptor block offset (N=1-4)

#define XVIDC_EDID_BDISP_FEATURE   0x18

Basic display feature support offset.

#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MASK   (0x3 << 3)

Feature support analog display color type bit mask.

#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MCG   0x0

Analog display color type monochrome/grayscale.

#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_NRGB   0x2

Analog display color type non-RGB color.

#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_RGB   0x1

Analog display color type RGB color.

#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_SHIFT   3

Feature support analog display color type bit shift.

#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_UNDEF   0x3

Analog display color type undefined.

#define XVIDC_EDID_BDISP_FEATURE_CONTFREQ_MASK   (0x1)

Feature support continuous frequency operation bit mask.

#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB422_MASK   (0x1 << 4)

Feature support digital YCrCb 4:2:2 color encoding bit mask.

#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB444_MASK   (0x1 << 3)

Feature support digital YCrCb 4:4:4 color encoding bit mask.

#define XVIDC_EDID_BDISP_FEATURE_PM_OFF_VLP_MASK   (0x1 << 5)

Feature support active-off/very low power bit mask.

#define XVIDC_EDID_BDISP_FEATURE_PM_STANDBY_MASK   (0x1 << 7)

Feature support standby power management bit mask.

#define XVIDC_EDID_BDISP_FEATURE_PM_SUSPEND_MASK   (0x1 << 6)

Feature support suspend power management bit mask.

#define XVIDC_EDID_BDISP_FEATURE_PTM_INC_MASK   (0x1 << 1)

Feature support preferred timing mode included bit mask.

#define XVIDC_EDID_BDISP_FEATURE_SRGB_DEF_MASK   (0x1 << 2)

Feature support sRGB is default color space bit mask.

#define XVIDC_EDID_BDISP_GAMMA   0x17

Basic display gamma offset.

#define XVIDC_EDID_BDISP_H_SSAR   0x15

Basic display horizontal screen size or aspect ratio offset.

#define XVIDC_EDID_BDISP_V_SSAR   0x16

Basic display vertical screen size or aspect ratio offset.

#define XVIDC_EDID_BDISP_VID   0x14

Basic display video input definition offset.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_G_MASK   (0x01 << 1)

Analog composite sync signal on green bit mask.

#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_H_MASK   (0x01 << 2)

Analog composite sync signal on H bit mask.

#define XVIDC_EDID_BDISP_VID_ANA_SEP_SYNC_HV_MASK   (0x01 << 3)

Analog separate sync H and V signals supported bit mask.

#define XVIDC_EDID_BDISP_VID_ANA_SERR_V_SYNC_MASK   (0x01)

Analog serration on V sync pulse bit mask.

#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0000_0700   0x3

Analog signal level 0.700/0.000/0.700 V.

#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0300_1000   0x0

Analog signal level 0.700/0.300/1.000 V.

#define XVIDC_EDID_BDISP_VID_ANA_SLS_0714_0286_1000   0x1

Analog signal level 0.714/0.286/1.000 V.

#define XVIDC_EDID_BDISP_VID_ANA_SLS_1000_0400_1400   0x2

Analog signal level 1.000/0.400/1.400 V.

#define XVIDC_EDID_BDISP_VID_ANA_SLS_MASK   (0x03 << 5)

Analog signal level standard bit mask.

#define XVIDC_EDID_BDISP_VID_ANA_SLS_SHIFT   5

Analog signal level standard bit shift.

#define XVIDC_EDID_BDISP_VID_ANA_VID_SETUP_MASK   (0x01 << 4)

Analog blank-to-black setup expected bit mask.

#define XVIDC_EDID_BDISP_VID_DIG_BPC_10   0x3

Digital 10 bits per color.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_12   0x4

Digital 12 bits per color.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_14   0x5

Digital 14 bits per color.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_16   0x6

Digital 16 bits per color.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_6   0x1

Digital 6 bits per color.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_8   0x2

Digital 8 bits per color.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_MASK   (0x7 << 4)

Digital bits per color bit mask.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_SHIFT   4

Digital bits per color bit shift.

Referenced by XVidC_EdidGetColorDepth().

#define XVIDC_EDID_BDISP_VID_DIG_BPC_UNDEF   0x0

Digital bits per color undefined.

#define XVIDC_EDID_BDISP_VID_DIG_VIS_DP   0x5

Digital video interface standard DisplayPort.

#define XVIDC_EDID_BDISP_VID_DIG_VIS_DVI   0x1

Digital video interface standard DVI.

#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIA   0x2

Digital video interface standard HDMI-A.

#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIB   0x3

Digital video interface standard HDMI-B.

#define XVIDC_EDID_BDISP_VID_DIG_VIS_MASK   0xF

Digital video interface standard bit mask.

#define XVIDC_EDID_BDISP_VID_DIG_VIS_MDDI   0x4

Digital video interface standard MDDI.

#define XVIDC_EDID_BDISP_VID_DIG_VIS_UNDEF   0x0

Digital video interface standard undefined.

#define XVIDC_EDID_BDISP_VID_VSI_MASK   (0x01 << 7)

Video signal interface bit mask (0=analog, 1=digital)

#define XVIDC_EDID_BDISP_VID_VSI_SHIFT   7

Video signal interface bit shift.

#define XVIDC_EDID_CC_BLUEX_HIGH   0x1F

Color characteristics blue X high bits offset.

Color characteristics blue X high bits offset (duplicate definition)

Referenced by XVidC_EdidGetCcBlueX().

#define XVIDC_EDID_CC_BLUEX_HIGH   0x1F

Color characteristics blue X high bits offset.

Color characteristics blue X high bits offset (duplicate definition)

#define XVIDC_EDID_CC_BLUEY_HIGH   0x20

Color characteristics blue Y high bits offset.

Color characteristics blue Y high bits offset (duplicate definition)

Referenced by XVidC_EdidGetCcBlueY().

#define XVIDC_EDID_CC_BLUEY_HIGH   0x20

Color characteristics blue Y high bits offset.

Color characteristics blue Y high bits offset (duplicate definition)

#define XVIDC_EDID_CC_BW_LOW   0x1A

Color characteristics blue/white low bits offset.

Referenced by XVidC_EdidGetCcBlueX(), XVidC_EdidGetCcBlueY(), XVidC_EdidGetCcWhiteX(), and XVidC_EdidGetCcWhiteY().

#define XVIDC_EDID_CC_GREENX_HIGH   0x1D

Color characteristics green X high bits offset.

Referenced by XVidC_EdidGetCcGreenX().

#define XVIDC_EDID_CC_GREENY_HIGH   0x1E

Color characteristics green Y high bits offset.

Color characteristics green Y high bits offset (duplicate definition)

Referenced by XVidC_EdidGetCcGreenY().

#define XVIDC_EDID_CC_GREENY_HIGH   0x1E

Color characteristics green Y high bits offset.

Color characteristics green Y high bits offset (duplicate definition)

#define XVIDC_EDID_CC_GWX_LOW_MASK   (0x3 << 2)

Green/White X coordinate low bits mask.

Referenced by XVidC_EdidGetCcGreenX(), and XVidC_EdidGetCcWhiteX().

#define XVIDC_EDID_CC_GWX_LOW_SHIFT   2

Green/White X coordinate low bits shift.

Referenced by XVidC_EdidGetCcGreenX(), and XVidC_EdidGetCcWhiteX().

#define XVIDC_EDID_CC_GWY_LOW_MASK   (0x3)

Green/White Y coordinate low bits mask.

Referenced by XVidC_EdidGetCcGreenY(), and XVidC_EdidGetCcWhiteY().

#define XVIDC_EDID_CC_HIGH_SHIFT   2
#define XVIDC_EDID_CC_RBX_LOW_SHIFT   6

Red/Blue X coordinate low bits shift.

Referenced by XVidC_EdidGetCcBlueX(), and XVidC_EdidGetCcRedX().

#define XVIDC_EDID_CC_RBY_LOW_MASK   (0x3 << 4)

Red/Blue Y coordinate low bits mask.

Referenced by XVidC_EdidGetCcBlueY(), and XVidC_EdidGetCcRedY().

#define XVIDC_EDID_CC_RBY_LOW_SHIFT   4

Red/Blue Y coordinate low bits shift.

Referenced by XVidC_EdidGetCcBlueY(), and XVidC_EdidGetCcRedY().

#define XVIDC_EDID_CC_REDX_HIGH   0x1B

Color characteristics red X high bits offset.

Referenced by XVidC_EdidGetCcRedX().

#define XVIDC_EDID_CC_REDY_HIGH   0x1C

Color characteristics red Y high bits offset.

Referenced by XVidC_EdidGetCcRedY().

#define XVIDC_EDID_CC_RG_LOW   0x19

Color characteristics red/green low bits offset.

Referenced by XVidC_EdidGetCcGreenX(), XVidC_EdidGetCcGreenY(), XVidC_EdidGetCcRedX(), and XVidC_EdidGetCcRedY().

#define XVIDC_EDID_CC_WHITEX_HIGH   0x21

Color characteristics white X high bits offset.

Color characteristics white point X high bits offset (duplicate definition)

Referenced by XVidC_EdidGetCcWhiteX().

#define XVIDC_EDID_CC_WHITEX_HIGH   0x21

Color characteristics white X high bits offset.

Color characteristics white point X high bits offset (duplicate definition)

#define XVIDC_EDID_CC_WHITEY_HIGH   0x22

Color characteristics white Y high bits offset.

Color characteristics white point Y high bits offset (duplicate definition)

Referenced by XVidC_EdidGetCcWhiteY().

#define XVIDC_EDID_CC_WHITEY_HIGH   0x22

Color characteristics white Y high bits offset.

Color characteristics white point Y high bits offset (duplicate definition)

#define XVIDC_EDID_CHECKSUM   0x7F

EDID checksum offset.

#define XVIDC_EDID_DTD_PTM_HBLANK_LSB   0x03

DTD/PTM horizontal blanking pixels LSB offset.

#define XVIDC_EDID_DTD_PTM_HBORDER   0x0F

DTD/PTM horizontal border pixels offset.

#define XVIDC_EDID_DTD_PTM_HFPORCH_LSB   0x08

DTD/PTM horizontal front porch pixels LSB offset.

#define XVIDC_EDID_DTD_PTM_HIMGSIZE_MM_LSB   0x0C

DTD/PTM horizontal display size in mm LSB offset.

#define XVIDC_EDID_DTD_PTM_HRES_HBLANK_U4   0x04

DTD/PTM horizontal res/blanking upper 4 bits offset.

#define XVIDC_EDID_DTD_PTM_HRES_LSB   0x02

DTD/PTM horizontal addressable pixels LSB offset.

#define XVIDC_EDID_DTD_PTM_HSPW_LSB   0x09

DTD/PTM horizontal sync pulse width LSB offset.

#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_LSB   0x00

DTD/PTM pixel clock in kHz LSB offset.

#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_MSB   0x01

DTD/PTM pixel clock in kHz MSB offset.

#define XVIDC_EDID_DTD_PTM_SIGNAL   0x11

DTD/PTM signal features offset.

#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_MASK   0x02

DTD/PTM horizontal polarity bit mask.

#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_SHIFT   1

DTD/PTM horizontal polarity bit shift.

#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_MASK   0x80

DTD/PTM interlaced bit mask.

#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_SHIFT   7

DTD/PTM interlaced bit shift.

#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_MASK   0x04

DTD/PTM vertical polarity bit mask.

#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_SHIFT   2

DTD/PTM vertical polarity bit shift.

#define XVIDC_EDID_DTD_PTM_VBLANK_LSB   0x06

DTD/PTM vertical blanking lines LSB offset.

#define XVIDC_EDID_DTD_PTM_VBORDER   0x10

DTD/PTM vertical border lines offset.

#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4   0x0A

DTD/PTM vertical front porch and sync pulse width lower 4 bits offset.

#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_MASK   0xF0

DTD/PTM vertical front porch and sync pulse width lower 4 bits: front porch mask.

#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_SHIFT   4

DTD/PTM vertical front porch and sync pulse width lower 4 bits: front porch shift.

#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VSPW_MASK   0x0F

DTD/PTM vertical front porch and sync pulse width lower 4 bits: sync pulse width mask.

#define XVIDC_EDID_DTD_PTM_VIMGSIZE_MM_LSB   0x0D

DTD/PTM vertical display size in mm LSB offset.

#define XVIDC_EDID_DTD_PTM_VRES_LSB   0x05

DTD/PTM vertical addressable lines LSB offset.

#define XVIDC_EDID_DTD_PTM_VRES_VBLANK_U4   0x07

DTD/PTM vertical res/blanking upper 4 bits offset.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2   0x0B

DTD/PTM horizontal/vertical front porch and sync pulse width upper 2 bits offset.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_MASK   0xC0

DTD/PTM horizontal front porch upper 2 bits mask.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_SHIFT   6

DTD/PTM horizontal front porch upper 2 bits shift.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_MASK   0x30

DTD/PTM horizontal sync pulse width upper 2 bits mask.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_SHIFT   4

DTD/PTM horizontal sync pulse width upper 2 bits shift.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_MASK   0x0C

DTD/PTM vertical front porch upper 2 bits mask.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_SHIFT   2

DTD/PTM vertical front porch upper 2 bits shift.

#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VSPW_MASK   0x03

DTD/PTM vertical sync pulse width upper 2 bits mask.

#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4   0x0E

DTD/PTM horizontal/vertical display size upper 4 bits offset.

#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_MASK   0xF0

DTD/PTM horizontal image size upper 4 bits mask.

#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_SHIFT   4

DTD/PTM horizontal image size upper 4 bits shift.

#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_VIMGSIZE_MM_MASK   0x0F

DTD/PTM vertical image size upper 4 bits mask.

#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XBLANK_MASK   0x0F

DTD/PTM horizontal/vertical resolution and blanking upper 4 bits: blanking mask.

#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_MASK   0xF0

DTD/PTM horizontal/vertical resolution and blanking upper 4 bits: resolution mask.

#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_SHIFT   4

DTD/PTM horizontal/vertical resolution and blanking upper 4 bits: resolution shift.

#define XVIDC_EDID_EST_TIMINGS_I   0x23

Established timings I offset.

#define XVIDC_EDID_EST_TIMINGS_I_640x480_60_MASK   (0x1 << 5)

Established timing: 640x480 @ 60Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_I_640x480_67_MASK   (0x1 << 4)

Established timing: 640x480 @ 67Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_I_640x480_72_MASK   (0x1 << 3)

Established timing: 640x480 @ 72Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_I_640x480_75_MASK   (0x1 << 2)

Established timing: 640x480 @ 75Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_I_720x400_70_MASK   (0x1 << 7)

Established timing: 720x400 @ 70Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_I_720x400_88_MASK   (0x1 << 6)

Established timing: 720x400 @ 88Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_I_800x600_56_MASK   (0x1 << 1)

Established timing: 800x600 @ 56Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_I_800x600_60_MASK   (0x1)

Established timing: 800x600 @ 60Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_II   0x24

Established timings II offset.

#define XVIDC_EDID_EST_TIMINGS_II_1024x768_60_MASK   (0x1 << 3)

Established timing: 1024x768 @ 60Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_II_1024x768_70_MASK   (0x1 << 2)

Established timing: 1024x768 @ 70Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_II_1024x768_75_MASK   (0x1 << 1)

Established timing: 1024x768 @ 75Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_II_1024x768_87_MASK   (0x1 << 4)

Established timing: 1024x768 @ 87Hz interlaced bit mask.

#define XVIDC_EDID_EST_TIMINGS_II_1280x1024_75_MASK   (0x1)

Established timing: 1280x1024 @ 75Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_II_800x600_72_MASK   (0x1 << 7)

Established timing: 800x600 @ 72Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_II_800x600_75_MASK   (0x1 << 6)

Established timing: 800x600 @ 75Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_II_832x624_75_MASK   (0x1 << 5)

Established timing: 832x624 @ 75Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_MAN   0x25

Manufacturer established timings offset.

#define XVIDC_EDID_EST_TIMINGS_MAN_1152x870_75_MASK   (0x1 << 7)

Manufacturer established timing: 1152x870 @ 75Hz bit mask.

#define XVIDC_EDID_EST_TIMINGS_MAN_MASK   (0x7F)

Manufacturer established timings bit mask.

#define XVIDC_EDID_EXT_BLK_COUNT   0x7E

Extension block count offset.

#define XVIDC_EDID_HEADER   0x00

EDID header field offset.

#define XVIDC_EDID_PTM   (XVIDC_EDID_18BYTE_DESCRIPTOR(1))

Preferred timing mode offset (first 18-byte descriptor)

#define XVIDC_EDID_STD_TIMINGS_AR_16_10   0x0

Standard timing aspect ratio: 16:10.

Referenced by XVidC_EdidGetStdTimingsV().

#define XVIDC_EDID_STD_TIMINGS_AR_16_9   0x3

Standard timing aspect ratio: 16:9.

Referenced by XVidC_EdidGetStdTimingsV().

#define XVIDC_EDID_STD_TIMINGS_AR_4_3   0x1

Standard timing aspect ratio: 4:3.

Referenced by XVidC_EdidGetStdTimingsV().

#define XVIDC_EDID_STD_TIMINGS_AR_5_4   0x2

Standard timing aspect ratio: 5:4.

Referenced by XVidC_EdidGetStdTimingsV().

#define XVIDC_EDID_STD_TIMINGS_AR_FRR (   N)    (0x27 + 2 * (N - 1))

Standard timing aspect ratio and field refresh rate offset (N=1-8)

#define XVIDC_EDID_STD_TIMINGS_AR_SHIFT   6

Standard timings aspect ratio bit shift.

#define XVIDC_EDID_STD_TIMINGS_FRR_MASK   (0x3F)

Standard timings field refresh rate bit mask.

#define XVIDC_EDID_STD_TIMINGS_H (   N)    (0x26 + 2 * (N - 1))

Standard timing horizontal resolution offset (N=1-8)

#define XVIDC_EDID_STRUCT_REV   0x13

EDID structure revision number offset.

#define XVIDC_EDID_STRUCT_VER   0x12

EDID structure version number offset.

#define XVIDC_EDID_VPI_ID_MAN_NAME0   0x08

Vendor/product ID manufacturer name byte 0 offset.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK   (0x1F << 2)

Manufacturer name character 0 bit mask.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_SHIFT   2

Manufacturer name character 0 bit shift.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_MASK   0x03

Manufacturer name character 1 low bits mask.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_POS   3

Manufacturer name character 1 bit position.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_MAN_NAME1   0x09

Vendor/product ID manufacturer name byte 1 offset.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR1_SHIFT   5

Manufacturer name character 1 high bits shift.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR2_MASK   0x1F

Manufacturer name character 2 bit mask.

Referenced by XVidC_EdidGetManName().

#define XVIDC_EDID_VPI_ID_PROD_CODE_LSB   0x0A

Vendor/product ID product code LSB offset.

#define XVIDC_EDID_VPI_ID_PROD_CODE_MSB   0x0B

Vendor/product ID product code MSB offset.

#define XVIDC_EDID_VPI_ID_SN0   0x0C

Vendor/product ID serial number byte 0 offset.

#define XVIDC_EDID_VPI_ID_SN1   0x0D

Vendor/product ID serial number byte 1 offset.

#define XVIDC_EDID_VPI_ID_SN2   0x0E

Vendor/product ID serial number byte 2 offset.

#define XVIDC_EDID_VPI_ID_SN3   0x0F

Vendor/product ID serial number byte 3 offset.

#define XVIDC_EDID_VPI_WEEK_MAN   0x10

Vendor/product ID week of manufacture offset.

#define XVIDC_EDID_VPI_YEAR   0x11

Vendor/product ID year of manufacture/model offset.

#define XVidC_EdidGetAnalogSigLvlStd (   E)
Value:
#define XVIDC_EDID_BDISP_VID_ANA_SLS_SHIFT
Analog signal level standard bit shift.
Definition: xvidc_edid.h:199
#define XVIDC_EDID_BDISP_VID_ANA_SLS_MASK
Analog signal level standard bit mask.
Definition: xvidc_edid.h:201
#define XVIDC_EDID_BDISP_VID
Basic display video input definition offset.
Definition: xvidc_edid.h:82

Get analog signal level standard.

Parameters
EEDID data array
#define XVidC_EdidGetAnalogSigVidSetup (   E)
Value:
#define XVIDC_EDID_BDISP_VID_ANA_VID_SETUP_MASK
Analog blank-to-black setup expected bit mask.
Definition: xvidc_edid.h:211
#define XVIDC_EDID_BDISP_VID
Basic display video input definition offset.
Definition: xvidc_edid.h:82

Get analog video setup (blank-to-black setup/pedestal)

Parameters
EEDID data array
#define XVidC_EdidGetChecksum (   E)    (E[XVIDC_EDID_CHECKSUM])

Get EDID base block checksum.

Parameters
EEDID data array

Referenced by Edid_PrintDecodeBase().

#define XVidC_EdidGetDigitalSigIfaceStd (   E)    (E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_DIG_VIS_MASK)

Get digital signal video interface standard.

Parameters
EEDID data array
#define XVidC_EdidGetExtBlkCount (   E)    (E[XVIDC_EDID_EXT_BLK_COUNT])

Get number of EDID extension blocks.

Parameters
EEDID data array

Referenced by Edid_PrintDecodeBase().

#define XVidC_EdidGetFeatureAnaColorType (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MASK
Feature support analog display color type bit mask.
Definition: xvidc_edid.h:263
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_SHIFT
Feature support analog display color type bit shift.
Definition: xvidc_edid.h:261
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90

Get analog display color type.

Parameters
EEDID data array
#define XVidC_EdidGetGamma (   E)    ((float)((E[XVIDC_EDID_BDISP_GAMMA] + 100.0) / 100.0))

Calculate gamma value from EDID.

Parameters
EEDID data array
#define XVidC_EdidGetIdProdCode (   E)
Value:
((u16)((E[XVIDC_EDID_VPI_ID_PROD_CODE_MSB] << 8) | \
#define XVIDC_EDID_VPI_ID_PROD_CODE_MSB
Vendor/product ID product code MSB offset.
Definition: xvidc_edid.h:62
#define XVIDC_EDID_VPI_ID_PROD_CODE_LSB
Vendor/product ID product code LSB offset.
Definition: xvidc_edid.h:60

Get product code from EDID.

Parameters
EEDID data array
#define XVidC_EdidGetIdSn (   E)
Value:
((u32)((E[XVIDC_EDID_VPI_ID_SN3] << 24) | \
(E[XVIDC_EDID_VPI_ID_SN2] << 16) | (E[XVIDC_EDID_VPI_ID_SN1] << 8) | \
#define XVIDC_EDID_VPI_ID_SN1
Vendor/product ID serial number byte 1 offset.
Definition: xvidc_edid.h:66
#define XVIDC_EDID_VPI_ID_SN3
Vendor/product ID serial number byte 3 offset.
Definition: xvidc_edid.h:70
#define XVIDC_EDID_VPI_ID_SN2
Vendor/product ID serial number byte 2 offset.
Definition: xvidc_edid.h:68
#define XVIDC_EDID_VPI_ID_SN0
Vendor/product ID serial number byte 0 offset.
Definition: xvidc_edid.h:64

Extract 32-bit serial number from EDID.

Parameters
EEDID data array
#define XVidC_EdidGetManWeek (   E)    (E[XVIDC_EDID_VPI_WEEK_MAN])

Get week of manufacture from EDID.

Parameters
EEDID data array
#define XVidC_EdidGetModManYear (   E)    (E[XVIDC_EDID_VPI_YEAR] + 1990)

Get model/manufacture year from EDID.

Parameters
EEDID data array
#define XVidC_EdidGetSsArArL (   E)    ((float)((XVidC_EdidGetSsArH(E) + 99.0) / 100.0))

Calculate landscape aspect ratio.

Parameters
EEDID data array
#define XVidC_EdidGetSsArArP (   E)    ((float)(100.0 / (XVidC_EdidGetSsArV(E) + 99.0)))

Calculate portrait aspect ratio.

Parameters
EEDID data array
#define XVidC_EdidGetSsArH (   E)    E[XVIDC_EDID_BDISP_H_SSAR]

Get horizontal screen size or aspect ratio value.

Parameters
EEDID data array
#define XVidC_EdidGetSsArV (   E)    E[XVIDC_EDID_BDISP_V_SSAR]

Get vertical screen size or aspect ratio value.

Parameters
EEDID data array
#define XVidC_EdidGetStdTimingsAr (   E,
 
)    (E[XVIDC_EDID_STD_TIMINGS_AR_FRR(N)] >> XVIDC_EDID_STD_TIMINGS_AR_SHIFT)

Get standard timing aspect ratio.

Parameters
EEDID data array
NStandard timing index (0-7)

Referenced by XVidC_EdidGetStdTimingsV().

#define XVidC_EdidGetStdTimingsFrr (   E,
 
)
Value:
#define XVIDC_EDID_STD_TIMINGS_FRR_MASK
Standard timings field refresh rate bit mask.
Definition: xvidc_edid.h:359
#define XVIDC_EDID_STD_TIMINGS_AR_FRR(N)
Standard timing aspect ratio and field refresh rate offset (N=1-8)
Definition: xvidc_edid.h:123

Get standard timing field refresh rate.

Parameters
EEDID data array
NStandard timing index (0-7)
#define XVidC_EdidGetStdTimingsH (   E,
 
)    ((E[XVIDC_EDID_STD_TIMINGS_H(N)] + 31) * 8)

Get standard timing horizontal resolution.

Parameters
EEDID data array
NStandard timing index (0-7)

Referenced by XVidC_EdidGetStdTimingsV().

#define XVidC_EdidGetStructRev (   E)    (E[XVIDC_EDID_STRUCT_REV])

Get EDID structure revision number.

Parameters
EEDID data array
#define XVidC_EdidGetStructVer (   E)    (E[XVIDC_EDID_STRUCT_VER])

Get EDID structure version number.

Parameters
EEDID data array
#define XVidC_EdidGetTimingsMan (   E)    (E[XVIDC_EDID_EST_TIMINGS_MAN] & XVIDC_EDID_EST_TIMINGS_MAN_MASK)

Get manufacturer-specific established timings.

Parameters
EEDID data array
#define XVidC_EdidIsAnalogSig (   E)    ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) == 0)

Check if display uses analog signal input.

Parameters
EEDID data array
#define XVidC_EdidIsDigitalSig (   E)    ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) != 0)

Check if display uses digital signal input.

Parameters
EEDID data array
#define XVidC_EdidIsDtdPtmInterlaced (   E)
Value:
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_SHIFT
DTD/PTM interlaced bit shift.
Definition: xvidc_edid.h:397
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_MASK
DTD/PTM interlaced bit mask.
Definition: xvidc_edid.h:395
#define XVIDC_EDID_DTD_PTM_SIGNAL
DTD/PTM signal features offset.
Definition: xvidc_edid.h:165
#define XVIDC_EDID_PTM
Preferred timing mode offset (first 18-byte descriptor)
Definition: xvidc_edid.h:128

Check if DTD/PTM uses interlaced scan.

Parameters
EEDID data array
#define XVidC_EdidIsFeatureContFreq (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90
#define XVIDC_EDID_BDISP_FEATURE_CONTFREQ_MASK
Feature support continuous frequency operation bit mask.
Definition: xvidc_edid.h:281

Check if continuous frequency operation supported.

Parameters
EEDID data array
#define XVidC_EdidIsFeaturePtmInc (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE_PTM_INC_MASK
Feature support preferred timing mode included bit mask.
Definition: xvidc_edid.h:279
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90

Check if preferred timing mode included.

Parameters
EEDID data array
#define XVidC_EdidIsFeatureSrgbDef (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90
#define XVIDC_EDID_BDISP_FEATURE_SRGB_DEF_MASK
Feature support sRGB is default color space bit mask.
Definition: xvidc_edid.h:277

Check if sRGB is default color space.

Parameters
EEDID data array
#define XVidC_EdidIsGammaInExt (   E)    (E[XVIDC_EDID_BDISP_GAMMA] == 0xFF)

Check if gamma value is stored in extension block.

Parameters
EEDID data array
#define XVidC_EdidIsHeaderValid (   E)    !memcmp(E, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8)

Check if EDID header matches valid signature.

Parameters
EEDID data array

Referenced by Edid_PrintDecodeBase().

#define XVidC_EdidIsSsArArL (   E)    ((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) == 0))

Check if values represent landscape aspect ratio (H non-zero, V zero)

Parameters
EEDID data array
#define XVidC_EdidIsSsArArP (   E)    ((XVidC_EdidGetSsArH(E) == 0) && (XVidC_EdidGetSsArV(E) != 0))

Check if values represent portrait aspect ratio (H zero, V non-zero)

Parameters
EEDID data array
#define XVidC_EdidIsSsArDefined (   E)    ((E[XVIDC_EDID_BDISP_H_SSAR] | E[XVIDC_EDID_BDISP_V_SSAR]) != 0)

Check if screen size or aspect ratio is defined.

Parameters
EEDID data array
#define XVidC_EdidIsSsArSs (   E)    ((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) != 0))

Check if values represent screen size (both non-zero)

Parameters
EEDID data array
#define XVidC_EdidIsYearMan (   E)    (XVidC_EdidGetManWeek(E) != 0xFF)

Check if year field represents manufacture year (week!=0xFF)

Parameters
EEDID data array
#define XVidC_EdidIsYearModel (   E)    (XVidC_EdidGetManWeek(E) == 0xFF)

Check if year field represents model year (week=0xFF)

Parameters
EEDID data array
#define XVidC_EdidSuppAnalogSigCompSyncG (   E)
Value:
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_G_MASK
Analog composite sync signal on green bit mask.
Definition: xvidc_edid.h:217
#define XVIDC_EDID_BDISP_VID
Basic display video input definition offset.
Definition: xvidc_edid.h:82

Check if analog composite sync on G (green) supported.

Parameters
EEDID data array
#define XVidC_EdidSuppAnalogSigCompSyncH (   E)
Value:
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_H_MASK
Analog composite sync signal on H bit mask.
Definition: xvidc_edid.h:215
#define XVIDC_EDID_BDISP_VID
Basic display video input definition offset.
Definition: xvidc_edid.h:82

Check if analog composite sync on H supported.

Parameters
EEDID data array
#define XVidC_EdidSuppAnalogSigSepSyncHv (   E)
Value:
#define XVIDC_EDID_BDISP_VID
Basic display video input definition offset.
Definition: xvidc_edid.h:82
#define XVIDC_EDID_BDISP_VID_ANA_SEP_SYNC_HV_MASK
Analog separate sync H and V signals supported bit mask.
Definition: xvidc_edid.h:213

Check if analog separate sync H and V supported.

Parameters
EEDID data array
#define XVidC_EdidSuppAnalogSigSerrVsync (   E)
Value:
#define XVIDC_EDID_BDISP_VID_ANA_SERR_V_SYNC_MASK
Analog serration on V sync pulse bit mask.
Definition: xvidc_edid.h:219
#define XVIDC_EDID_BDISP_VID
Basic display video input definition offset.
Definition: xvidc_edid.h:82

Check if analog serration on V sync pulse supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings1024x768_60 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_60_MASK
Established timing: 1024x768 @ 60Hz bit mask.
Definition: xvidc_edid.h:335

Check if 1024x768 @ 60Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings1024x768_70 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_70_MASK
Established timing: 1024x768 @ 70Hz bit mask.
Definition: xvidc_edid.h:337

Check if 1024x768 @ 70Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings1024x768_75 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_75_MASK
Established timing: 1024x768 @ 75Hz bit mask.
Definition: xvidc_edid.h:339
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116

Check if 1024x768 @ 75Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings1024x768_87 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_87_MASK
Established timing: 1024x768 @ 87Hz interlaced bit mask.
Definition: xvidc_edid.h:333

Check if 1024x768 @ 87Hz interlaced timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings1152x870_75 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_MAN
Manufacturer established timings offset.
Definition: xvidc_edid.h:118
#define XVIDC_EDID_EST_TIMINGS_MAN_1152x870_75_MASK
Manufacturer established timing: 1152x870 @ 75Hz bit mask.
Definition: xvidc_edid.h:343

Check if 1152x870 @ 75Hz manufacturer timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings1280x1024_75 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116
#define XVIDC_EDID_EST_TIMINGS_II_1280x1024_75_MASK
Established timing: 1280x1024 @ 75Hz bit mask.
Definition: xvidc_edid.h:341

Check if 1280x1024 @ 75Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings640x480_60 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I_640x480_60_MASK
Established timing: 640x480 @ 60Hz bit mask.
Definition: xvidc_edid.h:315
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114

Check if 640x480 @ 60Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings640x480_67 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I_640x480_67_MASK
Established timing: 640x480 @ 67Hz bit mask.
Definition: xvidc_edid.h:317
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114

Check if 640x480 @ 67Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings640x480_72 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I_640x480_72_MASK
Established timing: 640x480 @ 72Hz bit mask.
Definition: xvidc_edid.h:319
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114

Check if 640x480 @ 72Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings640x480_75 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I_640x480_75_MASK
Established timing: 640x480 @ 75Hz bit mask.
Definition: xvidc_edid.h:321
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114

Check if 640x480 @ 75Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings720x400_70 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114
#define XVIDC_EDID_EST_TIMINGS_I_720x400_70_MASK
Established timing: 720x400 @ 70Hz bit mask.
Definition: xvidc_edid.h:311

Check if 720x400 @ 70Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings720x400_88 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I_720x400_88_MASK
Established timing: 720x400 @ 88Hz bit mask.
Definition: xvidc_edid.h:313
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114

Check if 720x400 @ 88Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings800x600_56 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I_800x600_56_MASK
Established timing: 800x600 @ 56Hz bit mask.
Definition: xvidc_edid.h:323
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114

Check if 800x600 @ 56Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings800x600_60 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_I_800x600_60_MASK
Established timing: 800x600 @ 60Hz bit mask.
Definition: xvidc_edid.h:325
#define XVIDC_EDID_EST_TIMINGS_I
Established timings I offset.
Definition: xvidc_edid.h:114

Check if 800x600 @ 60Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings800x600_72 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116
#define XVIDC_EDID_EST_TIMINGS_II_800x600_72_MASK
Established timing: 800x600 @ 72Hz bit mask.
Definition: xvidc_edid.h:327

Check if 800x600 @ 72Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings800x600_75 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II_800x600_75_MASK
Established timing: 800x600 @ 75Hz bit mask.
Definition: xvidc_edid.h:329
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116

Check if 800x600 @ 75Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppEstTimings832x624_75 (   E)
Value:
#define XVIDC_EDID_EST_TIMINGS_II_832x624_75_MASK
Established timing: 832x624 @ 75Hz bit mask.
Definition: xvidc_edid.h:331
#define XVIDC_EDID_EST_TIMINGS_II
Established timings II offset.
Definition: xvidc_edid.h:116

Check if 832x624 @ 75Hz timing supported.

Parameters
EEDID data array
#define XVidC_EdidSuppFeatureDigColorEncYCrCb422 (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB422_MASK
Feature support digital YCrCb 4:2:2 color encoding bit mask.
Definition: xvidc_edid.h:275
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90

Check if digital YCrCb 4:2:2 color encoding supported.

Parameters
EEDID data array
#define XVidC_EdidSuppFeatureDigColorEncYCrCb444 (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB444_MASK
Feature support digital YCrCb 4:4:4 color encoding bit mask.
Definition: xvidc_edid.h:273
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90

Check if digital YCrCb 4:4:4 color encoding supported.

Parameters
EEDID data array
#define XVidC_EdidSuppFeaturePmOffVlp (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90
#define XVIDC_EDID_BDISP_FEATURE_PM_OFF_VLP_MASK
Feature support active-off/very low power bit mask.
Definition: xvidc_edid.h:259

Check if active-off/very low power supported.

Parameters
EEDID data array
#define XVidC_EdidSuppFeaturePmStandby (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90
#define XVIDC_EDID_BDISP_FEATURE_PM_STANDBY_MASK
Feature support standby power management bit mask.
Definition: xvidc_edid.h:255

Check if standby power management supported.

Parameters
EEDID data array
#define XVidC_EdidSuppFeaturePmSuspend (   E)
Value:
#define XVIDC_EDID_BDISP_FEATURE_PM_SUSPEND_MASK
Feature support suspend power management bit mask.
Definition: xvidc_edid.h:257
#define XVIDC_EDID_BDISP_FEATURE
Basic display feature support offset.
Definition: xvidc_edid.h:90

Check if suspend power management supported.

Parameters
EEDID data array
#define XVidC_IsStream3D (   VidStreamPtr)    ((VidStreamPtr)->Is3D)

This macro check if video stream is 3D or 2D.

Parameters
VidStreamPtris a pointer to the XVidC_VideoStream structure.
Returns
3D(1)/2D(0)
Note
C-style signature: u8 XDp_IsStream3D(XVidC_VideoStream *VidStreamPtr)

Typedef Documentation

typedef void(* XVidC_DelayHandler)(void *TimerPtr, u32 Delay)

Callback type which represents a custom timer wait handler.

This is only used for Microblaze since it doesn't have a native sleep function. To avoid dependency on a hardware timer, the default wait functionality is implemented using loop iterations; this isn't too accurate. Therefore a custom timer handler is used, the user may implement their own wait implementation.

Parameters
TimerPtris a pointer to the timer instance.
Delayis the duration (msec/usec) to be passed to the timer function.

Enumeration Type Documentation

3D formats.

Enumerator
XVIDC_3D_FRAME_PACKING 

Frame packing.

XVIDC_3D_FIELD_ALTERNATIVE 

Field alternative.

XVIDC_3D_LINE_ALTERNATIVE 

Line alternative.

XVIDC_3D_SIDE_BY_SIDE_FULL 

Side-by-side (full).

XVIDC_3D_TOP_AND_BOTTOM_HALF 

Top-and-bottom (half).

XVIDC_3D_SIDE_BY_SIDE_HALF 

Side-by-side (half).

XVIDC_3D_UNKNOWN 

Unknown 3D format.

3D Sub-sampling methods.

Enumerator
XVIDC_3D_SAMPLING_HORIZONTAL 

Horizontal sub-sampling.

XVIDC_3D_SAMPLING_QUINCUNX 

Quincunx matrix.

XVIDC_3D_SAMPLING_UNKNOWN 

Unknown sampling method.

3D Sub-sampling positions.

Enumerator
XVIDC_3D_SAMPPOS_OLOR 

Odd/Left, Odd/Right.

XVIDC_3D_SAMPPOS_OLER 

Odd/Left, Even/Right.

XVIDC_3D_SAMPPOS_ELOR 

Even/Left, Odd/Right.

XVIDC_3D_SAMPPOS_ELER 

Even/Left, Even/Right.

XVIDC_3D_SAMPPOS_UNKNOWN 

Unknown sampling position.

Image Aspect Ratio.

Enumerator
XVIDC_AR_4_3 

4:3 aspect ratio

XVIDC_AR_16_9 

16:9 aspect ratio

Color depth - bits per color component.

Enumerator
XVIDC_BPC_6 

6 bits per component

XVIDC_BPC_8 

8 bits per component

XVIDC_BPC_10 

10 bits per component

XVIDC_BPC_12 

12 bits per component

XVIDC_BPC_14 

14 bits per component

XVIDC_BPC_16 

16 bits per component

XVIDC_BPC_NUM_SUPPORTED 

Number of supported color depths.

XVIDC_BPC_UNKNOWN 

Unknown color depth.

Color space format.

Enumerator
XVIDC_CSF_RGB 

RGB streaming format.

XVIDC_CSF_YCRCB_444 

YCrCb 4:4:4 streaming format.

XVIDC_CSF_YCRCB_422 

YCrCb 4:2:2 streaming format.

XVIDC_CSF_YCRCB_420 

YCrCb 4:2:0 streaming format.

XVIDC_CSF_YONLY 

Y only (luma) streaming format.

XVIDC_CSF_RGBA 

RGBA streaming format.

XVIDC_CSF_YCRCBA_444 

YCrCbA 4:4:4 streaming format with alpha.

XVIDC_CSF_MEM_RGBX8 

Memory format [31:0] x:B:G:R 8:8:8:8.

XVIDC_CSF_MEM_YUVX8 

Memory format [31:0] x:V:U:Y 8:8:8:8.

XVIDC_CSF_MEM_YUYV8 

Memory format [31:0] V:Y:U:Y 8:8:8:8.

XVIDC_CSF_MEM_RGBA8 

Memory format [31:0] A:B:G:R 8:8:8:8.

XVIDC_CSF_MEM_YUVA8 

Memory format [31:0] A:V:U:Y 8:8:8:8.

XVIDC_CSF_MEM_RGBX10 

Memory format [31:0] x:B:G:R 2:10:10:10.

XVIDC_CSF_MEM_YUVX10 

Memory format [31:0] x:V:U:Y 2:10:10:10.

XVIDC_CSF_MEM_RGB565 

Memory format [15:0] B:G:R 5:6:5.

XVIDC_CSF_MEM_Y_UV8 

Memory format [15:0] Y:Y 8:8, [15:0] V:U 8:8.

XVIDC_CSF_MEM_Y_UV8_420 

Memory format [15:0] Y:Y 8:8, [15:0] V:U 8:8 (4:2:0)

XVIDC_CSF_MEM_RGB8 

Memory format [23:0] B:G:R 8:8:8.

XVIDC_CSF_MEM_YUV8 

Memory format [24:0] V:U:Y 8:8:8.

XVIDC_CSF_MEM_Y_UV10 

Memory format [31:0] x:Y:Y:Y 2:10:10:10 [31:0] x:U:V:U 2:10:10:10.

XVIDC_CSF_MEM_Y_UV10_420 

Memory format [31:0] x:Y:Y:Y 2:10:10:10 [31:0] x:U:V:U 2:10:10:10 (4:2:0)

XVIDC_CSF_MEM_Y8 

Memory format [31:0] Y:Y:Y:Y 8:8:8:8.

XVIDC_CSF_MEM_Y10 

Memory format [31:0] x:Y:Y:Y 2:10:10:10.

XVIDC_CSF_MEM_BGRA8 

Memory format [31:0] A:R:G:B 8:8:8:8.

XVIDC_CSF_MEM_BGRX8 

Memory format [31:0] X:R:G:B 8:8:8:8.

XVIDC_CSF_MEM_UYVY8 

Memory format [31:0] Y:V:Y:U 8:8:8:8.

XVIDC_CSF_MEM_BGR8 

Memory format [23:0] R:G:B 8:8:8.

XVIDC_CSF_MEM_RGBX12 

Memory format [39:0] x:R:G:B 4:12:12:12.

XVIDC_CSF_MEM_YUVX12 

Memory format [39:0] x:V:U:Y 4:12:12:12.

XVIDC_CSF_MEM_Y_UV12 

Memory format [23:0] Y:Y 12:12, [23:0] V:U 12:12.

XVIDC_CSF_MEM_Y_UV12_420 

Memory format [23:0] Y:Y 12:12, [23:0] V:U 12:12 (4:2:0)

XVIDC_CSF_MEM_Y12 

Memory format [39:0] x:Y2:Y1:Y0 4:12:12:12.

XVIDC_CSF_MEM_RGB16 

Memory format [47:0] R:G:B 16:16:16.

XVIDC_CSF_MEM_YUV16 

Memory format [47:0] V:U:Y 16:16:16.

XVIDC_CSF_MEM_Y_UV16 

Memory format [31:0] Y:Y 16:16, [31:0] V:U 16:16.

XVIDC_CSF_MEM_Y_UV16_420 

Memory format [31:0] Y:Y 16:16, [31:0] V:U 16:16 (4:2:0)

XVIDC_CSF_MEM_Y16 

Memory format [47:0] Y2:Y1:Y0 16:16:16.

XVIDC_CSF_MEM_R_G_B8 

Memory format [7:0] R:8, [7:0] G:8, [7:0] B:8.

XVIDC_CSF_MEM_Y_U_V8_420 

Memory format [15:0] Y:Y 8:8, [7:0] U:8, [7:0] V:8 (4:2:0)

XVIDC_CSF_MEM_Y_U_V8 

Memory format [7:0] Y:8, [7:0] U:8, [7:0] V:8.

XVIDC_CSF_MEM_Y_U_V10 

Memory format [9:0] Y:10, [9:0] U:10, [9:0] V:10.

XVIDC_CSF_MEM_Y_U_V12 

Memory format [11:0] Y:12, [11:0] U:12, [11:0] V:12.

XVIDC_CSF_MEM_Y_U_V10_L16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] U1:U0 16:16 [31:0] V1:V0 16:16 (10-bit LSB Aligned)

XVIDC_CSF_MEM_Y_UV10_L16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (10-bit LSB Aligned)

XVIDC_CSF_MEM_Y_UV10_420_L16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (10-bit LSB Aligned, 4:2:0)

XVIDC_CSF_MEM_Y10_L16LE 

Memory format [31:0] Y1:Y0 16:16 (10-bit LSB Aligned)

XVIDC_CSF_MEM_Y_U_V12_L16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] U1:U0 16:16 [31:0] V1:V0 16:16 (12-bit LSB Aligned)

XVIDC_CSF_MEM_Y_UV12_L16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (12-bit LSB Aligned)

XVIDC_CSF_MEM_Y_UV12_420_L16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (12-bit LSB Aligned, 4:2:0)

XVIDC_CSF_MEM_Y12_L16LE 

Memory format [31:0] Y1:Y0 16:16 (12-bit LSB Aligned)

XVIDC_CSF_MEM_Y_U_V10_M16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] U1:U0 16:16 [31:0] V1:V0 16:16 (10-bit MSB Aligned)

XVIDC_CSF_MEM_Y_UV10_M16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (10-bit MSB Aligned)

XVIDC_CSF_MEM_Y_UV10_420_M16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (10-bit MSB Aligned, 4:2:0)

XVIDC_CSF_MEM_Y10_M16LE 

Memory format [31:0] Y1:Y0 16:16 (10-bit MSB Aligned)

XVIDC_CSF_MEM_Y_U_V12_M16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] U1:U0 16:16 [31:0] V1:V0 16:16 (12-bit MSB Aligned)

XVIDC_CSF_MEM_Y_UV12_M16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (12-bit MSB Aligned)

XVIDC_CSF_MEM_Y_UV12_420_M16LE 

Memory format [31:0] Y1:Y0 16:16 [31:0] V0:U0 16:16 (12-bit MSB Aligned, 4:2:0)

XVIDC_CSF_MEM_Y12_M16LE 

Memory format [31:0] Y1:Y0 16:16 (12-bit MSB Aligned)

XVIDC_CSF_MEM_END 

End of memory formats.

XVIDC_CSF_YCBCR_422 

YCbCr 4:2:2 streaming format (reordered components)

XVIDC_CSF_YCBCR_420 

YCbCr 4:2:0 streaming format (reordered components)

XVIDC_CSF_YCBCR_444 

YCbCr 4:4:4 streaming format (reordered components)

XVIDC_CSF_NUM_SUPPORTED 

Number of supported color formats (includes reserved slots)

XVIDC_CSF_UNKNOWN 

Unknown color format.

XVIDC_CSF_STRM_START 

First streaming format.

XVIDC_CSF_STRM_END 

Last streaming format.

XVIDC_CSF_MEM_START 

First memory format.

XVIDC_CSF_NUM_STRM 

Number of streaming formats.

XVIDC_CSF_NUM_MEM 

Number of memory formats.

Color conversion output range.

Enumerator
XVIDC_CR_16_235 

Limited range 16-235.

XVIDC_CR_16_240 

Limited range 16-240.

XVIDC_CR_0_255 

Full range 0-255.

XVIDC_CR_NUM_SUPPORTED 

Number of supported color ranges.

XVIDC_CR_UNKNOWN_RANGE 

Unknown color range.

Color space conversion standard.

Enumerator
XVIDC_BT_2020 

ITU-R BT.2020 color standard.

XVIDC_BT_709 

ITU-R BT.709 color standard.

XVIDC_BT_601 

ITU-R BT.601 color standard.

XVIDC_BT_NUM_SUPPORTED 

Number of supported color standards.

XVIDC_BT_UNKNOWN 

Unknown color standard.

enum XVidC_Eotf

Electro Optical Transfer Function.

Based on CTA861-G

Enumerator
XVIDC_EOTF_TG_SDR 

Traditional Gamma SDR.

XVIDC_EOTF_TG_HDR 

Traditional Gamma HDR.

XVIDC_EOTF_SMPTE2084 

SMPTE ST 2084 (PQ)

XVIDC_EOTF_HLG 

Hybrid Log-Gamma (HLG)

XVIDC_EOTF_NUM_SUPPORTED 

Number of supported EOTFs.

XVIDC_EOTF_UNKNOWN 

Unknown EOTF.

Frame rate.

Enumerator
XVIDC_FR_24HZ 

24 Hz refresh rate

XVIDC_FR_25HZ 

25 Hz refresh rate

XVIDC_FR_30HZ 

30 Hz refresh rate

XVIDC_FR_48HZ 

48 Hz refresh rate

XVIDC_FR_50HZ 

50 Hz refresh rate

XVIDC_FR_56HZ 

56 Hz refresh rate

XVIDC_FR_60HZ 

60 Hz refresh rate

XVIDC_FR_65HZ 

65 Hz refresh rate

XVIDC_FR_67HZ 

67 Hz refresh rate

XVIDC_FR_70HZ 

70 Hz refresh rate

XVIDC_FR_72HZ 

72 Hz refresh rate

XVIDC_FR_75HZ 

75 Hz refresh rate

XVIDC_FR_85HZ 

85 Hz refresh rate

XVIDC_FR_87HZ 

87 Hz refresh rate

XVIDC_FR_88HZ 

88 Hz refresh rate

XVIDC_FR_96HZ 

96 Hz refresh rate

XVIDC_FR_100HZ 

100 Hz refresh rate

XVIDC_FR_120HZ 

120 Hz refresh rate

XVIDC_FR_144HZ 

144 Hz refresh rate

XVIDC_FR_200HZ 

200 Hz refresh rate

XVIDC_FR_240HZ 

240 Hz refresh rate

XVIDC_FR_NUM_SUPPORTED 

Number of supported frame rates.

XVIDC_FR_UNKNOWN 

Unknown frame rate.

Pixels per clock.

Enumerator
XVIDC_PPC_1 

1 pixel per clock

XVIDC_PPC_2 

2 pixels per clock

XVIDC_PPC_4 

4 pixels per clock

XVIDC_PPC_8 

8 pixels per clock

XVIDC_PPC_NUM_SUPPORTED 

Number of supported PPC values.

Tile Size in Tile format.

Enumerator
XVIDC_TILE_32 

32-byte tile size

XVIDC_TILE_64 

64-byte tile size

XVIDC_TILE_NUM_SUPPORTED 

Number of supported tile sizes.

Progressive/interlaced video format.

Enumerator
XVIDC_VF_PROGRESSIVE 

Progressive scan.

XVIDC_VF_INTERLACED 

Interlaced scan.

XVIDC_VF_UNKNOWN 

Unknown video format.

This typedef enumerates the list of available standard display monitor timings as specified in the xvidc_timings_table.c file.

The naming format is:

XVIDC_VM_<RESOLUTION>_<REFRESH RATE (HZ)>_<P|I>(_RB)

Where RB stands for reduced blanking.

Enumerator
XVIDC_VM_720x480_60_I 

720x480 @ 60Hz interlaced

XVIDC_VM_720x486_60_I 

720x486 @ 60Hz interlaced

XVIDC_VM_720x576_50_I 

720x576 @ 50Hz interlaced

XVIDC_VM_1440x480_60_I 

1440x480 @ 60Hz interlaced

XVIDC_VM_1440x480_120_I 

1440x480 @ 120Hz interlaced

XVIDC_VM_1440x480_240_I 

1440x480 @ 240Hz interlaced

XVIDC_VM_1440x576_50_I 

1440x576 @ 50Hz interlaced

XVIDC_VM_1440x576_100_I 

1440x576 @ 100Hz interlaced

XVIDC_VM_1440x576_200_I 

1440x576 @ 200Hz interlaced

XVIDC_VM_1920x1080_48_I 

1920x1080 @ 48Hz interlaced

XVIDC_VM_1920x1080_50_I 

1920x1080 @ 50Hz interlaced

XVIDC_VM_1920x1080_50_I_VT1250 

1920x1080 @ 50Hz interlaced (VT=1250)

XVIDC_VM_1920x1080_60_I 

1920x1080 @ 60Hz interlaced

XVIDC_VM_1920x1080_96_I 

1920x1080 @ 96Hz interlaced

XVIDC_VM_1920x1080_100_I 

1920x1080 @ 100Hz interlaced

XVIDC_VM_1920x1080_120_I 

1920x1080 @ 120Hz interlaced

XVIDC_VM_2048x1080_48_I 

2048x1080 @ 48Hz interlaced

XVIDC_VM_2048x1080_50_I 

2048x1080 @ 50Hz interlaced

XVIDC_VM_2048x1080_60_I 

2048x1080 @ 60Hz interlaced

XVIDC_VM_2048x1080_96_I 

2048x1080 @ 96Hz interlaced

XVIDC_VM_2048x1080_100_I 

2048x1080 @ 100Hz interlaced

XVIDC_VM_2048x1080_120_I 

2048x1080 @ 120Hz interlaced

XVIDC_VM_2880x480_60_I 

2880x480 @ 60Hz interlaced

XVIDC_VM_2880x576_50_I 

2880x576 @ 50Hz interlaced

XVIDC_VM_640x350_85_P 

640x350 @ 85Hz progressive

XVIDC_VM_640x480_60_P 

640x480 @ 60Hz progressive

XVIDC_VM_640x480_72_P 

640x480 @ 72Hz progressive

XVIDC_VM_640x480_75_P 

640x480 @ 75Hz progressive

XVIDC_VM_640x480_85_P 

640x480 @ 85Hz progressive

XVIDC_VM_720x400_85_P 

720x400 @ 85Hz progressive

XVIDC_VM_720x480_60_P 

720x480 @ 60Hz progressive

XVIDC_VM_720x480_120_P 

720x480 @ 120Hz progressive

XVIDC_VM_720x480_240_P 

720x480 @ 240Hz progressive

XVIDC_VM_720x576_50_P 

720x576 @ 50Hz progressive

XVIDC_VM_720x576_100_P 

720x576 @ 100Hz progressive

XVIDC_VM_720x576_200_P 

720x576 @ 200Hz progressive

XVIDC_VM_800x600_56_P 

800x600 @ 56Hz progressive

XVIDC_VM_800x600_60_P 

800x600 @ 60Hz progressive

XVIDC_VM_800x600_72_P 

800x600 @ 72Hz progressive

XVIDC_VM_800x600_75_P 

800x600 @ 75Hz progressive

XVIDC_VM_800x600_85_P 

800x600 @ 85Hz progressive

XVIDC_VM_800x600_120_P_RB 

800x600 @ 120Hz progressive (reduced blanking)

XVIDC_VM_848x480_60_P 

848x480 @ 60Hz progressive

XVIDC_VM_1024x768_60_P 

1024x768 @ 60Hz progressive

XVIDC_VM_1024x768_70_P 

1024x768 @ 70Hz progressive

XVIDC_VM_1024x768_75_P 

1024x768 @ 75Hz progressive

XVIDC_VM_1024x768_85_P 

1024x768 @ 85Hz progressive

XVIDC_VM_1024x768_120_P_RB 

1024x768 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1152x864_75_P 

1152x864 @ 75Hz progressive

XVIDC_VM_1280x720_24_P 

1280x720 @ 24Hz progressive

XVIDC_VM_1280x720_25_P 

1280x720 @ 25Hz progressive

XVIDC_VM_1280x720_30_P 

1280x720 @ 30Hz progressive

XVIDC_VM_1280x720_48_P 

1280x720 @ 48Hz progressive

XVIDC_VM_1280x720_50_P 

1280x720 @ 50Hz progressive

XVIDC_VM_1280x720_60_P 

1280x720 @ 60Hz progressive

XVIDC_VM_1280x720_100_P 

1280x720 @ 100Hz progressive

XVIDC_VM_1280x720_120_P 

1280x720 @ 120Hz progressive

XVIDC_VM_1280x768_60_P 

1280x768 @ 60Hz progressive

XVIDC_VM_1280x768_60_P_RB 

1280x768 @ 60Hz progressive (reduced blanking)

XVIDC_VM_1280x768_75_P 

1280x768 @ 75Hz progressive

XVIDC_VM_1280x768_85_P 

1280x768 @ 85Hz progressive

XVIDC_VM_1280x768_120_P_RB 

1280x768 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1280x800_60_P 

1280x800 @ 60Hz progressive

XVIDC_VM_1280x800_60_P_RB 

1280x800 @ 60Hz progressive (reduced blanking)

XVIDC_VM_1280x800_75_P 

1280x800 @ 75Hz progressive

XVIDC_VM_1280x800_85_P 

1280x800 @ 85Hz progressive

XVIDC_VM_1280x800_120_P_RB 

1280x800 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1280x960_60_P 

1280x960 @ 60Hz progressive

XVIDC_VM_1280x960_85_P 

1280x960 @ 85Hz progressive

XVIDC_VM_1280x960_120_P_RB 

1280x960 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1280x1024_60_P 

1280x1024 @ 60Hz progressive

XVIDC_VM_1280x1024_75_P 

1280x1024 @ 75Hz progressive

XVIDC_VM_1280x1024_85_P 

1280x1024 @ 85Hz progressive

XVIDC_VM_1280x1024_120_P_RB 

1280x1024 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1360x768_60_P 

1360x768 @ 60Hz progressive

XVIDC_VM_1360x768_120_P_RB 

1360x768 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1366x768_60_P 

1366x768 @ 60Hz progressive

XVIDC_VM_1366x768_60_P_RB 

1366x768 @ 60Hz progressive (reduced blanking)

XVIDC_VM_1400x1050_60_P 

1400x1050 @ 60Hz progressive

XVIDC_VM_1400x1050_60_P_RB 

1400x1050 @ 60Hz progressive (reduced blanking)

XVIDC_VM_1400x1050_75_P 

1400x1050 @ 75Hz progressive

XVIDC_VM_1400x1050_85_P 

1400x1050 @ 85Hz progressive

XVIDC_VM_1400x1050_120_P_RB 

1400x1050 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1440x240_60_P 

1440x240 @ 60Hz progressive

XVIDC_VM_1440x240_60_P_VT263 

1440x240 @ 60Hz progressive (VT=263)

XVIDC_VM_1440x288_50_P 

1440x288 @ 50Hz progressive

XVIDC_VM_1440x288_50_P_VT314 

1440x288 @ 50Hz progressive (VT=314)

XVIDC_VM_1440x288_50_P_VT312 

1440x288 @ 50Hz progressive (VT=312)

XVIDC_VM_1440x480_60_P 

1440x480 @ 60Hz progressive

XVIDC_VM_1440x576_50_P 

1440x576 @ 50Hz progressive

XVIDC_VM_1440x900_60_P 

1440x900 @ 60Hz progressive

XVIDC_VM_1440x900_60_P_RB 

1440x900 @ 60Hz progressive (reduced blanking)

XVIDC_VM_1440x900_75_P 

1440x900 @ 75Hz progressive

XVIDC_VM_1440x900_85_P 

1440x900 @ 85Hz progressive

XVIDC_VM_1440x900_120_P_RB 

1440x900 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1600x1200_60_P 

1600x1200 @ 60Hz progressive

XVIDC_VM_1600x1200_65_P 

1600x1200 @ 65Hz progressive

XVIDC_VM_1600x1200_70_P 

1600x1200 @ 70Hz progressive

XVIDC_VM_1600x1200_75_P 

1600x1200 @ 75Hz progressive

XVIDC_VM_1600x1200_85_P 

1600x1200 @ 85Hz progressive

XVIDC_VM_1600x1200_120_P_RB 

1600x1200 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1680x720_24_P 

1680x720 @ 24Hz progressive

XVIDC_VM_1680x720_25_P 

1680x720 @ 25Hz progressive

XVIDC_VM_1680x720_30_P 

1680x720 @ 30Hz progressive

XVIDC_VM_1680x720_48_P 

1680x720 @ 48Hz progressive

XVIDC_VM_1680x720_50_P 

1680x720 @ 50Hz progressive

XVIDC_VM_1680x720_60_P 

1680x720 @ 60Hz progressive

XVIDC_VM_1680x720_100_P 

1680x720 @ 100Hz progressive

XVIDC_VM_1680x720_120_P 

1680x720 @ 120Hz progressive

XVIDC_VM_1680x1050_50_P 

1680x1050 @ 50Hz progressive

XVIDC_VM_1680x1050_60_P 

1680x1050 @ 60Hz progressive

XVIDC_VM_1680x1050_60_P_RB 

1680x1050 @ 60Hz progressive (reduced blanking)

XVIDC_VM_1680x1050_75_P 

1680x1050 @ 75Hz progressive

XVIDC_VM_1680x1050_85_P 

1680x1050 @ 85Hz progressive

XVIDC_VM_1680x1050_120_P_RB 

1680x1050 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1792x1344_60_P 

1792x1344 @ 60Hz progressive

XVIDC_VM_1792x1344_75_P 

1792x1344 @ 75Hz progressive

XVIDC_VM_1792x1344_120_P_RB 

1792x1344 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1856x1392_60_P 

1856x1392 @ 60Hz progressive

XVIDC_VM_1856x1392_75_P 

1856x1392 @ 75Hz progressive

XVIDC_VM_1856x1392_120_P_RB 

1856x1392 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1920x1080_24_P 

1920x1080 @ 24Hz progressive

XVIDC_VM_1920x1080_25_P 

1920x1080 @ 25Hz progressive

XVIDC_VM_1920x1080_30_P 

1920x1080 @ 30Hz progressive

XVIDC_VM_1920x1080_48_P 

1920x1080 @ 48Hz progressive

XVIDC_VM_1920x1080_50_P 

1920x1080 @ 50Hz progressive

XVIDC_VM_1920x1080_60_P 

1920x1080 @ 60Hz progressive

XVIDC_VM_1920x1080_100_P 

1920x1080 @ 100Hz progressive

XVIDC_VM_1920x1080_120_P 

1920x1080 @ 120Hz progressive

XVIDC_VM_1920x1200_60_P 

1920x1200 @ 60Hz progressive

XVIDC_VM_1920x1200_60_P_RB 

1920x1200 @ 60Hz progressive (reduced blanking)

XVIDC_VM_1920x1200_75_P 

1920x1200 @ 75Hz progressive

XVIDC_VM_1920x1200_85_P 

1920x1200 @ 85Hz progressive

XVIDC_VM_1920x1200_120_P_RB 

1920x1200 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1920x1440_60_P 

1920x1440 @ 60Hz progressive

XVIDC_VM_1920x1440_75_P 

1920x1440 @ 75Hz progressive

XVIDC_VM_1920x1440_120_P_RB 

1920x1440 @ 120Hz progressive (reduced blanking)

XVIDC_VM_1920x2160_60_P 

1920x2160 @ 60Hz progressive

XVIDC_VM_2048x1080_24_P 

2048x1080 @ 24Hz progressive

XVIDC_VM_2048x1080_25_P 

2048x1080 @ 25Hz progressive

XVIDC_VM_2048x1080_30_P 

2048x1080 @ 30Hz progressive

XVIDC_VM_2048x1080_48_P 

2048x1080 @ 48Hz progressive

XVIDC_VM_2048x1080_50_P 

2048x1080 @ 50Hz progressive

XVIDC_VM_2048x1080_60_P 

2048x1080 @ 60Hz progressive

XVIDC_VM_2048x1080_100_P 

2048x1080 @ 100Hz progressive

XVIDC_VM_2048x1080_120_P 

2048x1080 @ 120Hz progressive

XVIDC_VM_2560x1080_24_P 

2560x1080 @ 24Hz progressive

XVIDC_VM_2560x1080_25_P 

2560x1080 @ 25Hz progressive

XVIDC_VM_2560x1080_30_P 

2560x1080 @ 30Hz progressive

XVIDC_VM_2560x1080_48_P 

2560x1080 @ 48Hz progressive

XVIDC_VM_2560x1080_50_P 

2560x1080 @ 50Hz progressive

XVIDC_VM_2560x1080_60_P 

2560x1080 @ 60Hz progressive

XVIDC_VM_2560x1080_100_P 

2560x1080 @ 100Hz progressive

XVIDC_VM_2560x1080_120_P 

2560x1080 @ 120Hz progressive

XVIDC_VM_2560x1600_60_P 

2560x1600 @ 60Hz progressive

XVIDC_VM_2560x1600_60_P_RB 

2560x1600 @ 60Hz progressive (reduced blanking)

XVIDC_VM_2560x1600_75_P 

2560x1600 @ 75Hz progressive

XVIDC_VM_2560x1600_85_P 

2560x1600 @ 85Hz progressive

XVIDC_VM_2560x1600_120_P_RB 

2560x1600 @ 120Hz progressive (reduced blanking)

XVIDC_VM_2880x240_60_P 

2880x240 @ 60Hz progressive

XVIDC_VM_2880x240_60_P_VT263 

2880x240 @ 60Hz progressive (VT=263)

XVIDC_VM_2880x288_50_P 

2880x288 @ 50Hz progressive

XVIDC_VM_2880x288_50_P_VT314 

2880x288 @ 50Hz progressive (VT=314)

XVIDC_VM_2880x288_50_P_VT312 

2880x288 @ 50Hz progressive (VT=312)

XVIDC_VM_2880x480_60_P 

2880x480 @ 60Hz progressive

XVIDC_VM_2880x576_50_P 

2880x576 @ 50Hz progressive

XVIDC_VM_3840x2160_24_P 

3840x2160 @ 24Hz progressive

XVIDC_VM_3840x2160_25_P 

3840x2160 @ 25Hz progressive

XVIDC_VM_3840x2160_30_P 

3840x2160 @ 30Hz progressive

XVIDC_VM_3840x2160_48_P 

3840x2160 @ 48Hz progressive

XVIDC_VM_3840x2160_50_P 

3840x2160 @ 50Hz progressive

XVIDC_VM_3840x2160_60_P 

3840x2160 @ 60Hz progressive

XVIDC_VM_3840x2160_60_P_RB 

3840x2160 @ 60Hz progressive (reduced blanking)

XVIDC_VM_3840x2160_100_P 

3840x2160 @ 100Hz progressive

XVIDC_VM_3840x2160_120_P 

3840x2160 @ 120Hz progressive

XVIDC_VM_4096x2160_24_P 

4096x2160 @ 24Hz progressive

XVIDC_VM_4096x2160_25_P 

4096x2160 @ 25Hz progressive

XVIDC_VM_4096x2160_30_P 

4096x2160 @ 30Hz progressive

XVIDC_VM_4096x2160_48_P 

4096x2160 @ 48Hz progressive

XVIDC_VM_4096x2160_50_P 

4096x2160 @ 50Hz progressive

XVIDC_VM_4096x2160_60_P 

4096x2160 @ 60Hz progressive

XVIDC_VM_4096x2160_60_P_RB 

4096x2160 @ 60Hz progressive (reduced blanking)

XVIDC_VM_4096x2160_100_P 

4096x2160 @ 100Hz progressive

XVIDC_VM_4096x2160_120_P 

4096x2160 @ 120Hz progressive

XVIDC_VM_5120x2160_24_P 

5120x2160 @ 24Hz progressive

XVIDC_VM_5120x2160_25_P 

5120x2160 @ 25Hz progressive

XVIDC_VM_5120x2160_30_P 

5120x2160 @ 30Hz progressive

XVIDC_VM_5120x2160_48_P 

5120x2160 @ 48Hz progressive

XVIDC_VM_5120x2160_50_P 

5120x2160 @ 50Hz progressive

XVIDC_VM_5120x2160_60_P 

5120x2160 @ 60Hz progressive

XVIDC_VM_5120x2160_100_P 

5120x2160 @ 100Hz progressive

XVIDC_VM_5120x2160_120_P 

5120x2160 @ 120Hz progressive

XVIDC_VM_7680x4320_24_P 

7680x4320 @ 24Hz progressive

XVIDC_VM_7680x4320_25_P 

7680x4320 @ 25Hz progressive

XVIDC_VM_7680x4320_30_P 

7680x4320 @ 30Hz progressive

XVIDC_VM_7680x4320_48_P 

7680x4320 @ 48Hz progressive

XVIDC_VM_7680x4320_50_P 

7680x4320 @ 50Hz progressive

XVIDC_VM_7680x4320_60_P 

7680x4320 @ 60Hz progressive

XVIDC_VM_7680x4320_120_P 

7680x4320 @ 120Hz progressive

XVIDC_VM_7680x4320_100_P 

7680x4320 @ 100Hz progressive

XVIDC_VM_10240x4320_24_P 

10240x4320 @ 24Hz progressive

XVIDC_VM_10240x4320_25_P 

10240x4320 @ 25Hz progressive

XVIDC_VM_10240x4320_30_P 

10240x4320 @ 30Hz progressive

XVIDC_VM_10240x4320_48_P 

10240x4320 @ 48Hz progressive

XVIDC_VM_10240x4320_50_P 

10240x4320 @ 50Hz progressive

XVIDC_VM_10240x4320_60_P 

10240x4320 @ 60Hz progressive

XVIDC_VM_10240x4320_100_P 

10240x4320 @ 100Hz progressive

XVIDC_VM_10240x4320_120_P 

10240x4320 @ 120Hz progressive

XVIDC_VM_NUM_SUPPORTED 

Number of supported video modes.

XVIDC_VM_USE_EDID_PREFERRED 

Use EDID preferred mode.

XVIDC_VM_NO_INPUT 

No input detected.

XVIDC_VM_NOT_SUPPORTED 

Video mode not supported.

XVIDC_VM_CUSTOM 

Custom video mode.

XVIDC_VM_INTL_START 

First interlaced mode in table.

XVIDC_VM_PROG_START 

First progressive mode in table.

XVIDC_VM_INTL_END 

Last interlaced mode in table.

XVIDC_VM_PROG_END 

Last progressive mode in table.

XVIDC_VM_480_60_I 

480i alias

XVIDC_VM_486_60_I 

486i alias

XVIDC_VM_576_50_I 

576i alias

XVIDC_VM_1080_50_I 

1080i 50Hz alias

XVIDC_VM_1080_60_I 

1080i 60Hz alias

XVIDC_VM_VGA_60_P 

VGA alias.

XVIDC_VM_480_60_P 

480p alias

XVIDC_VM_SVGA_60_P 

SVGA alias.

XVIDC_VM_XGA_60_P 

XGA alias.

XVIDC_VM_720_50_P 

720p 50Hz alias

XVIDC_VM_720_60_P 

720p 60Hz alias

XVIDC_VM_WXGA_60_P 

WXGA alias.

XVIDC_VM_UXGA_60_P 

UXGA alias.

XVIDC_VM_WSXGA_60_P 

WSXGA alias.

XVIDC_VM_1080_24_P 

1080p 24Hz alias

XVIDC_VM_1080_25_P 

1080p 25Hz alias

XVIDC_VM_1080_30_P 

1080p 30Hz alias

XVIDC_VM_1080_50_P 

1080p 50Hz alias

XVIDC_VM_1080_60_P 

1080p 60Hz alias

XVIDC_VM_WUXGA_60_P 

WUXGA alias.

XVIDC_VM_UHD2_60_P 

UHD2 alias.

XVIDC_VM_UHD_24_P 

UHD 24Hz alias.

XVIDC_VM_UHD_25_P 

UHD 25Hz alias.

XVIDC_VM_UHD_30_P 

UHD 30Hz alias.

XVIDC_VM_UHD_60_P 

UHD 60Hz alias.

XVIDC_VM_4K2K_60_P 

4K2K 60Hz alias

XVIDC_VM_4K2K_60_P_RB 

4K2K 60Hz RB alias

Function Documentation

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The x chromatacity coordinate for blue.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_BLUEX_HIGH, XVIDC_EDID_CC_BW_LOW, XVIDC_EDID_CC_HIGH_SHIFT, and XVIDC_EDID_CC_RBX_LOW_SHIFT.

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The y chromatacity coordinate for blue.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_BLUEY_HIGH, XVIDC_EDID_CC_BW_LOW, XVIDC_EDID_CC_HIGH_SHIFT, XVIDC_EDID_CC_RBY_LOW_MASK, and XVIDC_EDID_CC_RBY_LOW_SHIFT.

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The x chromatacity coordinate for green.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_GREENX_HIGH, XVIDC_EDID_CC_GWX_LOW_MASK, XVIDC_EDID_CC_GWX_LOW_SHIFT, XVIDC_EDID_CC_HIGH_SHIFT, and XVIDC_EDID_CC_RG_LOW.

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The y chromatacity coordinate for green.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_GREENY_HIGH, XVIDC_EDID_CC_GWY_LOW_MASK, XVIDC_EDID_CC_HIGH_SHIFT, and XVIDC_EDID_CC_RG_LOW.

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The x chromatacity coordinate for red.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_HIGH_SHIFT, XVIDC_EDID_CC_RBX_LOW_SHIFT, XVIDC_EDID_CC_REDX_HIGH, and XVIDC_EDID_CC_RG_LOW.

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The y chromatacity coordinate for red.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_HIGH_SHIFT, XVIDC_EDID_CC_RBY_LOW_MASK, XVIDC_EDID_CC_RBY_LOW_SHIFT, XVIDC_EDID_CC_REDY_HIGH, and XVIDC_EDID_CC_RG_LOW.

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The x chromatacity coordinate for white.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_BW_LOW, XVIDC_EDID_CC_GWX_LOW_MASK, XVIDC_EDID_CC_GWX_LOW_SHIFT, XVIDC_EDID_CC_HIGH_SHIFT, and XVIDC_EDID_CC_WHITEX_HIGH.

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.

To convert back to float divide the fixed point value by 2^10.

Parameters
EdidRawis the supplied base EDID to retrieve chromaticity information from.
Returns
The y chromatacity coordinate for white.
Note
All values will be accurate to +/-0.0005.

References XVIDC_EDID_CC_BW_LOW, XVIDC_EDID_CC_GWY_LOW_MASK, XVIDC_EDID_CC_HIGH_SHIFT, and XVIDC_EDID_CC_WHITEY_HIGH.

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).

Parameters
EdidRawis the supplied base EDID to retrieve color depth information from.
Returns
The number of bits per primary color as specified by the supplied base EDID.
Note
None.

References XVIDC_BPC_10, XVIDC_BPC_12, XVIDC_BPC_14, XVIDC_BPC_16, XVIDC_BPC_6, XVIDC_BPC_8, XVIDC_BPC_UNKNOWN, XVIDC_EDID_BDISP_VID, XVIDC_EDID_BDISP_VID_DIG_BPC_10, XVIDC_EDID_BDISP_VID_DIG_BPC_12, XVIDC_EDID_BDISP_VID_DIG_BPC_14, XVIDC_EDID_BDISP_VID_DIG_BPC_16, XVIDC_EDID_BDISP_VID_DIG_BPC_6, XVIDC_EDID_BDISP_VID_DIG_BPC_8, XVIDC_EDID_BDISP_VID_DIG_BPC_MASK, and XVIDC_EDID_BDISP_VID_DIG_BPC_SHIFT.

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).

Parameters
EdidRawis the supplied base EDID to retrieve the manufacturer name from.
ManNameis the string that will be modified to hold the retrieved manufacturer name.
Note
The ManName argument is modified with the manufacturer name.

References XVIDC_EDID_VPI_ID_MAN_NAME0, XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK, XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_SHIFT, XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_MASK, XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_POS, XVIDC_EDID_VPI_ID_MAN_NAME1, XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR1_SHIFT, and XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR2_MASK.

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).

Parameters
EdidRawis the supplied base EDID to check the timing against.
StdTimingsNumspecifies which one of the standard timings to retrieve from the standard timings field.
Returns
The vertical active resolution of the specified standard timing from the supplied base EDID.
Note
StdTimingsNum is an index 1-8.

References XVIDC_EDID_STD_TIMINGS_AR_16_10, XVIDC_EDID_STD_TIMINGS_AR_16_9, XVIDC_EDID_STD_TIMINGS_AR_4_3, XVIDC_EDID_STD_TIMINGS_AR_5_4, XVidC_EdidGetStdTimingsAr, and XVidC_EdidGetStdTimingsH.

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).

The preferred timing, established timings (I, II, II), and the standard timings fields are checked for support.

Parameters
EdidRawis the supplied base EDID to check the timing against.
VtModeis the video timing mode to check for support.
Returns
Status code.
  • XST_SUCCESS if the video timing mode is supported as specified in the supplied base EDID.
  • XST_FAILURE otherwise.
Note
None.

Referenced by Edid_PrintSuppVmTable().

const char * XVidC_Get3DFormatStr ( XVidC_3DFormat  Format)

This function returns a string representation of the enumerated type, XVidC_3DFormat.

Parameters
Formatspecifies the value to convert.
Returns
Pointer to the converted string.
Note
None.

References XVIDC_3D_FIELD_ALTERNATIVE, XVIDC_3D_FRAME_PACKING, XVIDC_3D_LINE_ALTERNATIVE, XVIDC_3D_SIDE_BY_SIDE_FULL, XVIDC_3D_SIDE_BY_SIDE_HALF, and XVIDC_3D_TOP_AND_BOTTOM_HALF.

Referenced by XVidC_ReportStreamInfo().

const char * XVidC_GetColorFormatStr ( XVidC_ColorFormat  ColorFormatId)

This function returns the color format name for index specified.

Parameters
ColorFormatIdspecifies the index of color format space.
Returns
Pointer to a color space name string.
Note
None.

References XVIDC_CSF_MEM_BGR8, XVIDC_CSF_MEM_BGRA8, XVIDC_CSF_MEM_BGRX8, XVIDC_CSF_MEM_R_G_B8, XVIDC_CSF_MEM_RGB16, XVIDC_CSF_MEM_RGB565, XVIDC_CSF_MEM_RGB8, XVIDC_CSF_MEM_RGBA8, XVIDC_CSF_MEM_RGBX10, XVIDC_CSF_MEM_RGBX12, XVIDC_CSF_MEM_RGBX8, XVIDC_CSF_MEM_UYVY8, XVIDC_CSF_MEM_Y10, XVIDC_CSF_MEM_Y10_L16LE, XVIDC_CSF_MEM_Y10_M16LE, XVIDC_CSF_MEM_Y12, XVIDC_CSF_MEM_Y12_L16LE, XVIDC_CSF_MEM_Y12_M16LE, XVIDC_CSF_MEM_Y16, XVIDC_CSF_MEM_Y8, XVIDC_CSF_MEM_Y_U_V10, XVIDC_CSF_MEM_Y_U_V10_L16LE, XVIDC_CSF_MEM_Y_U_V10_M16LE, XVIDC_CSF_MEM_Y_U_V12, XVIDC_CSF_MEM_Y_U_V12_L16LE, XVIDC_CSF_MEM_Y_U_V12_M16LE, XVIDC_CSF_MEM_Y_U_V8, XVIDC_CSF_MEM_Y_U_V8_420, XVIDC_CSF_MEM_Y_UV10, XVIDC_CSF_MEM_Y_UV10_420, XVIDC_CSF_MEM_Y_UV10_420_L16LE, XVIDC_CSF_MEM_Y_UV10_420_M16LE, XVIDC_CSF_MEM_Y_UV10_L16LE, XVIDC_CSF_MEM_Y_UV10_M16LE, XVIDC_CSF_MEM_Y_UV12, XVIDC_CSF_MEM_Y_UV12_420, XVIDC_CSF_MEM_Y_UV12_420_L16LE, XVIDC_CSF_MEM_Y_UV12_420_M16LE, XVIDC_CSF_MEM_Y_UV12_L16LE, XVIDC_CSF_MEM_Y_UV12_M16LE, XVIDC_CSF_MEM_Y_UV16, XVIDC_CSF_MEM_Y_UV16_420, XVIDC_CSF_MEM_Y_UV8, XVIDC_CSF_MEM_Y_UV8_420, XVIDC_CSF_MEM_YUV16, XVIDC_CSF_MEM_YUV8, XVIDC_CSF_MEM_YUVA8, XVIDC_CSF_MEM_YUVX10, XVIDC_CSF_MEM_YUVX12, XVIDC_CSF_MEM_YUVX8, XVIDC_CSF_MEM_YUYV8, XVIDC_CSF_RGB, XVIDC_CSF_RGBA, XVIDC_CSF_YCBCR_420, XVIDC_CSF_YCBCR_422, XVIDC_CSF_YCBCR_444, XVIDC_CSF_YCRCB_420, XVIDC_CSF_YCRCB_422, XVIDC_CSF_YCRCB_444, XVIDC_CSF_YCRCBA_444, and XVIDC_CSF_YONLY.

Referenced by XVidC_ReportStreamInfo().

XVidC_FrameRate XVidC_GetFrameRate ( XVidC_VideoMode  VmId)

This function returns the frame rate for index specified.

Parameters
VmIdspecifies the resolution id.
Returns
Frame rate in Hz.
Note
None.

References XVidC_VideoTimingMode::FrameRate, XVIDC_FR_NUM_SUPPORTED, and XVidC_GetVideoModeData().

Referenced by XVidC_SetVideoStream().

const char * XVidC_GetFrameRateStr ( XVidC_VideoMode  VmId)

This function returns the frame rate name for index specified.

Parameters
VmIdspecifies the resolution id.
Returns
Pointer to a frame rate name string.
Note
None.

References XVidC_VideoTimingMode::FrameRate, XVIDC_FR_100HZ, XVIDC_FR_120HZ, XVIDC_FR_144HZ, XVIDC_FR_200HZ, XVIDC_FR_240HZ, XVIDC_FR_24HZ, XVIDC_FR_25HZ, XVIDC_FR_30HZ, XVIDC_FR_48HZ, XVIDC_FR_50HZ, XVIDC_FR_56HZ, XVIDC_FR_60HZ, XVIDC_FR_65HZ, XVIDC_FR_67HZ, XVIDC_FR_70HZ, XVIDC_FR_72HZ, XVIDC_FR_75HZ, XVIDC_FR_85HZ, XVIDC_FR_87HZ, XVIDC_FR_88HZ, XVIDC_FR_96HZ, and XVidC_GetVideoModeData().

Referenced by XVidC_ReportStreamInfo().

u64 XVidC_GetPixelClockHzByHVFr ( u32  HTotal,
u32  VTotal,
u8  FrameRate 
)

This function calculates pixel clock based on the inputs.

Parameters
HTotalspecifies horizontal total.
VTotalspecifies vertical total.
FrameRatespecifies rate at which frames are generated.
Returns
Pixel clock in Hz.
Note
None.

Referenced by XVidC_ReportStreamInfo().

u64 XVidC_GetPixelClockHzByVmId ( XVidC_VideoMode  VmId)

This function calculates pixel clock from video mode.

Parameters
VmIdspecifies the resolution id.
Returns
Pixel clock in Hz.
Note
None.

References XVidC_VideoTiming::F0PVTotal, XVidC_VideoTiming::F1VTotal, XVidC_VideoTimingMode::FrameRate, XVidC_VideoTiming::HTotal, XVidC_VideoTimingMode::Timing, XVidC_GetVideoModeData(), and XVidC_IsInterlaced().

Referenced by XVidC_ReportStreamInfo().

const XVidC_VideoTiming * XVidC_GetTimingInfo ( XVidC_VideoMode  VmId)

This function returns the timing parameters for specified resolution.

Parameters
VmIdspecifies the resolution id.
Returns
Pointer to a XVidC_VideoTiming structure.
Note
None.

References XVidC_VideoTimingMode::Timing, and XVidC_GetVideoModeData().

Referenced by XVidC_GetVideoModeIdWBlanking(), and XVidC_SetVideoStream().

XVidC_VideoFormat XVidC_GetVideoFormat ( XVidC_VideoMode  VmId)

This function checks if the input video mode is interlaced/progressive based on its ID from the video timings table.

Parameters
VmIdspecifies the resolution ID from the video timings table.
Returns
Video format.
  • XVIDC_VF_PROGRESSIVE
  • XVIDC_VF_INTERLACED
Note
None.

References XVidC_VideoTiming::F1VTotal, XVidC_VideoTimingMode::Timing, XVidC_GetVideoModeData(), XVIDC_VF_INTERLACED, XVIDC_VF_PROGRESSIVE, and XVIDC_VF_UNKNOWN.

Referenced by XVidC_IsInterlaced().

const XVidC_VideoTimingMode * XVidC_GetVideoModeData ( XVidC_VideoMode  VmId)

This function returns the pointer to video mode data at index provided.

Parameters
VmIdspecifies the resolution id.
Returns
Pointer to XVidC_VideoTimingMode structure based on the given video mode.
Note
None.

References XVIDC_VM_NUM_SUPPORTED.

Referenced by XVidC_GetFrameRate(), XVidC_GetFrameRateStr(), XVidC_GetPixelClockHzByVmId(), XVidC_GetTimingInfo(), XVidC_GetVideoFormat(), XVidC_GetVideoModeIdRb(), XVidC_GetVideoModeStr(), and XVidC_ReportStreamInfo().

XVidC_VideoMode XVidC_GetVideoModeId ( u32  Width,
u32  Height,
u32  FrameRate,
u8  IsInterlaced 
)

This function returns the Video Mode ID that matches the detected input width, height, frame rate and I/P flag.

Parameters
Widthspecifies the number pixels per scanline.
Heightspecifies the number of scanline's.
FrameRatespecifies refresh rate in HZ
IsInterlacedis flag.
  • 0 = Progressive
  • 1 = Interlaced.
Returns
Id of a supported video mode.
Note
None.

References XVidC_VideoTimingMode::FrameRate, XVidC_VideoTiming::HActive, XVidC_VideoTimingMode::Timing, XVidC_VideoTiming::VActive, XVidC_VideoTimingMode::VmId, XVIDC_VM_INTL_END, XVIDC_VM_INTL_START, XVIDC_VM_NOT_SUPPORTED, XVIDC_VM_PROG_END, and XVIDC_VM_PROG_START.

Referenced by XVidC_GetVideoModeIdRb(), and XVidC_GetVideoModeIdWBlanking().

XVidC_VideoMode XVidC_GetVideoModeIdExtensive ( XVidC_VideoTiming Timing,
u32  FrameRate,
u8  IsInterlaced,
u8  IsExtensive 
)

This function returns the Video Mode ID that matches the detected input timing, frame rate and I/P flag.

Parameters
Timingis the pointer to timing parameters to match
FrameRatespecifies refresh rate in HZ
IsInterlacedis flag.
  • 0 = Progressive
    • 1 = Interlaced.
IsExtensiveis flag.
  • 0 = Basic matching of timing parameters
    • 1 = Extensive matching of timing parameters
Returns
Id of a supported video mode.
Note
This function attempts to search for reduced blanking entries, if any.

References XVidC_VideoTiming::F0PVFrontPorch, XVidC_VideoTiming::F0PVSyncWidth, XVidC_VideoTiming::F0PVTotal, XVidC_VideoTiming::F1VFrontPorch, XVidC_VideoTiming::F1VSyncWidth, XVidC_VideoTiming::F1VTotal, XVidC_VideoTimingMode::FrameRate, XVidC_VideoTiming::HActive, XVidC_VideoTiming::HFrontPorch, XVidC_VideoTiming::HSyncWidth, XVidC_VideoTiming::HTotal, XVidC_VideoTimingMode::Timing, XVidC_VideoTiming::VActive, XVidC_VideoTimingMode::VmId, XVidC_VideoTiming::VSyncPolarity, XVIDC_VM_INTL_END, XVIDC_VM_INTL_START, XVIDC_VM_NOT_SUPPORTED, XVIDC_VM_PROG_END, and XVIDC_VM_PROG_START.

XVidC_VideoMode XVidC_GetVideoModeIdRb ( u32  Width,
u32  Height,
u32  FrameRate,
u8  IsInterlaced,
u8  RbN 
)

This function returns the video mode ID that matches the detected input width, height, frame rate, interlaced or progressive, and reduced blanking.

Parameters
Widthspecifies the number pixels per scanline.
Heightspecifies the number of scanline's.
FrameRatespecifies refresh rate in HZ
IsInterlacedspecifies interlaced or progressive mode:
  • 0 = Progressive
  • 1 = Interlaced.
RbNspecifies the type of reduced blanking:
  • 0 = No reduced blanking
  • 1 = RB
  • 2 = RB2
Returns
ID of a supported video mode.
Note
None.

References XVidC_VideoTimingMode::FrameRate, XVidC_VideoTiming::HActive, XVidC_VideoTimingMode::Timing, XVidC_VideoTiming::VActive, XVidC_GetVideoModeData(), XVidC_GetVideoModeId(), XVidC_GetVideoModeStr(), XVidC_IsInterlaced(), and XVIDC_VM_NOT_SUPPORTED.

XVidC_VideoMode XVidC_GetVideoModeIdWBlanking ( const XVidC_VideoTiming Timing,
u32  FrameRate,
u8  IsInterlaced 
)

This function returns the Video Mode ID that matches the detected input timing, frame rate and I/P flag.

Parameters
Timingis the pointer to timing parameters to match
FrameRatespecifies refresh rate in HZ
IsInterlacedis flag.
  • 0 = Progressive
    • 1 = Interlaced.
Returns
Id of a supported video mode.
Note
This is an extension of XVidC_GetVideoModeId API to include blanking information in match process. No attempt is made to search for reduced blanking entries, if any.

References XVidC_VideoTiming::F0PVBackPorch, XVidC_VideoTiming::F0PVFrontPorch, XVidC_VideoTiming::F0PVSyncWidth, XVidC_VideoTiming::F0PVTotal, XVidC_VideoTiming::HActive, XVidC_VideoTiming::HBackPorch, XVidC_VideoTiming::HFrontPorch, XVidC_VideoTiming::HSyncWidth, XVidC_VideoTiming::HTotal, XVidC_VideoTiming::VActive, XVidC_GetTimingInfo(), XVidC_GetVideoModeId(), and XVIDC_VM_NOT_SUPPORTED.

const char * XVidC_GetVideoModeStr ( XVidC_VideoMode  VmId)

This function returns the resolution name for index specified.

Parameters
VmIdspecifies the resolution id.
Returns
Pointer to a resolution name string.
Note
None.

References XVidC_VideoTimingMode::Name, XVidC_GetVideoModeData(), and XVIDC_VM_CUSTOM.

Referenced by XVidC_GetVideoModeIdRb(), and XVidC_ReportStreamInfo().

u8 XVidC_IsInterlaced ( XVidC_VideoMode  VmId)

This function checks if the input video mode is interlaced based on its ID from the video timings table.

Parameters
VmIdspecifies the resolution ID from the video timings table.
Returns
1 if the video timing with the supplied table ID is interlaced; 0 if the video timing is progressive.
Note
None.

References XVidC_GetVideoFormat(), and XVIDC_VF_INTERLACED.

Referenced by XVidC_GetPixelClockHzByVmId(), XVidC_GetVideoModeIdRb(), and XVidC_SetVideoStream().

u32 XVidC_RegisterCustomTimingModes ( const XVidC_VideoTimingMode CustomTable,
u16  NumElems 
)

This function registers a user-defined custom video mode timing table with video_common.

Functions which search the available video modes, or take VmId as an input, will operate on or check the custom video mode timing table in addition to the pre-defined video mode timing table (XVidC_VideoTimingModes).

Parameters
CustomTableis a pointer to the user-defined custom vide mode timing table to register.
NumElemsis the number of video modes supported by CustomTable.
Returns
Status code.
  • XST_SUCCESS if the custom table was successfully registered.
  • XST_FAILURE if an existing custom table is already present.
Note
IDs in the custom table may not conflict with IDs reserved by the XVidC_VideoMode enum.

References XVIDC_VM_CUSTOM.

void XVidC_ReportTiming ( const XVidC_VideoTiming Timing,
u8  IsInterlaced 
)
u32 XVidC_Set3DVideoStream ( XVidC_VideoStream VidStrmPtr,
XVidC_VideoMode  VmId,
XVidC_ColorFormat  ColorFormat,
XVidC_ColorDepth  Bpc,
XVidC_PixelsPerClock  Ppc,
XVidC_3DInfo Info3DPtr 
)

This function sets the VideoStream structure for the specified 3D video format.

Parameters
VidStrmPtris a pointer to the XVidC_VideoStream structure to be set.
VmIdspecifies the resolution ID.
ColorFormatspecifies the color format type.
Bpcspecifies the color depth/bits per color component.
Ppcspecifies the pixels per clock.
Info3DPtris a pointer to a XVidC_3DInfo structure.
Returns
Status code.
  • XST_SUCCESS if the timing for the supplied ID was found.
  • XST_FAILURE, otherwise.
Note
None.

References XVidC_VideoTiming::F0PVTotal, XVidC_VideoTiming::F1VBackPorch, XVidC_VideoTiming::F1VFrontPorch, XVidC_VideoTiming::F1VSyncWidth, XVidC_VideoTiming::F1VTotal, XVidC_3DInfo::Format, XVidC_VideoStream::Info_3D, XVidC_VideoStream::Is3D, XVidC_VideoStream::IsInterlaced, XVidC_VideoStream::Timing, XVidC_VideoTiming::VActive, XVIDC_3D_FRAME_PACKING, and XVidC_SetVideoStream().

u32 XVidC_SetVideoStream ( XVidC_VideoStream VidStrmPtr,
XVidC_VideoMode  VmId,
XVidC_ColorFormat  ColorFormat,
XVidC_ColorDepth  Bpc,
XVidC_PixelsPerClock  Ppc 
)

This function sets the VideoStream structure for the specified video format.

Parameters
VidStrmPtris a pointer to the XVidC_VideoStream structure to be set.
VmIdspecifies the resolution ID.
ColorFormatspecifies the color format type.
Bpcspecifies the color depth/bits per color component.
Ppcspecifies the pixels per clock.
Returns
Status code.
  • XST_SUCCESS if the timing for the supplied ID was found.
  • XST_FAILURE, otherwise.
Note
None.

References XVidC_VideoStream::ColorDepth, XVidC_VideoStream::ColorFormatId, XVidC_3DInfo::Format, XVidC_VideoStream::FrameRate, XVidC_VideoStream::Info_3D, XVidC_VideoStream::Is3D, XVidC_VideoStream::IsInterlaced, XVidC_3DSamplingInfo::Method, XVidC_VideoStream::PixPerClk, XVidC_3DSamplingInfo::Position, XVidC_3DInfo::Sampling, XVidC_VideoStream::Timing, XVidC_VideoStream::VmId, XVIDC_3D_SAMPLING_UNKNOWN, XVIDC_3D_SAMPPOS_UNKNOWN, XVIDC_3D_UNKNOWN, XVIDC_BPC_10, XVIDC_BPC_12, XVIDC_BPC_14, XVIDC_BPC_16, XVIDC_BPC_6, XVIDC_BPC_8, XVIDC_BPC_UNKNOWN, XVIDC_CSF_NUM_SUPPORTED, XVidC_GetFrameRate(), XVidC_GetTimingInfo(), XVidC_IsInterlaced(), XVIDC_PPC_1, XVIDC_PPC_2, XVIDC_PPC_4, and XVIDC_PPC_8.

Referenced by XVidC_Set3DVideoStream().

void XVidC_UnregisterCustomTimingModes ( void  )

This function unregisters the user-defined custom video mode timing table previously registered by XVidC_RegisterCustomTimingModes().

Note
None.

Variable Documentation

const XVidC_VideoTimingMode XVidC_VideoTimingModes[XVIDC_VM_NUM_SUPPORTED]

This table contains the main stream attributes for various standard resolutions.

Each entry is of the format: 1) ID: XVIDC_VM_<HRES>x<VRES>_<FRAME RATE (HZ)>_<P|I>(RB = Reduced Blanking) 2) Resolution naming: "<HRES>x<VRES>@<FRAME RATE (HZ)>" 3) Frame rate: XVIDC_FR<FRAME RATE (HZ)> 4) Video timing structure: 1) Horizontal active resolution (pixels) 2) Horizontal front porch (pixels) 3) Horizontal sync width (pixels) 4) Horizontal back porch (pixels) 5) Horizontal total (pixels) 6) Horizontal sync polarity (0=negative|1=positive) 7) Vertical active resolution (lines) 8) Frame 0: Vertical front porch (lines) 9) Frame 0: Vertical sync width (lines) 10) Frame 0: Vertical back porch (lines) 11) Frame 0: Vertical total (lines) 12) Frame 1: Vertical front porch (lines) 13) Frame 1: Vertical sync width (lines) 14) Frame 1: Vertical back porch (lines) 15) Frame 1: Vertical total (lines) 16) Vertical sync polarity (0=negative|1=positive)

Referenced by Edid_PrintSuppVmTable().

const XVidC_VideoTimingMode XVidC_VideoTimingModes[XVIDC_VM_NUM_SUPPORTED]

This table contains the main stream attributes for various standard resolutions.

Each entry is of the format: 1) ID: XVIDC_VM_<HRES>x<VRES>_<FRAME RATE (HZ)>_<P|I>(RB = Reduced Blanking) 2) Resolution naming: "<HRES>x<VRES>@<FRAME RATE (HZ)>" 3) Frame rate: XVIDC_FR<FRAME RATE (HZ)> 4) Video timing structure: 1) Horizontal active resolution (pixels) 2) Horizontal front porch (pixels) 3) Horizontal sync width (pixels) 4) Horizontal back porch (pixels) 5) Horizontal total (pixels) 6) Horizontal sync polarity (0=negative|1=positive) 7) Vertical active resolution (lines) 8) Frame 0: Vertical front porch (lines) 9) Frame 0: Vertical sync width (lines) 10) Frame 0: Vertical back porch (lines) 11) Frame 0: Vertical total (lines) 12) Frame 1: Vertical front porch (lines) 13) Frame 1: Vertical sync width (lines) 14) Frame 1: Vertical back porch (lines) 15) Frame 1: Vertical total (lines) 16) Vertical sync polarity (0=negative|1=positive)

Referenced by Edid_PrintSuppVmTable().