From 2fdf4bb434ed7d0cda11dbe4e1e563724d7fd1db Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Fri, 23 Jan 2015 00:16:41 -0800 Subject: [PATCH] video_common: Added Doxygen documentation. Signed-off-by: Andrei-Liviu Simion --- .../video_common/doc/html/api/annotated.html | 30 + .../video_common/doc/html/api/doxygen.png | Bin 0 -> 1281 bytes .../doc/html/api/driver_api_doxygen.css | 334 ++ .../video_common/doc/html/api/files.html | 31 + .../video_common/doc/html/api/functions.html | 62 + .../doc/html/api/functions_vars.html | 62 + .../video_common/doc/html/api/globals.html | 475 ++ .../doc/html/api/globals_defs.html | 264 + .../doc/html/api/globals_enum.html | 47 + .../doc/html/api/globals_eval.html | 223 + .../doc/html/api/globals_func.html | 63 + .../doc/html/api/globals_type.html | 40 + .../doc/html/api/globals_vars.html | 40 + .../video_common/doc/html/api/index.html | 29 + ...struct_x_vid_c___video_stream-members.html | 32 + .../api/struct_x_vid_c___video_stream.html | 155 + ...struct_x_vid_c___video_timing-members.html | 41 + .../api/struct_x_vid_c___video_timing.html | 308 ++ ...t_x_vid_c___video_timing_mode-members.html | 29 + .../struct_x_vid_c___video_timing_mode.html | 104 + ...struct_x_vid_c___video_window-members.html | 29 + .../api/struct_x_vid_c___video_window.html | 104 + .../video_common/doc/html/api/tab_b.gif | Bin 0 -> 35 bytes .../video_common/doc/html/api/tab_l.gif | Bin 0 -> 706 bytes .../video_common/doc/html/api/tab_r.gif | Bin 0 -> 2585 bytes .../video_common/doc/html/api/tabs.css | 102 + .../video_common/doc/html/api/xvidc_8c.html | 457 ++ .../video_common/doc/html/api/xvidc_8h.html | 1256 +++++ .../doc/html/api/xvidc__edid_8c.html | 432 ++ .../doc/html/api/xvidc__edid_8h.html | 4632 +++++++++++++++++ .../html/api/xvidc__timings__table_8c.html | 58 + 31 files changed, 9439 insertions(+) create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/annotated.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/doxygen.png create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/driver_api_doxygen.css create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/files.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions_vars.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_defs.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_enum.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_eval.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_func.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_type.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_vars.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/index.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream-members.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing-members.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode-members.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window-members.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_b.gif create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_l.gif create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_r.gif create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/tabs.css create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8c.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8h.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8c.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__edid_8h.html create mode 100644 XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc__timings__table_8c.html 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 @@ + + + + + Class List + + + + +Software Drivers +
+ + + +

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + + + + +
XVidC_VideoStream
XVidC_VideoTiming
XVidC_VideoTimingMode
XVidC_VideoWindow
+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/doxygen.png b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..f0a274bbaffdd67f6d784c894d9cf28729db0e14 GIT binary patch literal 1281 zcmaJ>ZA?>F7(Vx-ms?uoS`b@hdRtpo6o^%HU>M$hfGrBvQnk$LE?p^P!kn&ikhyq! zX~V@&tPF5Qt@V?oTL96Bi%aRiwbe1)9DWQI#?)=HxS7QSw`J`5fAJ*eJbB;uNuKA& zdERDo*{Y<(If(#(B$Lr#;nB(8Y#ia=ZCeW?JfPLuQY`=@cW$k}Rivq|vbxGrRq1Tl9;+(gNt?}UtVKM2`T5t1jLzuL@0UIs`S#vlhl4)^ zLgSYrPj@$+`|j?eSbXTmiHGkWxV8V}BzNR?pl9k_s4pDu9vd5a_UzZEPk)}Ad{AV_ zzddrjrh4=Imr`E06;LY{)YYt?o}L~H@7C}F^WB!Ra=v`Q0bj{>5&$66CWF>mf6vjP z2N>RRY6ZYa=K`76>+|_)Xdwko+7wv}7cN|btOhWb(*{sta~6b?S8Omrxw}!4`NhGr zZVpNqpu1@BE`QGWNTpEpcJVW5izu~2B^GlM?1(OPg)zwW;QcP@Ltcclm>XbJL9C|j z=9!2?ua=uIlf0%AndzHsRC}IyTL$EhAee(fdKB`?27KeS^2M8M_7b~PiCFO&r5LC7 z7gl1*a<8;SjNaw#h=843_AV9iZbWQOAp5YOC^&_F*9K0> zB|6%IDb?aM#3viTxkLU4aXg&@+CkNTOnQ1iMP*^?b|^lJy$4C)Zk4isV!|RZ*XhXh zw8q3$=*0LeGC!XI_Wc?dkT~3+*Gu%%yIqP+Wr3H$=&ROMQU6q}Ag^P~>c5vAEO;a- z_dK-3PPeKar%)6$j~vI2#*-YH!1h6HYVtwCX5_wM`iF#UKz&&@9Oo5w3%XGYrX zW>dY~)SG-((Yim%`InwgTvyRC?e=Wh^8KCao!R6Eg&TpVWUY1sN~4G}V?nFnEGo-; zHZ_$eW9-GnC%^WS9b z@p;-$oH#MtC0v>Q$HX%4^JdFdO$0cbv-W)Q TtK}Eh@>>I#ipmV1>S*>q-hkC} literal 0 HcmV?d00001 diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/driver_api_doxygen.css b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/driver_api_doxygen.css new file mode 100644 index 00000000..5e5214e3 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/driver_api_doxygen.css @@ -0,0 +1,334 @@ +BODY { + background-color: #FFFFFF; + font-family: Verdana, Arial, Helvetica, Sans-serif; +} + +H1 { + margin-bottom: 0em; + font-size: 2.00em; + font-style: normal; + color: #990033; +} + +H2 { + font-size: 1.05em; + font-style: normal; + color: #666666; +} + +H3 { + font-size: 1.00em; + font-style: normal; + color: #000000; +} + +H4 { + font-size: .90em; + font-style: italic; + color: #000000; +} + +H5 { + font-size: .90em; + font-style: italic; + color: #000000; +} + +H6 { + font-size: .90em; + font-style: italic; + color: #000000; +} + +OL { +} + +UL { +} + +LI { +} + +P { + color: #000000; +} + +P.Caution { + color: #990033; +} + +P.Code { + font-family: Courier New, Courier, Mono; + color: #003399; +} + +P.HeadingDBox { + font-weight: bold; +} + +P.HeadingGlossary { + font-weight: bold; +} + +P.LinkGlossary { + margin-bottom: .50em; +} + +P.Note { +} + +P.SysInOut { + font-family: Courier New, Courier, Mono; +} + +P.TableFootnote { + font-size: .80em; + margin-bottom: .70em; +} + +P.TableHeading { + font-weight: bold; + color: #FFFFFF; +} + +P.TableTitle { + font-style: italic; + font-weight: bold; +} + +SPAN.aEmphasis { + font-style: italic; +} + +SPAN.aFilename { + font-family: Courier New, Courier, Mono; +} + + +SPAN.aGUISysIn { + font-family: Verdana, Arial, Helvetica, Sans-serif; + font-weight: bold; +} + +SPAN.aReference { + font-style: italic; +} + +SPAN.aSysIn { + font-family: Courier New, Courier, Monospace; + font-weight: bold; +} + +SPAN.aSysOut { + font-family: Courier New, Courier, Monospace; +} + +SPAN.aSymbol { + font-family: Symbol; +} + +CAPTION { font-weight: bold } +DIV.qindex { + width: 100%; + background-color: #eeeeff; + border: 1px solid #B0B0B0; + text-align: center; + margin: 2px; + padding: 2px; +} +A.qindex { + text-decoration: none; + font-weight: bold; + color: #1A419D; + padding: 2px; +} +A.qindex:visited { + text-decoration: none; + font-weight: bold; + color: #1A419D + padding: 2px; +} +A.qindex:hover { + text-decoration: none; + background-color: #ddddff; + padding: 2px; +} +A.qindexHL { + text-decoration: none; + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + padding: 2 6px; + border: 1px double #9295C2; + } +A.qindexHL:hover { + text-decoration: none; + background-color: #6666cc; + color: #ffffff; + padding: 2px 6px; +} +A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } +A.el { text-decoration: none; font-weight: bold } +A.elRef { font-weight: bold } +A.code { text-decoration: none; font-weight: normal; color: #1A419D} +A.codeRef { font-weight: normal; color: #1A419D} +A:hover { text-decoration: none; background-color: #f2f2ff } +DL.el { margin-left: -1cm } +PRE.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + margin-top: 4px; + margin-bottom: 4px; + margin-left: 2px; + margin-right: 8px; + padding-left: 6px; + padding-right: 6px; + padding-top: 4px; + padding-bottom: 4px; +} +DIV.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + padding: 6px; +} +DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } +TD.md { background-color: #F4F4FB; font-weight: bold; } +TD.mdname1 { background-color: #F4F4FB; font-weight: bold; color: #602020; } +TD.mdname { background-color: #F4F4FB; font-weight: bold; color: #602020; width: 600px; } +DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold } +DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller } +BODY { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} +TD.indexkey { + background-color: #eeeeff; + font-weight: bold; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TD.indexvalue { + background-color: #eeeeff; + font-style: italic; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TR.memlist { + background-color: #f0f0f0; +} +P.formulaDsp { text-align: center; } +IMG.formulaDsp { } +IMG.formulaInl { vertical-align: middle; } +SPAN.keyword { color: #008000 } +SPAN.keywordtype { color: #604020 } +SPAN.keywordflow { color: #e08000 } +SPAN.comment { color: #800000 } +SPAN.preprocessor { color: #806020 } +SPAN.stringliteral { color: #002080 } +SPAN.charliteral { color: #008080 } +.mdTable { + border: 1px solid #868686; + background-color: #F4F4FB; +} +.mdRow { + padding: 8px 10px; +} +.mdescLeft { + font-size: smaller; + font-family: Verdana, Arial, Helvetica, sans-serif; + background-color: #FAFAFA; + padding-left: 8px; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.mdescRight { + font-size: smaller; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-style: italic; + background-color: #FAFAFA; + padding-left: 4px; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; + padding-bottom: 0px; + padding-right: 8px; +} +.memItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; +} +.memItemRight { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 13px; +} +.search { color: #003399; + font-weight: bold; +} +FORM.search { + margin-bottom: 0px; + margin-top: 0px; +} +INPUT.search { font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #eeeeff; +} +TD.tiny { font-size: 75%; +} +a { + color: #252E78; +} +a:visited { + color: #3D2185; +} diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/files.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/files.html new file mode 100644 index 00000000..f9cc5d9f --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/files.html @@ -0,0 +1,31 @@ + + + + + File Index + + + + +Software Drivers +
+ + + +

