video_common
Vitis Drivers API Documentation
|
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... | |
Typedefs | |
typedef void(* | XVidC_DelayHandler )(void *TimerPtr, u32 Delay) |
Callback type which represents a custom timer wait handler. 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_VideoTimingMode * | XVidC_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_VideoTiming * | XVidC_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... | |
#define XVidC_IsStream3D | ( | VidStreamPtr | ) | ((VidStreamPtr)->Is3D) |
This macro check if video stream is 3D or 2D.
VidStreamPtr | is a pointer to the XVidC_VideoStream structure. |
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.
TimerPtr | is a pointer to the timer instance. |
Delay | is the duration (msec/usec) to be passed to the timer function. |
enum XVidC_3DFormat |
enum XVidC_AspectRatio |
Image Aspect Ratio.
enum XVidC_ColorDepth |
Color depth - bits per color component.
enum XVidC_ColorFormat |
Color space format.
enum XVidC_ColorRange |
Color conversion output range.
enum XVidC_ColorStd |
Color space conversion standard.
enum XVidC_Eotf |
Electro Optical Transfer Function.
Based on CTA861-G
enum XVidC_FrameRate |
Frame rate.
enum XVidC_PixelsPerClock |
Pixels per clock.
enum XVidC_VideoFormat |
Progressive/interlaced video format.
enum XVidC_VideoMode |
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.
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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.
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
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).
EdidRaw | is the supplied base EDID to retrieve color depth information from. |
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).
EdidRaw | is the supplied base EDID to retrieve the manufacturer name from. |
ManName | is the string that will be modified to hold the retrieved manufacturer name. |
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).
EdidRaw | is the supplied base EDID to check the timing against. |
StdTimingsNum | specifies which one of the standard timings to retrieve from the standard timings field. |
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.
EdidRaw | is the supplied base EDID to check the timing against. |
VtMode | is the video timing mode to check for support. |
Referenced by Edid_PrintSuppVmTable().
const char * XVidC_Get3DFormatStr | ( | XVidC_3DFormat | Format | ) |
This function returns a string representation of the enumerated type, XVidC_3DFormat.
Format | specifies the value to convert. |
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.
ColorFormatId | specifies the index of color format space. |
Referenced by XVidC_ReportStreamInfo().
XVidC_FrameRate XVidC_GetFrameRate | ( | XVidC_VideoMode | VmId | ) |
This function returns the frame rate for index specified.
VmId | specifies the resolution id. |
References XVidC_GetVideoModeData().
Referenced by XVidC_SetVideoStream().
const char * XVidC_GetFrameRateStr | ( | XVidC_VideoMode | VmId | ) |
This function returns the frame rate name for index specified.
VmId | specifies the resolution id. |
References XVidC_GetVideoModeData().
Referenced by XVidC_ReportStreamInfo().
u64 XVidC_GetPixelClockHzByHVFr | ( | u32 | HTotal, |
u32 | VTotal, | ||
u8 | FrameRate | ||
) |
This function calculates pixel clock based on the inputs.
HTotal | specifies horizontal total. |
VTotal | specifies vertical total. |
FrameRate | specifies rate at which frames are generated. |
Referenced by XVidC_ReportStreamInfo().
u64 XVidC_GetPixelClockHzByVmId | ( | XVidC_VideoMode | VmId | ) |
This function calculates pixel clock from video mode.
VmId | specifies the resolution id. |
References 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.
VmId | specifies the resolution id. |
References 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.
VmId | specifies the resolution ID from the video timings table. |
References XVidC_GetVideoModeData().
Referenced by XVidC_IsInterlaced().
const XVidC_VideoTimingMode * XVidC_GetVideoModeData | ( | XVidC_VideoMode | VmId | ) |
This function returns the pointer to video mode data at index provided.
VmId | specifies the resolution id. |
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.
Width | specifies the number pixels per scanline. |
Height | specifies the number of scanline's. |
FrameRate | specifies refresh rate in HZ |
IsInterlaced | is flag.
|
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.
Timing | is the pointer to timing parameters to match |
FrameRate | specifies refresh rate in HZ |
IsInterlaced | is flag.
|
IsExtensive | is flag.
|
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.
Width | specifies the number pixels per scanline. |
Height | specifies the number of scanline's. |
FrameRate | specifies refresh rate in HZ |
IsInterlaced | specifies interlaced or progressive mode:
|
RbN | specifies the type of reduced blanking:
|
References XVidC_GetVideoModeData(), XVidC_GetVideoModeId(), XVidC_GetVideoModeStr(), and XVidC_IsInterlaced().
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.
Timing | is the pointer to timing parameters to match |
FrameRate | specifies refresh rate in HZ |
IsInterlaced | is flag.
|
References XVidC_GetTimingInfo(), and XVidC_GetVideoModeId().
const char * XVidC_GetVideoModeStr | ( | XVidC_VideoMode | VmId | ) |
This function returns the resolution name for index specified.
VmId | specifies the resolution id. |
References XVidC_GetVideoModeData().
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.
VmId | specifies the resolution ID from the video timings table. |
References XVidC_GetVideoFormat().
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).
CustomTable | is a pointer to the user-defined custom vide mode timing table to register. |
NumElems | is the number of video modes supported by CustomTable. |
void XVidC_ReportStreamInfo | ( | const XVidC_VideoStream * | Stream | ) |
This function prints the stream information on STDIO/UART console.
Stream | is a pointer to video stream. |
References XVidC_Get3DFormatStr(), XVidC_GetColorFormatStr(), XVidC_GetFrameRateStr(), XVidC_GetPixelClockHzByHVFr(), XVidC_GetPixelClockHzByVmId(), XVidC_GetVideoModeData(), and XVidC_GetVideoModeStr().
void XVidC_ReportTiming | ( | const XVidC_VideoTiming * | Timing, |
u8 | IsInterlaced | ||
) |
This function prints timing information on STDIO/Uart console.
Timing | is a pointer to Video Timing structure of the stream. |
IsInterlaced | is a TRUE/FALSE flag that denotes the timing parameter is for interlaced/progressive stream. |
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.
VidStrmPtr | is a pointer to the XVidC_VideoStream structure to be set. |
VmId | specifies the resolution ID. |
ColorFormat | specifies the color format type. |
Bpc | specifies the color depth/bits per color component. |
Ppc | specifies the pixels per clock. |
Info3DPtr | is a pointer to a XVidC_3DInfo structure. |
References 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.
VidStrmPtr | is a pointer to the XVidC_VideoStream structure to be set. |
VmId | specifies the resolution ID. |
ColorFormat | specifies the color format type. |
Bpc | specifies the color depth/bits per color component. |
Ppc | specifies the pixels per clock. |
References XVidC_GetFrameRate(), XVidC_GetTimingInfo(), and XVidC_IsInterlaced().
Referenced by XVidC_Set3DVideoStream().
void XVidC_UnregisterCustomTimingModes | ( | void | ) |
This function unregisters the user-defined custom video mode timing table previously registered by XVidC_RegisterCustomTimingModes().
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().