diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/annotated.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/annotated.html new file mode 100644 index 00000000..3c1bd53a --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/annotated.html @@ -0,0 +1,30 @@ + +
+ +XVidC_VideoStream | |
XVidC_VideoTiming | |
XVidC_VideoTimingMode | |
XVidC_VideoWindow |
xvidc.c | |
xvidc.h | |
xvidc_edid.c | |
xvidc_edid.h | |
xvidc_timings_table.c |
+
+
+Here is a list of all file members with links to the files they belong to: +
+
+ +
+
+
+ +
+
+
+
+
+Contains common structures, definitions, macros, and utility functions that are typically used by video-related drivers and applications.
+
+ MODIFICATION HISTORY:
+
Ver Who Date Changes + ----- ---- -------- ----------------------------------------------- + 1.0 rc, 01/10/15 Initial release. + als +Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream-members.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream-members.html new file mode 100644 index 00000000..69e253e2 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream-members.html @@ -0,0 +1,32 @@ + + + +
#include <xvidc.h>
++
Public Attributes | |
XVidC_ColorSpace | ColorSpaceId |
XVidC_ColorDepth | ColorDepth |
XVidC_PixelsPerClock | PixPerClk |
XVidC_FrameRate | FrameRate |
u8 | IsInterlaced |
XVidC_VideoMode | VmId |
XVidC_VideoTiming | Timing |
XVidC_ColorDepth XVidC_VideoStream::ColorDepth | +
+ +
XVidC_ColorSpace XVidC_VideoStream::ColorSpaceId | +
+ +
XVidC_FrameRate XVidC_VideoStream::FrameRate | +
+ +
u8 XVidC_VideoStream::IsInterlaced | +
+ +
XVidC_PixelsPerClock XVidC_VideoStream::PixPerClk | +
+ +
XVidC_VideoTiming XVidC_VideoStream::Timing | +
+ +
XVidC_VideoMode XVidC_VideoStream::VmId | +
+ +
+
#include <xvidc.h>
++
Public Attributes | |
u16 | HActive |
u16 | HFrontPorch |
u16 | HSyncWidth |
u16 | HBackPorch |
u16 | HTotal |
u8 | HSyncPolarity |
u16 | VActive |
u16 | F0PVFrontPorch |
u16 | F0PVSyncWidth |
u16 | F0PVBackPorch |
u16 | F0PVTotal |
u16 | F1VFrontPorch |
u16 | F1VSyncWidth |
u16 | F1VBackPorch |
u16 | F1VTotal |
u8 | VSyncPolarity |
u16 XVidC_VideoTiming::F0PVBackPorch | +
+ +
u16 XVidC_VideoTiming::F0PVFrontPorch | +
+ +
u16 XVidC_VideoTiming::F0PVSyncWidth | +
+ +
u16 XVidC_VideoTiming::F0PVTotal | +
+ +
u16 XVidC_VideoTiming::F1VBackPorch | +
+ +
u16 XVidC_VideoTiming::F1VFrontPorch | +
+ +
u16 XVidC_VideoTiming::F1VSyncWidth | +
+ +
u16 XVidC_VideoTiming::F1VTotal | +
+ +
u16 XVidC_VideoTiming::HActive | +
+ +
u16 XVidC_VideoTiming::HBackPorch | +
+ +
u16 XVidC_VideoTiming::HFrontPorch | +
+ +
u8 XVidC_VideoTiming::HSyncPolarity | +
+ +
u16 XVidC_VideoTiming::HSyncWidth | +
+ +
u16 XVidC_VideoTiming::HTotal | +
+ +
u16 XVidC_VideoTiming::VActive | +
+ +
u8 XVidC_VideoTiming::VSyncPolarity | +
+ +
+
FrameRate | XVidC_VideoTimingMode | |
Name | XVidC_VideoTimingMode | |
Timing | XVidC_VideoTimingMode | |
VmId | XVidC_VideoTimingMode |
#include <xvidc.h>
++
Public Attributes | |
XVidC_VideoMode | VmId |
const char | Name [21] |
XVidC_FrameRate | FrameRate |
XVidC_VideoTiming | Timing |
XVidC_FrameRate XVidC_VideoTimingMode::FrameRate | +
+ +
const char XVidC_VideoTimingMode::Name[21] | +
+ +
XVidC_VideoTiming XVidC_VideoTimingMode::Timing | +
+ +
XVidC_VideoMode XVidC_VideoTimingMode::VmId | +
+ +
+
Height | XVidC_VideoWindow | |
StartX | XVidC_VideoWindow | |
StartY | XVidC_VideoWindow | |
Width | XVidC_VideoWindow |
#include <xvidc.h>
++
Public Attributes | |
u32 | StartX |
u32 | StartY |
u32 | Width |
u32 | Height |
u32 XVidC_VideoWindow::Height | +
+ +
u32 XVidC_VideoWindow::StartX | +
+ +
u32 XVidC_VideoWindow::StartY | +
+ +
u32 XVidC_VideoWindow::Width | +
+ +
+
+
+ MODIFICATION HISTORY:
+
Ver Who Date Changes + ----- ---- -------- ----------------------------------------------- + 1.0 rc, 01/10/15 Initial release. + als ++
+#include "xil_printf.h"
+#include "xvidc.h"
+
Functions | |
u32 | XVidC_GetPixelClockHzByHVFr (u32 HTotal, u32 VTotal, u8 FrameRate) |
u32 | XVidC_GetPixelClockHzByVmId (XVidC_VideoMode VmId) |
XVidC_VideoFormat | XVidC_GetVideoFormat (XVidC_VideoMode VmId) |
XVidC_VideoMode | XVidC_GetVideoModeId (u32 Width, u32 Height, u32 FrameRate, u8 IsInterlaced) |
const XVidC_VideoTimingMode * | XVidC_GetVideoModeData (XVidC_VideoMode VmId) |
const char * | XVidC_GetVideoModeStr (XVidC_VideoMode VmId) |
char * | XVidC_GetFrameRateStr (XVidC_VideoMode VmId) |
char * | XVidC_GetColorFormatStr (XVidC_ColorSpace ColorSpaceId) |
XVidC_FrameRate | XVidC_GetFrameRate (XVidC_VideoMode VmId) |
const XVidC_VideoTiming * | XVidC_GetTimingInfo (XVidC_VideoMode VmId) |
void | XVidC_ReportStreamInfo (XVidC_VideoStream *Stream) |
void | XVidC_ReportTiming (XVidC_VideoTiming *Timing, u8 IsInterlaced) |
char* XVidC_GetColorFormatStr | +( | +XVidC_ColorSpace | +ColorSpaceId | +) | ++ |
+This function returns the color format name for index specified.
+
ColorSpaceId | specifies the index of color space. 0 = XVIDC_CSF_RGB 1 = XVIDC_CSF_YCRCB_444, 2 = XVIDC_CSF_YCRCB_422, 3 = XVIDC_CSF_YCRCB_420, |
XVidC_FrameRate XVidC_GetFrameRate | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the frame rate for index specified.
+
VmId | specifies the resolution id. |
char* XVidC_GetFrameRateStr | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the frame rate name for index specified.
+
VmId | specifies the resolution id. |
u32 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. |
u32 XVidC_GetPixelClockHzByVmId | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function calculates pixel clock from video mode.
+
VmId | specifies the resolution id. |
const XVidC_VideoTiming* XVidC_GetTimingInfo | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the timing parameters for specified resolution.
+
VmId | specifies the resolution id. |
XVidC_VideoFormat XVidC_GetVideoFormat | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function check input video mode is interlaced/progressive.
+
VmId | specifies the resolution id. |
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. |
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.
|
const char* XVidC_GetVideoModeStr | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the resolution name for index specified.
+
VmId | specifies the resolution id. |
void XVidC_ReportStreamInfo | +( | +XVidC_VideoStream * | +Stream | +) | ++ |
+This function prints the stream information on STDIO/UART console.
+
Stream | is a pointer to video stream. |
void XVidC_ReportTiming | +( | +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. |
+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8h.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8h.html new file mode 100644 index 00000000..09ef7db3 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8h.html @@ -0,0 +1,1256 @@ + +
+ +
+#include "xil_types.h"
+
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_ColorConversionStd | +
enum XVidC_ColorDepth | +
enum XVidC_ColorRange | +
enum XVidC_ColorSpace | +
enum XVidC_FrameRate | +
+Frame rate.
enum XVidC_PixelsPerClock | +
enum XVidC_VideoFormat | +
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.
+
char* XVidC_GetColorFormatStr | +( | +XVidC_ColorSpace | +ColorSpaceId | +) | ++ |
+This function returns the color format name for index specified.
+
ColorSpaceId | specifies the index of color space. 0 = XVIDC_CSF_RGB 1 = XVIDC_CSF_YCRCB_444, 2 = XVIDC_CSF_YCRCB_422, 3 = XVIDC_CSF_YCRCB_420, |
XVidC_FrameRate XVidC_GetFrameRate | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the frame rate for index specified.
+
VmId | specifies the resolution id. |
char* XVidC_GetFrameRateStr | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the frame rate name for index specified.
+
VmId | specifies the resolution id. |
u32 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. |
u32 XVidC_GetPixelClockHzByVmId | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function calculates pixel clock from video mode.
+
VmId | specifies the resolution id. |
const XVidC_VideoTiming* XVidC_GetTimingInfo | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the timing parameters for specified resolution.
+
VmId | specifies the resolution id. |
XVidC_VideoFormat XVidC_GetVideoFormat | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function check input video mode is interlaced/progressive.
+
VmId | specifies the resolution id. |
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. |
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.
|
const char* XVidC_GetVideoModeStr | +( | +XVidC_VideoMode | +VmId | +) | ++ |
+This function returns the resolution name for index specified.
+
VmId | specifies the resolution id. |
void XVidC_ReportStreamInfo | +( | +XVidC_VideoStream * | +Stream | +) | ++ |
+This function prints the stream information on STDIO/UART console.
+
Stream | is a pointer to video stream. |
void XVidC_ReportTiming | +( | +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. |
+
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) +
+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8c.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8c.html new file mode 100644 index 00000000..be0e089e --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8c.html @@ -0,0 +1,432 @@ + +
+ ++
+ MODIFICATION HISTORY:
+
Ver Who Date Changes + ----- ---- -------- ----------------------------------------------- + 1.0 als 11/09/14 Initial release. ++
+#include "xvidc_edid.h"
+
Functions | |
void | XVidC_EdidGetManName (u8 *EdidRaw, char ManName[4]) |
XVidC_ColorDepth | XVidC_EdidGetColorDepth (u8 *EdidRaw) |
float | XVidC_EdidGetCcRedX (u8 *EdidRaw) |
float | XVidC_EdidGetCcRedY (u8 *EdidRaw) |
float | XVidC_EdidGetCcGreenX (u8 *EdidRaw) |
float | XVidC_EdidGetCcGreenY (u8 *EdidRaw) |
float | XVidC_EdidGetCcBlueX (u8 *EdidRaw) |
float | XVidC_EdidGetCcBlueY (u8 *EdidRaw) |
float | XVidC_EdidGetCcWhiteX (u8 *EdidRaw) |
float | XVidC_EdidGetCcWhiteY (u8 *EdidRaw) |
u16 | XVidC_EdidGetStdTimingsV (u8 *EdidRaw, u8 StdTimingsNum) |
u32 | XVidC_EdidIsVideoTimingSupported (u8 *EdidRaw, XVidC_VideoTimingMode *VtMode) |
float XVidC_EdidGetCcBlueX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcBlueY | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcGreenX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcGreenY | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcRedX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcRedY | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcWhiteX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcWhiteY | +( | +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 a float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
XVidC_ColorDepth XVidC_EdidGetColorDepth | +( | +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 | +( | +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 | +( | +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 | +( | +u8 * | +EdidRaw, | +|
+ | + | 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. |
+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8h.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8h.html new file mode 100644 index 00000000..9920c706 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8h.html @@ -0,0 +1,4632 @@ + +
+ ++
+ MODIFICATION HISTORY:
+
Ver Who Date Changes + ----- ---- -------- ----------------------------------------------- + 1.0 als 11/09/14 Initial release. ++
+#include "xstatus.h"
+#include "xvidc.h"
+
#define XVIDC_EDID_18BYTE_DESCRIPTOR | +( | +N | ++ | ) | +(0x36 + 18 * (N - 1)) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE 0x18 | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MASK (0x3 << 3) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MCG 0x0 | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_NRGB 0x2 | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_RGB 0x1 | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_SHIFT 3 | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_UNDEF 0x3 | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_CONTFREQ_MASK (0x1) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB422_MASK (0x1 << 4) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB444_MASK (0x1 << 3) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_PM_OFF_VLP_MASK (0x1 << 5) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_PM_STANDBY_MASK (0x1 << 7) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_PM_SUSPEND_MASK (0x1 << 6) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_PTM_INC_MASK (0x1 << 1) | +
+ +
#define XVIDC_EDID_BDISP_FEATURE_SRGB_DEF_MASK (0x1 << 2) | +
+ +
#define XVIDC_EDID_BDISP_GAMMA 0x17 | +
+ +
#define XVIDC_EDID_BDISP_H_SSAR 0x15 | +
+ +
#define XVIDC_EDID_BDISP_V_SSAR 0x16 | +
+ +
#define XVIDC_EDID_BDISP_VID 0x14 | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_G_MASK (0x01 << 1) | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_H_MASK (0x01 << 2) | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SEP_SYNC_HV_MASK (0x01 << 3) | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SERR_V_SYNC_MASK (0x01) | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0000_0700 0x3 | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0300_1000 0x0 | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0714_0286_1000 0x1 | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SLS_1000_0400_1400 0x2 | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SLS_MASK (0x03 << 5) | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_SLS_SHIFT 5 | +
+ +
#define XVIDC_EDID_BDISP_VID_ANA_VID_SETUP_MASK (0x01 << 4) | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_10 0x3 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_12 0x4 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_14 0x5 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_16 0x6 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_6 0x1 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_8 0x2 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_MASK (0x7 << 4) | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_SHIFT 4 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_BPC_UNDEF 0x0 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_VIS_DP 0x5 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_VIS_DVI 0x1 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIA 0x2 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIB 0x3 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_VIS_MASK 0xF | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_VIS_MDDI 0x4 | +
+ +
#define XVIDC_EDID_BDISP_VID_DIG_VIS_UNDEF 0x0 | +
+ +
#define XVIDC_EDID_BDISP_VID_VSI_MASK (0x01 << 7) | +
+ +
#define XVIDC_EDID_BDISP_VID_VSI_SHIFT 7 | +
+ +
#define XVIDC_EDID_CC_BLUEX_HIGH 0x1F | +
+ +
#define XVIDC_EDID_CC_BLUEX_HIGH 0x1F | +
+ +
#define XVIDC_EDID_CC_BLUEY_HIGH 0x20 | +
+ +
#define XVIDC_EDID_CC_BLUEY_HIGH 0x20 | +
+ +
#define XVIDC_EDID_CC_BW_LOW 0x1A | +
+ +
#define XVIDC_EDID_CC_GREENX_HIGH 0x1D | +
+ +
#define XVIDC_EDID_CC_GREENY_HIGH 0x1E | +
+ +
#define XVIDC_EDID_CC_GREENY_HIGH 0x1E | +
+ +
#define XVIDC_EDID_CC_GWX_LOW_MASK (0x3 << 2) | +
+ +
#define XVIDC_EDID_CC_GWX_LOW_SHIFT 2 | +
+ +
#define XVIDC_EDID_CC_GWY_LOW_MASK (0x3) | +
+ +
#define XVIDC_EDID_CC_HIGH_SHIFT 2 | +
+ +
#define XVIDC_EDID_CC_RBX_LOW_SHIFT 6 | +
+ +
#define XVIDC_EDID_CC_RBY_LOW_MASK (0x3 << 4) | +
+ +
#define XVIDC_EDID_CC_RBY_LOW_SHIFT 4 | +
+ +
#define XVIDC_EDID_CC_REDX_HIGH 0x1B | +
+ +
#define XVIDC_EDID_CC_REDY_HIGH 0x1C | +
+ +
#define XVIDC_EDID_CC_RG_LOW 0x19 | +
+ +
#define XVIDC_EDID_CC_WHITEX_HIGH 0x21 | +
+ +
#define XVIDC_EDID_CC_WHITEX_HIGH 0x21 | +
+ +
#define XVIDC_EDID_CC_WHITEY_HIGH 0x22 | +
+ +
#define XVIDC_EDID_CC_WHITEY_HIGH 0x22 | +
+ +
#define XVIDC_EDID_CHECKSUM 0x7F | +
+ +
#define XVIDC_EDID_DTD_PTM_HBLANK_LSB 0x03 | +
+ +
#define XVIDC_EDID_DTD_PTM_HBORDER 0x0F | +
+ +
#define XVIDC_EDID_DTD_PTM_HFPORCH_LSB 0x08 | +
+ +
#define XVIDC_EDID_DTD_PTM_HIMGSIZE_MM_LSB 0x0C | +
+ +
#define XVIDC_EDID_DTD_PTM_HRES_HBLANK_U4 0x04 | +
+ +
#define XVIDC_EDID_DTD_PTM_HRES_LSB 0x02 | +
+ +
#define XVIDC_EDID_DTD_PTM_HSPW_LSB 0x09 | +
+ +
#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_LSB 0x00 | +
+ +
#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_MSB 0x01 | +
+ +
#define XVIDC_EDID_DTD_PTM_SIGNAL 0x11 | +
+ +
#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_MASK 0x02 | +
+ +
#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_SHIFT 1 | +
+ +
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_MASK 0x80 | +
+ +
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_SHIFT 7 | +
+ +
#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_MASK 0x04 | +
+ +
#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_SHIFT 2 | +
+ +
#define XVIDC_EDID_DTD_PTM_VBLANK_LSB 0x06 | +
+ +
#define XVIDC_EDID_DTD_PTM_VBORDER 0x10 | +
+ +
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4 0x0A | +
+ +
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_MASK 0xF0 | +
+ +
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_SHIFT 4 | +
+ +
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VSPW_MASK 0x0F | +
+ +
#define XVIDC_EDID_DTD_PTM_VIMGSIZE_MM_LSB 0x0D | +
+ +
#define XVIDC_EDID_DTD_PTM_VRES_LSB 0x05 | +
+ +
#define XVIDC_EDID_DTD_PTM_VRES_VBLANK_U4 0x07 | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2 0x0B | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_MASK 0xC0 | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_SHIFT 6 | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_MASK 0x30 | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_SHIFT 4 | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_MASK 0x0C | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_SHIFT 2 | +
+ +
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VSPW_MASK 0x03 | +
+ +
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4 0x0E | +
+ +
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_MASK 0xF0 | +
+ +
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_SHIFT 4 | +
+ +
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_VIMGSIZE_MM_MASK 0x0F | +
+ +
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XBLANK_MASK 0x0F | +
+ +
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_MASK 0xF0 | +
+ +
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_SHIFT 4 | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I 0x23 | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_640x480_60_MASK (0x1 << 5) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_640x480_67_MASK (0x1 << 4) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_640x480_72_MASK (0x1 << 3) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_640x480_75_MASK (0x1 << 2) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_720x400_70_MASK (0x1 << 7) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_720x400_88_MASK (0x1 << 6) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_800x600_56_MASK (0x1 << 1) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_I_800x600_60_MASK (0x1) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II 0x24 | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_60_MASK (0x1 << 3) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_70_MASK (0x1 << 2) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_75_MASK (0x1 << 1) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_87_MASK (0x1 << 4) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_1280x1024_75_MASK (0x1) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_800x600_72_MASK (0x1 << 7) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_800x600_75_MASK (0x1 << 6) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_II_832x624_75_MASK (0x1 << 5) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_MAN 0x25 | +
+ +
#define XVIDC_EDID_EST_TIMINGS_MAN_1152x870_75_MASK (0x1 << 7) | +
+ +
#define XVIDC_EDID_EST_TIMINGS_MAN_MASK (0x7F) | +
+ +
#define XVIDC_EDID_EXT_BLK_COUNT 0x7E | +
+ +
#define XVIDC_EDID_HEADER 0x00 | +
+ +
#define XVIDC_EDID_PTM (XVIDC_EDID_18BYTE_DESCRIPTOR(1)) | +
+ +
#define XVIDC_EDID_STD_TIMINGS_AR_16_10 0x0 | +
+ +
#define XVIDC_EDID_STD_TIMINGS_AR_16_9 0x3 | +
+ +
#define XVIDC_EDID_STD_TIMINGS_AR_4_3 0x1 | +
+ +
#define XVIDC_EDID_STD_TIMINGS_AR_5_4 0x2 | +
+ +
#define XVIDC_EDID_STD_TIMINGS_AR_FRR | +( | +N | ++ | ) | +(0x27 + 2 * (N - 1)) | +
+ +
#define XVIDC_EDID_STD_TIMINGS_AR_SHIFT 6 | +
+ +
#define XVIDC_EDID_STD_TIMINGS_FRR_MASK (0x3F) | +
+ +
#define XVIDC_EDID_STD_TIMINGS_H | +( | +N | ++ | ) | +(0x26 + 2 * (N - 1)) | +
+ +
#define XVIDC_EDID_STRUCT_REV 0x13 | +
+ +
#define XVIDC_EDID_STRUCT_VER 0x12 | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME0 0x08 | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK (0x1F << 2) | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_SHIFT 2 | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_MASK 0x03 | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_POS 3 | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME1 0x09 | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR1_SHIFT 5 | +
+ +
#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR2_MASK 0x1F | +
+ +
#define XVIDC_EDID_VPI_ID_PROD_CODE_LSB 0x0A | +
+ +
#define XVIDC_EDID_VPI_ID_PROD_CODE_MSB 0x0B | +
+ +
#define XVIDC_EDID_VPI_ID_SN0 0x0C | +
+ +
#define XVIDC_EDID_VPI_ID_SN1 0x0D | +
+ +
#define XVIDC_EDID_VPI_ID_SN2 0x0E | +
+ +
#define XVIDC_EDID_VPI_ID_SN3 0x0F | +
+ +
#define XVIDC_EDID_VPI_WEEK_MAN 0x10 | +
+ +
#define XVIDC_EDID_VPI_YEAR 0x11 | +
+ +
#define XVidC_EdidGetAnalogSigLvlStd | +( | +E | ++ | ) | ++ |
+Value:
+#define XVidC_EdidGetAnalogSigVidSetup | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_VID] & \ + XVIDC_EDID_BDISP_VID_ANA_VID_SETUP_MASK) != 0) +
#define XVidC_EdidGetChecksum | +( | +E | ++ | ) | +(E[XVIDC_EDID_CHECKSUM]) | +
+ +
#define XVidC_EdidGetDigitalSigIfaceStd | +( | +E | ++ | ) | +(E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_DIG_VIS_MASK) | +
+ +
#define XVidC_EdidGetExtBlkCount | +( | +E | ++ | ) | +(E[XVIDC_EDID_EXT_BLK_COUNT]) | +
+ +
#define XVidC_EdidGetFeatureAnaColorType | +( | +E | ++ | ) | ++ |
+Value:
+#define XVidC_EdidGetGamma | +( | +E | ++ | ) | +((float)((E[XVIDC_EDID_BDISP_GAMMA] + 100.0) / 100.0)) | +
+ +
#define XVidC_EdidGetIdProdCode | +( | +E | ++ | ) | ++ |
+Value:
((u16)((E[XVIDC_EDID_VPI_ID_PROD_CODE_MSB] << 8) | \ + E[XVIDC_EDID_VPI_ID_PROD_CODE_LSB])) +
#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) | \ + E[XVIDC_EDID_VPI_ID_SN0])) +
#define XVidC_EdidGetManWeek | +( | +E | ++ | ) | +(E[XVIDC_EDID_VPI_WEEK_MAN]) | +
+ +
#define XVidC_EdidGetModManYear | +( | +E | ++ | ) | +(E[XVIDC_EDID_VPI_YEAR] + 1990) | +
+ +
#define XVidC_EdidGetSsArArL | +( | +E | ++ | ) | +((float)((XVidC_EdidGetSsArH(E) + 99.0) / 100.0)) | +
+ +
#define XVidC_EdidGetSsArArP | +( | +E | ++ | ) | +((float)(100.0 / (XVidC_EdidGetSsArV(E) + 99.0))) | +
+ +
#define XVidC_EdidGetSsArH | +( | +E | ++ | ) | +E[XVIDC_EDID_BDISP_H_SSAR] | +
+ +
#define XVidC_EdidGetSsArV | +( | +E | ++ | ) | +E[XVIDC_EDID_BDISP_V_SSAR] | +
+ +
#define XVidC_EdidGetStdTimingsAr | +( | +E, | |||
+ | + | N | ++ | ) | +(E[XVIDC_EDID_STD_TIMINGS_AR_FRR(N)] >> XVIDC_EDID_STD_TIMINGS_AR_SHIFT) | +
+ +
#define XVidC_EdidGetStdTimingsFrr | +( | +E, | |||
+ | + | N | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_STD_TIMINGS_AR_FRR(N)] & \ + XVIDC_EDID_STD_TIMINGS_FRR_MASK) + 60) +
#define XVidC_EdidGetStdTimingsH | +( | +E, | |||
+ | + | N | ++ | ) | +((E[XVIDC_EDID_STD_TIMINGS_H(N)] + 31) * 8) | +
+ +
#define XVidC_EdidGetStructRev | +( | +E | ++ | ) | +(E[XVIDC_EDID_STRUCT_REV]) | +
+ +
#define XVidC_EdidGetStructVer | +( | +E | ++ | ) | +(E[XVIDC_EDID_STRUCT_VER]) | +
+ +
#define XVidC_EdidGetTimingsMan | +( | +E | ++ | ) | +(E[XVIDC_EDID_EST_TIMINGS_MAN] & XVIDC_EDID_EST_TIMINGS_MAN_MASK) | +
+ +
#define XVidC_EdidIsAnalogSig | +( | +E | ++ | ) | +((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) == 0) | +
+ +
#define XVidC_EdidIsDigitalSig | +( | +E | ++ | ) | +((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) != 0) | +
+ +
#define XVidC_EdidIsDtdPtmInterlaced | +( | +E | ++ | ) | ++ |
+Value:
+#define XVidC_EdidIsFeatureContFreq | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_CONTFREQ_MASK) != 0) +
#define XVidC_EdidIsFeaturePtmInc | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_PTM_INC_MASK) != 0) +
#define XVidC_EdidIsFeatureSrgbDef | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_SRGB_DEF_MASK) != 0) +
#define XVidC_EdidIsGammaInExt | +( | +E | ++ | ) | +(E[XVIDC_EDID_BDISP_GAMMA] == 0xFF) | +
+ +
#define XVidC_EdidIsHeaderValid | +( | +E | ++ | ) | +!memcmp(E, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8) | +
+ +
#define XVidC_EdidIsSsArArL | +( | +E | ++ | ) | +((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) == 0)) | +
+ +
#define XVidC_EdidIsSsArArP | +( | +E | ++ | ) | +((XVidC_EdidGetSsArH(E) == 0) && (XVidC_EdidGetSsArV(E) != 0)) | +
+ +
#define XVidC_EdidIsSsArDefined | +( | +E | ++ | ) | +((E[XVIDC_EDID_BDISP_H_SSAR] | E[XVIDC_EDID_BDISP_V_SSAR]) != 0) | +
+ +
#define XVidC_EdidIsSsArSs | +( | +E | ++ | ) | +((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) != 0)) | +
+ +
#define XVidC_EdidIsYearMan | +( | +E | ++ | ) | +(XVidC_EdidGetManWeek(E) != 0xFF) | +
+ +
#define XVidC_EdidIsYearModel | +( | +E | ++ | ) | +(XVidC_EdidGetManWeek(E) == 0xFF) | +
+ +
#define XVidC_EdidSuppAnalogSigCompSyncG | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_VID] & \ + XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_G_MASK) != 0) +
#define XVidC_EdidSuppAnalogSigCompSyncH | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_VID] & \ + XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_H_MASK) != 0) +
#define XVidC_EdidSuppAnalogSigSepSyncHv | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_VID] & \ + XVIDC_EDID_BDISP_VID_ANA_SEP_SYNC_HV_MASK) != 0) +
#define XVidC_EdidSuppAnalogSigSerrVsync | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_VID] & \ + XVIDC_EDID_BDISP_VID_ANA_SERR_V_SYNC_MASK) != 0) +
#define XVidC_EdidSuppEstTimings1024x768_60 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_1024x768_60_MASK) != 0) +
#define XVidC_EdidSuppEstTimings1024x768_70 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_1024x768_70_MASK) != 0) +
#define XVidC_EdidSuppEstTimings1024x768_75 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_1024x768_75_MASK) != 0) +
#define XVidC_EdidSuppEstTimings1024x768_87 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_1024x768_87_MASK) != 0) +
#define XVidC_EdidSuppEstTimings1152x870_75 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_MAN] & \ + XVIDC_EDID_EST_TIMINGS_MAN_1152x870_75_MASK) != 0) +
#define XVidC_EdidSuppEstTimings1280x1024_75 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_1280x1024_75_MASK) != 0) +
#define XVidC_EdidSuppEstTimings640x480_60 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_640x480_60_MASK) != 0) +
#define XVidC_EdidSuppEstTimings640x480_67 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_640x480_67_MASK) != 0) +
#define XVidC_EdidSuppEstTimings640x480_72 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_640x480_72_MASK) != 0) +
#define XVidC_EdidSuppEstTimings640x480_75 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_640x480_75_MASK) != 0) +
#define XVidC_EdidSuppEstTimings720x400_70 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_720x400_70_MASK) != 0) +
#define XVidC_EdidSuppEstTimings720x400_88 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_720x400_88_MASK) != 0) +
#define XVidC_EdidSuppEstTimings800x600_56 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_800x600_56_MASK) != 0) +
#define XVidC_EdidSuppEstTimings800x600_60 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_I] & \ + XVIDC_EDID_EST_TIMINGS_I_800x600_60_MASK) != 0) +
#define XVidC_EdidSuppEstTimings800x600_72 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_800x600_72_MASK) != 0) +
#define XVidC_EdidSuppEstTimings800x600_75 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_800x600_75_MASK) != 0) +
#define XVidC_EdidSuppEstTimings832x624_75 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_EST_TIMINGS_II] & \ + XVIDC_EDID_EST_TIMINGS_II_832x624_75_MASK) != 0) +
#define XVidC_EdidSuppFeatureDigColorEncYCrCb422 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB422_MASK) != 0) +
#define XVidC_EdidSuppFeatureDigColorEncYCrCb444 | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB444_MASK) != 0) +
#define XVidC_EdidSuppFeaturePmOffVlp | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_PM_OFF_VLP_MASK) != 0) +
#define XVidC_EdidSuppFeaturePmStandby | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_PM_STANDBY_MASK) != 0) +
#define XVidC_EdidSuppFeaturePmSuspend | +( | +E | ++ | ) | ++ |
+Value:
((E[XVIDC_EDID_BDISP_FEATURE] & \ + XVIDC_EDID_BDISP_FEATURE_PM_SUSPEND_MASK) != 0) +
+
float XVidC_EdidGetCcBlueX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcBlueY | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcGreenX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcGreenY | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcRedX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcRedY | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcWhiteX | +( | +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 float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
float XVidC_EdidGetCcWhiteY | +( | +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 a float.
+
EdidRaw | is the supplied base EDID to retrieve chromaticity information from. |
XVidC_ColorDepth XVidC_EdidGetColorDepth | +( | +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 | +( | +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 | +( | +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 | +( | +u8 * | +EdidRaw, | +|
+ | + | 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. |
+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__timings__table_8c.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__timings__table_8c.html new file mode 100644 index 00000000..1c54150e --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__timings__table_8c.html @@ -0,0 +1,58 @@ + +
+ ++
+ MODIFICATION HISTORY:
+
Ver Who Date Changes + ----- ---- -------- ----------------------------------------------- + 1.0 als, 01/10/15 Initial release. + rc ++
+#include "xvidc.h"
+
Variables | |
const XVidC_VideoTimingMode | XVidC_VideoTimingModes [XVIDC_VM_NUM_SUPPORTED] |
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) +
+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.