File List

Here is a list of all files with brief descriptions: + + + + + +
xvidc.c
xvidc.h
xvidc_edid.c
xvidc_edid.h
xvidc_timings_table.c
+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions.html new file mode 100644 index 00000000..32fdd692 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions.html @@ -0,0 +1,62 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + +
+ +
+Here is a list of all class members with links to the classes they belong to: +

+

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions_vars.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions_vars.html new file mode 100644 index 00000000..95dba24e --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/functions_vars.html @@ -0,0 +1,62 @@ + + + + + Class Members - Variables + + + + +Software Drivers +
+ + + +
+ +
+  +

+

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals.html new file mode 100644 index 00000000..2c4be1ea --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals.html @@ -0,0 +1,475 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + + +
+
    +
  • x
  • +
+
+ +

+Here is a list of all file members with links to the files they belong to: +

+

- x -

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_defs.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_defs.html new file mode 100644 index 00000000..7feca86e --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_defs.html @@ -0,0 +1,264 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + + +
+
    +
  • x
  • +
+
+ +

+  +

+

- x -

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_enum.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_enum.html new file mode 100644 index 00000000..684f849c --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_enum.html @@ -0,0 +1,47 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + + +  +

+

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_eval.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_eval.html new file mode 100644 index 00000000..4fec3446 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_eval.html @@ -0,0 +1,223 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + + +
+
    +
  • x
  • +
+
+ +

+  +

+

- x -

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_func.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_func.html new file mode 100644 index 00000000..942b6f02 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_func.html @@ -0,0 +1,63 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + + +  +

+

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_type.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_type.html new file mode 100644 index 00000000..ee8c6f86 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_type.html @@ -0,0 +1,40 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + + +  +

+

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_vars.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_vars.html new file mode 100644 index 00000000..14bce36e --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/globals_vars.html @@ -0,0 +1,40 @@ + + + + + Class Members + + + + +Software Drivers +
+ + + + +  +

+

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/index.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/index.html new file mode 100644 index 00000000..2319e371 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/index.html @@ -0,0 +1,29 @@ + + + + + video_common v1_0 + + + + +Software Drivers +
+ + +

video_common v1_0

+

+Contains common structures, definitions, macros, and utility functions that are typically used by video-related drivers and applications.

+

Note:
None.
+
+ 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 @@ + + + + + Member List + + + + +Software Drivers +
+ + + +

XVidC_VideoStream Member List

This is the complete list of members for XVidC_VideoStream, including all inherited members.

+ + + + + + + +
ColorDepthXVidC_VideoStream
ColorSpaceIdXVidC_VideoStream
FrameRateXVidC_VideoStream
IsInterlacedXVidC_VideoStream
PixPerClkXVidC_VideoStream
TimingXVidC_VideoStream
VmIdXVidC_VideoStream
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream.html new file mode 100644 index 00000000..63799156 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_stream.html @@ -0,0 +1,155 @@ + + + + + XVidC_VideoStream Struct Reference + + + +

+Software Drivers +
+ + + +

XVidC_VideoStream Struct Reference

#include <xvidc.h> +

+List of all members.


Detailed Description

+Video stream structure. +

+ + + + + + + + + + + + + + + + + +

Public Attributes

XVidC_ColorSpace ColorSpaceId
XVidC_ColorDepth ColorDepth
XVidC_PixelsPerClock PixPerClk
XVidC_FrameRate FrameRate
u8 IsInterlaced
XVidC_VideoMode VmId
XVidC_VideoTiming Timing
+


Member Data Documentation

+ +

+ +

+ +

+ +

+ +
+ +

+ +

+

+ +

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+


The documentation for this struct was generated from the following file: +Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing-members.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing-members.html new file mode 100644 index 00000000..b1ab8174 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing-members.html @@ -0,0 +1,41 @@ + + + + + Member List + + + + +Software Drivers +
+ + + +

XVidC_VideoTiming Member List

This is the complete list of members for XVidC_VideoTiming, including all inherited members.

+ + + + + + + + + + + + + + + + +
F0PVBackPorchXVidC_VideoTiming
F0PVFrontPorchXVidC_VideoTiming
F0PVSyncWidthXVidC_VideoTiming
F0PVTotalXVidC_VideoTiming
F1VBackPorchXVidC_VideoTiming
F1VFrontPorchXVidC_VideoTiming
F1VSyncWidthXVidC_VideoTiming
F1VTotalXVidC_VideoTiming
HActiveXVidC_VideoTiming
HBackPorchXVidC_VideoTiming
HFrontPorchXVidC_VideoTiming
HSyncPolarityXVidC_VideoTiming
HSyncWidthXVidC_VideoTiming
HTotalXVidC_VideoTiming
VActiveXVidC_VideoTiming
VSyncPolarityXVidC_VideoTiming
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing.html new file mode 100644 index 00000000..2c72c876 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing.html @@ -0,0 +1,308 @@ + + + + + XVidC_VideoTiming Struct Reference + + + +

+Software Drivers +
+ + + +

XVidC_VideoTiming Struct Reference

#include <xvidc.h> +

+List of all members.


Detailed Description

+Video timing structure. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+


Member Data Documentation

+ +
+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+
+ + + + +
u16 XVidC_VideoTiming::HTotal
+
+
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+ +

+ +
+ +

+ +

+

+


The documentation for this struct was generated from the following file: +Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode-members.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode-members.html new file mode 100644 index 00000000..a44298c2 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode-members.html @@ -0,0 +1,29 @@ + + + + + Member List + + + + +Software Drivers +
+ + + +

XVidC_VideoTimingMode Member List

This is the complete list of members for XVidC_VideoTimingMode, including all inherited members.

+ + + + +
FrameRateXVidC_VideoTimingMode
NameXVidC_VideoTimingMode
TimingXVidC_VideoTimingMode
VmIdXVidC_VideoTimingMode
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode.html new file mode 100644 index 00000000..1bb9ae11 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_timing_mode.html @@ -0,0 +1,104 @@ + + + + + XVidC_VideoTimingMode Struct Reference + + + +

