![]() |
video_common
Xilinx SDK Drivers API Documentation
|
Functions | |
void | XVidC_EdidGetManName (const u8 *EdidRaw, char ManName[4]) |
Get the manufacturer name as specified in the vendor and product ID field of the supplied base Extended Display Identification Data (EDID). More... | |
XVidC_ColorDepth | XVidC_EdidGetColorDepth (const u8 *EdidRaw) |
Get the color bit depth (bits per primary color) as specified in the basic display parameters and features, video input definition field of the supplied base Extended Display Identification Data (EDID). More... | |
int | XVidC_EdidGetCcRedX (const u8 *EdidRaw) |
Calculates the x chromaticity coordinate for red by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More... | |
int | XVidC_EdidGetCcRedY (const u8 *EdidRaw) |
Calculates the y chromaticity coordinate for red by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More... | |
int | XVidC_EdidGetCcGreenX (const u8 *EdidRaw) |
Calculates the x chromaticity coordinate for green by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More... | |
int | XVidC_EdidGetCcGreenY (const u8 *EdidRaw) |
Calculates the y chromaticity coordinate for green by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More... | |
int | XVidC_EdidGetCcBlueX (const u8 *EdidRaw) |
Calculates the x chromaticity coordinate for blue by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More... | |
int | XVidC_EdidGetCcBlueY (const u8 *EdidRaw) |
Calculates the y chromaticity coordinate for blue by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More... | |
int | XVidC_EdidGetCcWhiteX (const u8 *EdidRaw) |
Calculates the x chromaticity coordinate for white by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to a integer in Q0.10 Format. More... | |
int | XVidC_EdidGetCcWhiteY (const u8 *EdidRaw) |
Calculates the y chromaticity coordinate for white by converting a 10 bit binary fraction representation from the supplied base Extended Display Identification Data (EDID) to an integer in Q0.10 Format. More... | |
u16 | XVidC_EdidGetStdTimingsV (const u8 *EdidRaw, u8 StdTimingsNum) |
Retrieves the active vertical resolution from the standard timings field of the supplied base Extended Display Identification Data (EDID). More... | |
u32 | XVidC_EdidIsVideoTimingSupported (const u8 *EdidRaw, const XVidC_VideoTimingMode *VtMode) |
Checks whether or not a specified video timing mode is supported as specified in the supplied base Extended Display Identification Data (EDID). More... | |
Variables | |
const XVidC_VideoTimingMode | XVidC_VideoTimingModes [XVIDC_VM_NUM_SUPPORTED] |
This table contains the main stream attributes for various standard resolutions. More... | |
int XVidC_EdidGetCcBlueX | ( | const u8 * | EdidRaw | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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 | ) |
#include <xvidc_edid.c>
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] | ||
) |
#include <xvidc_edid.c>
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 | ||
) |
#include <xvidc_edid.c>
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 | ||
) |
#include <xvidc_edid.c>
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. |
const XVidC_VideoTimingMode XVidC_VideoTimingModes[XVIDC_VM_NUM_SUPPORTED] |
#include <xvidc_timings_table.c>
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)