+Software Drivers +
+ + + +

XVidC_VideoTimingMode Struct Reference

#include <xvidc.h> +

+List of all members.


Detailed Description

+Video timing mode from the video timing table. +

+ + + + + + + + + + + +

Public Attributes

XVidC_VideoMode VmId
const char Name [21]
XVidC_FrameRate FrameRate
XVidC_VideoTiming Timing
+


Member Data Documentation

+ +

+ +

+
+ + + + +
const char XVidC_VideoTimingMode::Name[21]
+
+
+ +

+ +

+

+ +

+ +

+ +
+ +

+ +

+

+


The documentation for this struct was generated from the following file: +Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window-members.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window-members.html new file mode 100644 index 00000000..34374239 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window-members.html @@ -0,0 +1,29 @@ + + + + + Member List + + + + +Software Drivers +
+ + + +

XVidC_VideoWindow Member List

This is the complete list of members for XVidC_VideoWindow, including all inherited members.

+ + + + +
HeightXVidC_VideoWindow
StartXXVidC_VideoWindow
StartYXVidC_VideoWindow
WidthXVidC_VideoWindow
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window.html new file mode 100644 index 00000000..cabc65f4 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/struct_x_vid_c___video_window.html @@ -0,0 +1,104 @@ + + + + + XVidC_VideoWindow Struct Reference + + + +

+Software Drivers +
+ + + +

XVidC_VideoWindow Struct Reference

#include <xvidc.h> +

+List of all members.


Detailed Description

+Video window structure. +

+ + + + + + + + + + + +

Public Attributes

u32 StartX
u32 StartY
u32 Width
u32 Height
+


Member Data Documentation

+ +
+
+ + + + +
u32 XVidC_VideoWindow::Height
+
+
+ +

+ +

+

+ +

+
+ + + + +
u32 XVidC_VideoWindow::StartX
+
+
+ +

+ +

+

+ +

+
+ + + + +
u32 XVidC_VideoWindow::StartY
+
+
+ +

+ +

+

+ +

+
+ + + + +
u32 XVidC_VideoWindow::Width
+
+
+ +

+ +

+

+


The documentation for this struct was generated from the following file: +Copyright @ 1995-2014 Xilinx, Inc. All rights reserved. diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_b.gif b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_b.gif new file mode 100644 index 0000000000000000000000000000000000000000..0d623483ffdf5f9f96900108042a7ab0643fe2a3 GIT binary patch literal 35 ncmZ?wbhEHbWMp7uXkcJy*>IeJfk6j|fqX^=1|}vKMh0sDa2W*H literal 0 HcmV?d00001 diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_l.gif b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_l.gif new file mode 100644 index 0000000000000000000000000000000000000000..9b1e6337c9299a700401a2a78a2c6ffced475216 GIT binary patch literal 706 zcmZ?wbhEHbZT`}F1e&(Gg}Y(8=I;HA5#Z$3JI=gGB)FQ#odI(O&E^@q;x zK6mr*m3xOS-#u~t!I@i+u0DKm^U160k6t`|^WpV}&n+8{U%dD9&a>B#U%!9-@yol< zU%&tQ{rk_K|NsC0`}dE5ET99@1@a36+kb~?0UJ*yc&I3X_m z!ND^5$O7$#8OFRuDhG}!?8z?cdZK&!`PWjdR;Aj^wZ` zeK{IEYHBJ)6K8VIp1`BVt++swf6j+=L{p1*nO(VhE`pFexG@5$|>uaCcd z`0m=9m+yak{QmXN#Sc$^{$X9h9&q2jiKAI|&T)a;PPx2K9p`YIdw8HtR5k2Q$2-O2 z*;3y{MQ-RnJTgJfI&R5|O)AHxDf_00XbPvDZPy4t=hHd)nfLPvms&O`Ok(sD()5v$ z5U@&h;a=#xbxVbo2~X&Xj0Ie(f{v>vERH+qC+nTG=B8Nca=wU-O$?1&vUgV~9=!H; zx>3p9Yn%*<>t~sk+&0xfyS8RsPfYBd<~wWK%j-LmpU>O7yX^h#UCp1x-p#i7@bE;py8XI6 zmY<)m>~)W~yIWcMVoiPg{duuf<*)9qZ9l$m*Ph&W&$jlv*Vpa+{pH@n=IQ$L?0$ax ec60Ul|8o2P|NVbd{6P)#weSbE3}s?04AuZvx_~SI literal 0 HcmV?d00001 diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_r.gif b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tab_r.gif new file mode 100644 index 0000000000000000000000000000000000000000..ce9dd9f533cb5486d6941844f442b59d4a9e9175 GIT binary patch literal 2585 zcmbV}`9Bkk1ILFF--w5zJc=ZZT(zjE=;2|_S)Qm~rCWz1Pc)KPl;jv%A#&v2*x}yc zmf2~Jm~&=xjJY?PqwIN}f8qQ2{r$uH{c*nJbmr{cR5??*egHrs-B=MzCF`3%e{FAW z{oL5xTHn~5TM{jaB;@|_Ue5F&Zb@p(kMyG{*;gWDg zyeL|eZf7Qd8=#bXzSiR{yzRgLSj-fJS8>lBjVHN z^o-0eS=nE6a`W;LChBs=`+QAJP~{b93>H^eRb5kCSC1zUNezun%`L5M?RDzv#%jk7 zYVRX=vATPD`+oEfum^{RM@GjuP?-r=yh0!p;Vx^T9G7~`7%5ydH%70=jyJ;;`d;hv92x3R=z{xp+Lg2!*@OK*K15-t&okoPtSED)h&$RLxdbA zseWm^C3d%-yRNi-ryk^!ek+C`n&~cd$#ZWct_cUL{l~i+Nzx^5d!n94(>bW-iL~Rl z&8r)?q|1DIo=0=judQ{FaGcfLERz8gfn3-Qt<2lksh{mzpT}DXxUuR^z=^key&q4! z+wWI45vL0k$R^(F#{qfqhUsN@WA+w-V?LPH33!Q?WFSB3)WBojE@hK41Nb?KfS+Qo zXgrzfsP$wr4Qzy*{OD>uJBjdgGM@VMml5)2f~_}lD*YyOb}Hjeobhz#4c`w(l^>KK zr?Ud;W~Z}*w;%hZ|2^p^+f06gJDJQD zeIhGADbDmm&6arh(q>EZ<7mjzg7l|z$hRL8=1>)Nv=S7CY$B}iYJ&*T_-T_OG*L1q ztZ3Lana33?y3AKnyq^YCF|4x%Rb5WU&2qcl{TFKey%QJeMxn^SdT!hZ5+0i1zeusiYVp-phBl7b5+Px-X&LhByq z0F&<;K0l2+v>qiHlXb#$jXMv$uK-dEGE9L~qtdU(XeRXmvu*K2Q&6!fD**JxYP4b4BR7FdJ$Qx9G9`J%-_X!a#LGpp3g9)VWytGCa;7`S1_e8F~!R+aSJ zOF17p2`H?2kPs8Q`_;U}+D%3p zs2-0BTqFwpUoBk`?P;iPQ(IbEA|JmMx!P&YYG|R@S=5Mnw;-?A6rEEVyV%d7{iU4a zNk`i!%F(Ykpm`}#oH;BjY->@b8vQedv;pza2FL&*6ufjd+*3Ute&>kes~TU?^KkojsTh(o~(3tk1Y6>4(yn( z#U*ID9@eg-beKo1B;HXe+}{Z%n@7m0+yxivuqk9~;!1LGQlah)xYK4>wgL}l6dsaN zIxlRlq`*`j9PG4*0hD6YV_b_2w5b#)o7J?`q#{GjvvKlD`T*dWcZx<-s(ZvLB44E# z=!|sw!?)@%y$oRNL#25WS3lzdii}TuQ3?CLnvQ1_n};2sT_;Y;#d3=+-(O% zMN$>O!3;ke(UuLR%h_&)N zs^!-@A>QR}4yB1bPp`9S19ikTbZ~O{&FF-yHK{En;mmShDUIEw03`j(DBIsM}Rjki2J#SQa3gFZTKBPDeIiLt9Z z%bL3(B@Qw%(B`wSMS~dPh$=R`(}lBoFXKy(s|*{#ru$wjsBc_O#zxNk9w+UUHmx(U zmJ8+M+ndtnZ<7|VU9Mbt61zpo9T&3%Wx&XII=#QJxjR`CZf22ac3d51Z?GD%LEe_&*t46Qf;4`bZ7p2K(Ab5>GfT^}4! zBT&HZD`^PEgWoI&{~o-ID0F?O`75sm(87x%A{(}Ch1)QlzdJ)1B-eqe5a(weg0`4lQIf1evjvbBY50DVbzO7CLf|vP z2#0(U-|jZ`H{y5N^o7%iK6H>_HEGN->U6^!)1{XpJV!!4(Ig7wzZQ*9WYF4X1rG0x z=1uA@i`rIAciubDC{;~b(|&|A@xkjRP5aRcvRU9tvIm}jDB6J eQ0-6-y)mpwdT=ayS0tBxKDA*~;EWmo literal 0 HcmV?d00001 diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tabs.css b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tabs.css new file mode 100644 index 00000000..a61552a6 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/tabs.css @@ -0,0 +1,102 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs INPUT +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : x-small; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI#current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI#current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.nav +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; +} diff --git a/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8c.html b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8c.html new file mode 100644 index 00000000..2be98e93 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/video_common/doc/html/api/xvidc_8c.html @@ -0,0 +1,457 @@ + + + + + xvidc.c File Reference + + + + +Software Drivers +
+ + + +

xvidc.c File Reference


Detailed Description

+Contains common utility functions that are typically used by video-related drivers and applications.

+

Note:
None.
+
+ 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_VideoTimingModeXVidC_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_VideoTimingXVidC_GetTimingInfo (XVidC_VideoMode VmId)
void XVidC_ReportStreamInfo (XVidC_VideoStream *Stream)
void XVidC_ReportTiming (XVidC_VideoTiming *Timing, u8 IsInterlaced)
+


Function Documentation

+ +
+
+ + + + + + + + + +
char* XVidC_GetColorFormatStr (XVidC_ColorSpace  ColorSpaceId  ) 
+
+
+ +

+This function returns the color format name for index specified.

+

Parameters:
+ + +
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,
+
+
Returns:
Pointer to a color space name string.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
XVidC_FrameRate XVidC_GetFrameRate (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the frame rate for index specified.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Frame rate in Hz.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
char* XVidC_GetFrameRateStr (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the frame rate name for index specified.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to a frame rate name string.
+
Note:
None.
+ +
+

+ +

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

+This function calculates pixel clock based on the inputs.

+

Parameters:
+ + + + +
HTotal specifies horizontal total.
VTotal specifies vertical total.
FrameRate specifies rate at which frames are generated.
+
+
Returns:
Pixel clock in Hz.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
u32 XVidC_GetPixelClockHzByVmId (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function calculates pixel clock from video mode.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pixel clock in Hz.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
const XVidC_VideoTiming* XVidC_GetTimingInfo (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the timing parameters for specified resolution.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to a XVidC_VideoTiming structure.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
XVidC_VideoFormat XVidC_GetVideoFormat (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function check input video mode is interlaced/progressive.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Video format.
    +
  • XVIDC_VF_PROGRESSIVE
  • XVIDC_VF_INTERLACED
+
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
const XVidC_VideoTimingMode* XVidC_GetVideoModeData (XVidC_VideoMode  VmId  ) 
+
+
+ +

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

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to XVidC_VideoTimingMode structure based on the given video mode.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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:
+ + + + + +
Width specifies the number pixels per scanline.
Height specifies the number of scanline's.
FrameRate specifies refresh rate in HZ
IsInterlaced is flag.
    +
  • 0 = Progressive
  • 1 = Interlaced.
+
+
+
Returns:
Id of a supported video mode.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
const char* XVidC_GetVideoModeStr (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the resolution name for index specified.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to a resolution name string.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
void XVidC_ReportStreamInfo (XVidC_VideoStream Stream  ) 
+
+
+ +

+This function prints the stream information on STDIO/UART console.

+

Parameters:
+ + +
Stream is a pointer to video stream.
+
+
Returns:
None.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void XVidC_ReportTiming (XVidC_VideoTiming Timing,
u8  IsInterlaced 
)
+
+
+ +

+This function prints timing information on STDIO/Uart console.

+

Parameters:
+ + + +
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.
+
+
Returns:
None.
+
Note:
None.
+ +
+

+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 @@ + + + + + xvidc.h File Reference + + + +

+Software Drivers +
+ + + +

xvidc.h File Reference

+

+#include "xil_types.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Classes

struct  XVidC_VideoTiming
struct  XVidC_VideoStream
struct  XVidC_VideoWindow
struct  XVidC_VideoTimingMode

Typedefs

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

Enumerations

enum  XVidC_VideoMode {
+  XVIDC_VM_480_30_I = 0, +XVIDC_VM_480_60_I, +XVIDC_VM_576_25_I, +XVIDC_VM_576_50_I, +
+  XVIDC_VM_1080_25_I, +XVIDC_VM_1080_30_I, +XVIDC_VM_1080_50_I, +XVIDC_VM_1080_60_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_720x576_50_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_50_P, +XVIDC_VM_1280x720_60_P, +XVIDC_VM_1280x768_60_P_RB, +
+  XVIDC_VM_1280x768_60_P, +XVIDC_VM_1280x768_75_P, +XVIDC_VM_1280x768_85_P, +XVIDC_VM_1280x768_120_P_RB, +
+  XVIDC_VM_1280x800_60_P_RB, +XVIDC_VM_1280x800_60_P, +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_1400x1050_60_P_RB, +
+  XVIDC_VM_1400x1050_60_P, +XVIDC_VM_1400x1050_75_P, +XVIDC_VM_1400x1050_85_P, +XVIDC_VM_1400x1050_120_P_RB, +
+  XVIDC_VM_1440x900_60_P_RB, +XVIDC_VM_1440x900_60_P, +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_1680x1050_60_P_RB, +
+  XVIDC_VM_1680x1050_60_P, +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_50_P, +XVIDC_VM_1920x1080_60_P, +XVIDC_VM_1920x1200_60_P_RB, +
+  XVIDC_VM_1920x1200_60_P, +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_2560x1600_60_P_RB, +XVIDC_VM_2560x1600_60_P, +XVIDC_VM_2560x1600_75_P, +XVIDC_VM_2560x1600_85_P, +
+  XVIDC_VM_2560x1600_120_P_RB, +XVIDC_VM_3840x2160_24_P, +XVIDC_VM_3840x2160_25_P, +XVIDC_VM_3840x2160_30_P, +
+  XVIDC_VM_3840x2160_60_P, +XVIDC_VM_NUM_SUPPORTED, +XVIDC_VM_USE_EDID_PREFERRED, +XVIDC_VM_NO_INPUT, +
+  XVIDC_VM_NOT_SUPPORTED, +XVIDC_VM_INTL_START = XVIDC_VM_480_30_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_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 +
+ }
enum  XVidC_VideoFormat { XVIDC_VF_PROGRESSIVE = 0, +XVIDC_VF_INTERLACED + }
enum  XVidC_FrameRate {
+  XVIDC_FR_24HZ = 24, +XVIDC_FR_25HZ = 25, +XVIDC_FR_30HZ = 30, +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_100HZ = 100, +XVIDC_FR_120HZ = 120, +
+  XVIDC_FR_NUM_SUPPORTED = 16, +XVIDC_FR_UNKNOWN +
+ }
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 +
+ }
enum  XVidC_PixelsPerClock { XVIDC_PPC_1 = 1, +XVIDC_PPC_2 = 2, +XVIDC_PPC_4 = 4, +XVIDC_PPC_NUM_SUPPORTED = 3 + }
enum  XVidC_ColorSpace {
+  XVIDC_CSF_RGB = 0, +XVIDC_CSF_YCRCB_444, +XVIDC_CSF_YCRCB_422, +XVIDC_CSF_YCRCB_420, +
+  XVIDC_CSF_NUM_SUPPORTED, +XVIDC_CSF_UNKNOWN +
+ }
enum  XVidC_ColorConversionStd {
+  XVIDC_BT_2020 = 0, +XVIDC_BT_709, +XVIDC_BT_601, +XVIDC_BT_NUM_SUPPORTED, +
+  XVIDC_BT_UNKNOWN +
+ }
enum  XVidC_ColorRange {
+  XVIDC_CR_16_235 = 0, +XVIDC_CR_16_240, +XVIDC_CR_0_255, +XVIDC_CR_NUM_SUPPORTED, +
+  XVIDC_CR_UNKNOWN_RANGE +
+ }

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_VideoTimingModeXVidC_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_VideoTimingXVidC_GetTimingInfo (XVidC_VideoMode VmId)
void XVidC_ReportStreamInfo (XVidC_VideoStream *Stream)
void XVidC_ReportTiming (XVidC_VideoTiming *Timing, u8 IsInterlaced)

Variables

const XVidC_VideoTimingMode XVidC_VideoTimingModes [XVIDC_VM_NUM_SUPPORTED]
+


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:
+ + + +
TimerPtr is a pointer to the timer instance.
Delay is the duration (msec/usec) to be passed to the timer function.
+
+ +
+

+


Enumeration Type Documentation

+ +
+
+ + + + +
enum XVidC_ColorConversionStd
+
+
+ +

+Color space conversion standard.

Enumerator:
+ + + + + + +
XVIDC_BT_2020  +
XVIDC_BT_709  +
XVIDC_BT_601  +
XVIDC_BT_NUM_SUPPORTED  +
XVIDC_BT_UNKNOWN  +
+
+ +
+

+ +

+
+ + + + +
enum XVidC_ColorDepth
+
+
+ +

+Color depth - bits per color component.

Enumerator:
+ + + + + + + + + +
XVIDC_BPC_6  +
XVIDC_BPC_8  +
XVIDC_BPC_10  +
XVIDC_BPC_12  +
XVIDC_BPC_14  +
XVIDC_BPC_16  +
XVIDC_BPC_NUM_SUPPORTED  +
XVIDC_BPC_UNKNOWN  +
+
+ +
+

+ +

+
+ + + + +
enum XVidC_ColorRange
+
+
+ +

+Color conversion output range.

Enumerator:
+ + + + + + +
XVIDC_CR_16_235  +
XVIDC_CR_16_240  +
XVIDC_CR_0_255  +
XVIDC_CR_NUM_SUPPORTED  +
XVIDC_CR_UNKNOWN_RANGE  +
+
+ +
+

+ +

+
+ + + + +
enum XVidC_ColorSpace
+
+
+ +

+Color space format.

Enumerator:
+ + + + + + + +
XVIDC_CSF_RGB  +
XVIDC_CSF_YCRCB_444  +
XVIDC_CSF_YCRCB_422  +
XVIDC_CSF_YCRCB_420  +
XVIDC_CSF_NUM_SUPPORTED  +
XVIDC_CSF_UNKNOWN  +
+
+ +
+

+ +

+
+ + + + +
enum XVidC_FrameRate
+
+
+ +

+Frame rate.

Enumerator:
+ + + + + + + + + + + + + + + + + + + +
XVIDC_FR_24HZ  +
XVIDC_FR_25HZ  +
XVIDC_FR_30HZ  +
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_100HZ  +
XVIDC_FR_120HZ  +
XVIDC_FR_NUM_SUPPORTED  +
XVIDC_FR_UNKNOWN  +
+
+ +
+

+ +

+
+ + + + +
enum XVidC_PixelsPerClock
+
+
+ +

+Pixels per clock.

Enumerator:
+ + + + + +
XVIDC_PPC_1  +
XVIDC_PPC_2  +
XVIDC_PPC_4  +
XVIDC_PPC_NUM_SUPPORTED  +
+
+ +
+

+ +

+
+ + + + +
enum XVidC_VideoFormat
+
+
+ +

+Progressive/interlaced video format.

Enumerator:
+ + + +
XVIDC_VF_PROGRESSIVE  +
XVIDC_VF_INTERLACED  +
+
+ +
+

+ +

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

Enumerator:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
XVIDC_VM_480_30_I  +
XVIDC_VM_480_60_I  +
XVIDC_VM_576_25_I  +
XVIDC_VM_576_50_I  +
XVIDC_VM_1080_25_I  +
XVIDC_VM_1080_30_I  +
XVIDC_VM_1080_50_I  +
XVIDC_VM_1080_60_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_720x576_50_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_50_P  +
XVIDC_VM_1280x720_60_P  +
XVIDC_VM_1280x768_60_P_RB  +
XVIDC_VM_1280x768_60_P  +
XVIDC_VM_1280x768_75_P  +
XVIDC_VM_1280x768_85_P  +
XVIDC_VM_1280x768_120_P_RB  +
XVIDC_VM_1280x800_60_P_RB  +
XVIDC_VM_1280x800_60_P  +
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_1400x1050_60_P_RB  +
XVIDC_VM_1400x1050_60_P  +
XVIDC_VM_1400x1050_75_P  +
XVIDC_VM_1400x1050_85_P  +
XVIDC_VM_1400x1050_120_P_RB  +
XVIDC_VM_1440x900_60_P_RB  +
XVIDC_VM_1440x900_60_P  +
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_1680x1050_60_P_RB  +
XVIDC_VM_1680x1050_60_P  +
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_50_P  +
XVIDC_VM_1920x1080_60_P  +
XVIDC_VM_1920x1200_60_P_RB  +
XVIDC_VM_1920x1200_60_P  +
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_2560x1600_60_P_RB  +
XVIDC_VM_2560x1600_60_P  +
XVIDC_VM_2560x1600_75_P  +
XVIDC_VM_2560x1600_85_P  +
XVIDC_VM_2560x1600_120_P_RB  +
XVIDC_VM_3840x2160_24_P  +
XVIDC_VM_3840x2160_25_P  +
XVIDC_VM_3840x2160_30_P  +
XVIDC_VM_3840x2160_60_P  +
XVIDC_VM_NUM_SUPPORTED  +
XVIDC_VM_USE_EDID_PREFERRED  +
XVIDC_VM_NO_INPUT  +
XVIDC_VM_NOT_SUPPORTED  +
XVIDC_VM_INTL_START  +
XVIDC_VM_PROG_START  +
XVIDC_VM_INTL_END  +
XVIDC_VM_PROG_END  +
XVIDC_VM_VGA_60_P  +
XVIDC_VM_480_60_P  +
XVIDC_VM_SVGA_60_P  +
XVIDC_VM_XGA_60_P  +
XVIDC_VM_720_50_P  +
XVIDC_VM_720_60_P  +
XVIDC_VM_WXGA_60_P  +
XVIDC_VM_UXGA_60_P  +
XVIDC_VM_WSXGA_60_P  +
XVIDC_VM_1080_24_P  +
XVIDC_VM_1080_25_P  +
XVIDC_VM_1080_30_P  +
XVIDC_VM_1080_50_P  +
XVIDC_VM_1080_60_P  +
XVIDC_VM_WUXGA_60_P  +
XVIDC_VM_UHD2_60_P  +
XVIDC_VM_UHD_24_P  +
XVIDC_VM_UHD_25_P  +
XVIDC_VM_UHD_30_P  +
XVIDC_VM_UHD_60_P  +
+
+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + +
char* XVidC_GetColorFormatStr (XVidC_ColorSpace  ColorSpaceId  ) 
+
+
+ +

+This function returns the color format name for index specified.

+

Parameters:
+ + +
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,
+
+
Returns:
Pointer to a color space name string.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
XVidC_FrameRate XVidC_GetFrameRate (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the frame rate for index specified.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Frame rate in Hz.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
char* XVidC_GetFrameRateStr (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the frame rate name for index specified.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to a frame rate name string.
+
Note:
None.
+ +
+

+ +

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

+This function calculates pixel clock based on the inputs.

+

Parameters:
+ + + + +
HTotal specifies horizontal total.
VTotal specifies vertical total.
FrameRate specifies rate at which frames are generated.
+
+
Returns:
Pixel clock in Hz.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
u32 XVidC_GetPixelClockHzByVmId (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function calculates pixel clock from video mode.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pixel clock in Hz.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
const XVidC_VideoTiming* XVidC_GetTimingInfo (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the timing parameters for specified resolution.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to a XVidC_VideoTiming structure.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
XVidC_VideoFormat XVidC_GetVideoFormat (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function check input video mode is interlaced/progressive.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Video format.
    +
  • XVIDC_VF_PROGRESSIVE
  • XVIDC_VF_INTERLACED
+
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
const XVidC_VideoTimingMode* XVidC_GetVideoModeData (XVidC_VideoMode  VmId  ) 
+
+
+ +

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

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to XVidC_VideoTimingMode structure based on the given video mode.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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:
+ + + + + +
Width specifies the number pixels per scanline.
Height specifies the number of scanline's.
FrameRate specifies refresh rate in HZ
IsInterlaced is flag.
    +
  • 0 = Progressive
  • 1 = Interlaced.
+
+
+
Returns:
Id of a supported video mode.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
const char* XVidC_GetVideoModeStr (XVidC_VideoMode  VmId  ) 
+
+
+ +

+This function returns the resolution name for index specified.

+

Parameters:
+ + +
VmId specifies the resolution id.
+
+
Returns:
Pointer to a resolution name string.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + +
void XVidC_ReportStreamInfo (XVidC_VideoStream Stream  ) 
+
+
+ +

+This function prints the stream information on STDIO/UART console.

+

Parameters:
+ + +
Stream is a pointer to video stream.
+
+
Returns:
None.
+
Note:
None.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void XVidC_ReportTiming (XVidC_VideoTiming Timing,
u8  IsInterlaced 
)
+
+
+ +

+This function prints timing information on STDIO/Uart console.

+

Parameters:
+ + + +
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.
+
+
Returns:
None.
+
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) +

+

+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 @@ + + + + + xvidc_edid.c File Reference + + + +

+Software Drivers +
+ + + +

xvidc_edid.c File Reference


Detailed Description

+Contains function definitions related to the Extended Display Identification Data (EDID) structure which is present in all monitors. All content in this file is agnostic of communication interface protocol.

+

Note:
None.
+
+ 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)
+


Function Documentation

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + + +
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.
+
+
Returns:
None.
+
Note:
The ManName argument is modified with the 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).

+

Parameters:
+ + + +
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.
+
+
Returns:
The vertical active resolution of the specified standard timing from the supplied base EDID.
+
Note:
StdTimingsNum is an index 1-8.
+ +
+

+ +

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

+

Parameters:
+ + + +
EdidRaw is the supplied base EDID to check the timing against.
VtMode is the video timing mode to check for support.
+
+
Returns:
    +
  • XST_SUCCESS if the video timing mode is supported as specified in the supplied base EDID.
  • XST_FAILURE otherwise.
+
+
Note:
None.
+ +
+

+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 @@ + + + + + xvidc_edid.h File Reference + + + +

+Software Drivers +
+ + + +

xvidc_edid.h File Reference


Detailed Description

+Contains macros, definitions, and function declarations related to the Extended Display Identification Data (EDID) structure which is present in all monitors. All content in this file is agnostic of communication interface protocol.

+

Note:
None.
+
+ MODIFICATION HISTORY:

+

 Ver   Who  Date     Changes
+ ----- ---- -------- -----------------------------------------------
+ 1.0   als  11/09/14 Initial release.
+ 
+

+#include "xstatus.h"
+#include "xvidc.h"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Address mapping for the base EDID block.

#define XVIDC_EDID_HEADER   0x00
#define XVIDC_EDID_VPI_ID_MAN_NAME0   0x08
#define XVIDC_EDID_VPI_ID_MAN_NAME1   0x09
#define XVIDC_EDID_VPI_ID_PROD_CODE_LSB   0x0A
#define XVIDC_EDID_VPI_ID_PROD_CODE_MSB   0x0B
#define XVIDC_EDID_VPI_ID_SN0   0x0C
#define XVIDC_EDID_VPI_ID_SN1   0x0D
#define XVIDC_EDID_VPI_ID_SN2   0x0E
#define XVIDC_EDID_VPI_ID_SN3   0x0F
#define XVIDC_EDID_VPI_WEEK_MAN   0x10
#define XVIDC_EDID_VPI_YEAR   0x11
#define XVIDC_EDID_STRUCT_VER   0x12
#define XVIDC_EDID_STRUCT_REV   0x13
#define XVIDC_EDID_BDISP_VID   0x14
#define XVIDC_EDID_BDISP_H_SSAR   0x15
#define XVIDC_EDID_BDISP_V_SSAR   0x16
#define XVIDC_EDID_BDISP_GAMMA   0x17
#define XVIDC_EDID_BDISP_FEATURE   0x18
#define XVIDC_EDID_CC_RG_LOW   0x19
#define XVIDC_EDID_CC_BW_LOW   0x1A
#define XVIDC_EDID_CC_REDX_HIGH   0x1B
#define XVIDC_EDID_CC_REDY_HIGH   0x1C
#define XVIDC_EDID_CC_GREENX_HIGH   0x1D
#define XVIDC_EDID_EST_TIMINGS_I   0x23
#define XVIDC_EDID_EST_TIMINGS_II   0x24
#define XVIDC_EDID_EST_TIMINGS_MAN   0x25
#define XVIDC_EDID_STD_TIMINGS_H(N)   (0x26 + 2 * (N - 1))
#define XVIDC_EDID_STD_TIMINGS_AR_FRR(N)   (0x27 + 2 * (N - 1))
#define XVIDC_EDID_18BYTE_DESCRIPTOR(N)   (0x36 + 18 * (N - 1))
#define XVIDC_EDID_PTM   (XVIDC_EDID_18BYTE_DESCRIPTOR(1))
#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_LSB   0x00
#define XVIDC_EDID_DTD_PTM_PIXEL_CLK_KHZ_MSB   0x01
#define XVIDC_EDID_DTD_PTM_HRES_LSB   0x02
#define XVIDC_EDID_DTD_PTM_HBLANK_LSB   0x03
#define XVIDC_EDID_DTD_PTM_HRES_HBLANK_U4   0x04
#define XVIDC_EDID_DTD_PTM_VRES_LSB   0x05
#define XVIDC_EDID_DTD_PTM_VBLANK_LSB   0x06
#define XVIDC_EDID_DTD_PTM_VRES_VBLANK_U4   0x07
#define XVIDC_EDID_DTD_PTM_HFPORCH_LSB   0x08
#define XVIDC_EDID_DTD_PTM_HSPW_LSB   0x09
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4   0x0A
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2   0x0B
#define XVIDC_EDID_DTD_PTM_HIMGSIZE_MM_LSB   0x0C
#define XVIDC_EDID_DTD_PTM_VIMGSIZE_MM_LSB   0x0D
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4   0x0E
#define XVIDC_EDID_DTD_PTM_HBORDER   0x0F
#define XVIDC_EDID_DTD_PTM_VBORDER   0x10
#define XVIDC_EDID_DTD_PTM_SIGNAL   0x11
#define XVIDC_EDID_EXT_BLK_COUNT   0x7E
#define XVIDC_EDID_CHECKSUM   0x7F

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

#define XVIDC_EDID_CC_GREENY_HIGH   0x1E
#define XVIDC_EDID_CC_BLUEX_HIGH   0x1F
#define XVIDC_EDID_CC_BLUEY_HIGH   0x20
#define XVIDC_EDID_CC_WHITEX_HIGH   0x21
#define XVIDC_EDID_CC_WHITEY_HIGH   0x22
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_SHIFT   2
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR0_MASK   (0x1F << 2)
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_MASK   0x03
#define XVIDC_EDID_VPI_ID_MAN_NAME0_CHAR1_POS   3
#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR1_SHIFT   5
#define XVIDC_EDID_VPI_ID_MAN_NAME1_CHAR2_MASK   0x1F
#define XVIDC_EDID_BDISP_VID_VSI_SHIFT   7
#define XVIDC_EDID_BDISP_VID_VSI_MASK   (0x01 << 7)
#define XVIDC_EDID_BDISP_VID_ANA_SLS_SHIFT   5
#define XVIDC_EDID_BDISP_VID_ANA_SLS_MASK   (0x03 << 5)
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0300_1000   0x0
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0714_0286_1000   0x1
#define XVIDC_EDID_BDISP_VID_ANA_SLS_1000_0400_1400   0x2
#define XVIDC_EDID_BDISP_VID_ANA_SLS_0700_0000_0700   0x3
#define XVIDC_EDID_BDISP_VID_ANA_VID_SETUP_MASK   (0x01 << 4)
#define XVIDC_EDID_BDISP_VID_ANA_SEP_SYNC_HV_MASK   (0x01 << 3)
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_H_MASK   (0x01 << 2)
#define XVIDC_EDID_BDISP_VID_ANA_COMP_SYNC_G_MASK   (0x01 << 1)
#define XVIDC_EDID_BDISP_VID_ANA_SERR_V_SYNC_MASK   (0x01)
#define XVIDC_EDID_BDISP_VID_DIG_BPC_SHIFT   4
#define XVIDC_EDID_BDISP_VID_DIG_BPC_MASK   (0x7 << 4)
#define XVIDC_EDID_BDISP_VID_DIG_BPC_UNDEF   0x0
#define XVIDC_EDID_BDISP_VID_DIG_BPC_6   0x1
#define XVIDC_EDID_BDISP_VID_DIG_BPC_8   0x2
#define XVIDC_EDID_BDISP_VID_DIG_BPC_10   0x3
#define XVIDC_EDID_BDISP_VID_DIG_BPC_12   0x4
#define XVIDC_EDID_BDISP_VID_DIG_BPC_14   0x5
#define XVIDC_EDID_BDISP_VID_DIG_BPC_16   0x6
#define XVIDC_EDID_BDISP_VID_DIG_VIS_MASK   0xF
#define XVIDC_EDID_BDISP_VID_DIG_VIS_UNDEF   0x0
#define XVIDC_EDID_BDISP_VID_DIG_VIS_DVI   0x1
#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIA   0x2
#define XVIDC_EDID_BDISP_VID_DIG_VIS_HDMIB   0x3
#define XVIDC_EDID_BDISP_VID_DIG_VIS_MDDI   0x4
#define XVIDC_EDID_BDISP_VID_DIG_VIS_DP   0x5
#define XVIDC_EDID_BDISP_FEATURE_PM_STANDBY_MASK   (0x1 << 7)
#define XVIDC_EDID_BDISP_FEATURE_PM_SUSPEND_MASK   (0x1 << 6)
#define XVIDC_EDID_BDISP_FEATURE_PM_OFF_VLP_MASK   (0x1 << 5)
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_SHIFT   3
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MASK   (0x3 << 3)
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_MCG   0x0
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_RGB   0x1
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_NRGB   0x2
#define XVIDC_EDID_BDISP_FEATURE_ANA_COLORTYPE_UNDEF   0x3
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB444_MASK   (0x1 << 3)
#define XVIDC_EDID_BDISP_FEATURE_DIG_COLORENC_YCRCB422_MASK   (0x1 << 4)
#define XVIDC_EDID_BDISP_FEATURE_SRGB_DEF_MASK   (0x1 << 2)
#define XVIDC_EDID_BDISP_FEATURE_PTM_INC_MASK   (0x1 << 1)
#define XVIDC_EDID_BDISP_FEATURE_CONTFREQ_MASK   (0x1)
#define XVIDC_EDID_CC_HIGH_SHIFT   2
#define XVIDC_EDID_CC_RBX_LOW_SHIFT   6
#define XVIDC_EDID_CC_RBY_LOW_SHIFT   4
#define XVIDC_EDID_CC_RBY_LOW_MASK   (0x3 << 4)
#define XVIDC_EDID_CC_GWX_LOW_SHIFT   2
#define XVIDC_EDID_CC_GWX_LOW_MASK   (0x3 << 2)
#define XVIDC_EDID_CC_GWY_LOW_MASK   (0x3)
#define XVIDC_EDID_CC_GREENY_HIGH   0x1E
#define XVIDC_EDID_CC_BLUEX_HIGH   0x1F
#define XVIDC_EDID_CC_BLUEY_HIGH   0x20
#define XVIDC_EDID_CC_WHITEX_HIGH   0x21
#define XVIDC_EDID_CC_WHITEY_HIGH   0x22
#define XVIDC_EDID_EST_TIMINGS_I_720x400_70_MASK   (0x1 << 7)
#define XVIDC_EDID_EST_TIMINGS_I_720x400_88_MASK   (0x1 << 6)
#define XVIDC_EDID_EST_TIMINGS_I_640x480_60_MASK   (0x1 << 5)
#define XVIDC_EDID_EST_TIMINGS_I_640x480_67_MASK   (0x1 << 4)
#define XVIDC_EDID_EST_TIMINGS_I_640x480_72_MASK   (0x1 << 3)
#define XVIDC_EDID_EST_TIMINGS_I_640x480_75_MASK   (0x1 << 2)
#define XVIDC_EDID_EST_TIMINGS_I_800x600_56_MASK   (0x1 << 1)
#define XVIDC_EDID_EST_TIMINGS_I_800x600_60_MASK   (0x1)
#define XVIDC_EDID_EST_TIMINGS_II_800x600_72_MASK   (0x1 << 7)
#define XVIDC_EDID_EST_TIMINGS_II_800x600_75_MASK   (0x1 << 6)
#define XVIDC_EDID_EST_TIMINGS_II_832x624_75_MASK   (0x1 << 5)
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_87_MASK   (0x1 << 4)
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_60_MASK   (0x1 << 3)
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_70_MASK   (0x1 << 2)
#define XVIDC_EDID_EST_TIMINGS_II_1024x768_75_MASK   (0x1 << 1)
#define XVIDC_EDID_EST_TIMINGS_II_1280x1024_75_MASK   (0x1)
#define XVIDC_EDID_EST_TIMINGS_MAN_1152x870_75_MASK   (0x1 << 7)
#define XVIDC_EDID_EST_TIMINGS_MAN_MASK   (0x7F)
#define XVIDC_EDID_STD_TIMINGS_AR_SHIFT   6
#define XVIDC_EDID_STD_TIMINGS_AR_16_10   0x0
#define XVIDC_EDID_STD_TIMINGS_AR_4_3   0x1
#define XVIDC_EDID_STD_TIMINGS_AR_5_4   0x2
#define XVIDC_EDID_STD_TIMINGS_AR_16_9   0x3
#define XVIDC_EDID_STD_TIMINGS_FRR_MASK   (0x3F)
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XBLANK_MASK   0x0F
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_MASK   0xF0
#define XVIDC_EDID_DTD_PTM_XRES_XBLANK_U4_XRES_SHIFT   4
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VSPW_MASK   0x0F
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_MASK   0xF0
#define XVIDC_EDID_DTD_PTM_VFPORCH_VSPW_L4_VFPORCH_SHIFT   4
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_MASK   0xC0
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_MASK   0x30
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_MASK   0x0C
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VSPW_MASK   0x03
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HFPORCH_SHIFT   6
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_HSPW_SHIFT   4
#define XVIDC_EDID_DTD_PTM_XFPORCH_XSPW_U2_VFPORCH_SHIFT   2
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_VIMGSIZE_MM_MASK   0x0F
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_MASK   0xF0
#define XVIDC_EDID_DTD_PTM_XIMGSIZE_MM_U4_HIMGSIZE_MM_SHIFT   4
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_MASK   0x80
#define XVIDC_EDID_DTD_PTM_SIGNAL_INTERLACED_SHIFT   7
#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_MASK   0x02
#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_MASK   0x04
#define XVIDC_EDID_DTD_PTM_SIGNAL_HPOLARITY_SHIFT   1
#define XVIDC_EDID_DTD_PTM_SIGNAL_VPOLARITY_SHIFT   2

Defines

#define XVidC_EdidIsHeaderValid(E)   !memcmp(E, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8)
#define XVidC_EdidGetIdProdCode(E)
#define XVidC_EdidGetIdSn(E)
#define XVidC_EdidGetManWeek(E)   (E[XVIDC_EDID_VPI_WEEK_MAN])
#define XVidC_EdidGetModManYear(E)   (E[XVIDC_EDID_VPI_YEAR] + 1990)
#define XVidC_EdidIsYearModel(E)   (XVidC_EdidGetManWeek(E) == 0xFF)
#define XVidC_EdidIsYearMan(E)   (XVidC_EdidGetManWeek(E) != 0xFF)
#define XVidC_EdidGetStructVer(E)   (E[XVIDC_EDID_STRUCT_VER])
#define XVidC_EdidGetStructRev(E)   (E[XVIDC_EDID_STRUCT_REV])
#define XVidC_EdidIsDigitalSig(E)   ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) != 0)
#define XVidC_EdidIsAnalogSig(E)   ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) == 0)
#define XVidC_EdidGetAnalogSigLvlStd(E)
#define XVidC_EdidGetAnalogSigVidSetup(E)
#define XVidC_EdidSuppAnalogSigSepSyncHv(E)
#define XVidC_EdidSuppAnalogSigCompSyncH(E)
#define XVidC_EdidSuppAnalogSigCompSyncG(E)
#define XVidC_EdidSuppAnalogSigSerrVsync(E)
#define XVidC_EdidGetDigitalSigIfaceStd(E)   (E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_DIG_VIS_MASK)
#define XVidC_EdidIsSsArDefined(E)   ((E[XVIDC_EDID_BDISP_H_SSAR] | E[XVIDC_EDID_BDISP_V_SSAR]) != 0)
#define XVidC_EdidGetSsArH(E)   E[XVIDC_EDID_BDISP_H_SSAR]
#define XVidC_EdidGetSsArV(E)   E[XVIDC_EDID_BDISP_V_SSAR]
#define XVidC_EdidIsSsArSs(E)   ((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) != 0))
#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_EdidGetSsArArL(E)   ((float)((XVidC_EdidGetSsArH(E) + 99.0) / 100.0))
#define XVidC_EdidGetSsArArP(E)   ((float)(100.0 / (XVidC_EdidGetSsArV(E) + 99.0)))
#define XVidC_EdidIsGammaInExt(E)   (E[XVIDC_EDID_BDISP_GAMMA] == 0xFF)
#define XVidC_EdidGetGamma(E)   ((float)((E[XVIDC_EDID_BDISP_GAMMA] + 100.0) / 100.0))
#define XVidC_EdidSuppFeaturePmStandby(E)
#define XVidC_EdidSuppFeaturePmSuspend(E)
#define XVidC_EdidSuppFeaturePmOffVlp(E)
#define XVidC_EdidGetFeatureAnaColorType(E)
#define XVidC_EdidSuppFeatureDigColorEncYCrCb444(E)
#define XVidC_EdidSuppFeatureDigColorEncYCrCb422(E)
#define XVidC_EdidIsFeatureSrgbDef(E)
#define XVidC_EdidIsFeaturePtmInc(E)
#define XVidC_EdidIsFeatureContFreq(E)
#define XVidC_EdidSuppEstTimings720x400_70(E)
#define XVidC_EdidSuppEstTimings720x400_88(E)
#define XVidC_EdidSuppEstTimings640x480_60(E)
#define XVidC_EdidSuppEstTimings640x480_67(E)
#define XVidC_EdidSuppEstTimings640x480_72(E)
#define XVidC_EdidSuppEstTimings640x480_75(E)
#define XVidC_EdidSuppEstTimings800x600_56(E)
#define XVidC_EdidSuppEstTimings800x600_60(E)
#define XVidC_EdidSuppEstTimings800x600_72(E)
#define XVidC_EdidSuppEstTimings800x600_75(E)
#define XVidC_EdidSuppEstTimings832x624_75(E)
#define XVidC_EdidSuppEstTimings1024x768_87(E)
#define XVidC_EdidSuppEstTimings1024x768_60(E)
#define XVidC_EdidSuppEstTimings1024x768_70(E)
#define XVidC_EdidSuppEstTimings1024x768_75(E)
#define XVidC_EdidSuppEstTimings1280x1024_75(E)
#define XVidC_EdidSuppEstTimings1152x870_75(E)
#define XVidC_EdidGetTimingsMan(E)   (E[XVIDC_EDID_EST_TIMINGS_MAN] & XVIDC_EDID_EST_TIMINGS_MAN_MASK)
#define XVidC_EdidGetStdTimingsH(E, N)   ((E[XVIDC_EDID_STD_TIMINGS_H(N)] + 31) * 8)
#define XVidC_EdidGetStdTimingsAr(E, N)   (E[XVIDC_EDID_STD_TIMINGS_AR_FRR(N)] >> XVIDC_EDID_STD_TIMINGS_AR_SHIFT)
#define XVidC_EdidGetStdTimingsFrr(E, N)
#define XVidC_EdidIsDtdPtmInterlaced(E)
#define XVidC_EdidGetExtBlkCount(E)   (E[XVIDC_EDID_EXT_BLK_COUNT])
#define XVidC_EdidGetChecksum(E)   (E[XVIDC_EDID_CHECKSUM])

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


Define Documentation

+ +
+
+ + + + + + + + + +
#define XVIDC_EDID_18BYTE_DESCRIPTOR (  )    (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 (  )    (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 (  )    (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 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetAnalogSigVidSetup (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetChecksum (  )    (E[XVIDC_EDID_CHECKSUM])
+
+
+ +

+ +

+

+ +

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

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetExtBlkCount (  )    (E[XVIDC_EDID_EXT_BLK_COUNT])
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetFeatureAnaColorType (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetGamma (  )    ((float)((E[XVIDC_EDID_BDISP_GAMMA] + 100.0) / 100.0))
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetIdProdCode (  ) 
+
+
+ +

+Value:

+
+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetIdSn (  ) 
+
+
+ +

+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[XVIDC_EDID_VPI_WEEK_MAN])
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetModManYear (  )    (E[XVIDC_EDID_VPI_YEAR] + 1990)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetSsArArL (  )    ((float)((XVidC_EdidGetSsArH(E) + 99.0) / 100.0))
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetSsArArP (  )    ((float)(100.0 / (XVidC_EdidGetSsArV(E) + 99.0)))
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetSsArH (  )    E[XVIDC_EDID_BDISP_H_SSAR]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetSsArV (  )    E[XVIDC_EDID_BDISP_V_SSAR]
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + +
#define XVidC_EdidGetStdTimingsAr (E,
 )    (E[XVIDC_EDID_STD_TIMINGS_AR_FRR(N)] >> XVIDC_EDID_STD_TIMINGS_AR_SHIFT)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + +
#define XVidC_EdidGetStdTimingsFrr (E,
 ) 
+
+ +

+ +

+
+ + + + + + + + + + + + +
#define XVidC_EdidGetStdTimingsH (E,
 )    ((E[XVIDC_EDID_STD_TIMINGS_H(N)] + 31) * 8)
+
+
+ +

+ +

+

+ +

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

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetStructVer (  )    (E[XVIDC_EDID_STRUCT_VER])
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidGetTimingsMan (  )    (E[XVIDC_EDID_EST_TIMINGS_MAN] & XVIDC_EDID_EST_TIMINGS_MAN_MASK)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsAnalogSig (  )    ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) == 0)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsDigitalSig (  )    ((E[XVIDC_EDID_BDISP_VID] & XVIDC_EDID_BDISP_VID_VSI_MASK) != 0)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsDtdPtmInterlaced (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsFeatureContFreq (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsFeaturePtmInc (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsFeatureSrgbDef (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsGammaInExt (  )    (E[XVIDC_EDID_BDISP_GAMMA] == 0xFF)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsHeaderValid (  )    !memcmp(E, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8)
+
+
+ +

+ +

+

+ +

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

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsSsArArP (  )    ((XVidC_EdidGetSsArH(E) == 0) && (XVidC_EdidGetSsArV(E) != 0))
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsSsArDefined (  )    ((E[XVIDC_EDID_BDISP_H_SSAR] | E[XVIDC_EDID_BDISP_V_SSAR]) != 0)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsSsArSs (  )    ((XVidC_EdidGetSsArH(E) != 0) && (XVidC_EdidGetSsArV(E) != 0))
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsYearMan (  )    (XVidC_EdidGetManWeek(E) != 0xFF)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidIsYearModel (  )    (XVidC_EdidGetManWeek(E) == 0xFF)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppAnalogSigCompSyncG (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppAnalogSigCompSyncH (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppAnalogSigSepSyncHv (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppAnalogSigSerrVsync (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings1024x768_60 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings1024x768_70 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings1024x768_75 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings1024x768_87 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings1152x870_75 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings1280x1024_75 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings640x480_60 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings640x480_67 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings640x480_72 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings640x480_75 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings720x400_70 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings720x400_88 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings800x600_56 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings800x600_60 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings800x600_72 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings800x600_75 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppEstTimings832x624_75 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppFeatureDigColorEncYCrCb422 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppFeatureDigColorEncYCrCb444 (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppFeaturePmOffVlp (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppFeaturePmStandby (  ) 
+
+ +

+ +

+
+ + + + + + + + + +
#define XVidC_EdidSuppFeaturePmSuspend (  ) 
+
+ +

+


Function Documentation

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + +
EdidRaw is 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.
+ +
+

+ +

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

+

Parameters:
+ + + +
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.
+
+
Returns:
None.
+
Note:
The ManName argument is modified with the 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).

+

Parameters:
+ + + +
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.
+
+
Returns:
The vertical active resolution of the specified standard timing from the supplied base EDID.
+
Note:
StdTimingsNum is an index 1-8.
+ +
+

+ +

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

+

Parameters:
+ + + +
EdidRaw is the supplied base EDID to check the timing against.
VtMode is the video timing mode to check for support.
+
+
Returns:
    +
  • XST_SUCCESS if the video timing mode is supported as specified in the supplied base EDID.
  • XST_FAILURE otherwise.
+
+
Note:
None.
+ +
+

+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 @@ + + + + + xvidc_timings_table.c File Reference + + + +

+Software Drivers +
+ + + +

xvidc_timings_table.c File Reference


Detailed Description

+Contains video timings for various standard resolutions.

+

Note:
None.
+
+ 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]
+


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

+

+Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.