rgb2ycrcb: Added files in rgb2ycrcb

Added source files, integration files and examples.
Added new functionality for coefficients, clipping and clamping features.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
This commit is contained in:
Shadul Shaikh 2014-07-15 12:20:55 +05:30 committed by Jagannadha Sutradharudu Teki
parent 2eed19c07f
commit dbd5fb060f
47 changed files with 12121 additions and 1177 deletions

View file

@ -1,9 +1,9 @@
###############################################################################
##############################################################################
#
# Copyright (C) 2011 - 2014 Xilinx, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# of this software and associated documentation files (the "Software"),to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@ -27,7 +27,6 @@
# Except as contained in this notice, the name of the Xilinx shall not be used
# in advertising or otherwise to promote the sale, use or other dealings in
# this Software without prior written authorization from Xilinx.
#
###############################################################################
OPTION psf_version = 2.1;

View file

@ -1,9 +1,9 @@
###############################################################################
##############################################################################
#
# Copyright (C) 2011 - 2014 Xilinx, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# of this software and associated documentation files (the "Software"),to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@ -27,16 +27,12 @@
# Except as contained in this notice, the name of the Xilinx shall not be used
# in advertising or otherwise to promote the sale, use or other dealings in
# this Software without prior written authorization from Xilinx.
#
###############################################################################
#
# MODIFICATION HISTORY:
# Ver Who Date Changes
# -------- ------ -------- ------------------------------------
# 6.0 adk 12/10/13 Updated as per the New Tcl API's
##################################################################
proc generate {drv_handle} {
xdefine_include_file $drv_handle "xparameters.h" "RGB2YCRCB" "NUM_INSTANCES" "C_BASEADDR" "C_HIGHADDR" "DEVICE_ID" "C_S_AXIS_VIDEO_DATA_WIDTH" "C_S_AXIS_VIDEO_FORMAT" "C_S_AXIS_VIDEO_TDATA_WIDTH" "C_M_AXIS_VIDEO_DATA_WIDTH" "C_M_AXIS_VIDEO_FORMAT" "C_M_AXIS_VIDEO_TDATA_WIDTH" "C_HAS_AXI4_LITE" "C_HAS_DEBUG" "C_HAS_INTC_IF" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_HAS_CLIP" "C_HAS_CLAMP" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_YOFFSET" "C_CBOFFSET" "C_CROFFSET" "C_YMAX" "C_YMIN" "C_CBMAX" "C_CBMIN" "C_CRMAX" "C_CRMIN"
xdefine_canonical_xpars $drv_handle "xparameters.h" "RGB2YCRCB" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_DATA_WIDTH" "C_S_AXIS_VIDEO_FORMAT" "C_S_AXIS_VIDEO_TDATA_WIDTH" "C_M_AXIS_VIDEO_DATA_WIDTH" "C_M_AXIS_VIDEO_FORMAT" "C_M_AXIS_VIDEO_TDATA_WIDTH" "C_HAS_AXI4_LITE" "C_HAS_DEBUG" "C_HAS_INTC_IF" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_HAS_CLIP" "C_HAS_CLAMP" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_YOFFSET" "C_CBOFFSET" "C_CROFFSET" "C_YMAX" "C_YMIN" "C_CBMAX" "C_CBMIN" "C_CRMAX" "C_CRMIN"
xdefine_include_file $drv_handle "xparameters.h" "RGB2YCRCB" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_FORMAT" "C_M_AXIS_VIDEO_FORMAT" "C_HAS_DEBUG" "C_HAS_INTC_IF" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_HAS_CLIP" "C_HAS_CLAMP" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_YOFFSET" "C_CBOFFSET" "C_CROFFSET" "C_YMAX" "C_YMIN" "C_CBMAX" "C_CBMIN" "C_CRMAX" "C_CRMIN" "C_S_AXI_CLK_FREQ_HZ" "C_STANDARD_SEL" "C_OUTPUT_RANGE"
xdefine_config_file $drv_handle "xrgb2ycrcb_g.c" "XRgb2YCrCb" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_FORMAT" "C_M_AXIS_VIDEO_FORMAT" "C_HAS_DEBUG" "C_HAS_INTC_IF" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_HAS_CLIP" "C_HAS_CLAMP" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_YOFFSET" "C_CBOFFSET" "C_CROFFSET" "C_YMAX" "C_YMIN" "C_CBMAX" "C_CBMIN" "C_CRMAX" "C_CRMIN" "C_S_AXI_CLK_FREQ_HZ" "C_STANDARD_SEL" "C_OUTPUT_RANGE"
xdefine_canonical_xpars $drv_handle "xparameters.h" "RGB2YCRCB" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_FORMAT" "C_M_AXIS_VIDEO_FORMAT" "C_HAS_DEBUG" "C_HAS_INTC_IF" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_HAS_CLIP" "C_HAS_CLAMP" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_YOFFSET" "C_CBOFFSET" "C_CROFFSET" "C_YMAX" "C_YMIN" "C_CBMAX" "C_CBMIN" "C_CRMAX" "C_CRMIN" "C_S_AXI_CLK_FREQ_HZ" "C_STANDARD_SEL" "C_OUTPUT_RANGE"
}

View file

@ -0,0 +1,30 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class List
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li id="current"><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td class="indexvalue"></td></tr>
</table>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -9,10 +9,11 @@
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.5 -->
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
@ -20,7 +21,13 @@
<li id="current"><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>File List</h1>Here is a list of all documented files with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="rgb2ycrcb_8c.html">rgb2ycrcb.c</a></td><td class="indexvalue"></td></tr>
<h1>File List</h1>Here is a list of all files with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="xrgb2ycrcb_8c.html">xrgb2ycrcb.c</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xrgb2ycrcb__g_8c.html">xrgb2ycrcb_g.c</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xrgb2ycrcb__hw_8h.html">xrgb2ycrcb_hw.h</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xrgb2ycrcb__intr_8c.html">xrgb2ycrcb_intr.c</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xrgb2ycrcb__selftest_8c.html">xrgb2ycrcb_selftest.c</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xrgb2ycrcb__sinit_8c.html">xrgb2ycrcb_sinit.c</a></td><td class="indexvalue"></td></tr>
</table>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,117 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class Members
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li id="current"><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li id="current"><a href="functions.html"><span>All</span></a></li>
<li><a href="functions_vars.html"><span>Variables</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="#index_a"><span>a</span></a></li>
<li><a href="#index_b"><span>b</span></a></li>
<li><a href="#index_c"><span>c</span></a></li>
<li><a href="#index_d"><span>d</span></a></li>
<li><a href="#index_e"><span>e</span></a></li>
<li><a href="#index_f"><span>f</span></a></li>
<li><a href="#index_h"><span>h</span></a></li>
<li><a href="#index_i"><span>i</span></a></li>
<li><a href="#index_m"><span>m</span></a></li>
<li><a href="#index_o"><span>o</span></a></li>
<li><a href="#index_p"><span>p</span></a></li>
<li><a href="#index_s"><span>s</span></a></li>
<li><a href="#index_v"><span>v</span></a></li>
<li><a href="#index_y"><span>y</span></a></li>
</ul>
</div>
<p>
Here is a list of all class members with links to the classes they belong to:
<p>
<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
<li>ACoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#a6bb682e3d9ce5761075424b9c2693e1">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#d683847c19dbf599798083ff18cbb641">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#6fde122b26f2521f80366943457ef5b1">XRgb2YCrCb_Config</a><li>ActiveCols
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3426f9e055bd444a70c2c04f85f69ba5">XRgb2YCrCb_Config</a><li>ActiveRows
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#a781cbc31759b6fa34b8f647c4698f86">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
<li>BaseAddress
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#32e16f3a363739f87f01d6036c15f975">XRgb2YCrCb_Config</a><li>BCoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#b397089fe6f6fc110f207494213d3339">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#862675295a25a253dd20e2bb6a9c48b6">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#87fdb871dfc9ac275b2dae666fa3c7eb">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
<li>CbMax
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#7d29fb3d003f1901e67882e0befd63d0">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#200aa10c45924e76c9e8586c6976b792">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#1b608c8ac4791c1daf5d1a49df9ce007">XRgb2YCrCb_Config</a><li>CbMin
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#d25d94caa14cb326022aa7f0b358a9b9">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#729e7e3819b78ae4efc99a563dbfa058">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#35cf2dce3dd2b3a14b03bee16e5550a9">XRgb2YCrCb_Config</a><li>CbOffset
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5d4db2db38b464bbaaef2a706e99bc7d">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#babbf212eb416bc5ee274f33b2180611">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#c57a3860b2a4020e459fdc664e32ec73">XRgb2YCrCb_Config</a><li>CCoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c3c6738abb7b8227ded3af0cdb88e650">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#72546aa6892d93c968aceec29d0f6459">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#eba329743cd6754048b79d42eda051d4">XRgb2YCrCb_Config</a><li>Config
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#e7725f678f7c3ffefe2f770c2533a968">XRgb2YCrCb</a><li>CrMax
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5a7f5aab1e17e0ae9622ad1295ee8ff7">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#fe293a99039eed0f52fe63f76b31f304">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#26d098950ee4b3d400392d59e3690f1a">XRgb2YCrCb_Config</a><li>CrMin
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#35cc081afb124a92dc4917d742e146fb">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#ed93cdc35cd0cc32bb7bc30e4c4bb086">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bc64113ba0e3d785111d279d161a0eca">XRgb2YCrCb_Config</a><li>CrOffset
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#db6c0bcf236cff529dd9f351f4351bbe">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#c7cb61a50b547db5e6ecfa61fb6ee434">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#e230d2f7818d459ff1b5a083ef85cc6c">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
<li>DCoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#e8b4591160420c7b044f111d97099a0a">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#53c098d2a630c468bea028aeab168287">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5019df4efb34faeb8471dbc08815b2ea">XRgb2YCrCb_Config</a><li>DeviceId
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#03ccba2463ec0e6c27a2644d57c1ce7a">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
<li>ErrCallBack
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#e977e544633e4e659ad25482442fa616">XRgb2YCrCb</a><li>ErrRef
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#7ae37743c47d67f18fb0f6ab5e516227">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
<li>FrameDoneCallBack
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#c40ebbcf45769320de4331890b91b89a">XRgb2YCrCb</a><li>FrameDoneRef
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#4d87f3a90ede395228fb615efe30f89e">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_h">- h -</a></h3><ul>
<li>HasClamp
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#464382606428ea9e2f9c9f9e95abf5da">XRgb2YCrCb_Config</a><li>HasClip
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bb2499cad56223074a0a4a8d307f4b02">XRgb2YCrCb_Config</a><li>HasDebug
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#2c4746d763168288603e9182145ce6b7">XRgb2YCrCb_Config</a><li>HasIntcIf
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#657a37da346f51991acfa0fc50842618">XRgb2YCrCb_Config</a><li>HSize
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#42d6853d660ac85830f097e1ae07a335">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
<li>IsReady
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#a2fc86da3c1847f0ef8bd94635b36f6c">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
<li>MasterAxisVideoFormat
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4092d74dfb73f98980d8009de9601891">XRgb2YCrCb_Config</a><li>MaxCols
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#d3810be27350fbb7bdfa149a971ddaca">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
<li>OutputRange
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#934250f63000188a18b2f7f8912ad3a7">XRgb2YCrCb</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#b558a7f3ea11220bd5ff95e7338bc29d">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
<li>ProcStartCallBack
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#27bdbdf889114bcdc4125b4e451ca692">XRgb2YCrCb</a><li>ProcStartRef
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#42b53f4981b4c1e3b6e3879269d10c01">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
<li>SlaveAxiClkFreqHz
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5149ad9e7772d05ad526cad9b1c86c88">XRgb2YCrCb_Config</a><li>SlaveAxisVideoFormat
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3220e48f788660a33451ce00a5742735">XRgb2YCrCb_Config</a><li>StandardSelection
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#3c30ef4ec31996beed6f29e852daf96d">XRgb2YCrCb</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#451716a1c6cca766053fc4ca555d7b32">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_v">- v -</a></h3><ul>
<li>VSize
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#fd9ceb0fa95a8a8898bce5b4ea7624a1">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_y">- y -</a></h3><ul>
<li>YMax
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#259b76480b09fa3ea902fb086f6464c1">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#a29e00d53ad1ee916506d4022680bc5b">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#840a37fceeb6d17c4d757aecadced018">XRgb2YCrCb_Config</a><li>YMin
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c56eb1748e229438613de1ff27b6a4f1">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#8706f60b90711e34f0ebb9359df7aa7c">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4637ea440d75eb971925c479a8f3fd7c">XRgb2YCrCb_Config</a><li>YOffset
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#91238050424eb013a8371656db037fcf">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#40288f4a7ac3625b88128e456ab4bf30">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3a9345e8621bab736fdfd5a3f55616b9">XRgb2YCrCb_Config</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,117 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class Members - Variables
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li id="current"><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="functions.html"><span>All</span></a></li>
<li id="current"><a href="functions_vars.html"><span>Variables</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="#index_a"><span>a</span></a></li>
<li><a href="#index_b"><span>b</span></a></li>
<li><a href="#index_c"><span>c</span></a></li>
<li><a href="#index_d"><span>d</span></a></li>
<li><a href="#index_e"><span>e</span></a></li>
<li><a href="#index_f"><span>f</span></a></li>
<li><a href="#index_h"><span>h</span></a></li>
<li><a href="#index_i"><span>i</span></a></li>
<li><a href="#index_m"><span>m</span></a></li>
<li><a href="#index_o"><span>o</span></a></li>
<li><a href="#index_p"><span>p</span></a></li>
<li><a href="#index_s"><span>s</span></a></li>
<li><a href="#index_v"><span>v</span></a></li>
<li><a href="#index_y"><span>y</span></a></li>
</ul>
</div>
<p>
&nbsp;
<p>
<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
<li>ACoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#a6bb682e3d9ce5761075424b9c2693e1">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#d683847c19dbf599798083ff18cbb641">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#6fde122b26f2521f80366943457ef5b1">XRgb2YCrCb_Config</a><li>ActiveCols
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3426f9e055bd444a70c2c04f85f69ba5">XRgb2YCrCb_Config</a><li>ActiveRows
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#a781cbc31759b6fa34b8f647c4698f86">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
<li>BaseAddress
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#32e16f3a363739f87f01d6036c15f975">XRgb2YCrCb_Config</a><li>BCoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#b397089fe6f6fc110f207494213d3339">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#862675295a25a253dd20e2bb6a9c48b6">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#87fdb871dfc9ac275b2dae666fa3c7eb">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
<li>CbMax
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#7d29fb3d003f1901e67882e0befd63d0">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#200aa10c45924e76c9e8586c6976b792">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#1b608c8ac4791c1daf5d1a49df9ce007">XRgb2YCrCb_Config</a><li>CbMin
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#d25d94caa14cb326022aa7f0b358a9b9">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#729e7e3819b78ae4efc99a563dbfa058">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#35cf2dce3dd2b3a14b03bee16e5550a9">XRgb2YCrCb_Config</a><li>CbOffset
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5d4db2db38b464bbaaef2a706e99bc7d">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#babbf212eb416bc5ee274f33b2180611">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#c57a3860b2a4020e459fdc664e32ec73">XRgb2YCrCb_Config</a><li>CCoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c3c6738abb7b8227ded3af0cdb88e650">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#72546aa6892d93c968aceec29d0f6459">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#eba329743cd6754048b79d42eda051d4">XRgb2YCrCb_Config</a><li>Config
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#e7725f678f7c3ffefe2f770c2533a968">XRgb2YCrCb</a><li>CrMax
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5a7f5aab1e17e0ae9622ad1295ee8ff7">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#fe293a99039eed0f52fe63f76b31f304">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#26d098950ee4b3d400392d59e3690f1a">XRgb2YCrCb_Config</a><li>CrMin
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#35cc081afb124a92dc4917d742e146fb">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#ed93cdc35cd0cc32bb7bc30e4c4bb086">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bc64113ba0e3d785111d279d161a0eca">XRgb2YCrCb_Config</a><li>CrOffset
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#db6c0bcf236cff529dd9f351f4351bbe">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#c7cb61a50b547db5e6ecfa61fb6ee434">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#e230d2f7818d459ff1b5a083ef85cc6c">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
<li>DCoef
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#e8b4591160420c7b044f111d97099a0a">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#53c098d2a630c468bea028aeab168287">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5019df4efb34faeb8471dbc08815b2ea">XRgb2YCrCb_Config</a><li>DeviceId
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#03ccba2463ec0e6c27a2644d57c1ce7a">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
<li>ErrCallBack
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#e977e544633e4e659ad25482442fa616">XRgb2YCrCb</a><li>ErrRef
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#7ae37743c47d67f18fb0f6ab5e516227">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
<li>FrameDoneCallBack
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#c40ebbcf45769320de4331890b91b89a">XRgb2YCrCb</a><li>FrameDoneRef
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#4d87f3a90ede395228fb615efe30f89e">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_h">- h -</a></h3><ul>
<li>HasClamp
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#464382606428ea9e2f9c9f9e95abf5da">XRgb2YCrCb_Config</a><li>HasClip
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bb2499cad56223074a0a4a8d307f4b02">XRgb2YCrCb_Config</a><li>HasDebug
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#2c4746d763168288603e9182145ce6b7">XRgb2YCrCb_Config</a><li>HasIntcIf
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#657a37da346f51991acfa0fc50842618">XRgb2YCrCb_Config</a><li>HSize
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#42d6853d660ac85830f097e1ae07a335">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
<li>IsReady
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#a2fc86da3c1847f0ef8bd94635b36f6c">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
<li>MasterAxisVideoFormat
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4092d74dfb73f98980d8009de9601891">XRgb2YCrCb_Config</a><li>MaxCols
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#d3810be27350fbb7bdfa149a971ddaca">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
<li>OutputRange
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#934250f63000188a18b2f7f8912ad3a7">XRgb2YCrCb</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#b558a7f3ea11220bd5ff95e7338bc29d">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
<li>ProcStartCallBack
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#27bdbdf889114bcdc4125b4e451ca692">XRgb2YCrCb</a><li>ProcStartRef
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#42b53f4981b4c1e3b6e3879269d10c01">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
<li>SlaveAxiClkFreqHz
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5149ad9e7772d05ad526cad9b1c86c88">XRgb2YCrCb_Config</a><li>SlaveAxisVideoFormat
: <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3220e48f788660a33451ce00a5742735">XRgb2YCrCb_Config</a><li>StandardSelection
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#3c30ef4ec31996beed6f29e852daf96d">XRgb2YCrCb</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#451716a1c6cca766053fc4ca555d7b32">XRgb2YCrCb_Config</a></ul>
<h3><a class="anchor" name="index_v">- v -</a></h3><ul>
<li>VSize
: <a class="el" href="struct_x_rgb2_y_cr_cb.html#fd9ceb0fa95a8a8898bce5b4ea7624a1">XRgb2YCrCb</a></ul>
<h3><a class="anchor" name="index_y">- y -</a></h3><ul>
<li>YMax
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#259b76480b09fa3ea902fb086f6464c1">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#a29e00d53ad1ee916506d4022680bc5b">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#840a37fceeb6d17c4d757aecadced018">XRgb2YCrCb_Config</a><li>YMin
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c56eb1748e229438613de1ff27b6a4f1">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#8706f60b90711e34f0ebb9359df7aa7c">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4637ea440d75eb971925c479a8f3fd7c">XRgb2YCrCb_Config</a><li>YOffset
: <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#91238050424eb013a8371656db037fcf">XRgb2YCrCb_Coef_Outputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#40288f4a7ac3625b88128e456ab4bf30">XRgb2YCrCb_Coef_Inputs</a>, <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3a9345e8621bab736fdfd5a3f55616b9">XRgb2YCrCb_Config</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -9,10 +9,11 @@
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.5 -->
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
@ -24,14 +25,224 @@
<ul>
<li id="current"><a href="globals.html"><span>All</span></a></li>
<li><a href="globals_func.html"><span>Functions</span></a></li>
<li><a href="globals_vars.html"><span>Variables</span></a></li>
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li><a href="globals_defs.html"><span>Defines</span></a></li>
</ul>
</div>
Here is a list of all documented file members with links to the documentation:
<div class="tabs">
<ul>
<li><a href="#index_o"><span>o</span></a></li>
<li><a href="#index_r"><span>r</span></a></li>
<li><a href="#index_s"><span>s</span></a></li>
<li><a href="#index_x"><span>x</span></a></li>
</ul>
</div>
<p>
<ul>
<li>RGB_coefficient_translation()
: <a class="el" href="rgb2ycrcb_8c.html#0d7b7a35650828fcd0fb66d5dffa916e">rgb2ycrcb.c</a><li>RGB_get_coefficients()
: <a class="el" href="rgb2ycrcb_8c.html#3d71c1b045854d33919ceaf20ac7340c">rgb2ycrcb.c</a><li>RGB_select_standard()
: <a class="el" href="rgb2ycrcb_8c.html#25c48a303a6f7a1104f4cded877a4583">rgb2ycrcb.c</a><li>RGB_set_coefficients()
: <a class="el" href="rgb2ycrcb_8c.html#1c43c123e1eed5398b407482ac35ae03">rgb2ycrcb.c</a></ul>
Here is a list of all file members with links to the files they belong to:
<p>
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
<li>OutputRanges
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c6">xrgb2ycrcb.h</a></ul>
<h3><a class="anchor" name="index_r">- r -</a></h3><ul>
<li>RGB_ACOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#616a4eb2772b5e711f6b3c9377fdf17d">xrgb2ycrcb_hw.h</a><li>RGB_ACTIVE_SIZE
: <a class="el" href="xrgb2ycrcb__hw_8h.html#92ca16317b28707534594aa3de44d415">xrgb2ycrcb_hw.h</a><li>RGB_BCOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b4f1dce12d3a268ddccad32601f6ed61">xrgb2ycrcb_hw.h</a><li>RGB_CBMAX
: <a class="el" href="xrgb2ycrcb__hw_8h.html#36c21024e4a8400db028140c162b3f90">xrgb2ycrcb_hw.h</a><li>RGB_CBMIN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#9f483d41f011aea3395a5b3c37fd58e0">xrgb2ycrcb_hw.h</a><li>RGB_CBOFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#efa2a4f9f9f1b0067e4976aae2d55fb9">xrgb2ycrcb_hw.h</a><li>RGB_CCOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#feda5a09ea27d6aed62a13e39e350f85">xrgb2ycrcb_hw.h</a><li>RGB_CONTROL
: <a class="el" href="xrgb2ycrcb__hw_8h.html#39d8467d044d344d63e8b91f9d9733f8">xrgb2ycrcb_hw.h</a><li>RGB_CRMAX
: <a class="el" href="xrgb2ycrcb__hw_8h.html#54595d11ca7635dfc7ce30f83d26ebc4">xrgb2ycrcb_hw.h</a><li>RGB_CRMIN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ecfdfde6e4050cc41569e7c9679bd8da">xrgb2ycrcb_hw.h</a><li>RGB_CROFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#49764c3b636c5aa2bc9c064c0199ddeb">xrgb2ycrcb_hw.h</a><li>RGB_CTL_EN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#c90df9c5ea87f40f87576bc0c0af670e">xrgb2ycrcb_hw.h</a><li>RGB_CTL_RUE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#09073a304bb8a8cc9aa279a4c4f205fe">xrgb2ycrcb_hw.h</a><li>RGB_DCOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#2409ecbd53bb85e875a12d28cbdd0def">xrgb2ycrcb_hw.h</a><li>RGB_ERROR
: <a class="el" href="xrgb2ycrcb__hw_8h.html#cb166e7d0b667975ab893542850d30cd">xrgb2ycrcb_hw.h</a><li>RGB_In32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1852225d0e0fde5ff516f84fbda16669">xrgb2ycrcb_hw.h</a><li>RGB_IRQ_EN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d05d30728383a95439418ce56de60fd9">xrgb2ycrcb_hw.h</a><li>RGB_Out32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#a1500e07b75f4f75a22cf90a3e883a32">xrgb2ycrcb_hw.h</a><li>RGB_RST_AUTORESET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1d99c0b351fc2a04b77345d5a4b6fa17">xrgb2ycrcb_hw.h</a><li>RGB_RST_RESET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7f3d129c5ec78e77cf8bd61c4e37ca82">xrgb2ycrcb_hw.h</a><li>RGB_STATUS
: <a class="el" href="xrgb2ycrcb__hw_8h.html#aaf805101fbdd214e19aadbecbfa42da">xrgb2ycrcb_hw.h</a><li>RGB_SYSDEBUG0
: <a class="el" href="xrgb2ycrcb__hw_8h.html#c742cc031ee46e6c0523e59ba2e81371">xrgb2ycrcb_hw.h</a><li>RGB_SYSDEBUG1
: <a class="el" href="xrgb2ycrcb__hw_8h.html#26719c7ada7014b012456560b71e8a4b">xrgb2ycrcb_hw.h</a><li>RGB_SYSDEBUG2
: <a class="el" href="xrgb2ycrcb__hw_8h.html#eb11768a9712de93942f59115864fd98">xrgb2ycrcb_hw.h</a><li>RGB_VERSION
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b44bfcbe030dfd37845dc19a7df07f54">xrgb2ycrcb_hw.h</a><li>RGB_YMAX
: <a class="el" href="xrgb2ycrcb__hw_8h.html#39a109ef649ebb935bcd87cf480d919e">xrgb2ycrcb_hw.h</a><li>RGB_YMIN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ee2e02bb138eb6261d806d2cd5634158">xrgb2ycrcb_hw.h</a><li>RGB_YOFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bcbb4cc1b10d85a06a7216309dcbd753">xrgb2ycrcb_hw.h</a></ul>
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
<li>Standards
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55d">xrgb2ycrcb.h</a></ul>
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
<li>XGMA_VER_REV_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#2c1deee9f0e16230ac013d15061526a8">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_CallBack
: <a class="el" href="xrgb2ycrcb_8h.html#1702f7820e21536ec63a9cbb17cef87d">xrgb2ycrcb.h</a><li>XRgb2YCrCb_CfgInitialize()
: <a class="el" href="xrgb2ycrcb_8h.html#584a818bca95b80de513294519c54ee2">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#584a818bca95b80de513294519c54ee2">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Coefficient_Translation()
: <a class="el" href="xrgb2ycrcb_8h.html#7f6dcc832ec6167f9cb7014a05b97768">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#548d29660d89f7e169bfec07d38a690e">xrgb2ycrcb.c</a><li>XRgb2YCrCb_ConfigTable
: <a class="el" href="xrgb2ycrcb__g_8c.html#6decb29879b6378db5c45dc99031adbd">xrgb2ycrcb_g.c</a><li>XRgb2YCrCb_Disable
: <a class="el" href="xrgb2ycrcb_8h.html#ddced83c1e119de6fb348e6e8913b9f5">xrgb2ycrcb.h</a><li>XRgb2YCrCb_DisableDbgBypass()
: <a class="el" href="xrgb2ycrcb_8h.html#bdcafa368136089da5d5206220f3c52c">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#bdcafa368136089da5d5206220f3c52c">xrgb2ycrcb.c</a><li>XRgb2YCrCb_DisableDbgTestPattern()
: <a class="el" href="xrgb2ycrcb_8h.html#96e9ad14631f0d111e13370d6de8687d">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#96e9ad14631f0d111e13370d6de8687d">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Enable
: <a class="el" href="xrgb2ycrcb_8h.html#ca68d500975fddc7bf07026b51bfad15">xrgb2ycrcb.h</a><li>XRgb2YCrCb_EnableDbgByPass()
: <a class="el" href="xrgb2ycrcb_8h.html#c742cc05360bb180cc57cc8fd6a7605f">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c742cc05360bb180cc57cc8fd6a7605f">xrgb2ycrcb.c</a><li>XRgb2YCrCb_EnableDbgTestPattern()
: <a class="el" href="xrgb2ycrcb_8h.html#5ec42003828e3e835f09ef7be76e4876">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#5ec42003828e3e835f09ef7be76e4876">xrgb2ycrcb.c</a><li>XRgb2YCrCb_ErrorCallBack
: <a class="el" href="xrgb2ycrcb_8h.html#e96c851cee969b14bd5e1f4b7fc0ecec">xrgb2ycrcb.h</a><li>XRgb2YCrCb_GetActiveSize()
: <a class="el" href="xrgb2ycrcb_8h.html#7d3723e8bae174fd28b4cc3f6e022cac">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#7d3723e8bae174fd28b4cc3f6e022cac">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCbMax()
: <a class="el" href="xrgb2ycrcb_8h.html#16a2ff2bbf296128593c05bf6208c35b">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#16a2ff2bbf296128593c05bf6208c35b">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCbMin()
: <a class="el" href="xrgb2ycrcb_8h.html#2fc6ca7fef260e69514ff025e25e5fc3">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#2fc6ca7fef260e69514ff025e25e5fc3">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCbOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#a1d2a2bf12afc210fa1ac924a7ba7fff">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#a1d2a2bf12afc210fa1ac924a7ba7fff">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCoefs()
: <a class="el" href="xrgb2ycrcb_8h.html#31708314941fd9212af057734436adb7">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#31708314941fd9212af057734436adb7">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCrMax()
: <a class="el" href="xrgb2ycrcb_8h.html#6e2b3f03de46204316376fb6b70efe15">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#6e2b3f03de46204316376fb6b70efe15">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCrMin()
: <a class="el" href="xrgb2ycrcb_8h.html#ee524e16f2ee827ad923f3c5919871e7">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#ee524e16f2ee827ad923f3c5919871e7">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCrOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#83eca3ac96dba90cf821ac8bac3234bd">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#83eca3ac96dba90cf821ac8bac3234bd">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetDbgFrameCount()
: <a class="el" href="xrgb2ycrcb_8h.html#05165c0c1bf1f8cd5e9db2651dc0390c">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#05165c0c1bf1f8cd5e9db2651dc0390c">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetDbgLineCount()
: <a class="el" href="xrgb2ycrcb_8h.html#6ea399e3c37faccfc3664e632f08e853">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#6ea399e3c37faccfc3664e632f08e853">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetDbgPixelCount()
: <a class="el" href="xrgb2ycrcb_8h.html#fa055f6e4fccf13e41fde0d51f196177">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#fa055f6e4fccf13e41fde0d51f196177">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetVersion()
: <a class="el" href="xrgb2ycrcb_8h.html#4d33f70be0091a541f59ccc2fae8b321">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#4d33f70be0091a541f59ccc2fae8b321">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetYMax()
: <a class="el" href="xrgb2ycrcb_8h.html#2b42bd16e5b9525bff94f9eabe19df1e">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#2b42bd16e5b9525bff94f9eabe19df1e">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetYMin()
: <a class="el" href="xrgb2ycrcb_8h.html#c15c6a85e4604f4c7716ebe69093917a">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c15c6a85e4604f4c7716ebe69093917a">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetYOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#c17bd369ba0e788e5dcbca27fb2c7940">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c17bd369ba0e788e5dcbca27fb2c7940">xrgb2ycrcb.c</a><li>XRGB2YCRCB_H_
: <a class="el" href="xrgb2ycrcb_8h.html#0f2556677bbc63053f7d5c7b099a193d">xrgb2ycrcb.h</a><li>XRGB2YCRCB_HW_H_
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ae583d1f8358f04a8c250ba1e3bbd26f">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_In32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#4daefbb12305f488581147b0944637d7">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_IntrClear
: <a class="el" href="xrgb2ycrcb_8h.html#aedcc0d56b1480b474d88db1d354fc11">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IntrDisable
: <a class="el" href="xrgb2ycrcb_8h.html#8651548e50dc633b1368eb6bea5332ea">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IntrEnable
: <a class="el" href="xrgb2ycrcb_8h.html#443ba65ccf504188e786f7364650fc4a">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IntrGetPending
: <a class="el" href="xrgb2ycrcb_8h.html#d1e2c46bdc4ccc094157839f1fe0c480">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IntrHandler()
: <a class="el" href="xrgb2ycrcb__intr_8c.html#3c5a12573ae8067fc5b00ccb8591fe91">xrgb2ycrcb_intr.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#3c5a12573ae8067fc5b00ccb8591fe91">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IsDbgByPassEnabled()
: <a class="el" href="xrgb2ycrcb_8h.html#3d35a1adbadf61ad019954a5f4587b75">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#3d35a1adbadf61ad019954a5f4587b75">xrgb2ycrcb.c</a><li>XRgb2YCrCb_IsDbgTestPatternEnabled()
: <a class="el" href="xrgb2ycrcb_8h.html#f6f98177fb8bded5d21fc68257a49064">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#f6f98177fb8bded5d21fc68257a49064">xrgb2ycrcb.c</a><li>XRgb2YCrCb_LookupConfig()
: <a class="el" href="xrgb2ycrcb__sinit_8c.html#2759e34bb0b2134ec1f694334ba92b77">xrgb2ycrcb_sinit.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#2759e34bb0b2134ec1f694334ba92b77">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Out32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#878aefddd360571d05e260f065210552">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_ReadReg
: <a class="el" href="xrgb2ycrcb__hw_8h.html#6674d0052e35ad32c02a773a39deb844">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_RegUpdateDisable
: <a class="el" href="xrgb2ycrcb_8h.html#8318672442e87588e708be47af32147c">xrgb2ycrcb.h</a><li>XRgb2YCrCb_RegUpdateEnable
: <a class="el" href="xrgb2ycrcb_8h.html#46c99c4878256389dcee6a88fe044c99">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Reset
: <a class="el" href="xrgb2ycrcb_8h.html#0b04666619aff89faa17dc61533e8d1b">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Select_OutputRange()
: <a class="el" href="xrgb2ycrcb_8h.html#0e04f3e832484adf482489bc807fa2f2">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#0e04f3e832484adf482489bc807fa2f2">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Select_Standard()
: <a class="el" href="xrgb2ycrcb_8h.html#80da5e38fa190e08dcfa1b1fa72c0941">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#80da5e38fa190e08dcfa1b1fa72c0941">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SelfTest()
: <a class="el" href="xrgb2ycrcb__selftest_8c.html#85ab691e6503911c9bfe9f2cb816c83e">xrgb2ycrcb_selftest.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#85ab691e6503911c9bfe9f2cb816c83e">xrgb2ycrcb.h</a><li>XRgb2YCrCb_SetActiveSize()
: <a class="el" href="xrgb2ycrcb_8h.html#068788cac52a17d49848da6443235ea1">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#068788cac52a17d49848da6443235ea1">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCallBack()
: <a class="el" href="xrgb2ycrcb__intr_8c.html#74f4b7d3e369d6d0fa5559096028b27c">xrgb2ycrcb_intr.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#74f4b7d3e369d6d0fa5559096028b27c">xrgb2ycrcb.h</a><li>XRgb2YCrCb_SetCbMax()
: <a class="el" href="xrgb2ycrcb_8h.html#a8918c65e3bd52acd1d0923a16a255eb">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#a8918c65e3bd52acd1d0923a16a255eb">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCbMin()
: <a class="el" href="xrgb2ycrcb_8h.html#af72e639f6ec9a424f316360852fbe61">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#af72e639f6ec9a424f316360852fbe61">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCbOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#216aa5281d270baf69de79daf425a465">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#216aa5281d270baf69de79daf425a465">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCoefs()
: <a class="el" href="xrgb2ycrcb_8h.html#2bb93dbcbf42c736cdcf61e9c75c93ce">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#2bb93dbcbf42c736cdcf61e9c75c93ce">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCrMax()
: <a class="el" href="xrgb2ycrcb_8h.html#09cb057bdb4c96b8a3d1ed2411fba8ff">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#09cb057bdb4c96b8a3d1ed2411fba8ff">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCrMin()
: <a class="el" href="xrgb2ycrcb_8h.html#7097a7fffb31f244f3d8b8980a41d7ed">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#7097a7fffb31f244f3d8b8980a41d7ed">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCrOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#3a4c66f6336a4ee35d36d0f95941f3af">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#3a4c66f6336a4ee35d36d0f95941f3af">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Setup()
: <a class="el" href="xrgb2ycrcb_8h.html#c99d692e475eb69dc95a666e58d06c7b">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c99d692e475eb69dc95a666e58d06c7b">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetYMax()
: <a class="el" href="xrgb2ycrcb_8h.html#fd685f798f6c43ce121eec09d3f5fe7f">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#fd685f798f6c43ce121eec09d3f5fe7f">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetYMin()
: <a class="el" href="xrgb2ycrcb_8h.html#8cfcf42b1428ad80a23abd74c8d4ca6b">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#8cfcf42b1428ad80a23abd74c8d4ca6b">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetYOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#b4c03e136fcf6039a16ac5e6a2422921">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#b4c03e136fcf6039a16ac5e6a2422921">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Start
: <a class="el" href="xrgb2ycrcb_8h.html#9929c543bd703217aa1ffd2e65786f8f">xrgb2ycrcb.h</a><li>XRgb2YCrCb_StatusGetPending
: <a class="el" href="xrgb2ycrcb_8h.html#843f421a7309000d9cf61370c9d61d54">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Stop
: <a class="el" href="xrgb2ycrcb_8h.html#0721492b5d9c9f19d63f36145dfe3daa">xrgb2ycrcb.h</a><li>XRgb2YCrCb_SyncReset
: <a class="el" href="xrgb2ycrcb_8h.html#3039aaaeb592a374e5a932d3b49d89c3">xrgb2ycrcb.h</a><li>XRgb2YCrCb_WriteReg
: <a class="el" href="xrgb2ycrcb__hw_8h.html#5a37cc9c43e6dae7a2ded7ccb97050ac">xrgb2ycrcb_hw.h</a><li>XRGB_16_BIT_COEF_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#fa6b59f481dbe93bea30e0d68ca10cc6">xrgb2ycrcb_hw.h</a><li>XRGB_16_BIT_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#432fbcf46a346960886aadaed6ed3c3b">xrgb2ycrcb_hw.h</a><li>XRGB_8_BIT_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b334c8f3a8ac134d99afceac435b0b13">xrgb2ycrcb_hw.h</a><li>XRGB_ACOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#2f6b41a17c43909b9f84795f768a7478">xrgb2ycrcb_hw.h</a><li>XRGB_ACTIVE_SIZE_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#372ed88b9e00090936618ba36339af22">xrgb2ycrcb_hw.h</a><li>XRGB_ACTSIZE_NUM_LINE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#80dbbf588ed1f83ab4294710903cefc1">xrgb2ycrcb_hw.h</a><li>XRGB_ACTSIZE_NUM_LINE_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#6cb01c42c2cdd4b1fb3b53b6d88486c7">xrgb2ycrcb_hw.h</a><li>XRGB_ACTSIZE_NUM_PIXEL_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bea7a7c13002a6eb6a656f43bde1d568">xrgb2ycrcb_hw.h</a><li>XRGB_BCOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#20ec77fc1de5825a50fc9c99b0ba9158">xrgb2ycrcb_hw.h</a><li>XRGB_CBMAX_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#6ecb464cc184f04c37a3ed80dfbe2c72">xrgb2ycrcb.h</a><li>XRGB_CBMAX_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#26bbea96e935156e2727acf178a17624">xrgb2ycrcb.h</a><li>XRGB_CBMAX_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#4169c61748e296fd95ae7de3d300df59">xrgb2ycrcb_hw.h</a><li>XRGB_CBMAX_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b4cc75802fd3d25f6753151dc6b58022">xrgb2ycrcb_hw.h</a><li>XRGB_CBMIN_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#74e8f93afc871bceaad7411036fa9d94">xrgb2ycrcb.h</a><li>XRGB_CBMIN_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#3552a5c90c02a96c6196ab48304d6032">xrgb2ycrcb.h</a><li>XRGB_CBMIN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#99f44f11f6c67f2faf65c4c4eac09f2a">xrgb2ycrcb_hw.h</a><li>XRGB_CBMIN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#c41ed314e615ad3ee0695fe389f8777f">xrgb2ycrcb_hw.h</a><li>XRGB_CBOFFSET_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#43e46c9092447e18e1fc53487d4814e4">xrgb2ycrcb.h</a><li>XRGB_CBOFFSET_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#3bd066b785fd991abf036ad12802285c">xrgb2ycrcb.h</a><li>XRGB_CBOFFSET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1b0882b62d72d99fef309669819533c8">xrgb2ycrcb_hw.h</a><li>XRGB_CBOFFSET_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bbbc4cf1a2cca4ee7c8ec3ead547a668">xrgb2ycrcb_hw.h</a><li>XRGB_CCOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b93f8e426044444df2c027a8b8aa0488">xrgb2ycrcb_hw.h</a><li>XRGB_COEFF_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#036770f79dbd29e580f80c1ea29f9610">xrgb2ycrcb_hw.h</a><li>XRGB_CONTROL_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#223ec96a988716a0ea51ec6b71c2fcc9">xrgb2ycrcb_hw.h</a><li>XRGB_CRMAX_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#236d1c41f907cd702f71e271d6439c1f">xrgb2ycrcb.h</a><li>XRGB_CRMAX_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#d6cdbc57d6bf41d48f00ea162633cd65">xrgb2ycrcb.h</a><li>XRGB_CRMAX_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#63ec7cbbc06ba17a58a6ea932f55cb93">xrgb2ycrcb_hw.h</a><li>XRGB_CRMAX_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b2a7c4d79509ffa4d43dafa843a9607d">xrgb2ycrcb_hw.h</a><li>XRGB_CRMIN_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#2f4f9ac5872726cc88182f263df93f95">xrgb2ycrcb.h</a><li>XRGB_CRMIN_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#810c4ff8381d0779a403832572caf4c1">xrgb2ycrcb.h</a><li>XRGB_CRMIN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1a0866fc6eea06a0ff217ad2fa6b67ad">xrgb2ycrcb_hw.h</a><li>XRGB_CRMIN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#9055eef6a96033880c859bcd36108b85">xrgb2ycrcb_hw.h</a><li>XRGB_CROFFSET_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#fa899806ea5782d1de53a13af67758db">xrgb2ycrcb.h</a><li>XRGB_CROFFSET_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#a82f4ebed079af667a6fc84df37aba16">xrgb2ycrcb.h</a><li>XRGB_CROFFSET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#385ad60625027ced7c04ec669df0feb7">xrgb2ycrcb_hw.h</a><li>XRGB_CROFFSET_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#0177b5de00944443779f948ba3fbaaaa">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_AUTORESET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8b43ebb923589b79774356cc8d1deeec">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_BPE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ae906f64d6e487dabca975b7962121ff">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_RESET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7bc010e8170554e53149e4f6adba691b">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_RUE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b10ae42723b22077647e7ab976310b39">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_SW_EN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#02ae9c4683a1b222240379c6859e3fde">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_TPE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#72bd1f57b6dcae71372f6a1839c9d123">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_10
: <a class="el" href="xrgb2ycrcb__hw_8h.html#967f2770f907745c401368e861b5fa46">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_12
: <a class="el" href="xrgb2ycrcb__hw_8h.html#916eeb610b21c7f2475d6098605ca873">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_16
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7497070df97883f886b45bb404172084">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_8
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1048dbcafb7de9cc86cfea27492ea112">xrgb2ycrcb_hw.h</a><li>XRGB_DCOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#0f63549e603f89bd75766e25136b6cb2">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_EOL_EARLY_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#f362f01ebd02c3532686e6a8a2b9fdde">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_EOL_LATE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d1558bf3d24efa6d98aac7c14b2c1bd2">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_SOF_EARLY_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#31a143fe125c2f9540fd93361abcbf73">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_SOF_LATE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#00986ef3369db5eba706caa7bf320f6f">xrgb2ycrcb_hw.h</a><li>XRGB_ERROR_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1fee5db01871bbd204b017c246513aa8">xrgb2ycrcb_hw.h</a><li>XRGB_GRAPHICS_0_TO_255
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c6d4e1234519f7141dc4a73dac14a721b6">xrgb2ycrcb.h</a><li>XRGB_HANDLER_ERROR
: <a class="el" href="xrgb2ycrcb_8h.html#06fc87d81c62e9abb8790b6e5713c55b6b3c2e25d7314105a4d036c97b52cc85">xrgb2ycrcb.h</a><li>XRGB_HANDLER_FRAMEDONE
: <a class="el" href="xrgb2ycrcb_8h.html#06fc87d81c62e9abb8790b6e5713c55b97fa64ebb6afef134fed2b532fd92ef0">xrgb2ycrcb.h</a><li>XRGB_HANDLER_PROCSTART
: <a class="el" href="xrgb2ycrcb_8h.html#06fc87d81c62e9abb8790b6e5713c55be82eac9d9296ce8760cfbc0b4a85fef1">xrgb2ycrcb.h</a><li>XRGB_HSIZE_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#4cc81210c6314993c94a8b088d01f6b9">xrgb2ycrcb.h</a><li>XRGB_HSIZE_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#eba9c3ac1ac3344427291e2335625376">xrgb2ycrcb.h</a><li>XRGB_IER_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#38c31955a11a4a1db812155785135237">xrgb2ycrcb_hw.h</a><li>XRGB_IRQ_EN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#4829d6198ed3483df52dbb16c65ac70a">xrgb2ycrcb_hw.h</a><li>XRGB_ISR_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8f5b08098d4b840e3ecc4274c309c630">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_ALLINTR_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#6ff85638bb879e7f6c46fb606b5a9282">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_EOF_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#01dbf65fcf04159faa48e72786a486d5">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_PROC_STARTED_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#5a9e250a12207a49921392a11b4782ab">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_SE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#653e88970ad309267309eef34af9a44a">xrgb2ycrcb_hw.h</a><li>XRGB_STANDARD_CUSTOM
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55db6653cae38717cd796554b9addd0239f">xrgb2ycrcb.h</a><li>XRGB_STANDARD_ITU_601_SD
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55df46fc4783402e68af1a74c8fbbf0d216">xrgb2ycrcb.h</a><li>XRGB_STANDARD_ITU_709_NTSC
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55d8d0692239ad7977aed88ba038a85b2d7">xrgb2ycrcb.h</a><li>XRGB_STANDARD_ITU_709_PAL
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55dab795d52f5605c9c02989856c953f60f">xrgb2ycrcb.h</a><li>XRGB_STANDARD_YUV
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55d397fff9d0dea3ba216a4a18cc321ab03">xrgb2ycrcb.h</a><li>XRGB_STATUS_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#439a6a780982bf5728b836b25566c6c0">xrgb2ycrcb_hw.h</a><li>XRGB_STUDIO_16_TO_235
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c6de20b10f698d847947e494e4370680f7">xrgb2ycrcb.h</a><li>XRGB_SYSDEBUG0_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7d4ede8cc0269a6a06c65a23fa750fba">xrgb2ycrcb_hw.h</a><li>XRGB_SYSDEBUG1_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8048bcd6b5e05ac6f762286332bd15e1">xrgb2ycrcb_hw.h</a><li>XRGB_SYSDEBUG2_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7806bf2eb556415b9ef4eed907c654ae">xrgb2ycrcb_hw.h</a><li>XRGB_TV_16_TO_240
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c66f69c367c43ecbb235c8ac3bc7e6fca4">xrgb2ycrcb.h</a><li>XRGB_VER_INTERNAL_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d6f2025f38a4ba9463e4e8c9029b96e7">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MAJOR_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d431cf9c6c751d6b060d6c9fd3c0305e">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MAJOR_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#97780be56ebd05df52303a70fbf37ee8">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MINOR_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8e748c6406d74d20d0a228b1da5398af">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MINOR_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ed6ed455a0e07549d806d45fa47043a2">xrgb2ycrcb_hw.h</a><li>XRGB_VER_PID_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b1690a2a7185ef5083e427bf96cc6403">xrgb2ycrcb_hw.h</a><li>XRGB_VER_REV_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#cb31cc64d465b2e05eb48e77d7f4a390">xrgb2ycrcb_hw.h</a><li>XRGB_VER_REV_NUM_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#a975a871743408bab1de48aa4c28c425">xrgb2ycrcb_hw.h</a><li>XRGB_VERSION_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#901d176b350cc06345371069aff229dc">xrgb2ycrcb_hw.h</a><li>XRGB_VSIZE_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#baf7f77907379288fed586470aaf5277">xrgb2ycrcb.h</a><li>XRGB_VSIZE_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#72f81858bedc09d18998db2ec178d4e2">xrgb2ycrcb.h</a><li>XRGB_YMAX_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#ea38b662f7ff34efaf69aae809d0acb0">xrgb2ycrcb.h</a><li>XRGB_YMAX_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#b41120156f164f513a9ddba0e22ee4ed">xrgb2ycrcb.h</a><li>XRGB_YMAX_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#dccd7294adb7f140d63d60e2242d21d0">xrgb2ycrcb_hw.h</a><li>XRGB_YMAX_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#fa9d2e4bc01eee059ba25ea409918b83">xrgb2ycrcb_hw.h</a><li>XRGB_YMIN_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#914b2158ea424ca91bc6b0184f9d9345">xrgb2ycrcb.h</a><li>XRGB_YMIN_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#63129ee41eb55c63e747d5db3027deea">xrgb2ycrcb.h</a><li>XRGB_YMIN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#5ce3325bbf25c9eb4cc3bc6343c30190">xrgb2ycrcb_hw.h</a><li>XRGB_YMIN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bb8e5021a0773d2e44945426494654d6">xrgb2ycrcb_hw.h</a><li>XRGB_YOFFSET_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#95b5c373dbc06ddfbf2a0841e791b983">xrgb2ycrcb.h</a><li>XRGB_YOFFSET_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#cd3206dd026fa1a8eccd5c963b6653a0">xrgb2ycrcb.h</a><li>XRGB_YOFFSET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#366ee32d399122db5d88a643d4a90839">xrgb2ycrcb_hw.h</a><li>XRGB_YOFFSET_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#27d3ad690fb15ddac7b5cfb375f153ed">xrgb2ycrcb_hw.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,185 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class Members
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li id="current"><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="globals.html"><span>All</span></a></li>
<li><a href="globals_func.html"><span>Functions</span></a></li>
<li><a href="globals_vars.html"><span>Variables</span></a></li>
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li id="current"><a href="globals_defs.html"><span>Defines</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="#index_r"><span>r</span></a></li>
<li><a href="#index_x"><span>x</span></a></li>
</ul>
</div>
<p>
&nbsp;
<p>
<h3><a class="anchor" name="index_r">- r -</a></h3><ul>
<li>RGB_ACOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#616a4eb2772b5e711f6b3c9377fdf17d">xrgb2ycrcb_hw.h</a><li>RGB_ACTIVE_SIZE
: <a class="el" href="xrgb2ycrcb__hw_8h.html#92ca16317b28707534594aa3de44d415">xrgb2ycrcb_hw.h</a><li>RGB_BCOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b4f1dce12d3a268ddccad32601f6ed61">xrgb2ycrcb_hw.h</a><li>RGB_CBMAX
: <a class="el" href="xrgb2ycrcb__hw_8h.html#36c21024e4a8400db028140c162b3f90">xrgb2ycrcb_hw.h</a><li>RGB_CBMIN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#9f483d41f011aea3395a5b3c37fd58e0">xrgb2ycrcb_hw.h</a><li>RGB_CBOFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#efa2a4f9f9f1b0067e4976aae2d55fb9">xrgb2ycrcb_hw.h</a><li>RGB_CCOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#feda5a09ea27d6aed62a13e39e350f85">xrgb2ycrcb_hw.h</a><li>RGB_CONTROL
: <a class="el" href="xrgb2ycrcb__hw_8h.html#39d8467d044d344d63e8b91f9d9733f8">xrgb2ycrcb_hw.h</a><li>RGB_CRMAX
: <a class="el" href="xrgb2ycrcb__hw_8h.html#54595d11ca7635dfc7ce30f83d26ebc4">xrgb2ycrcb_hw.h</a><li>RGB_CRMIN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ecfdfde6e4050cc41569e7c9679bd8da">xrgb2ycrcb_hw.h</a><li>RGB_CROFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#49764c3b636c5aa2bc9c064c0199ddeb">xrgb2ycrcb_hw.h</a><li>RGB_CTL_EN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#c90df9c5ea87f40f87576bc0c0af670e">xrgb2ycrcb_hw.h</a><li>RGB_CTL_RUE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#09073a304bb8a8cc9aa279a4c4f205fe">xrgb2ycrcb_hw.h</a><li>RGB_DCOEF
: <a class="el" href="xrgb2ycrcb__hw_8h.html#2409ecbd53bb85e875a12d28cbdd0def">xrgb2ycrcb_hw.h</a><li>RGB_ERROR
: <a class="el" href="xrgb2ycrcb__hw_8h.html#cb166e7d0b667975ab893542850d30cd">xrgb2ycrcb_hw.h</a><li>RGB_In32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1852225d0e0fde5ff516f84fbda16669">xrgb2ycrcb_hw.h</a><li>RGB_IRQ_EN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d05d30728383a95439418ce56de60fd9">xrgb2ycrcb_hw.h</a><li>RGB_Out32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#a1500e07b75f4f75a22cf90a3e883a32">xrgb2ycrcb_hw.h</a><li>RGB_RST_AUTORESET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1d99c0b351fc2a04b77345d5a4b6fa17">xrgb2ycrcb_hw.h</a><li>RGB_RST_RESET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7f3d129c5ec78e77cf8bd61c4e37ca82">xrgb2ycrcb_hw.h</a><li>RGB_STATUS
: <a class="el" href="xrgb2ycrcb__hw_8h.html#aaf805101fbdd214e19aadbecbfa42da">xrgb2ycrcb_hw.h</a><li>RGB_SYSDEBUG0
: <a class="el" href="xrgb2ycrcb__hw_8h.html#c742cc031ee46e6c0523e59ba2e81371">xrgb2ycrcb_hw.h</a><li>RGB_SYSDEBUG1
: <a class="el" href="xrgb2ycrcb__hw_8h.html#26719c7ada7014b012456560b71e8a4b">xrgb2ycrcb_hw.h</a><li>RGB_SYSDEBUG2
: <a class="el" href="xrgb2ycrcb__hw_8h.html#eb11768a9712de93942f59115864fd98">xrgb2ycrcb_hw.h</a><li>RGB_VERSION
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b44bfcbe030dfd37845dc19a7df07f54">xrgb2ycrcb_hw.h</a><li>RGB_YMAX
: <a class="el" href="xrgb2ycrcb__hw_8h.html#39a109ef649ebb935bcd87cf480d919e">xrgb2ycrcb_hw.h</a><li>RGB_YMIN
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ee2e02bb138eb6261d806d2cd5634158">xrgb2ycrcb_hw.h</a><li>RGB_YOFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bcbb4cc1b10d85a06a7216309dcbd753">xrgb2ycrcb_hw.h</a></ul>
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
<li>XGMA_VER_REV_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#2c1deee9f0e16230ac013d15061526a8">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_Disable
: <a class="el" href="xrgb2ycrcb_8h.html#ddced83c1e119de6fb348e6e8913b9f5">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Enable
: <a class="el" href="xrgb2ycrcb_8h.html#ca68d500975fddc7bf07026b51bfad15">xrgb2ycrcb.h</a><li>XRGB2YCRCB_H_
: <a class="el" href="xrgb2ycrcb_8h.html#0f2556677bbc63053f7d5c7b099a193d">xrgb2ycrcb.h</a><li>XRGB2YCRCB_HW_H_
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ae583d1f8358f04a8c250ba1e3bbd26f">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_In32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#4daefbb12305f488581147b0944637d7">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_IntrClear
: <a class="el" href="xrgb2ycrcb_8h.html#aedcc0d56b1480b474d88db1d354fc11">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IntrDisable
: <a class="el" href="xrgb2ycrcb_8h.html#8651548e50dc633b1368eb6bea5332ea">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IntrEnable
: <a class="el" href="xrgb2ycrcb_8h.html#443ba65ccf504188e786f7364650fc4a">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IntrGetPending
: <a class="el" href="xrgb2ycrcb_8h.html#d1e2c46bdc4ccc094157839f1fe0c480">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Out32
: <a class="el" href="xrgb2ycrcb__hw_8h.html#878aefddd360571d05e260f065210552">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_ReadReg
: <a class="el" href="xrgb2ycrcb__hw_8h.html#6674d0052e35ad32c02a773a39deb844">xrgb2ycrcb_hw.h</a><li>XRgb2YCrCb_RegUpdateDisable
: <a class="el" href="xrgb2ycrcb_8h.html#8318672442e87588e708be47af32147c">xrgb2ycrcb.h</a><li>XRgb2YCrCb_RegUpdateEnable
: <a class="el" href="xrgb2ycrcb_8h.html#46c99c4878256389dcee6a88fe044c99">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Reset
: <a class="el" href="xrgb2ycrcb_8h.html#0b04666619aff89faa17dc61533e8d1b">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Start
: <a class="el" href="xrgb2ycrcb_8h.html#9929c543bd703217aa1ffd2e65786f8f">xrgb2ycrcb.h</a><li>XRgb2YCrCb_StatusGetPending
: <a class="el" href="xrgb2ycrcb_8h.html#843f421a7309000d9cf61370c9d61d54">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Stop
: <a class="el" href="xrgb2ycrcb_8h.html#0721492b5d9c9f19d63f36145dfe3daa">xrgb2ycrcb.h</a><li>XRgb2YCrCb_SyncReset
: <a class="el" href="xrgb2ycrcb_8h.html#3039aaaeb592a374e5a932d3b49d89c3">xrgb2ycrcb.h</a><li>XRgb2YCrCb_WriteReg
: <a class="el" href="xrgb2ycrcb__hw_8h.html#5a37cc9c43e6dae7a2ded7ccb97050ac">xrgb2ycrcb_hw.h</a><li>XRGB_16_BIT_COEF_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#fa6b59f481dbe93bea30e0d68ca10cc6">xrgb2ycrcb_hw.h</a><li>XRGB_16_BIT_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#432fbcf46a346960886aadaed6ed3c3b">xrgb2ycrcb_hw.h</a><li>XRGB_8_BIT_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b334c8f3a8ac134d99afceac435b0b13">xrgb2ycrcb_hw.h</a><li>XRGB_ACOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#2f6b41a17c43909b9f84795f768a7478">xrgb2ycrcb_hw.h</a><li>XRGB_ACTIVE_SIZE_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#372ed88b9e00090936618ba36339af22">xrgb2ycrcb_hw.h</a><li>XRGB_ACTSIZE_NUM_LINE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#80dbbf588ed1f83ab4294710903cefc1">xrgb2ycrcb_hw.h</a><li>XRGB_ACTSIZE_NUM_LINE_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#6cb01c42c2cdd4b1fb3b53b6d88486c7">xrgb2ycrcb_hw.h</a><li>XRGB_ACTSIZE_NUM_PIXEL_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bea7a7c13002a6eb6a656f43bde1d568">xrgb2ycrcb_hw.h</a><li>XRGB_BCOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#20ec77fc1de5825a50fc9c99b0ba9158">xrgb2ycrcb_hw.h</a><li>XRGB_CBMAX_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#6ecb464cc184f04c37a3ed80dfbe2c72">xrgb2ycrcb.h</a><li>XRGB_CBMAX_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#26bbea96e935156e2727acf178a17624">xrgb2ycrcb.h</a><li>XRGB_CBMAX_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#4169c61748e296fd95ae7de3d300df59">xrgb2ycrcb_hw.h</a><li>XRGB_CBMAX_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b4cc75802fd3d25f6753151dc6b58022">xrgb2ycrcb_hw.h</a><li>XRGB_CBMIN_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#74e8f93afc871bceaad7411036fa9d94">xrgb2ycrcb.h</a><li>XRGB_CBMIN_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#3552a5c90c02a96c6196ab48304d6032">xrgb2ycrcb.h</a><li>XRGB_CBMIN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#99f44f11f6c67f2faf65c4c4eac09f2a">xrgb2ycrcb_hw.h</a><li>XRGB_CBMIN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#c41ed314e615ad3ee0695fe389f8777f">xrgb2ycrcb_hw.h</a><li>XRGB_CBOFFSET_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#43e46c9092447e18e1fc53487d4814e4">xrgb2ycrcb.h</a><li>XRGB_CBOFFSET_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#3bd066b785fd991abf036ad12802285c">xrgb2ycrcb.h</a><li>XRGB_CBOFFSET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1b0882b62d72d99fef309669819533c8">xrgb2ycrcb_hw.h</a><li>XRGB_CBOFFSET_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bbbc4cf1a2cca4ee7c8ec3ead547a668">xrgb2ycrcb_hw.h</a><li>XRGB_CCOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b93f8e426044444df2c027a8b8aa0488">xrgb2ycrcb_hw.h</a><li>XRGB_COEFF_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#036770f79dbd29e580f80c1ea29f9610">xrgb2ycrcb_hw.h</a><li>XRGB_CONTROL_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#223ec96a988716a0ea51ec6b71c2fcc9">xrgb2ycrcb_hw.h</a><li>XRGB_CRMAX_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#236d1c41f907cd702f71e271d6439c1f">xrgb2ycrcb.h</a><li>XRGB_CRMAX_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#d6cdbc57d6bf41d48f00ea162633cd65">xrgb2ycrcb.h</a><li>XRGB_CRMAX_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#63ec7cbbc06ba17a58a6ea932f55cb93">xrgb2ycrcb_hw.h</a><li>XRGB_CRMAX_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b2a7c4d79509ffa4d43dafa843a9607d">xrgb2ycrcb_hw.h</a><li>XRGB_CRMIN_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#2f4f9ac5872726cc88182f263df93f95">xrgb2ycrcb.h</a><li>XRGB_CRMIN_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#810c4ff8381d0779a403832572caf4c1">xrgb2ycrcb.h</a><li>XRGB_CRMIN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1a0866fc6eea06a0ff217ad2fa6b67ad">xrgb2ycrcb_hw.h</a><li>XRGB_CRMIN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#9055eef6a96033880c859bcd36108b85">xrgb2ycrcb_hw.h</a><li>XRGB_CROFFSET_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#fa899806ea5782d1de53a13af67758db">xrgb2ycrcb.h</a><li>XRGB_CROFFSET_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#a82f4ebed079af667a6fc84df37aba16">xrgb2ycrcb.h</a><li>XRGB_CROFFSET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#385ad60625027ced7c04ec669df0feb7">xrgb2ycrcb_hw.h</a><li>XRGB_CROFFSET_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#0177b5de00944443779f948ba3fbaaaa">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_AUTORESET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8b43ebb923589b79774356cc8d1deeec">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_BPE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ae906f64d6e487dabca975b7962121ff">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_RESET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7bc010e8170554e53149e4f6adba691b">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_RUE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b10ae42723b22077647e7ab976310b39">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_SW_EN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#02ae9c4683a1b222240379c6859e3fde">xrgb2ycrcb_hw.h</a><li>XRGB_CTL_TPE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#72bd1f57b6dcae71372f6a1839c9d123">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_10
: <a class="el" href="xrgb2ycrcb__hw_8h.html#967f2770f907745c401368e861b5fa46">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_12
: <a class="el" href="xrgb2ycrcb__hw_8h.html#916eeb610b21c7f2475d6098605ca873">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_16
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7497070df97883f886b45bb404172084">xrgb2ycrcb_hw.h</a><li>XRGB_DATA_WIDTH_8
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1048dbcafb7de9cc86cfea27492ea112">xrgb2ycrcb_hw.h</a><li>XRGB_DCOEF_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#0f63549e603f89bd75766e25136b6cb2">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_EOL_EARLY_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#f362f01ebd02c3532686e6a8a2b9fdde">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_EOL_LATE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d1558bf3d24efa6d98aac7c14b2c1bd2">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_SOF_EARLY_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#31a143fe125c2f9540fd93361abcbf73">xrgb2ycrcb_hw.h</a><li>XRGB_ERR_SOF_LATE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#00986ef3369db5eba706caa7bf320f6f">xrgb2ycrcb_hw.h</a><li>XRGB_ERROR_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#1fee5db01871bbd204b017c246513aa8">xrgb2ycrcb_hw.h</a><li>XRGB_HSIZE_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#4cc81210c6314993c94a8b088d01f6b9">xrgb2ycrcb.h</a><li>XRGB_HSIZE_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#eba9c3ac1ac3344427291e2335625376">xrgb2ycrcb.h</a><li>XRGB_IER_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#38c31955a11a4a1db812155785135237">xrgb2ycrcb_hw.h</a><li>XRGB_IRQ_EN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#4829d6198ed3483df52dbb16c65ac70a">xrgb2ycrcb_hw.h</a><li>XRGB_ISR_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8f5b08098d4b840e3ecc4274c309c630">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_ALLINTR_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#6ff85638bb879e7f6c46fb606b5a9282">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_EOF_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#01dbf65fcf04159faa48e72786a486d5">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_PROC_STARTED_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#5a9e250a12207a49921392a11b4782ab">xrgb2ycrcb_hw.h</a><li>XRGB_IXR_SE_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#653e88970ad309267309eef34af9a44a">xrgb2ycrcb_hw.h</a><li>XRGB_STATUS_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#439a6a780982bf5728b836b25566c6c0">xrgb2ycrcb_hw.h</a><li>XRGB_SYSDEBUG0_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7d4ede8cc0269a6a06c65a23fa750fba">xrgb2ycrcb_hw.h</a><li>XRGB_SYSDEBUG1_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8048bcd6b5e05ac6f762286332bd15e1">xrgb2ycrcb_hw.h</a><li>XRGB_SYSDEBUG2_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#7806bf2eb556415b9ef4eed907c654ae">xrgb2ycrcb_hw.h</a><li>XRGB_VER_INTERNAL_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d6f2025f38a4ba9463e4e8c9029b96e7">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MAJOR_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#d431cf9c6c751d6b060d6c9fd3c0305e">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MAJOR_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#97780be56ebd05df52303a70fbf37ee8">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MINOR_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#8e748c6406d74d20d0a228b1da5398af">xrgb2ycrcb_hw.h</a><li>XRGB_VER_MINOR_SHIFT
: <a class="el" href="xrgb2ycrcb__hw_8h.html#ed6ed455a0e07549d806d45fa47043a2">xrgb2ycrcb_hw.h</a><li>XRGB_VER_PID_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#b1690a2a7185ef5083e427bf96cc6403">xrgb2ycrcb_hw.h</a><li>XRGB_VER_REV_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#cb31cc64d465b2e05eb48e77d7f4a390">xrgb2ycrcb_hw.h</a><li>XRGB_VER_REV_NUM_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#a975a871743408bab1de48aa4c28c425">xrgb2ycrcb_hw.h</a><li>XRGB_VERSION_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#901d176b350cc06345371069aff229dc">xrgb2ycrcb_hw.h</a><li>XRGB_VSIZE_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#baf7f77907379288fed586470aaf5277">xrgb2ycrcb.h</a><li>XRGB_VSIZE_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#72f81858bedc09d18998db2ec178d4e2">xrgb2ycrcb.h</a><li>XRGB_YMAX_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#ea38b662f7ff34efaf69aae809d0acb0">xrgb2ycrcb.h</a><li>XRGB_YMAX_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#b41120156f164f513a9ddba0e22ee4ed">xrgb2ycrcb.h</a><li>XRGB_YMAX_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#dccd7294adb7f140d63d60e2242d21d0">xrgb2ycrcb_hw.h</a><li>XRGB_YMAX_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#fa9d2e4bc01eee059ba25ea409918b83">xrgb2ycrcb_hw.h</a><li>XRGB_YMIN_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#914b2158ea424ca91bc6b0184f9d9345">xrgb2ycrcb.h</a><li>XRGB_YMIN_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#63129ee41eb55c63e747d5db3027deea">xrgb2ycrcb.h</a><li>XRGB_YMIN_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#5ce3325bbf25c9eb4cc3bc6343c30190">xrgb2ycrcb_hw.h</a><li>XRGB_YMIN_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#bb8e5021a0773d2e44945426494654d6">xrgb2ycrcb_hw.h</a><li>XRGB_YOFFSET_FIRST
: <a class="el" href="xrgb2ycrcb_8h.html#95b5c373dbc06ddfbf2a0841e791b983">xrgb2ycrcb.h</a><li>XRGB_YOFFSET_LAST
: <a class="el" href="xrgb2ycrcb_8h.html#cd3206dd026fa1a8eccd5c963b6653a0">xrgb2ycrcb.h</a><li>XRGB_YOFFSET_MASK
: <a class="el" href="xrgb2ycrcb__hw_8h.html#366ee32d399122db5d88a643d4a90839">xrgb2ycrcb_hw.h</a><li>XRGB_YOFFSET_OFFSET
: <a class="el" href="xrgb2ycrcb__hw_8h.html#27d3ad690fb15ddac7b5cfb375f153ed">xrgb2ycrcb_hw.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,41 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class Members
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li id="current"><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="globals.html"><span>All</span></a></li>
<li><a href="globals_func.html"><span>Functions</span></a></li>
<li><a href="globals_vars.html"><span>Variables</span></a></li>
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
<li id="current"><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li><a href="globals_defs.html"><span>Defines</span></a></li>
</ul>
</div>
&nbsp;
<p>
<ul>
<li>OutputRanges
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c6">xrgb2ycrcb.h</a><li>Standards
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55d">xrgb2ycrcb.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,50 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class Members
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li id="current"><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="globals.html"><span>All</span></a></li>
<li><a href="globals_func.html"><span>Functions</span></a></li>
<li><a href="globals_vars.html"><span>Variables</span></a></li>
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li id="current"><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li><a href="globals_defs.html"><span>Defines</span></a></li>
</ul>
</div>
&nbsp;
<p>
<ul>
<li>XRGB_GRAPHICS_0_TO_255
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c6d4e1234519f7141dc4a73dac14a721b6">xrgb2ycrcb.h</a><li>XRGB_HANDLER_ERROR
: <a class="el" href="xrgb2ycrcb_8h.html#06fc87d81c62e9abb8790b6e5713c55b6b3c2e25d7314105a4d036c97b52cc85">xrgb2ycrcb.h</a><li>XRGB_HANDLER_FRAMEDONE
: <a class="el" href="xrgb2ycrcb_8h.html#06fc87d81c62e9abb8790b6e5713c55b97fa64ebb6afef134fed2b532fd92ef0">xrgb2ycrcb.h</a><li>XRGB_HANDLER_PROCSTART
: <a class="el" href="xrgb2ycrcb_8h.html#06fc87d81c62e9abb8790b6e5713c55be82eac9d9296ce8760cfbc0b4a85fef1">xrgb2ycrcb.h</a><li>XRGB_STANDARD_CUSTOM
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55db6653cae38717cd796554b9addd0239f">xrgb2ycrcb.h</a><li>XRGB_STANDARD_ITU_601_SD
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55df46fc4783402e68af1a74c8fbbf0d216">xrgb2ycrcb.h</a><li>XRGB_STANDARD_ITU_709_NTSC
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55d8d0692239ad7977aed88ba038a85b2d7">xrgb2ycrcb.h</a><li>XRGB_STANDARD_ITU_709_PAL
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55dab795d52f5605c9c02989856c953f60f">xrgb2ycrcb.h</a><li>XRGB_STANDARD_YUV
: <a class="el" href="xrgb2ycrcb_8h.html#1e26713d0e6ef278ede893feaae2c55d397fff9d0dea3ba216a4a18cc321ab03">xrgb2ycrcb.h</a><li>XRGB_STUDIO_16_TO_235
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c6de20b10f698d847947e494e4370680f7">xrgb2ycrcb.h</a><li>XRGB_TV_16_TO_240
: <a class="el" href="xrgb2ycrcb_8h.html#a9c553a5835e996be86db99d5d5b14c66f69c367c43ecbb235c8ac3bc7e6fca4">xrgb2ycrcb.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -9,10 +9,11 @@
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.5 -->
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
@ -24,14 +25,63 @@
<ul>
<li><a href="globals.html"><span>All</span></a></li>
<li id="current"><a href="globals_func.html"><span>Functions</span></a></li>
<li><a href="globals_vars.html"><span>Variables</span></a></li>
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li><a href="globals_defs.html"><span>Defines</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="#index_x"><span>x</span></a></li>
</ul>
</div>
<p>
&nbsp;
<p>
<ul>
<li>RGB_coefficient_translation()
: <a class="el" href="rgb2ycrcb_8c.html#0d7b7a35650828fcd0fb66d5dffa916e">rgb2ycrcb.c</a><li>RGB_get_coefficients()
: <a class="el" href="rgb2ycrcb_8c.html#3d71c1b045854d33919ceaf20ac7340c">rgb2ycrcb.c</a><li>RGB_select_standard()
: <a class="el" href="rgb2ycrcb_8c.html#25c48a303a6f7a1104f4cded877a4583">rgb2ycrcb.c</a><li>RGB_set_coefficients()
: <a class="el" href="rgb2ycrcb_8c.html#1c43c123e1eed5398b407482ac35ae03">rgb2ycrcb.c</a></ul>
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
<li>XRgb2YCrCb_CfgInitialize()
: <a class="el" href="xrgb2ycrcb_8h.html#584a818bca95b80de513294519c54ee2">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#584a818bca95b80de513294519c54ee2">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Coefficient_Translation()
: <a class="el" href="xrgb2ycrcb_8h.html#7f6dcc832ec6167f9cb7014a05b97768">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#548d29660d89f7e169bfec07d38a690e">xrgb2ycrcb.c</a><li>XRgb2YCrCb_DisableDbgBypass()
: <a class="el" href="xrgb2ycrcb_8h.html#bdcafa368136089da5d5206220f3c52c">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#bdcafa368136089da5d5206220f3c52c">xrgb2ycrcb.c</a><li>XRgb2YCrCb_DisableDbgTestPattern()
: <a class="el" href="xrgb2ycrcb_8h.html#96e9ad14631f0d111e13370d6de8687d">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#96e9ad14631f0d111e13370d6de8687d">xrgb2ycrcb.c</a><li>XRgb2YCrCb_EnableDbgByPass()
: <a class="el" href="xrgb2ycrcb_8h.html#c742cc05360bb180cc57cc8fd6a7605f">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c742cc05360bb180cc57cc8fd6a7605f">xrgb2ycrcb.c</a><li>XRgb2YCrCb_EnableDbgTestPattern()
: <a class="el" href="xrgb2ycrcb_8h.html#5ec42003828e3e835f09ef7be76e4876">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#5ec42003828e3e835f09ef7be76e4876">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetActiveSize()
: <a class="el" href="xrgb2ycrcb_8h.html#7d3723e8bae174fd28b4cc3f6e022cac">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#7d3723e8bae174fd28b4cc3f6e022cac">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCbMax()
: <a class="el" href="xrgb2ycrcb_8h.html#16a2ff2bbf296128593c05bf6208c35b">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#16a2ff2bbf296128593c05bf6208c35b">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCbMin()
: <a class="el" href="xrgb2ycrcb_8h.html#2fc6ca7fef260e69514ff025e25e5fc3">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#2fc6ca7fef260e69514ff025e25e5fc3">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCbOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#a1d2a2bf12afc210fa1ac924a7ba7fff">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#a1d2a2bf12afc210fa1ac924a7ba7fff">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCoefs()
: <a class="el" href="xrgb2ycrcb_8h.html#31708314941fd9212af057734436adb7">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#31708314941fd9212af057734436adb7">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCrMax()
: <a class="el" href="xrgb2ycrcb_8h.html#6e2b3f03de46204316376fb6b70efe15">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#6e2b3f03de46204316376fb6b70efe15">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCrMin()
: <a class="el" href="xrgb2ycrcb_8h.html#ee524e16f2ee827ad923f3c5919871e7">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#ee524e16f2ee827ad923f3c5919871e7">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetCrOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#83eca3ac96dba90cf821ac8bac3234bd">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#83eca3ac96dba90cf821ac8bac3234bd">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetDbgFrameCount()
: <a class="el" href="xrgb2ycrcb_8h.html#05165c0c1bf1f8cd5e9db2651dc0390c">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#05165c0c1bf1f8cd5e9db2651dc0390c">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetDbgLineCount()
: <a class="el" href="xrgb2ycrcb_8h.html#6ea399e3c37faccfc3664e632f08e853">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#6ea399e3c37faccfc3664e632f08e853">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetDbgPixelCount()
: <a class="el" href="xrgb2ycrcb_8h.html#fa055f6e4fccf13e41fde0d51f196177">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#fa055f6e4fccf13e41fde0d51f196177">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetVersion()
: <a class="el" href="xrgb2ycrcb_8h.html#4d33f70be0091a541f59ccc2fae8b321">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#4d33f70be0091a541f59ccc2fae8b321">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetYMax()
: <a class="el" href="xrgb2ycrcb_8h.html#2b42bd16e5b9525bff94f9eabe19df1e">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#2b42bd16e5b9525bff94f9eabe19df1e">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetYMin()
: <a class="el" href="xrgb2ycrcb_8h.html#c15c6a85e4604f4c7716ebe69093917a">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c15c6a85e4604f4c7716ebe69093917a">xrgb2ycrcb.c</a><li>XRgb2YCrCb_GetYOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#c17bd369ba0e788e5dcbca27fb2c7940">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c17bd369ba0e788e5dcbca27fb2c7940">xrgb2ycrcb.c</a><li>XRgb2YCrCb_IntrHandler()
: <a class="el" href="xrgb2ycrcb__intr_8c.html#3c5a12573ae8067fc5b00ccb8591fe91">xrgb2ycrcb_intr.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#3c5a12573ae8067fc5b00ccb8591fe91">xrgb2ycrcb.h</a><li>XRgb2YCrCb_IsDbgByPassEnabled()
: <a class="el" href="xrgb2ycrcb_8h.html#3d35a1adbadf61ad019954a5f4587b75">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#3d35a1adbadf61ad019954a5f4587b75">xrgb2ycrcb.c</a><li>XRgb2YCrCb_IsDbgTestPatternEnabled()
: <a class="el" href="xrgb2ycrcb_8h.html#f6f98177fb8bded5d21fc68257a49064">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#f6f98177fb8bded5d21fc68257a49064">xrgb2ycrcb.c</a><li>XRgb2YCrCb_LookupConfig()
: <a class="el" href="xrgb2ycrcb__sinit_8c.html#2759e34bb0b2134ec1f694334ba92b77">xrgb2ycrcb_sinit.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#2759e34bb0b2134ec1f694334ba92b77">xrgb2ycrcb.h</a><li>XRgb2YCrCb_Select_OutputRange()
: <a class="el" href="xrgb2ycrcb_8h.html#0e04f3e832484adf482489bc807fa2f2">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#0e04f3e832484adf482489bc807fa2f2">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Select_Standard()
: <a class="el" href="xrgb2ycrcb_8h.html#80da5e38fa190e08dcfa1b1fa72c0941">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#80da5e38fa190e08dcfa1b1fa72c0941">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SelfTest()
: <a class="el" href="xrgb2ycrcb__selftest_8c.html#85ab691e6503911c9bfe9f2cb816c83e">xrgb2ycrcb_selftest.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#85ab691e6503911c9bfe9f2cb816c83e">xrgb2ycrcb.h</a><li>XRgb2YCrCb_SetActiveSize()
: <a class="el" href="xrgb2ycrcb_8h.html#068788cac52a17d49848da6443235ea1">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#068788cac52a17d49848da6443235ea1">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCallBack()
: <a class="el" href="xrgb2ycrcb__intr_8c.html#74f4b7d3e369d6d0fa5559096028b27c">xrgb2ycrcb_intr.c</a>, <a class="el" href="xrgb2ycrcb_8h.html#74f4b7d3e369d6d0fa5559096028b27c">xrgb2ycrcb.h</a><li>XRgb2YCrCb_SetCbMax()
: <a class="el" href="xrgb2ycrcb_8h.html#a8918c65e3bd52acd1d0923a16a255eb">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#a8918c65e3bd52acd1d0923a16a255eb">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCbMin()
: <a class="el" href="xrgb2ycrcb_8h.html#af72e639f6ec9a424f316360852fbe61">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#af72e639f6ec9a424f316360852fbe61">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCbOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#216aa5281d270baf69de79daf425a465">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#216aa5281d270baf69de79daf425a465">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCoefs()
: <a class="el" href="xrgb2ycrcb_8h.html#2bb93dbcbf42c736cdcf61e9c75c93ce">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#2bb93dbcbf42c736cdcf61e9c75c93ce">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCrMax()
: <a class="el" href="xrgb2ycrcb_8h.html#09cb057bdb4c96b8a3d1ed2411fba8ff">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#09cb057bdb4c96b8a3d1ed2411fba8ff">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCrMin()
: <a class="el" href="xrgb2ycrcb_8h.html#7097a7fffb31f244f3d8b8980a41d7ed">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#7097a7fffb31f244f3d8b8980a41d7ed">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetCrOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#3a4c66f6336a4ee35d36d0f95941f3af">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#3a4c66f6336a4ee35d36d0f95941f3af">xrgb2ycrcb.c</a><li>XRgb2YCrCb_Setup()
: <a class="el" href="xrgb2ycrcb_8h.html#c99d692e475eb69dc95a666e58d06c7b">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#c99d692e475eb69dc95a666e58d06c7b">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetYMax()
: <a class="el" href="xrgb2ycrcb_8h.html#fd685f798f6c43ce121eec09d3f5fe7f">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#fd685f798f6c43ce121eec09d3f5fe7f">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetYMin()
: <a class="el" href="xrgb2ycrcb_8h.html#8cfcf42b1428ad80a23abd74c8d4ca6b">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#8cfcf42b1428ad80a23abd74c8d4ca6b">xrgb2ycrcb.c</a><li>XRgb2YCrCb_SetYOffset()
: <a class="el" href="xrgb2ycrcb_8h.html#b4c03e136fcf6039a16ac5e6a2422921">xrgb2ycrcb.h</a>, <a class="el" href="xrgb2ycrcb_8c.html#b4c03e136fcf6039a16ac5e6a2422921">xrgb2ycrcb.c</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,41 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class Members
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li id="current"><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="globals.html"><span>All</span></a></li>
<li><a href="globals_func.html"><span>Functions</span></a></li>
<li><a href="globals_vars.html"><span>Variables</span></a></li>
<li id="current"><a href="globals_type.html"><span>Typedefs</span></a></li>
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li><a href="globals_defs.html"><span>Defines</span></a></li>
</ul>
</div>
&nbsp;
<p>
<ul>
<li>XRgb2YCrCb_CallBack
: <a class="el" href="xrgb2ycrcb_8h.html#1702f7820e21536ec63a9cbb17cef87d">xrgb2ycrcb.h</a><li>XRgb2YCrCb_ErrorCallBack
: <a class="el" href="xrgb2ycrcb_8h.html#e96c851cee969b14bd5e1f4b7fc0ecec">xrgb2ycrcb.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,40 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Class Members
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li id="current"><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="globals.html"><span>All</span></a></li>
<li><a href="globals_func.html"><span>Functions</span></a></li>
<li id="current"><a href="globals_vars.html"><span>Variables</span></a></li>
<li><a href="globals_type.html"><span>Typedefs</span></a></li>
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li><a href="globals_defs.html"><span>Defines</span></a></li>
</ul>
</div>
&nbsp;
<p>
<ul>
<li>XRgb2YCrCb_ConfigTable
: <a class="el" href="xrgb2ycrcb__g_8c.html#6decb29879b6378db5c45dc99031adbd">xrgb2ycrcb_g.c</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -2,21 +2,112 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
rgb2ycrcb v6_0
RGB2YCRCB V7_0
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.5 -->
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li id="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<h1>rgb2ycrcb v6_0</h1>
<h1>RGB2YCRCB V7_0</h1>
<p>
This header file contains identifiers and register-level driver functions (or macros) that can be used to access the Xilinx RGB to YCrCb Color Space Converter (RGB2YCRCB) device.<p>
MODIFICATION HISTORY:<p>
Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 5.00a tb 02/27/12 Updated for RGB2YCRCB V5.00.a 5.01a bao 12/28/12 Converted from xio.h to xil_io.h, translating basic types, MB cache functions, exceptions and assertions to xil_io format 6.0 adk 19/12/13 Updated as per the New Tcl API's Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
This header file contains identifiers and register-level driver functions (or macros), range macros, structure typedefs that can be used to access the Xilinx Rgb2YCrCb core instance.<p>
The RGB to YCrCb Color-Space Convertor core is a simplified 3x3 matrix multiplier converts three input color samples to three output samples in a single clock cycle. The core supports four common format conversions as well as a custom mode that allows for a user-defined transform. The core is capable of a maximum resolution of 7680 columns by 7680 rows with 8, 10, 12, or 16 bits per pixel.<p>
<b>Initialization &amp; Configuration</b><p>
The device driver enables higher layer software (e.g., an application) to communicate to the RGB2YCRCB core.<p>
<a class="el" href="xrgb2ycrcb_8c.html#584a818bca95b80de513294519c54ee2">XRgb2YCrCb_CfgInitialize()</a> API is used to initialize the RGB2YCRCB core. The user needs to first call the <a class="el" href="xrgb2ycrcb_8h.html#2759e34bb0b2134ec1f694334ba92b77">XRgb2YCrCb_LookupConfig()</a> API which returns the Configuration structure pointer which is passed as a parameter to the <a class="el" href="xrgb2ycrcb_8c.html#584a818bca95b80de513294519c54ee2">XRgb2YCrCb_CfgInitialize()</a> API.<p>
<b> Interrupts </b><p>
The driver provides an interrupt handler XRgb2YCrCb_IntrHandler for handling the interrupt from the RGB2YCRCB core. The users of this driver have to register this handler with the interrupt system and provide the callback functions by using XRgb2YCrCb_SetCallBack API.<p>
<b> Virtual Memory </b><p>
This driver supports Virtual Memory. The RTOS is responsible for calculating the correct device base address in Virtual Memory space.<p>
<b> Threads </b><p>
This driver is not thread safe. Any needs for threads or thread mutual exclusion must be satisfied by the layer above this driver.<p>
<b> Asserts </b><p>
Asserts are used within all Xilinx drivers to enforce constraints on argument values. Asserts can be turned off on a system-wide basis by defining, at compile time, the NDEBUG identifier. By default, asserts are turned on and it is recommended that users leave asserts on during development.<p>
<b> Building the driver </b><p>
The <a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> driver is composed of several source files. This allows the user to build and link only those parts of the driver that are necessary.<p>
<pre>
MODIFICATION HISTORY:</pre><p>
<pre> Ver Who Date Changes
----- ------ -------- -------------------------------------------------------
5.00a tb 02/27/12 Updated for RGB2YCRCB V5.00.a
5.01a bao 12/28/12 Converted from xio.h to xil_io.h, translating basic
types, MB cache functions, exceptions and assertions
to xil_io format.
6.0 adk 19/12/13 Updated as per the New Tcl API's.
7.0 adk 01/07/14 Changed the file name from "rgb2ycrcb.h" to
"xrgb2ycrcb.h".
Moved register offsets and bit definitions from
rgb2ycrcb.h file to <a class="el" href="xrgb2ycrcb__hw_8h.html">xrgb2ycrcb_hw.h</a> file.</pre><p>
<pre> Removed RGB_TIMING_STATUS register offset because this
register is not present in latest product guide.</pre><p>
<pre> Removed following function macros:
RGB_Enable, RGB_Disable, RGB_RegUpdateEnable,
RGB_RegUpdateDisable, RGB_Reset, RGB_ClearReset,
RGB_AutoSyncReset.</pre><p>
<pre> Removed following functions:
RGB_select_standard, RGB_coefficient_translation,
RGB_set_coefficients, RGB_get_coefficients.</pre><p>
<pre> Added following handler types as enum:
XRGB_HANDLER_PROCSTART, XRGB_HANDLER_FRAMEDONE,
XRGB_HANDLER_ERROR.</pre><p>
<pre> Added following standard types as enum:
XRGB_STANDARD_ITU_601_SD, XRGB_STANDARD_ITU_709_NTSC,
XRGB_STANDARD_ITU_709_PAL, XRGB_STANDARD_YUV,
XRGB_STANDARD_CUSTOM.</pre><p>
<pre> Added following output ranges as enum:
XRGB_TV_16_TO_240, XRGB_STUDIO_16_TO_235,
XRGB_GRAPHICS_0_TO_255.</pre><p>
<pre> Added range macros for ActiveSize, YMAX, YMIN, YOFFSET,
CBMAX, CBMIN, CBOFFSET, CRMAX, CRMIN, CROFFSET
registers.</pre><p>
<pre> Added following function macros:
XRgb2YCrCb_IntrEnable, XRgb2YCrCb_SyncReset,
XRgb2YCrCb_IntrDisable, XRgb2YCrCb_StatusGetPending,
XRgb2YCrCb_IntrGetPending, XRgb2YCrCb_IntrClear,
XRgb2YCrCb_RegUpdateEnable,
XRgb2YCrCb_RegUpdateDisable, XRgb2YCrCb_Reset,
XRgb2YCrCb_Enable, XRgb2YCrCb_Disable,
XRgb2YCrCb_Start, XRgb2YCrCb_Stop.</pre><p>
<pre> Added core and configuration structure.
Renamed rgb_coef_inputs -&gt; <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a> and
rgb_coef_outputs - &gt; <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a>.</pre><p>
<pre> Added callback functions typedef.</pre><p>
<pre> Implemented XRgb2YCrCb_LookupConfig in
<a class="el" href="xrgb2ycrcb__sinit_8c.html">xrgb2ycrcb_sinit.c</a>
Implemented XRgb2YCrCb_SelfTest in
<a class="el" href="xrgb2ycrcb__selftest_8c.html">xrgb2ycrcb_selftest.c</a>
Implemented XRgb2YCrCb_IntrHandler,
XRgb2YCrCb_SetCallBack in <a class="el" href="xrgb2ycrcb__intr_8c.html">xrgb2ycrcb_intr.c</a>.</pre><p>
<pre> Implemented following functions in <a class="el" href="xrgb2ycrcb_8c.html">xrgb2ycrcb.c</a>:
XRgb2YCrCb_CfgInitialize, XRgb2YCrCb_EnableDbgByPass,
XRgb2YCrCb_IsDbgByPassEnabled,
XRgb2YCrCb_DisableDbgBypass,
XRgb2YCrCb_EnableDbgTestPattern,
XRgb2YCrCb_IsDbgTestPatternEnabled,
XRgb2YCrCb_DisableDbgTestPattern,
XRgb2YCrCb_GetVersion, XRgb2YCrCb_GetDbgFrameCount,
XRgb2YCrCb_GetDbgLineCount,
XRgb2YCrCb_GetDbgPixelCount, XRgb2YCrCb_Setup,
XRgb2YCrCb_SetActiveSize, XRgb2YCrCb_GetActiveSize,
XRgb2YCrCb_SetYMax, XRgb2YCrCb_GetYMax,
XRgb2YCrCb_SetYMin, XRgb2YCrCb_GetYMin,
XRgb2YCrCb_SetCbMax, XRgb2YCrCb_GetCbMax,
XRgb2YCrCb_SetCbMin, XRgb2YCrCb_GetCbMin,
XRgb2YCrCb_SetCrMax, XRgb2YCrCb_GetCrMax,
XRgb2YCrCb_SetCrMin, XRgb2YCrCb_GetCrMin,
XRgb2YCrCb_SetYOffset, XRgb2YCrCb_GetYOffset,
XRgb2YCrCb_SetCbOffset, XRgb2YCrCb_GetCbOffset,
XRgb2YCrCb_SetCrOffset, XRgb2YCrCb_GetCrOffset,
XRgb2YCrCb_SetCoefs, XRgb2YCrCb_GetCoefs,
XRgb2YCrCb_Select_Standard,
XRgb2YCrCb_Coefficient_Translation,
XRgb2YCrCb_Select_OutputRange.
*</pre> Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -1,248 +0,0 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
rgb2ycrcb.c File Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.5 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>rgb2ycrcb.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
This is main code of Xilinx RGB to YCrCb Color Space Converter (RGB2YCRCB) device driver. Please see rgb2ycrcb.h for more details of the driver.<p>
MODIFICATION HISTORY:<p>
Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 5.00a tb 02/27/12 Updated for RGB2YCRCB v5.00.a
<p>
<code>#include &quot;rgb2ycrcb.h&quot;</code><br>
<code>#include &quot;xenv.h&quot;</code><br>
<code>#include &quot;stdio.h&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rgb2ycrcb_8c.html#25c48a303a6f7a1104f4cded877a4583">RGB_select_standard</a> (u32 standard_sel, u32 input_range, u32 data_width, struct rgb_coef_inputs *coef_in)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rgb2ycrcb_8c.html#0d7b7a35650828fcd0fb66d5dffa916e">RGB_coefficient_translation</a> (struct rgb_coef_inputs *coef_in, struct rgb_coef_outputs *coef_out, u32 data_width)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rgb2ycrcb_8c.html#1c43c123e1eed5398b407482ac35ae03">RGB_set_coefficients</a> (u32 BaseAddress, struct rgb_coef_outputs *coef_out)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rgb2ycrcb_8c.html#3d71c1b045854d33919ceaf20ac7340c">RGB_get_coefficients</a> (u32 BaseAddress, struct rgb_coef_outputs *coef_out)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="0d7b7a35650828fcd0fb66d5dffa916e"></a><!-- doxytag: member="rgb2ycrcb.c::RGB_coefficient_translation" ref="0d7b7a35650828fcd0fb66d5dffa916e" args="(struct rgb_coef_inputs *coef_in, struct rgb_coef_outputs *coef_out, u32 data_width)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">u32 RGB_coefficient_translation </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">struct rgb_coef_inputs *&nbsp;</td>
<td class="mdname" nowrap> <em>coef_in</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>struct rgb_coef_outputs *&nbsp;</td>
<td class="mdname" nowrap> <em>coef_out</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>u32&nbsp;</td>
<td class="mdname" nowrap> <em>data_width</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Translate input coefficients into coefficients that can be programmed into the RGB2YCrCb core.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>coef_in</em>&nbsp;</td><td>is a pointer to a rgb_coef_inputs data structure. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coef_out</em>&nbsp;</td><td>is a pointer to a rgb_coef_output data structure.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The 32-bit value: bit(0)= Acoef + Bcoef &gt; 1.0 bit(1)= Y Offset outside data width range [-2^data_width, (2^data_width)-1] bit(2)= Cb Offset outside data width range [-2^data_width, (2^data_width)-1] bit(3)= Cr Offset outside data width range [-2^data_width, (2^data_width)-1] bit(4)= Y Max outside data width range [0, (2^data_width)-1] bit(5)= Y Min outside data width range [0, (2^data_width)-1] bit(6)= Cb Max outside data width range [0, (2^data_width)-1] bit(7)= Cb Min outside data width range [0, (2^data_width)-1] bit(8)= Cr Max outside data width range [0, (2^data_width)-1] bit(9)= Cr Min outside data width range [0, (2^data_width)-1]</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd></dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="3d71c1b045854d33919ceaf20ac7340c"></a><!-- doxytag: member="rgb2ycrcb.c::RGB_get_coefficients" ref="3d71c1b045854d33919ceaf20ac7340c" args="(u32 BaseAddress, struct rgb_coef_outputs *coef_out)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">void RGB_get_coefficients </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">u32&nbsp;</td>
<td class="mdname" nowrap> <em>BaseAddress</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>struct rgb_coef_outputs *&nbsp;</td>
<td class="mdname" nowrap> <em>coef_out</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Read the RGB2YCrCb coefficient/offset registers.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>BaseAddress</em>&nbsp;</td><td>is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coef_out</em>&nbsp;</td><td>is a pointer to a rgb_coef_output data structure.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>None.</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd></dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="25c48a303a6f7a1104f4cded877a4583"></a><!-- doxytag: member="rgb2ycrcb.c::RGB_select_standard" ref="25c48a303a6f7a1104f4cded877a4583" args="(u32 standard_sel, u32 input_range, u32 data_width, struct rgb_coef_inputs *coef_in)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">void RGB_select_standard </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">u32&nbsp;</td>
<td class="mdname" nowrap> <em>standard_sel</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>u32&nbsp;</td>
<td class="mdname" nowrap> <em>input_range</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>u32&nbsp;</td>
<td class="mdname" nowrap> <em>data_width</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>struct rgb_coef_inputs *&nbsp;</td>
<td class="mdname" nowrap> <em>coef_in</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Select input coefficients for 4 supported Standards and 3 Input Ranges.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>standard_sel</em>&nbsp;</td><td>is the standards selection: 0 = SD_ITU_601 1 = HD_ITU_709__1125_NTSC 2 = HD_ITU_709__1250_PAL 3 = YUV </td></tr>
<tr><td valign="top"></td><td valign="top"><em>input_range</em>&nbsp;</td><td>is the limit on the range of the data: 0 = 16_to_240_for_TV, 1 = 16_to_235_for_Studio_Equipment, 3 = 0_to_255_for_Computer_Graphics </td></tr>
<tr><td valign="top"></td><td valign="top"><em>data_width</em>&nbsp;</td><td>has a valid range of [8,10,12,16] </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coef_in</em>&nbsp;</td><td>is a pointer to a rgb_coef_inputs data structure.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>None.</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd></dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="1c43c123e1eed5398b407482ac35ae03"></a><!-- doxytag: member="rgb2ycrcb.c::RGB_set_coefficients" ref="1c43c123e1eed5398b407482ac35ae03" args="(u32 BaseAddress, struct rgb_coef_outputs *coef_out)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">void RGB_set_coefficients </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">u32&nbsp;</td>
<td class="mdname" nowrap> <em>BaseAddress</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>struct rgb_coef_outputs *&nbsp;</td>
<td class="mdname" nowrap> <em>coef_out</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Program the RGB2YCrCb coefficient/offset registers.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>BaseAddress</em>&nbsp;</td><td>is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>coef_out</em>&nbsp;</td><td>is a pointer to a rgb_coef_output data structure.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>None.</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd></dd></dl>
</td>
</tr>
</table>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,37 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Member List
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb Member List</h1>This is the complete list of members for <a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#e7725f678f7c3ffefe2f770c2533a968">Config</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#e977e544633e4e659ad25482442fa616">ErrCallBack</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#7ae37743c47d67f18fb0f6ab5e516227">ErrRef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#c40ebbcf45769320de4331890b91b89a">FrameDoneCallBack</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#4d87f3a90ede395228fb615efe30f89e">FrameDoneRef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#42d6853d660ac85830f097e1ae07a335">HSize</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#a2fc86da3c1847f0ef8bd94635b36f6c">IsReady</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#934250f63000188a18b2f7f8912ad3a7">OutputRange</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#27bdbdf889114bcdc4125b4e451ca692">ProcStartCallBack</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#42b53f4981b4c1e3b6e3879269d10c01">ProcStartRef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#3c30ef4ec31996beed6f29e852daf96d">StandardSelection</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb.html#fd9ceb0fa95a8a8898bce5b4ea7624a1">VSize</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a></td><td></td></tr>
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,240 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
XRgb2YCrCb Struct Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb Struct Reference</h1><!-- doxytag: class="XRgb2YCrCb" --><code>#include &lt;xrgb2ycrcb.h&gt;</code>
<p>
<a href="struct_x_rgb2_y_cr_cb-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> driver instance data structure. A pointer to an instance data structure is passed around by functions to refer to a specific driver instance.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#e7725f678f7c3ffefe2f770c2533a968">Config</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#a2fc86da3c1847f0ef8bd94635b36f6c">IsReady</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#42d6853d660ac85830f097e1ae07a335">HSize</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#fd9ceb0fa95a8a8898bce5b4ea7624a1">VSize</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xrgb2ycrcb_8h.html#1702f7820e21536ec63a9cbb17cef87d">XRgb2YCrCb_CallBack</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#27bdbdf889114bcdc4125b4e451ca692">ProcStartCallBack</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#42b53f4981b4c1e3b6e3879269d10c01">ProcStartRef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xrgb2ycrcb_8h.html#1702f7820e21536ec63a9cbb17cef87d">XRgb2YCrCb_CallBack</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#c40ebbcf45769320de4331890b91b89a">FrameDoneCallBack</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#4d87f3a90ede395228fb615efe30f89e">FrameDoneRef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xrgb2ycrcb_8h.html#e96c851cee969b14bd5e1f4b7fc0ecec">XRgb2YCrCb_ErrorCallBack</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#e977e544633e4e659ad25482442fa616">ErrCallBack</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#7ae37743c47d67f18fb0f6ab5e516227">ErrRef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#3c30ef4ec31996beed6f29e852daf96d">StandardSelection</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb.html#934250f63000188a18b2f7f8912ad3a7">OutputRange</a></td></tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e7725f678f7c3ffefe2f770c2533a968"></a><!-- doxytag: member="XRgb2YCrCb::Config" ref="e7725f678f7c3ffefe2f770c2533a968" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a> <a class="el" href="struct_x_rgb2_y_cr_cb.html#e7725f678f7c3ffefe2f770c2533a968">XRgb2YCrCb::Config</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Hardware configuration
</div>
</div><p>
<a class="anchor" name="e977e544633e4e659ad25482442fa616"></a><!-- doxytag: member="XRgb2YCrCb::ErrCallBack" ref="e977e544633e4e659ad25482442fa616" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="xrgb2ycrcb_8h.html#e96c851cee969b14bd5e1f4b7fc0ecec">XRgb2YCrCb_ErrorCallBack</a> <a class="el" href="struct_x_rgb2_y_cr_cb.html#e977e544633e4e659ad25482442fa616">XRgb2YCrCb::ErrCallBack</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Callback for Error interrupt
</div>
</div><p>
<a class="anchor" name="7ae37743c47d67f18fb0f6ab5e516227"></a><!-- doxytag: member="XRgb2YCrCb::ErrRef" ref="7ae37743c47d67f18fb0f6ab5e516227" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="struct_x_rgb2_y_cr_cb.html#7ae37743c47d67f18fb0f6ab5e516227">XRgb2YCrCb::ErrRef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To be passed to the Error interrupt callback
</div>
</div><p>
<a class="anchor" name="c40ebbcf45769320de4331890b91b89a"></a><!-- doxytag: member="XRgb2YCrCb::FrameDoneCallBack" ref="c40ebbcf45769320de4331890b91b89a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="xrgb2ycrcb_8h.html#1702f7820e21536ec63a9cbb17cef87d">XRgb2YCrCb_CallBack</a> <a class="el" href="struct_x_rgb2_y_cr_cb.html#c40ebbcf45769320de4331890b91b89a">XRgb2YCrCb::FrameDoneCallBack</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Callback for Frame Done interrupt
</div>
</div><p>
<a class="anchor" name="4d87f3a90ede395228fb615efe30f89e"></a><!-- doxytag: member="XRgb2YCrCb::FrameDoneRef" ref="4d87f3a90ede395228fb615efe30f89e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="struct_x_rgb2_y_cr_cb.html#4d87f3a90ede395228fb615efe30f89e">XRgb2YCrCb::FrameDoneRef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To be passed to the Frame done interrupt callback
</div>
</div><p>
<a class="anchor" name="42d6853d660ac85830f097e1ae07a335"></a><!-- doxytag: member="XRgb2YCrCb::HSize" ref="42d6853d660ac85830f097e1ae07a335" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 <a class="el" href="struct_x_rgb2_y_cr_cb.html#42d6853d660ac85830f097e1ae07a335">XRgb2YCrCb::HSize</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Active Video Horizontal Size
</div>
</div><p>
<a class="anchor" name="a2fc86da3c1847f0ef8bd94635b36f6c"></a><!-- doxytag: member="XRgb2YCrCb::IsReady" ref="a2fc86da3c1847f0ef8bd94635b36f6c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb.html#a2fc86da3c1847f0ef8bd94635b36f6c">XRgb2YCrCb::IsReady</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Core and driver instance are initialized
</div>
</div><p>
<a class="anchor" name="934250f63000188a18b2f7f8912ad3a7"></a><!-- doxytag: member="XRgb2YCrCb::OutputRange" ref="934250f63000188a18b2f7f8912ad3a7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb.html#934250f63000188a18b2f7f8912ad3a7">XRgb2YCrCb::OutputRange</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Output Range
</div>
</div><p>
<a class="anchor" name="27bdbdf889114bcdc4125b4e451ca692"></a><!-- doxytag: member="XRgb2YCrCb::ProcStartCallBack" ref="27bdbdf889114bcdc4125b4e451ca692" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="xrgb2ycrcb_8h.html#1702f7820e21536ec63a9cbb17cef87d">XRgb2YCrCb_CallBack</a> <a class="el" href="struct_x_rgb2_y_cr_cb.html#27bdbdf889114bcdc4125b4e451ca692">XRgb2YCrCb::ProcStartCallBack</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Callback for Processing Start interrupt
</div>
</div><p>
<a class="anchor" name="42b53f4981b4c1e3b6e3879269d10c01"></a><!-- doxytag: member="XRgb2YCrCb::ProcStartRef" ref="42b53f4981b4c1e3b6e3879269d10c01" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="struct_x_rgb2_y_cr_cb.html#42b53f4981b4c1e3b6e3879269d10c01">XRgb2YCrCb::ProcStartRef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To be passed to Process start interrupt callback
</div>
</div><p>
<a class="anchor" name="3c30ef4ec31996beed6f29e852daf96d"></a><!-- doxytag: member="XRgb2YCrCb::StandardSelection" ref="3c30ef4ec31996beed6f29e852daf96d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb.html#3c30ef4ec31996beed6f29e852daf96d">XRgb2YCrCb::StandardSelection</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Standard Selection
</div>
</div><p>
<a class="anchor" name="fd9ceb0fa95a8a8898bce5b4ea7624a1"></a><!-- doxytag: member="XRgb2YCrCb::VSize" ref="fd9ceb0fa95a8a8898bce5b4ea7624a1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 <a class="el" href="struct_x_rgb2_y_cr_cb.html#fd9ceb0fa95a8a8898bce5b4ea7624a1">XRgb2YCrCb::VSize</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Active Video Vertical Size
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Member List
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb_Coef_Inputs Member List</h1>This is the complete list of members for <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#d683847c19dbf599798083ff18cbb641">ACoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#862675295a25a253dd20e2bb6a9c48b6">BCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#200aa10c45924e76c9e8586c6976b792">CbMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#729e7e3819b78ae4efc99a563dbfa058">CbMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#babbf212eb416bc5ee274f33b2180611">CbOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#72546aa6892d93c968aceec29d0f6459">CCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#fe293a99039eed0f52fe63f76b31f304">CrMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#ed93cdc35cd0cc32bb7bc30e4c4bb086">CrMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#c7cb61a50b547db5e6ecfa61fb6ee434">CrOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#53c098d2a630c468bea028aeab168287">DCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#a29e00d53ad1ee916506d4022680bc5b">YMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#8706f60b90711e34f0ebb9359df7aa7c">YMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#40288f4a7ac3625b88128e456ab4bf30">YOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html">XRgb2YCrCb_Coef_Inputs</a></td><td></td></tr>
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,257 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
XRgb2YCrCb_Coef_Inputs Struct Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb_Coef_Inputs Struct Reference</h1><!-- doxytag: class="XRgb2YCrCb_Coef_Inputs" --><code>#include &lt;xrgb2ycrcb.h&gt;</code>
<p>
<a href="struct_x_rgb2_y_cr_cb___coef___inputs-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Rgb2YCrCb input coefficient
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#d683847c19dbf599798083ff18cbb641">ACoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#862675295a25a253dd20e2bb6a9c48b6">BCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#72546aa6892d93c968aceec29d0f6459">CCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#53c098d2a630c468bea028aeab168287">DCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#40288f4a7ac3625b88128e456ab4bf30">YOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#babbf212eb416bc5ee274f33b2180611">CbOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#c7cb61a50b547db5e6ecfa61fb6ee434">CrOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#a29e00d53ad1ee916506d4022680bc5b">YMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#8706f60b90711e34f0ebb9359df7aa7c">YMin</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#200aa10c45924e76c9e8586c6976b792">CbMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#729e7e3819b78ae4efc99a563dbfa058">CbMin</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#fe293a99039eed0f52fe63f76b31f304">CrMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#ed93cdc35cd0cc32bb7bc30e4c4bb086">CrMin</a></td></tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="d683847c19dbf599798083ff18cbb641"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::ACoef" ref="d683847c19dbf599798083ff18cbb641" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#d683847c19dbf599798083ff18cbb641">XRgb2YCrCb_Coef_Inputs::ACoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
[ 0.0 - 1.0 ] 0.0 &lt; ACOEFF + BCOEFF &lt; 1.0
</div>
</div><p>
<a class="anchor" name="862675295a25a253dd20e2bb6a9c48b6"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::BCoef" ref="862675295a25a253dd20e2bb6a9c48b6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#862675295a25a253dd20e2bb6a9c48b6">XRgb2YCrCb_Coef_Inputs::BCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
[ 0.0 - 1.0 ] 0.0 &lt; ACOEFF + BCOEFF &lt; 1.0
</div>
</div><p>
<a class="anchor" name="200aa10c45924e76c9e8586c6976b792"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::CbMax" ref="200aa10c45924e76c9e8586c6976b792" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#200aa10c45924e76c9e8586c6976b792">XRgb2YCrCb_Coef_Inputs::CbMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cb Clipping
</div>
</div><p>
<a class="anchor" name="729e7e3819b78ae4efc99a563dbfa058"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::CbMin" ref="729e7e3819b78ae4efc99a563dbfa058" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#729e7e3819b78ae4efc99a563dbfa058">XRgb2YCrCb_Coef_Inputs::CbMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cb Clamping
</div>
</div><p>
<a class="anchor" name="babbf212eb416bc5ee274f33b2180611"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::CbOffset" ref="babbf212eb416bc5ee274f33b2180611" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#babbf212eb416bc5ee274f33b2180611">XRgb2YCrCb_Coef_Inputs::CbOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Offset for the Chrominance Channels
</div>
</div><p>
<a class="anchor" name="72546aa6892d93c968aceec29d0f6459"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::CCoef" ref="72546aa6892d93c968aceec29d0f6459" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#72546aa6892d93c968aceec29d0f6459">XRgb2YCrCb_Coef_Inputs::CCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
[ 0.0 - 0.9 ]
</div>
</div><p>
<a class="anchor" name="fe293a99039eed0f52fe63f76b31f304"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::CrMax" ref="fe293a99039eed0f52fe63f76b31f304" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#fe293a99039eed0f52fe63f76b31f304">XRgb2YCrCb_Coef_Inputs::CrMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cr Clipping
</div>
</div><p>
<a class="anchor" name="ed93cdc35cd0cc32bb7bc30e4c4bb086"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::CrMin" ref="ed93cdc35cd0cc32bb7bc30e4c4bb086" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#ed93cdc35cd0cc32bb7bc30e4c4bb086">XRgb2YCrCb_Coef_Inputs::CrMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cr Clamping
</div>
</div><p>
<a class="anchor" name="c7cb61a50b547db5e6ecfa61fb6ee434"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::CrOffset" ref="c7cb61a50b547db5e6ecfa61fb6ee434" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#c7cb61a50b547db5e6ecfa61fb6ee434">XRgb2YCrCb_Coef_Inputs::CrOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Offset for the Chrominance Channels
</div>
</div><p>
<a class="anchor" name="53c098d2a630c468bea028aeab168287"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::DCoef" ref="53c098d2a630c468bea028aeab168287" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#53c098d2a630c468bea028aeab168287">XRgb2YCrCb_Coef_Inputs::DCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
[ 0.0 - 0.9 ]
</div>
</div><p>
<a class="anchor" name="a29e00d53ad1ee916506d4022680bc5b"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::YMax" ref="a29e00d53ad1ee916506d4022680bc5b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#a29e00d53ad1ee916506d4022680bc5b">XRgb2YCrCb_Coef_Inputs::YMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Y Clipping
</div>
</div><p>
<a class="anchor" name="8706f60b90711e34f0ebb9359df7aa7c"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::YMin" ref="8706f60b90711e34f0ebb9359df7aa7c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#8706f60b90711e34f0ebb9359df7aa7c">XRgb2YCrCb_Coef_Inputs::YMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Y Clamping
</div>
</div><p>
<a class="anchor" name="40288f4a7ac3625b88128e456ab4bf30"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Inputs::YOffset" ref="40288f4a7ac3625b88128e456ab4bf30" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___inputs.html#40288f4a7ac3625b88128e456ab4bf30">XRgb2YCrCb_Coef_Inputs::YOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Offset for the Luminance Channel
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Member List
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb_Coef_Outputs Member List</h1>This is the complete list of members for <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#a6bb682e3d9ce5761075424b9c2693e1">ACoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#b397089fe6f6fc110f207494213d3339">BCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#7d29fb3d003f1901e67882e0befd63d0">CbMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#d25d94caa14cb326022aa7f0b358a9b9">CbMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5d4db2db38b464bbaaef2a706e99bc7d">CbOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c3c6738abb7b8227ded3af0cdb88e650">CCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5a7f5aab1e17e0ae9622ad1295ee8ff7">CrMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#35cc081afb124a92dc4917d742e146fb">CrMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#db6c0bcf236cff529dd9f351f4351bbe">CrOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#e8b4591160420c7b044f111d97099a0a">DCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#259b76480b09fa3ea902fb086f6464c1">YMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c56eb1748e229438613de1ff27b6a4f1">YMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#91238050424eb013a8371656db037fcf">YOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html">XRgb2YCrCb_Coef_Outputs</a></td><td></td></tr>
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,257 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
XRgb2YCrCb_Coef_Outputs Struct Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb_Coef_Outputs Struct Reference</h1><!-- doxytag: class="XRgb2YCrCb_Coef_Outputs" --><code>#include &lt;xrgb2ycrcb.h&gt;</code>
<p>
<a href="struct_x_rgb2_y_cr_cb___coef___outputs-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Rgb2YCrCb output coefficient
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#a6bb682e3d9ce5761075424b9c2693e1">ACoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#b397089fe6f6fc110f207494213d3339">BCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c3c6738abb7b8227ded3af0cdb88e650">CCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#e8b4591160420c7b044f111d97099a0a">DCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#91238050424eb013a8371656db037fcf">YOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5d4db2db38b464bbaaef2a706e99bc7d">CbOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#db6c0bcf236cff529dd9f351f4351bbe">CrOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#259b76480b09fa3ea902fb086f6464c1">YMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c56eb1748e229438613de1ff27b6a4f1">YMin</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#7d29fb3d003f1901e67882e0befd63d0">CbMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#d25d94caa14cb326022aa7f0b358a9b9">CbMin</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5a7f5aab1e17e0ae9622ad1295ee8ff7">CrMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#35cc081afb124a92dc4917d742e146fb">CrMin</a></td></tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="a6bb682e3d9ce5761075424b9c2693e1"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::ACoef" ref="a6bb682e3d9ce5761075424b9c2693e1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#a6bb682e3d9ce5761075424b9c2693e1">XRgb2YCrCb_Coef_Outputs::ACoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated ACoef
</div>
</div><p>
<a class="anchor" name="b397089fe6f6fc110f207494213d3339"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::BCoef" ref="b397089fe6f6fc110f207494213d3339" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#b397089fe6f6fc110f207494213d3339">XRgb2YCrCb_Coef_Outputs::BCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated BCoef
</div>
</div><p>
<a class="anchor" name="7d29fb3d003f1901e67882e0befd63d0"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::CbMax" ref="7d29fb3d003f1901e67882e0befd63d0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#7d29fb3d003f1901e67882e0befd63d0">XRgb2YCrCb_Coef_Outputs::CbMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Cb Clipping
</div>
</div><p>
<a class="anchor" name="d25d94caa14cb326022aa7f0b358a9b9"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::CbMin" ref="d25d94caa14cb326022aa7f0b358a9b9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#d25d94caa14cb326022aa7f0b358a9b9">XRgb2YCrCb_Coef_Outputs::CbMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Cb Clamping
</div>
</div><p>
<a class="anchor" name="5d4db2db38b464bbaaef2a706e99bc7d"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::CbOffset" ref="5d4db2db38b464bbaaef2a706e99bc7d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5d4db2db38b464bbaaef2a706e99bc7d">XRgb2YCrCb_Coef_Outputs::CbOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Offset for the Chrominance Channels
</div>
</div><p>
<a class="anchor" name="c3c6738abb7b8227ded3af0cdb88e650"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::CCoef" ref="c3c6738abb7b8227ded3af0cdb88e650" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c3c6738abb7b8227ded3af0cdb88e650">XRgb2YCrCb_Coef_Outputs::CCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated CCoef
</div>
</div><p>
<a class="anchor" name="5a7f5aab1e17e0ae9622ad1295ee8ff7"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::CrMax" ref="5a7f5aab1e17e0ae9622ad1295ee8ff7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#5a7f5aab1e17e0ae9622ad1295ee8ff7">XRgb2YCrCb_Coef_Outputs::CrMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Cr Clipping
</div>
</div><p>
<a class="anchor" name="35cc081afb124a92dc4917d742e146fb"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::CrMin" ref="35cc081afb124a92dc4917d742e146fb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#35cc081afb124a92dc4917d742e146fb">XRgb2YCrCb_Coef_Outputs::CrMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Cr Clamping
</div>
</div><p>
<a class="anchor" name="db6c0bcf236cff529dd9f351f4351bbe"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::CrOffset" ref="db6c0bcf236cff529dd9f351f4351bbe" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#db6c0bcf236cff529dd9f351f4351bbe">XRgb2YCrCb_Coef_Outputs::CrOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Offset for the Chrominance Channels
</div>
</div><p>
<a class="anchor" name="e8b4591160420c7b044f111d97099a0a"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::DCoef" ref="e8b4591160420c7b044f111d97099a0a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#e8b4591160420c7b044f111d97099a0a">XRgb2YCrCb_Coef_Outputs::DCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated DCoef
</div>
</div><p>
<a class="anchor" name="259b76480b09fa3ea902fb086f6464c1"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::YMax" ref="259b76480b09fa3ea902fb086f6464c1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#259b76480b09fa3ea902fb086f6464c1">XRgb2YCrCb_Coef_Outputs::YMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Y Clipping
</div>
</div><p>
<a class="anchor" name="c56eb1748e229438613de1ff27b6a4f1"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::YMin" ref="c56eb1748e229438613de1ff27b6a4f1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#c56eb1748e229438613de1ff27b6a4f1">XRgb2YCrCb_Coef_Outputs::YMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Y Clamping
</div>
</div><p>
<a class="anchor" name="91238050424eb013a8371656db037fcf"></a><!-- doxytag: member="XRgb2YCrCb_Coef_Outputs::YOffset" ref="91238050424eb013a8371656db037fcf" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___coef___outputs.html#91238050424eb013a8371656db037fcf">XRgb2YCrCb_Coef_Outputs::YOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Translated Offset for the Luminance Channel
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,52 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
Member List
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb_Config Member List</h1>This is the complete list of members for <a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#6fde122b26f2521f80366943457ef5b1">ACoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3426f9e055bd444a70c2c04f85f69ba5">ActiveCols</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#a781cbc31759b6fa34b8f647c4698f86">ActiveRows</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#32e16f3a363739f87f01d6036c15f975">BaseAddress</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#87fdb871dfc9ac275b2dae666fa3c7eb">BCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#1b608c8ac4791c1daf5d1a49df9ce007">CbMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#35cf2dce3dd2b3a14b03bee16e5550a9">CbMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#c57a3860b2a4020e459fdc664e32ec73">CbOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#eba329743cd6754048b79d42eda051d4">CCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#26d098950ee4b3d400392d59e3690f1a">CrMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bc64113ba0e3d785111d279d161a0eca">CrMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#e230d2f7818d459ff1b5a083ef85cc6c">CrOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5019df4efb34faeb8471dbc08815b2ea">DCoef</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#03ccba2463ec0e6c27a2644d57c1ce7a">DeviceId</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#464382606428ea9e2f9c9f9e95abf5da">HasClamp</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bb2499cad56223074a0a4a8d307f4b02">HasClip</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#2c4746d763168288603e9182145ce6b7">HasDebug</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#657a37da346f51991acfa0fc50842618">HasIntcIf</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4092d74dfb73f98980d8009de9601891">MasterAxisVideoFormat</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#d3810be27350fbb7bdfa149a971ddaca">MaxCols</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#b558a7f3ea11220bd5ff95e7338bc29d">OutputRange</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5149ad9e7772d05ad526cad9b1c86c88">SlaveAxiClkFreqHz</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3220e48f788660a33451ce00a5742735">SlaveAxisVideoFormat</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#451716a1c6cca766053fc4ca555d7b32">StandardSelection</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#840a37fceeb6d17c4d757aecadced018">YMax</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4637ea440d75eb971925c479a8f3fd7c">YMin</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3a9345e8621bab736fdfd5a3f55616b9">YOffset</a></td><td><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a></td><td></td></tr>
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,495 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
XRgb2YCrCb_Config Struct Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>XRgb2YCrCb_Config Struct Reference</h1><!-- doxytag: class="XRgb2YCrCb_Config" --><code>#include &lt;xrgb2ycrcb.h&gt;</code>
<p>
<a href="struct_x_rgb2_y_cr_cb___config-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
This typedef contains configuration information for a Rgb2YCrCb core. Each Rgb2YCrCb core should have a configuration structure associated.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#03ccba2463ec0e6c27a2644d57c1ce7a">DeviceId</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#32e16f3a363739f87f01d6036c15f975">BaseAddress</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3220e48f788660a33451ce00a5742735">SlaveAxisVideoFormat</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4092d74dfb73f98980d8009de9601891">MasterAxisVideoFormat</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#2c4746d763168288603e9182145ce6b7">HasDebug</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#657a37da346f51991acfa0fc50842618">HasIntcIf</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#d3810be27350fbb7bdfa149a971ddaca">MaxCols</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3426f9e055bd444a70c2c04f85f69ba5">ActiveCols</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#a781cbc31759b6fa34b8f647c4698f86">ActiveRows</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bb2499cad56223074a0a4a8d307f4b02">HasClip</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#464382606428ea9e2f9c9f9e95abf5da">HasClamp</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#6fde122b26f2521f80366943457ef5b1">ACoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#87fdb871dfc9ac275b2dae666fa3c7eb">BCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#eba329743cd6754048b79d42eda051d4">CCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5019df4efb34faeb8471dbc08815b2ea">DCoef</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3a9345e8621bab736fdfd5a3f55616b9">YOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#c57a3860b2a4020e459fdc664e32ec73">CbOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#e230d2f7818d459ff1b5a083ef85cc6c">CrOffset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#840a37fceeb6d17c4d757aecadced018">YMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4637ea440d75eb971925c479a8f3fd7c">YMin</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#1b608c8ac4791c1daf5d1a49df9ce007">CbMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#35cf2dce3dd2b3a14b03bee16e5550a9">CbMin</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#26d098950ee4b3d400392d59e3690f1a">CrMax</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bc64113ba0e3d785111d279d161a0eca">CrMin</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5149ad9e7772d05ad526cad9b1c86c88">SlaveAxiClkFreqHz</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#451716a1c6cca766053fc4ca555d7b32">StandardSelection</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html#b558a7f3ea11220bd5ff95e7338bc29d">OutputRange</a></td></tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="6fde122b26f2521f80366943457ef5b1"></a><!-- doxytag: member="XRgb2YCrCb_Config::ACoef" ref="6fde122b26f2521f80366943457ef5b1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#6fde122b26f2521f80366943457ef5b1">XRgb2YCrCb_Config::ACoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A coefficient
</div>
</div><p>
<a class="anchor" name="3426f9e055bd444a70c2c04f85f69ba5"></a><!-- doxytag: member="XRgb2YCrCb_Config::ActiveCols" ref="3426f9e055bd444a70c2c04f85f69ba5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3426f9e055bd444a70c2c04f85f69ba5">XRgb2YCrCb_Config::ActiveCols</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Number of active columns
</div>
</div><p>
<a class="anchor" name="a781cbc31759b6fa34b8f647c4698f86"></a><!-- doxytag: member="XRgb2YCrCb_Config::ActiveRows" ref="a781cbc31759b6fa34b8f647c4698f86" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#a781cbc31759b6fa34b8f647c4698f86">XRgb2YCrCb_Config::ActiveRows</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Number of active rows
</div>
</div><p>
<a class="anchor" name="32e16f3a363739f87f01d6036c15f975"></a><!-- doxytag: member="XRgb2YCrCb_Config::BaseAddress" ref="32e16f3a363739f87f01d6036c15f975" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#32e16f3a363739f87f01d6036c15f975">XRgb2YCrCb_Config::BaseAddress</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
BaseAddress is the physical base address of the RGB2YCRCB core registers
</div>
</div><p>
<a class="anchor" name="87fdb871dfc9ac275b2dae666fa3c7eb"></a><!-- doxytag: member="XRgb2YCrCb_Config::BCoef" ref="87fdb871dfc9ac275b2dae666fa3c7eb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#87fdb871dfc9ac275b2dae666fa3c7eb">XRgb2YCrCb_Config::BCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
B coefficient
</div>
</div><p>
<a class="anchor" name="1b608c8ac4791c1daf5d1a49df9ce007"></a><!-- doxytag: member="XRgb2YCrCb_Config::CbMax" ref="1b608c8ac4791c1daf5d1a49df9ce007" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#1b608c8ac4791c1daf5d1a49df9ce007">XRgb2YCrCb_Config::CbMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cb Max value
</div>
</div><p>
<a class="anchor" name="35cf2dce3dd2b3a14b03bee16e5550a9"></a><!-- doxytag: member="XRgb2YCrCb_Config::CbMin" ref="35cf2dce3dd2b3a14b03bee16e5550a9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#35cf2dce3dd2b3a14b03bee16e5550a9">XRgb2YCrCb_Config::CbMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cb Min value
</div>
</div><p>
<a class="anchor" name="c57a3860b2a4020e459fdc664e32ec73"></a><!-- doxytag: member="XRgb2YCrCb_Config::CbOffset" ref="c57a3860b2a4020e459fdc664e32ec73" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#c57a3860b2a4020e459fdc664e32ec73">XRgb2YCrCb_Config::CbOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cb Offset value
</div>
</div><p>
<a class="anchor" name="eba329743cd6754048b79d42eda051d4"></a><!-- doxytag: member="XRgb2YCrCb_Config::CCoef" ref="eba329743cd6754048b79d42eda051d4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#eba329743cd6754048b79d42eda051d4">XRgb2YCrCb_Config::CCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
C coefficient
</div>
</div><p>
<a class="anchor" name="26d098950ee4b3d400392d59e3690f1a"></a><!-- doxytag: member="XRgb2YCrCb_Config::CrMax" ref="26d098950ee4b3d400392d59e3690f1a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#26d098950ee4b3d400392d59e3690f1a">XRgb2YCrCb_Config::CrMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cr Max value
</div>
</div><p>
<a class="anchor" name="bc64113ba0e3d785111d279d161a0eca"></a><!-- doxytag: member="XRgb2YCrCb_Config::CrMin" ref="bc64113ba0e3d785111d279d161a0eca" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bc64113ba0e3d785111d279d161a0eca">XRgb2YCrCb_Config::CrMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cr Min value
</div>
</div><p>
<a class="anchor" name="e230d2f7818d459ff1b5a083ef85cc6c"></a><!-- doxytag: member="XRgb2YCrCb_Config::CrOffset" ref="e230d2f7818d459ff1b5a083ef85cc6c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#e230d2f7818d459ff1b5a083ef85cc6c">XRgb2YCrCb_Config::CrOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cr Offset value
</div>
</div><p>
<a class="anchor" name="5019df4efb34faeb8471dbc08815b2ea"></a><!-- doxytag: member="XRgb2YCrCb_Config::DCoef" ref="5019df4efb34faeb8471dbc08815b2ea" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5019df4efb34faeb8471dbc08815b2ea">XRgb2YCrCb_Config::DCoef</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
D coefficient
</div>
</div><p>
<a class="anchor" name="03ccba2463ec0e6c27a2644d57c1ce7a"></a><!-- doxytag: member="XRgb2YCrCb_Config::DeviceId" ref="03ccba2463ec0e6c27a2644d57c1ce7a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#03ccba2463ec0e6c27a2644d57c1ce7a">XRgb2YCrCb_Config::DeviceId</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
DeviceId is the unique ID of the RGB2YCRCB core
</div>
</div><p>
<a class="anchor" name="464382606428ea9e2f9c9f9e95abf5da"></a><!-- doxytag: member="XRgb2YCrCb_Config::HasClamp" ref="464382606428ea9e2f9c9f9e95abf5da" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#464382606428ea9e2f9c9f9e95abf5da">XRgb2YCrCb_Config::HasClamp</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To check support for clamping
</div>
</div><p>
<a class="anchor" name="bb2499cad56223074a0a4a8d307f4b02"></a><!-- doxytag: member="XRgb2YCrCb_Config::HasClip" ref="bb2499cad56223074a0a4a8d307f4b02" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#bb2499cad56223074a0a4a8d307f4b02">XRgb2YCrCb_Config::HasClip</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To check support for clipping
</div>
</div><p>
<a class="anchor" name="2c4746d763168288603e9182145ce6b7"></a><!-- doxytag: member="XRgb2YCrCb_Config::HasDebug" ref="2c4746d763168288603e9182145ce6b7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#2c4746d763168288603e9182145ce6b7">XRgb2YCrCb_Config::HasDebug</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To check debug support
</div>
</div><p>
<a class="anchor" name="657a37da346f51991acfa0fc50842618"></a><!-- doxytag: member="XRgb2YCrCb_Config::HasIntcIf" ref="657a37da346f51991acfa0fc50842618" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u16 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#657a37da346f51991acfa0fc50842618">XRgb2YCrCb_Config::HasIntcIf</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To check Interrupt controller support
</div>
</div><p>
<a class="anchor" name="4092d74dfb73f98980d8009de9601891"></a><!-- doxytag: member="XRgb2YCrCb_Config::MasterAxisVideoFormat" ref="4092d74dfb73f98980d8009de9601891" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4092d74dfb73f98980d8009de9601891">XRgb2YCrCb_Config::MasterAxisVideoFormat</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Master Axis Video Format
</div>
</div><p>
<a class="anchor" name="d3810be27350fbb7bdfa149a971ddaca"></a><!-- doxytag: member="XRgb2YCrCb_Config::MaxCols" ref="d3810be27350fbb7bdfa149a971ddaca" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#d3810be27350fbb7bdfa149a971ddaca">XRgb2YCrCb_Config::MaxCols</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Maximum number of columns
</div>
</div><p>
<a class="anchor" name="b558a7f3ea11220bd5ff95e7338bc29d"></a><!-- doxytag: member="XRgb2YCrCb_Config::OutputRange" ref="b558a7f3ea11220bd5ff95e7338bc29d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#b558a7f3ea11220bd5ff95e7338bc29d">XRgb2YCrCb_Config::OutputRange</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To identify output range
</div>
</div><p>
<a class="anchor" name="5149ad9e7772d05ad526cad9b1c86c88"></a><!-- doxytag: member="XRgb2YCrCb_Config::SlaveAxiClkFreqHz" ref="5149ad9e7772d05ad526cad9b1c86c88" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#5149ad9e7772d05ad526cad9b1c86c88">XRgb2YCrCb_Config::SlaveAxiClkFreqHz</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Slave AXI Clock Frequency in Hz
</div>
</div><p>
<a class="anchor" name="3220e48f788660a33451ce00a5742735"></a><!-- doxytag: member="XRgb2YCrCb_Config::SlaveAxisVideoFormat" ref="3220e48f788660a33451ce00a5742735" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3220e48f788660a33451ce00a5742735">XRgb2YCrCb_Config::SlaveAxisVideoFormat</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Slave Axis Video Format
</div>
</div><p>
<a class="anchor" name="451716a1c6cca766053fc4ca555d7b32"></a><!-- doxytag: member="XRgb2YCrCb_Config::StandardSelection" ref="451716a1c6cca766053fc4ca555d7b32" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#451716a1c6cca766053fc4ca555d7b32">XRgb2YCrCb_Config::StandardSelection</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
To select standard
</div>
</div><p>
<a class="anchor" name="840a37fceeb6d17c4d757aecadced018"></a><!-- doxytag: member="XRgb2YCrCb_Config::YMax" ref="840a37fceeb6d17c4d757aecadced018" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#840a37fceeb6d17c4d757aecadced018">XRgb2YCrCb_Config::YMax</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Y Min value
</div>
</div><p>
<a class="anchor" name="4637ea440d75eb971925c479a8f3fd7c"></a><!-- doxytag: member="XRgb2YCrCb_Config::YMin" ref="4637ea440d75eb971925c479a8f3fd7c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#4637ea440d75eb971925c479a8f3fd7c">XRgb2YCrCb_Config::YMin</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Y Max value
</div>
</div><p>
<a class="anchor" name="3a9345e8621bab736fdfd5a3f55616b9"></a><!-- doxytag: member="XRgb2YCrCb_Config::YOffset" ref="3a9345e8621bab736fdfd5a3f55616b9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u32 <a class="el" href="struct_x_rgb2_y_cr_cb___config.html#3a9345e8621bab736fdfd5a3f55616b9">XRgb2YCrCb_Config::YOffset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Y Offset value
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a></ul>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

Before

Width:  |  Height:  |  Size: 35 B

After

Width:  |  Height:  |  Size: 35 B

View file

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 706 B

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,50 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
xrgb2ycrcb_g.c File Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>xrgb2ycrcb_g.c File Reference</h1>
<p>
<code>#include &quot;xparameters.h&quot;</code><br>
<code>#include &quot;<a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a>&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xrgb2ycrcb__g_8c.html#6decb29879b6378db5c45dc99031adbd">XRgb2YCrCb_ConfigTable</a> []</td></tr>
</table>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="6decb29879b6378db5c45dc99031adbd"></a><!-- doxytag: member="xrgb2ycrcb_g.c::XRgb2YCrCb_ConfigTable" ref="6decb29879b6378db5c45dc99031adbd" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a> <a class="el" href="xrgb2ycrcb__g_8c.html#6decb29879b6378db5c45dc99031adbd">XRgb2YCrCb_ConfigTable</a>[] </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,137 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
xrgb2ycrcb_intr.c File Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>xrgb2ycrcb_intr.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
This file contains interrupt related functions for the RGB2YCRCB core. Please see xrgb2crcb.h for more details of the driver.<p>
<pre>
MODIFICATION HISTORY:</pre><p>
<pre> Ver Who Date Changes
----- ----- -------- ---------------------------------------------------
7.0 adk 01/28/14 First release.
Implemented the following functions:
XRgb2YCrCb_IntrHandler,
XRgb2YCrCb_SetCallBack.
</pre>
<p>
<code>#include &quot;<a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a>&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xrgb2ycrcb__intr_8c.html#3c5a12573ae8067fc5b00ccb8591fe91">XRgb2YCrCb_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xrgb2ycrcb__intr_8c.html#74f4b7d3e369d6d0fa5559096028b27c">XRgb2YCrCb_SetCallBack</a> (<a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="3c5a12573ae8067fc5b00ccb8591fe91"></a><!-- doxytag: member="xrgb2ycrcb_intr.c::XRgb2YCrCb_IntrHandler" ref="3c5a12573ae8067fc5b00ccb8591fe91" args="(void *InstancePtr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XRgb2YCrCb_IntrHandler </td>
<td>(</td>
<td class="paramtype">void *&nbsp;</td>
<td class="paramname"> <em>InstancePtr</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function is the interrupt handler for the RGB2YCRCB driver.<p>
This handler reads the pending interrupt from the IER(IRQ_ENABLE register) or ISR (STATUS register), determines the source of the interrupts, calls according callbacks, and finally clears the interrupts.<p>
The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using <a class="el" href="xrgb2ycrcb_8h.html#74f4b7d3e369d6d0fa5559096028b27c">XRgb2YCrCb_SetCallBack()</a> during initialization phase.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>InstancePtr</em>&nbsp;</td><td>is a pointer to the <a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> instance that just interrupted.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>None.</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>Interrupt interface (HasIntcIf) should be enabled. </dd></dl>
</div>
</div><p>
<a class="anchor" name="74f4b7d3e369d6d0fa5559096028b27c"></a><!-- doxytag: member="xrgb2ycrcb_intr.c::XRgb2YCrCb_SetCallBack" ref="74f4b7d3e369d6d0fa5559096028b27c" args="(XRgb2YCrCb *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int XRgb2YCrCb_SetCallBack </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> *&nbsp;</td>
<td class="paramname"> <em>InstancePtr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">u32&nbsp;</td>
<td class="paramname"> <em>HandlerType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&nbsp;</td>
<td class="paramname"> <em>CallBackFunc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&nbsp;</td>
<td class="paramname"> <em>CallBackRef</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This routine installs an asynchronous callback function for the given HandlerType:<p>
<pre>
HandlerType Callback Function Type
----------------------- --------------------------------------------------
XRGB_HANDLER_PROCSTART ProcStartCallBack
XRGB_HANDLER_FRAMEDONE FrameDoneCallBack
XRGB_HANDLER_ERROR ErrCallBack
</pre><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>InstancePtr</em>&nbsp;</td><td>is a pointer to the <a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> instance to be worked on. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>HandlerType</em>&nbsp;</td><td>specifies which callback is to be attached. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>CallBackFunc</em>&nbsp;</td><td>is the address of the callback function. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>CallBackRef</em>&nbsp;</td><td>is a user data item that will be passed to the callback function when it is invoked.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><ul>
<li>XST_SUCCESS when handler is installed.</li><li>XST_INVALID_PARAM when HandlerType is invalid.</li></ul>
</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>Invoking this function for a handler that already has been installed replaces it with the new handler. </dd></dl>
</div>
</div><p>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,73 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
xrgb2ycrcb_selftest.c File Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>xrgb2ycrcb_selftest.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
This file contains the self-test function for the RGB2YCRCB core.<p>
<pre>
MODIFICATION HISTORY:</pre><p>
<pre> Ver Who Date Changes
----- ------ -------- --------------------------------------------------
7.0 adk 01/28/14 First Release.
Implemented the following function:
XRgb2YCrCb_SelfTest.
</pre>
<p>
<code>#include &quot;<a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a>&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xrgb2ycrcb__selftest_8c.html#85ab691e6503911c9bfe9f2cb816c83e">XRgb2YCrCb_SelfTest</a> (<a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> *InstancePtr)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="85ab691e6503911c9bfe9f2cb816c83e"></a><!-- doxytag: member="xrgb2ycrcb_selftest.c::XRgb2YCrCb_SelfTest" ref="85ab691e6503911c9bfe9f2cb816c83e" args="(XRgb2YCrCb *InstancePtr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int XRgb2YCrCb_SelfTest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> *&nbsp;</td>
<td class="paramname"> <em>InstancePtr</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function reads version register of RGB2YCRCB core and compares with zero as part of self test.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>InstancePtr</em>&nbsp;</td><td>is a pointer to the <a class="el" href="struct_x_rgb2_y_cr_cb.html">XRgb2YCrCb</a> instance.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><ul>
<li>XST_SUCCESS if the version register read test was successful.</li><li>XST_FAILURE if the version register read test failed.</li></ul>
</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>None. </dd></dl>
</div>
</div><p>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -0,0 +1,72 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>
xrgb2ycrcb_sinit.c File Reference
</title>
<link href="$DriverApiDocsCssPath" rel="stylesheet" type="text/css">
</head>
<h3 class="PageHeader">Xilinx Processor IP Library</h3>
<hl>Software Drivers</hl>
<hr class="whs1">
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>xrgb2ycrcb_sinit.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
This file contains static initialization function for RGB2YCRCB core.<p>
<pre>
MODIFICATION HISTORY:</pre><p>
<pre> Ver Who Date Changes
----- ------ -------- --------------------------------------------------
7.0 adk 01/28/14 First release.
Implemented following function:
XRgb2YCrCb_LookupConfig.
</pre>
<p>
<code>#include &quot;<a class="el" href="xrgb2ycrcb_8h.html">xrgb2ycrcb.h</a>&quot;</code><br>
<code>#include &quot;xparameters.h&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xrgb2ycrcb__sinit_8c.html#2759e34bb0b2134ec1f694334ba92b77">XRgb2YCrCb_LookupConfig</a> (u16 DeviceId)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="2759e34bb0b2134ec1f694334ba92b77"></a><!-- doxytag: member="xrgb2ycrcb_sinit.c::XRgb2YCrCb_LookupConfig" ref="2759e34bb0b2134ec1f694334ba92b77" args="(u16 DeviceId)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a>* XRgb2YCrCb_LookupConfig </td>
<td>(</td>
<td class="paramtype">u16&nbsp;</td>
<td class="paramname"> <em>DeviceId</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This function returns a reference to an <a class="el" href="struct_x_rgb2_y_cr_cb___config.html">XRgb2YCrCb_Config</a> structure based on the unique core id, <em>DeviceId</em>. The return value will refer to an entry in the core configuration table defined in the <a class="el" href="xrgb2ycrcb__g_8c.html">xrgb2ycrcb_g.c</a> file.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>DeviceId</em>&nbsp;</td><td>is the unique core ID of the core for the lookup operation.</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>XRgb2YCrCb_LookupConfig returns a reference to a config record in the configuration table (in <a class="el" href="xrgb2ycrcb__g_8c.html">xrgb2ycrcb_g.c</a>) corresponding to <em>DeviceId</em>, or NULL if no match is found.</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>None. </dd></dl>
</div>
</div><p>
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.

View file

@ -1,195 +0,0 @@
/******************************************************************************
*
* Copyright (C) 2012 - 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file example.c
*
* This file demonstrates how to use Xilinx RGB to YCrCb Color Space Converter
* (RGB2YCRCB) driver on Xilinx RGB to YCrCb Color Space Converter (RGB2YCRCB)
* core. This code does not cover the Xilinx TimeBase setup and any other
* configuration which might be required to get the YCRCB2RGB device working properly.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ---- -------- -------------------------------------------------------
* 5.00a tb 02/27/12 Updates for the v5.00.a release
* </pre>
*
* ***************************************************************************
*/
#include "rgb2ycrcb.h"
#include "xparameters.h"
/***************************************************************************/
// RGB to YCrCb Color Space Converter Register Reading Example
// This function provides an example of how to read the current configuration
// settings of the RGB2YCRCB core.
/***************************************************************************/
void report_rgb_settings(u32 BaseAddress) {
xil_printf("RGB to YCrCb Color Space Converter Core Configuration:\r\n");
xil_printf(" Version: 0x%08x\r\n", RGB_ReadReg(BaseAddress, RGB_VERSION));
xil_printf(" Enable Bit: %1d\r\n", RGB_ReadReg(BaseAddress, RGB_CONTROL) & RGB_CTL_EN_MASK);
xil_printf(" Register Update Bit: %1d\r\n", (RGB_ReadReg(BaseAddress, RGB_CONTROL) & RGB_CTL_RUE_MASK) >> 1);
xil_printf(" Reset Bit: %1d\r\n", (RGB_ReadReg(BaseAddress, RGB_CONTROL) & RGB_RST_RESET) >> 31);
xil_printf(" AutoReset Bit: %1d\r\n", (RGB_ReadReg(BaseAddress, RGB_CONTROL) & RGB_RST_AUTORESET) >> 30);
xil_printf(" Columns=0x%8x, Rows=0x%8x\r\n",
(RGB_ReadReg(BaseAddress, RGB_ACTIVE_SIZE)>>16),
(RGB_ReadReg(BaseAddress, RGB_ACTIVE_SIZE)&0xFFFF));
xil_printf(" Acoef=0x%8x, Bcoef=0x%8x, Ccoef=0x%8x, Dcoef=0x%8x\r\n",
RGB_ReadReg(BaseAddress, RGB_ACOEF),
RGB_ReadReg(BaseAddress, RGB_BCOEF),
RGB_ReadReg(BaseAddress, RGB_CCOEF),
RGB_ReadReg(BaseAddress, RGB_DCOEF));
xil_printf(" Y Offset=0x%8x, Cb Offset=0x%8x, Cr Offset=0x%8x\r\n",
RGB_ReadReg(BaseAddress, RGB_YOFFSET),
RGB_ReadReg(BaseAddress, RGB_CBOFFSET),
RGB_ReadReg(BaseAddress, RGB_CROFFSET));
xil_printf(" Y Max=0x%8x, Y Min=0x%8x\r\n",
RGB_ReadReg(BaseAddress, RGB_YMAX),
RGB_ReadReg(BaseAddress, RGB_YMIN));
xil_printf(" Cb Max=0x%8x, Cb Min=0x%8x\r\n",
RGB_ReadReg(BaseAddress, RGB_CBMAX),
RGB_ReadReg(BaseAddress, RGB_CBMIN));
xil_printf(" Cr Max=0x%8x, Cr Min=0x%8x\r\n",
RGB_ReadReg(BaseAddress, RGB_CRMAX),
RGB_ReadReg(BaseAddress, RGB_CRMIN));
}
/***************************************************************************/
// RGB to YCrCb Color Space Converter Register Update Example
// This function provides an example of the process used to update
// the coefficient and offset registers in the RGB2YCrCb core.
// In most video systems, it is expected that this process would be executed
// in response to an interrupt connected to the SOF timing signal
// or a timeout signal associated with a watchdog timer.
/***************************************************************************/
void RGB_Update_Example() {
//Enable the RGB2YCRCB software enable
RGB_Enable(XPAR_RGB2YCRCB_0_BASEADDR);
//Disable register updates.
//This is the default operating mode for the CCM core, and allows
//registers to be updated without effecting the core's behavior.
RGB_RegUpdateDisable(XPAR_RGB2YCRCB_0_BASEADDR);
//Set the Active Columns and Rows
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_ACTIVE_SIZE, (1280<<16)+720); //1280x720
//Set the coefficients
// These values are floating point values in the range: [0.0, 1.0)
// These are represented as integers by multiplying by 2^16,
// resulting in an integer value in the range from [0, 65535]
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_ACOEF, 19595); //ACOEF = 0.299
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_BCOEF, 7471); //BCOEF = 0.114
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_CCOEF, 46727); //CCOEF = 0.713
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_DCOEF, 36962); //DCOEF = 0.564
//Set the offsets
// For 8-bit color: Valid range = [ -256, 255]
// For 10-bit color: Valid range = [ -1024, 1023]
// For 12-bit color: Valid range = [ -4096, 4095]
// For 16-bit color: Valid range = [-65536, 65535]
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_YOFFSET, 16); //YOFFSET = 16
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_CBOFFSET, 128); //CBOFFSET = 128
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_CROFFSET, 128); //CROFFSET = 128
//Set the Clip/Clamp
// For 8-bit color: Valid range = [0, 255]
// For 10-bit color: Valid range = [0, 1023]
// For 12-bit color: Valid range = [0, 4095]
// For 16-bit color: Valid range = [0, 65535]
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_YMAX, 240); //YMAX = 240
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_YMIN, 16); //YMIN = 16
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_CBMAX, 240); //CBMAX = 240
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_CBMIN, 16); //CBMIN = 16
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_CRMAX, 240); //CRMAX = 240
RGB_WriteReg(XPAR_RGB2YCRCB_0_BASEADDR, RGB_CRMIN, 16); //CRMIN = 16
//Enable register updates.
//This mode will cause the coefficient and offset registers internally
//to the CCM core to automatically be updated on the next SOF.
RGB_RegUpdateEnable(XPAR_RGB2YCRCB_0_BASEADDR);
}
/*****************************************************************************/
//
// This is the main function for the RGB2YCrCb example.
//
/*****************************************************************************/
int main(void)
{
struct rgb_coef_inputs coef_in;
struct rgb_coef_outputs coef_out;
// Print the current settings for the RGB2YCrCb core
report_rgb_settings(XPAR_RGB2YCRCB_0_BASEADDR);
// Call the RGB2YCrCb example, specify the Device ID generated in xparameters.h
RGB_Update_Example(XPAR_RGB2YCRCB_0_BASEADDR);
// Read the current RGB2YCrCb core coefficients
RGB_get_coefficients(XPAR_RGB2YCRCB_0_BASEADDR, &coef_out);
// Setup coef_in for SD_ITU_601, 16_to_235_for_Studio_Equipment
// and data width of 8-bits
RGB_select_standard(0, 1, XPAR_RGB2YCRCB_0_M_AXIS_VIDEO_DATA_WIDTH, &coef_in);
// Translate into RGB2YCrCb core coefficients
RGB_coefficient_translation(&coef_in, &coef_out,XPAR_RGB2YCRCB_0_M_AXIS_VIDEO_DATA_WIDTH);
// Program the new RGB2YCrCb core coefficients
RGB_set_coefficients(XPAR_RGB2YCRCB_0_BASEADDR, &coef_out);
// Print the current settings for the RGB2YCrCb core
report_rgb_settings(XPAR_RGB2YCRCB_0_BASEADDR);
return 0;
}

View file

@ -7,11 +7,15 @@
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body bgcolor="#FFFFFF">
<h1> Example Applications for the driver rgb2ycrcb_v6_0 </h1>
<h1> Example Applications for the driver rgb2ycrcb_v7_0 </h1>
<HR>
<ul>
<li>example.c <a href="example.c">(source)</a> </li>
<li>rgb2ycrcb_selftest_example.c <a href="rgb2ycrcb_selftest_example.c">(source)</a> </li>
</ul>
<p><font face="Times New Roman" color="#800000">Copyright © 1995-2014 Xilinx, Inc. All rights reserved.</font></p>
<ul>
<li>rgb2ycrcb_example.c <a href="rgb2ycrcb_example.c">(source)</a> </li>
</ul>
<p><font face="Times New Roman" color="#800000">Copyright ? 1995-2014 Xilinx, Inc. All rights reserved.</font></p>
</body>
</html>
</html>

View file

@ -0,0 +1,217 @@
/******************************************************************************
*
* Copyright (C) 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file rgb2ycrcb_example.c
*
* This file demonstrates how to use Xilinx RGB to YCrCb Color Space Converter
* (RGB2YCRCB) driver on Xilinx RGB to YCrCb Color Space Converter (RGB2YCRCB)
* core.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ---- -------- -------------------------------------------------------
* 7.00 adk 07/07/14 First release.
* </pre>
*
******************************************************************************/
#include "xrgb2ycrcb.h"
#include "xparameters.h"
/************************** Constant Definitions *****************************/
/**
* The following constants map to the XPAR parameters created in the
* xparameters.h file. They are defined here such that a user can easily
* change all the needed parameters in one place.
*/
#define XRGB_DEVICE_ID XPAR_RGB2YCRCB_0_DEVICE_ID
/**************************** Type Definitions *******************************/
/***************** Macros (Inline Functions) Definitions *********************/
/************************** Function Prototypes ******************************/
int Rgb2YCrCb_Update_Example(u16 DeviceId);
/************************** Variable Definitions *****************************/
XRgb2YCrCb XRgbInstance; /**< Instance of the RGB2YCRCB core */
/************************** Function Definitions *****************************/
/*****************************************************************************/
/**
*
* Main function to call the Rgb2YCrCb example.
*
* @param None.
*
* @return
* - XST_SUCCESS if successful,
* - XST_FAILURE if it is unsuccessful
*
* @note None.
*
******************************************************************************/
int main(void)
{
int Status;
/* Call the Rgb2YCrCb update example, specify the parameters generated
* in xparameters.h
*/
Status = Rgb2YCrCb_Update_Example(XRGB_DEVICE_ID);
if (Status != XST_SUCCESS) {
xil_printf("RGB2YCRCB driver example failed.\n\r");
return XST_FAILURE;
}
xil_printf("Successfully ran RGB2YCRCB driver example.\n\r");
return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* RGB to YCrCb Color Space Converter Register Update Example.
* This function provides an example of the process used to update the
* coefficient and offset registers in the RGB2YCrCb core. .
*
* @param DeviceId is the unique device id of the RGB2YCRCB core.
*
* @return
* - XST_SUCCESS if successful,
* - XST_FAILURE if it is un-successful
*
* @note None.
*
****************************************************************************/
int Rgb2YCrCb_Update_Example(u16 DeviceId)
{
struct XRgb2YCrCb_Coef_Inputs CoefIn;
struct XRgb2YCrCb_Coef_Outputs CoefOut;
XRgb2YCrCb_Config *Config;
int Status;
/* Initialize the RGB2YCrCb driver so that it's ready to use look up
* the configuration in the config table, then initialize it.
*/
Config = XRgb2YCrCb_LookupConfig(DeviceId);
if(NULL == Config){
return XST_FAILURE;
}
Status = XRgb2YCrCb_CfgInitialize(&XRgbInstance, Config,
Config->BaseAddress);
if(Status != XST_SUCCESS){
return XST_FAILURE;
}
/* Enable the RGB2YCRCB core */
XRgb2YCrCb_Enable(&XRgbInstance);
/* Disable register updates. This is the default operating mode for
* the RGB2YCRCB core and allows registers to be updated without
* effecting the core's behavior.
*/
XRgb2YCrCb_RegUpdateDisable(&XRgbInstance);
/* Setup CoefIn for XRGB_STANDARD_ITU_601_SD, 16_to_240_for_TV
* and data width of 8-bits.
* enum Standards are:
* 0 = XRGB_STANDARD_ITU_601_SD
* 1 = XRGB_STANDARD_ITU_709_NTSC
* 2 = XRGB_STANDARD_ITU_709_PAL
* 3 = XRGB_STANDARD_YUV.
*/
XRgb2YCrCb_Select_Standard(&XRgbInstance, XRGB_STANDARD_ITU_601_SD,
XRGB_TV_16_TO_240, (u32)XRGB_DATA_WIDTH_8,
&CoefIn);
/* Translate into RGB2YCrCb core coefficients */
XRgb2YCrCb_Coefficient_Translation(&XRgbInstance,
&CoefIn, &CoefOut,(u32)XRGB_DATA_WIDTH_8);
/* Program the new RGB2YCrCb core coefficients */
XRgb2YCrCb_SetCoefs(&XRgbInstance, CoefIn.ACoef, CoefIn.BCoef,
CoefIn.CCoef, CoefIn.DCoef);
/* Set output range */
XRgb2YCrCb_Select_OutputRange(&XRgbInstance, XRGB_TV_16_TO_240);
/* Set the Active Columns and Rows */
XRgb2YCrCb_SetActiveSize(&XRgbInstance, 720, 1280);
/* Set the offsets
* For 8-bit color: Valid range = [0, 255]
* For 10-bit color: Valid range = [0, 1023]
* For 12-bit color: Valid range = [0, 4095]
* For 16-bit color: Valid range = [0, 65535]
*/
XRgb2YCrCb_SetYOffset(&XRgbInstance, 16);
XRgb2YCrCb_SetCbOffset(&XRgbInstance, 128);
XRgb2YCrCb_SetCrOffset(&XRgbInstance, 128);
/* Set the Clip/Clamp
* For 8-bit color: Valid range = [0, 255]
* For 10-bit color: Valid range = [0, 1023]
* For 12-bit color: Valid range = [0, 4095]
* For 16-bit color: Valid range = [0, 65535]
*/
XRgb2YCrCb_SetYMax(&XRgbInstance, 240);
XRgb2YCrCb_SetYMin(&XRgbInstance, 16);
XRgb2YCrCb_SetCbMax(&XRgbInstance, 240);
XRgb2YCrCb_SetCbMin(&XRgbInstance, 16);
XRgb2YCrCb_SetCrMax(&XRgbInstance, 240);
XRgb2YCrCb_SetCrMin(&XRgbInstance, 16);
/* Enable register updates. This mode will cause the coefficient and
* offset registers internally to the RGB2YCRCB core to automatically
* be updated on the next start-of-frame (SOF).
*/
XRgb2YCrCb_RegUpdateEnable(&XRgbInstance);
return XST_SUCCESS;
}

View file

@ -0,0 +1,149 @@
/******************************************************************************
*
* Copyright (C) 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file rgb2ycrcb_selftest_example.c
*
* This file contains an example using the XRgb2YCrCb driver to do self test
* on the device.
*
* @note None.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ------ -------- ------------------------------------------------------
* 7.0 adk 01/20/14 First Release.
* </pre>
*
******************************************************************************/
/***************************** Include Files *********************************/
#include "xparameters.h"
#include "xrgb2ycrcb.h"
#include "xil_printf.h"
/************************** Constant Definitions *****************************/
/*
* The following constants map to the XPAR parameters created in the
* xparameters.h file. They are defined here such that a user can easily
* change all the needed parameters in one place.
*/
#define XRGB_DEVICE_ID XPAR_RGB2YCRCB_0_DEVICE_ID
/**************************** Type Definitions *******************************/
/***************** Macros (Inline Functions) Definitions *********************/
/************************** Function Prototypes ******************************/
int XRgb2YCrCbSelfTestExample(u16 DeviceId);
/************************** Variable Definitions *****************************/
XRgb2YCrCb Rgb2YCrCbInst; /**< Instance of the RGB2YCRCB core */
/*****************************************************************************/
/**
*
* Main/Entry function for self test example.
*
* @return
* - XST_SUCCESS if successful.
* - XST_FAILURE if it is unsuccessful.
*
* @note None.
*
******************************************************************************/
int main(void)
{
int Status;
/* Run selftest example */
Status = XRgb2YCrCbSelfTestExample(XRGB_DEVICE_ID);
if(Status != XST_SUCCESS) {
xil_printf("RGB Selftest Example Failed\r\n");
return XST_FAILURE;
}
xil_printf("Successfully ran RGB2YCrCb driver Selftest Example\r\n");
return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function does a minimal test on the RGB driver.
*
* @param DeviceId is an ID of RGB core or device.
*
* @return
* - XST_SUCCESS if successful.
* - XST_FAILURE if it is unsuccessful.
*
* @note None.
*
******************************************************************************/
int XRgb2YCrCbSelfTestExample(u16 DeviceId)
{
int Status;
XRgb2YCrCb_Config *Config;
/* Initialize the RGB2YCrCb driver so that it's ready to use look up
* the configuration in the config table, then initialize it.
*/
Config = XRgb2YCrCb_LookupConfig(DeviceId);
if(NULL == Config){
return XST_FAILURE;
}
Status = XRgb2YCrCb_CfgInitialize(&Rgb2YCrCbInst, Config,
Config->BaseAddress);
if(Status != XST_SUCCESS){
return XST_FAILURE;
}
/* Perform a self-test to check hardware build. */
Status = XRgb2YCrCb_SelfTest(&Rgb2YCrCbInst);
if(Status != XST_SUCCESS){
return XST_FAILURE;
}
return XST_SUCCESS;
}

View file

@ -1,265 +0,0 @@
/******************************************************************************
*
* Copyright (C) 2012 - 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file rgb2ycrcb.c
*
* This is main code of Xilinx RGB to YCrCb Color Space Converter (RGB2YCRCB)
* device driver. Please see rgb2ycrcb.h for more details of the driver.
*
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ---- -------- -------------------------------------------------------
* 5.00a tb 02/27/12 Updated for RGB2YCRCB v5.00.a
*
******************************************************************************/
/***************************** Include Files *********************************/
#include "rgb2ycrcb.h"
#include "xenv.h"
#include "stdio.h"
/*****************************************************************************/
// Note: Most of the functions are currently implemented as high-performance
// macros within rgb2ycrcb.h
/*****************************************************************************/
/*****************************************************************************/
/**
*
* Select input coefficients for 4 supported Standards and 3 Input Ranges.
*
* @param standard_sel is the standards selection: 0 = SD_ITU_601
* 1 = HD_ITU_709__1125_NTSC
* 2 = HD_ITU_709__1250_PAL
* 3 = YUV
* @param input_range is the limit on the range of the data: 0 = 16_to_240_for_TV,
* 1 = 16_to_235_for_Studio_Equipment,
* 3 = 0_to_255_for_Computer_Graphics
* @param data_width has a valid range of [8,10,12,16]
* @param coef_in is a pointer to a rgb_coef_inputs data structure.
*
* @return None.
*
* @note
*
******************************************************************************/
void RGB_select_standard(u32 standard_sel, u32 input_range, u32 data_width, struct rgb_coef_inputs *coef_in)
{
double acoef[4][3] = {{0.299, 0.299, 0.2568}, {0.299, 0.299, 0.2568}, {0.2126, 0.2126, 0.1819}, {0.299, 0.299, 0.299}};
double bcoef[4][3] = {{0.114, 0.114, 0.0979}, {0.114, 0.114, 0.0979}, {0.0722, 0.0722, 0.0618}, {0.114, 0.114, 0.114}};
double ccoef[4][3] = {{0.713, 0.7295, 0.5910}, {0.713, 0.7295, 0.5910}, {0.6350, 0.6495, 0.6495}, {0.877283, 0.877283, 0.877283}};
double dcoef[4][3] = {{0.564, 0.5772, 0.5772}, {0.564, 0.5772, 0.5772}, {0.5389, 0.5512, 0.5512}, {0.492111, 0.492111, 0.492111}};
u32 yoffset = 1<<(data_width-4);
u32 coffset = 1<<(data_width-1);
u32 max[3] = {(240*(1<<(data_width-8))), (235*(1<<(data_width-8))), ((1<<data_width)-1)};
u32 min[3] = { (16*(1<<(data_width-8))), (16*(1<<(data_width-8))), 0};
coef_in->acoef = acoef[standard_sel][input_range];
coef_in->bcoef = bcoef[standard_sel][input_range];
coef_in->ccoef = ccoef[standard_sel][input_range];
coef_in->dcoef = dcoef[standard_sel][input_range];
coef_in->yoffset = yoffset;
coef_in->cboffset = coffset;
coef_in->croffset = coffset;
coef_in->ymax = max[input_range];
coef_in->ymin = min[input_range];
coef_in->cbmax = max[input_range];
coef_in->cbmin = min[input_range];
coef_in->crmax = max[input_range];
coef_in->crmin = min[input_range];
}
/*****************************************************************************/
/**
*
* Translate input coefficients into coefficients that can be programmed into the
* RGB2YCrCb core.
*
* @param coef_in is a pointer to a rgb_coef_inputs data structure.
* @param coef_out is a pointer to a rgb_coef_output data structure.
*
* @return The 32-bit value: bit(0)= Acoef + Bcoef > 1.0
* bit(1)= Y Offset outside data width range [-2^data_width, (2^data_width)-1]
* bit(2)= Cb Offset outside data width range [-2^data_width, (2^data_width)-1]
* bit(3)= Cr Offset outside data width range [-2^data_width, (2^data_width)-1]
* bit(4)= Y Max outside data width range [0, (2^data_width)-1]
* bit(5)= Y Min outside data width range [0, (2^data_width)-1]
* bit(6)= Cb Max outside data width range [0, (2^data_width)-1]
* bit(7)= Cb Min outside data width range [0, (2^data_width)-1]
* bit(8)= Cr Max outside data width range [0, (2^data_width)-1]
* bit(9)= Cr Min outside data width range [0, (2^data_width)-1]
*
* @note
*
******************************************************************************/
u32 RGB_coefficient_translation(struct rgb_coef_inputs *coef_in, struct rgb_coef_outputs *coef_out, u32 data_width)
{
u32 ret_val = 0;
if((coef_in->acoef + coef_in->bcoef) > 1.0) {
printf("WARNING: Acoef (%1f) + Bcoef (%1f) can not be more then 1.0\r\n",coef_in->acoef, coef_in->bcoef);
ret_val = ret_val | 0x1;
}
if(coef_in->yoffset < -(1<<data_width) || coef_in->yoffset > (1<<data_width)-1) {
printf("WARNING: Y Offset (%u) is outside the data width range [%u, %u]\r\n",
(unsigned int)coef_in->yoffset, (unsigned int)-(1<<data_width), (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x2;
}
if(coef_in->cboffset < -(1<<data_width) || coef_in->cboffset > (1<<data_width)-1) {
printf("WARNING: Cb Offset (%u) is outside the data width range [%u, %u]\r\n",
(unsigned int)coef_in->cboffset, (unsigned int)-(1<<data_width), (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x4;
}
if(coef_in->croffset < -(1<<data_width) || coef_in->croffset > (1<<data_width)-1) {
printf("WARNING: Cr Offset (%u) is outside the data width range [%u, %u]\r\n",
(unsigned int)coef_in->croffset, (unsigned int)-(1<<data_width), (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x8;
}
if(coef_in->ymax < 0 || coef_in->ymax > (1<<data_width)-1) {
printf("WARNING: Y Max (%u) is outside the data width range [0, %u]\r\n",
(unsigned int)coef_in->ymax, (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x10;
}
if(coef_in->ymin < 0 || coef_in->ymin > (1<<data_width)-1) {
printf("WARNING: Y Min (%u) is outside the data width range [0, %u]\r\n",
(unsigned int)coef_in->ymin, (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x20;
}
if(coef_in->cbmax < 0 || coef_in->cbmax > (1<<data_width)-1) {
printf("WARNING: Cb Max (%u) is outside the data width range [0, %u]\r\n",
(unsigned int)coef_in->cbmax, (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x40;
}
if(coef_in->cbmin < 0 || coef_in->cbmin > (1<<data_width)-1) {
printf("WARNING: Cb Min (%u) is outside the data width range [0, %u]\r\n",
(unsigned int)coef_in->cbmin, (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x80;
}
if(coef_in->crmax < 0 || coef_in->crmax > (1<<data_width)-1) {
printf("WARNING: Cr Max (%u) is outside the data width range [0, %u]\r\n",
(unsigned int)coef_in->crmax, (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x100;
}
if(coef_in->crmin < 0 || coef_in->crmin > (1<<data_width)-1) {
printf("WARNING: Cr Min (%u) is outside the data width range [0, %u]\r\n",
(unsigned int)coef_in->crmin, (unsigned int)(1<<data_width)-1);
ret_val = ret_val | 0x200;
}
coef_out->acoef = coef_in->acoef * (1<<16);
coef_out->bcoef = coef_in->bcoef * (1<<16);
coef_out->ccoef = coef_in->ccoef * (1<<16);
coef_out->dcoef = coef_in->dcoef * (1<<16);
coef_out->yoffset = coef_in->yoffset;
coef_out->cboffset = coef_in->cboffset;
coef_out->croffset = coef_in->croffset;
coef_out->ymax = coef_in->ymax;
coef_out->ymin = coef_in->ymin;
coef_out->cbmax = coef_in->cbmax;
coef_out->cbmin = coef_in->cbmin;
coef_out->crmax = coef_in->crmax;
coef_out->crmin = coef_in->crmin;
return ret_val;
}
/*****************************************************************************/
/**
*
* Program the RGB2YCrCb coefficient/offset registers.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
* @param coef_out is a pointer to a rgb_coef_output data structure.
*
* @return None.
*
* @note
*
******************************************************************************/
void RGB_set_coefficients(u32 BaseAddress, struct rgb_coef_outputs *coef_out)
{
RGB_WriteReg(BaseAddress, RGB_ACOEF, coef_out->acoef); //ACOEF
RGB_WriteReg(BaseAddress, RGB_BCOEF, coef_out->bcoef); //BCOEF
RGB_WriteReg(BaseAddress, RGB_CCOEF, coef_out->ccoef); //CCOEF
RGB_WriteReg(BaseAddress, RGB_DCOEF, coef_out->dcoef); //DCOEF
RGB_WriteReg(BaseAddress, RGB_YOFFSET, coef_out->yoffset); //YOFFSET
RGB_WriteReg(BaseAddress, RGB_CBOFFSET, coef_out->cboffset); //CBOFFSET
RGB_WriteReg(BaseAddress, RGB_CROFFSET, coef_out->croffset); //CROFFSET
RGB_WriteReg(BaseAddress, RGB_YMAX, coef_out->ymax); //YMAX
RGB_WriteReg(BaseAddress, RGB_YMIN, coef_out->ymin); //YMIN
RGB_WriteReg(BaseAddress, RGB_CBMAX,coef_out->cbmax); //CBMAX
RGB_WriteReg(BaseAddress, RGB_CBMIN, coef_out->cbmin); //CBMIN
RGB_WriteReg(BaseAddress, RGB_CRMAX, coef_out->crmax); //CRMAX
RGB_WriteReg(BaseAddress, RGB_CRMIN, coef_out->crmin); //CRMIN
}
/*****************************************************************************/
/**
*
* Read the RGB2YCrCb coefficient/offset registers.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
* @param coef_out is a pointer to a rgb_coef_output data structure.
*
* @return None.
*
* @note
*
******************************************************************************/
void RGB_get_coefficients(u32 BaseAddress, struct rgb_coef_outputs *coef_out)
{
coef_out->acoef = RGB_ReadReg(BaseAddress, RGB_ACOEF);
coef_out->bcoef = RGB_ReadReg(BaseAddress, RGB_BCOEF);
coef_out->ccoef = RGB_ReadReg(BaseAddress, RGB_CCOEF);
coef_out->dcoef = RGB_ReadReg(BaseAddress, RGB_DCOEF);
coef_out->yoffset = RGB_ReadReg(BaseAddress, RGB_YOFFSET);
coef_out->cboffset = RGB_ReadReg(BaseAddress, RGB_CBOFFSET);
coef_out->croffset = RGB_ReadReg(BaseAddress, RGB_CROFFSET);
coef_out->ymax = RGB_ReadReg(BaseAddress, RGB_YMAX);
coef_out->ymin = RGB_ReadReg(BaseAddress, RGB_YMIN);
coef_out->cbmax = RGB_ReadReg(BaseAddress, RGB_CBMAX);
coef_out->cbmax = RGB_ReadReg(BaseAddress, RGB_CBMIN);
coef_out->crmax = RGB_ReadReg(BaseAddress, RGB_CRMAX);
coef_out->crmax = RGB_ReadReg(BaseAddress, RGB_CRMIN);
}

View file

@ -1,427 +0,0 @@
/******************************************************************************
*
* Copyright (C) 2012 - 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file rgb2ycrcb.h
*
* This header file contains identifiers and register-level driver functions (or
* macros) that can be used to access the Xilinx RGB to YCrCb Color Space Converter
* (RGB2YCRCB) device.
*
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ---- -------- -------------------------------------------------------
* 5.00a tb 02/27/12 Updated for RGB2YCRCB V5.00.a
* 5.01a bao 12/28/12 Converted from xio.h to xil_io.h, translating basic types,
* MB cache functions, exceptions and assertions to xil_io
* format
* 6.0 adk 19/12/13 Updated as per the New Tcl API's
*
******************************************************************************/
#ifndef RGB2YCRCB_DRIVER_H /* prevent circular inclusions */
#define RGB2YCRCB_DRIVER_H /* by using protection macros */
#ifdef __cplusplus
extern "C" {
#endif
/***************************** Include Files *********************************/
#include "xil_io.h"
/************************** Constant Definitions *****************************/
/**
* Register Offsets
*/
/* General Control Registers */
#define RGB_CONTROL 0x000 /**< Control */
#define RGB_STATUS 0x004 /**< Status */
#define RGB_ERROR 0x008 /**< Error */
#define RGB_IRQ_EN 0x00C /**< IRQ Enable */
#define RGB_VERSION 0x010 /**< Version */
#define RGB_SYSDEBUG0 0x014 /**< System Debug 0 */
#define RGB_SYSDEBUG1 0x018 /**< System Debug 1 */
#define RGB_SYSDEBUG2 0x01C /**< System Debug 2 */
/* Timing Control Registers */
#define RGB_ACTIVE_SIZE 0x020 /**< Active Size (V x H) */
#define RGB_TIMING_STATUS 0x024 /**< Timing Measurement Status */
/* Core Specific Registers */
#define RGB_YMAX 0x100 /**< Luma Clipping */
#define RGB_YMIN 0x104 /**< Luma Clamping */
#define RGB_CBMAX 0x108 /**< Cb Clipping */
#define RGB_CBMIN 0x10C /**< Cb Clamping */
#define RGB_CRMAX 0x110 /**< Cr Clipping */
#define RGB_CRMIN 0x114 /**< Cr Clamping */
#define RGB_YOFFSET 0x118 /**< Lumma Offset */
#define RGB_CBOFFSET 0x11C /**< Cb Offset */
#define RGB_CROFFSET 0x120 /**< Cr Offset */
#define RGB_ACOEF 0x124 /**< Matrix Coversion Coefficient */
#define RGB_BCOEF 0x128 /**< Matrix Coversion Coefficient */
#define RGB_CCOEF 0x12C /**< Matrix Coversion Coefficient */
#define RGB_DCOEF 0x130 /**< Matrix Coversion Coefficient */
/*
* CCM Control Register bit definition
*/
#define RGB_CTL_EN_MASK 0x00000001 /**< CCM Enable */
#define RGB_CTL_RUE_MASK 0x00000002 /**< CCM Register Update Enable */
/*
* CCM Reset Register bit definition
*/
#define RGB_RST_RESET 0x80000000 /**< Software Reset - Instantaneous */
#define RGB_RST_AUTORESET 0x40000000 /**< Software Reset - Auto-synchronize to SOF */
/***************** Macros (Inline Functions) Definitions *********************/
#define RGB_In32 Xil_In32
#define RGB_Out32 Xil_Out32
/*****************************************************************************/
/**
*
* This macro enables a RGB2YCrCb device.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
*
* @return None.
*
* @note
* C-style signature:
* void RGB_Enable(u32 BaseAddress);
*
******************************************************************************/
#define RGB_Enable(BaseAddress) \
RGB_WriteReg(BaseAddress, RGB_CONTROL, \
RGB_ReadReg(BaseAddress, RGB_CONTROL) | \
RGB_CTL_EN_MASK)
/*****************************************************************************/
/**
*
* This macro disables a RGB2YCrCb device.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
*
* @return None.
*
* @note
* C-style signature:
* void RGB_Disable(u32 BaseAddress);
*
******************************************************************************/
#define RGB_Disable(BaseAddress) \
RGB_WriteReg(BaseAddress, RGB_CONTROL, \
RGB_ReadReg(BaseAddress, RGB_CONTROL) & \
~RGB_CTL_EN_MASK)
/*****************************************************************************/
/**
*
* This macro tells a RGB2YCrCb device to pick up all the register value changes
* made so far by the software. The registers will be automatically updated
* on the next SOF signal on the core.
* It is up to the user to manually disable the register update after a sufficient
* amount if time.
*
* This function only works when the RGB2YCrCb core is enabled.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
*
* @return None.
*
* @note
* C-style signature:
* void RGB_RegUpdateEnable(u32 BaseAddress);
*
******************************************************************************/
#define RGB_RegUpdateEnable(BaseAddress) \
RGB_WriteReg(BaseAddress, RGB_CONTROL, \
RGB_ReadReg(BaseAddress, RGB_CONTROL) | \
RGB_CTL_RUE_MASK)
/*****************************************************************************/
/**
*
* This macro tells a RGB2YCrCb device not to update it's configuration registers made
* so far by the software. When disabled, changes to other configuration registers
* are stored, but do not effect the core's behavior.
*
* This function only works when the RGB2YCrCb core is enabled.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
*
* @return None.
*
* @note
* C-style signature:
* void RGB_RegUpdateDisable(u32 BaseAddress);
*
******************************************************************************/
#define RGB_RegUpdateDisable(BaseAddress) \
RGB_WriteReg(BaseAddress, RGB_CONTROL, \
RGB_ReadReg(BaseAddress, RGB_CONTROL) & \
~RGB_CTL_RUE_MASK)
/*****************************************************************************/
/**
*
* This macro resets a RGB2YCrCb device. This reset effects the core immediately,
* and may cause image tearing.
*
* This reset resets the RGB2YCrCb's configuration registers, and holds the core's outputs
* in their reset state until RGB_ClearReset() is called.
*
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
*
* @return None.
*
* @note
* C-style signature:
* void RGB_Reset(u32 BaseAddress);
*
******************************************************************************/
#define RGB_Reset(BaseAddress) \
RGB_WriteReg(BaseAddress, RGB_CONTROL, RGB_RST_RESET) \
/*****************************************************************************/
/**
*
* This macro clears the RGB2YCrCb's reset flag (which is set using RGB_Reset(), and
* returns it to normal operation. This ClearReset effects the core immediately,
* and may cause image tearing.
*
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
*
* @return None.
*
* @note
* C-style signature:
* void RGB_ClearReset(u32 BaseAddress);
*
******************************************************************************/
#define RGB_ClearReset(BaseAddress) \
RGB_WriteReg(BaseAddress, RGB_CONTROL, 0) \
/*****************************************************************************/
/**
*
* This macro resets a RGB2YCrCb device, but differs from RGB_Reset() in that it
* automatically synchronizes to the VBlank_in input of the core to prevent tearing.
*
* On the next rising-edge of VBlank_in following a call to RGB_AutoSyncReset(),
* all of the core's configuration registers and outputs will be reset, then the
* reset flag will be immediately released, allowing the core to immediately resume
* default operation.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
*
* @return None.
*
* @note
* C-style signature:
* void RGB_Reset(u32 BaseAddress);
*
******************************************************************************/
#define RGB_AutoSyncReset(BaseAddress) \
RGB_WriteReg(BaseAddress, RGB_CONTROL, RGB_RST_AUTORESET) \
/*****************************************************************************/
/**
*
* Read the given register.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
* @param RegOffset is the register offset of the register (defined at top of this file)
*
* @return The 32-bit value of the register
*
* @note
* C-style signature:
* u32 RGB_ReadReg(u32 BaseAddress, u32 RegOffset)
*
******************************************************************************/
#define RGB_ReadReg(BaseAddress, RegOffset) \
RGB_In32((BaseAddress) + (RegOffset))
/*****************************************************************************/
/**
*
* Write the given register.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
* @param RegOffset is the register offset of the register (defined at top of this file)
* @param Data is the 32-bit value to write to the register
*
* @return None.
*
* @note
* C-style signature:
* void RGB_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)
*
******************************************************************************/
#define RGB_WriteReg(BaseAddress, RegOffset, Data) \
RGB_Out32((BaseAddress) + (RegOffset), (Data))
/************************** Function Prototypes ******************************/
struct rgb_coef_inputs
{
/* Pre-translated coefficient/offset data */
double acoef; //@- [ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0
double bcoef; //@- [ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0
double ccoef; //@- [ 0.0 - 0.9 ]
double dcoef; //@- [ 0.0 - 0.9 ]
u32 yoffset; //@- Offset for the Luminance Channel
u32 cboffset; //@- Offset for the Chrominance Channels
u32 croffset; //@- Offset for the Chrominance Channels
u32 ymax; //@- Y Clipping
u32 ymin; //@- Y Clamping
u32 cbmax; //@- Cb Clipping
u32 cbmin; //@- Cb Clamping
u32 crmax; //@- Cr Clipping
u32 crmin; //@- Cr Clamping
};
struct rgb_coef_outputs
{
/* Translated coefficient/offset data */
u32 acoef; //@- Translated ACoef
u32 bcoef; //@- Translated BCoef
u32 ccoef; //@- Translated CCoef
u32 dcoef; //@- Translated DCoef
u32 yoffset; //@- Translated Offset for the Luminance Channel
u32 cboffset; //@- Translated Offset for the Chrominance Channels
u32 croffset; //@- Translated Offset for the Chrominance Channels
u32 ymax; //@- Translated Y Clipping
u32 ymin; //@- Translated Y Clamping
u32 cbmax; //@- Translated Cb Clipping
u32 cbmin; //@- Translated Cb Clamping
u32 crmax; //@- Translated Cr Clipping
u32 crmin; //@- Translated Cr Clamping
};
/*****************************************************************************/
/**
*
* Select input coefficients for 4 supported Standards and 3 Input Ranges.
*
* @param standard_sel is the standards selection: 0 = SD_ITU_601
* 1 = HD_ITU_709__1125_NTSC
* 2 = HD_ITU_709__1250_PAL
* 3 = YUV
* @param input_range is the limit on the range of the data: 0 = 16_to_240_for_TV,
* 1 = 16_to_235_for_Studio_Equipment,
* 3 = 0_to_255_for_Computer_Graphics
* @param data_width has a valid range of [8, 10,12,16]
* @param coef_in is a pointer to a rgb_coef_inputs data structure.
*
* @return None.
*
* @note
*
******************************************************************************/
void RGB_select_standard(u32 standard_sel, u32 input_range, u32 data_width, struct rgb_coef_inputs *coef_in);
/*****************************************************************************/
/**
*
* Translate input coefficients into coefficients that can be programmed into the
* RGB2YCrCb core.
*
* @param coef_in is a pointer to a rgb_coef_inputs data structure.
* @param coef_out is a pointer to a rgb_coef_output data structure.
*
* @return The 32-bit value: bit(0)= Acoef + Bcoef > 1.0
* bit(1)= Y Offset outside data width range [-2^data_width, (2^data_width)-1]
* bit(2)= Cb Offset outside data width range [-2^data_width, (2^data_width)-1]
* bit(3)= Cr Offset outside data width range [-2^data_width, (2^data_width)-1]
* bit(4)= Y Max outside data width range [0, (2^data_width)-1]
* bit(5)= Y Min outside data width range [0, (2^data_width)-1]
* bit(6)= Cb Max outside data width range [0, (2^data_width)-1]
* bit(7)= Cb Min outside data width range [0, (2^data_width)-1]
* bit(8)= Cr Max outside data width range [0, (2^data_width)-1]
* bit(9)= Cr Min outside data width range [0, (2^data_width)-1]
*
* @note
*
******************************************************************************/
u32 RGB_coefficient_translation(struct rgb_coef_inputs *coef_in, struct rgb_coef_outputs *coef_out, u32 data_width);
/*****************************************************************************/
/**
*
* Program the RGB2YCrCb coefficient/offset registers.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
* @param coef_out is a pointer to a rgb_coef_output data structure.
*
* @return None.
*
* @note
*
******************************************************************************/
void RGB_set_coefficients(u32 BaseAddress, struct rgb_coef_outputs *coef_out);
/*****************************************************************************/
/**
*
* Read the RGB2YCrCb coefficient/offset registers.
*
* @param BaseAddress is the Xilinx EDK base address of the RGB2YCrCb core (from xparameters.h)
* @param coef_out is a pointer to a rgb_coef_output data structure.
*
* @return None.
*
* @note
*
******************************************************************************/
void RGB_get_coefficients(u32 BaseAddress, struct rgb_coef_outputs *coef_out);
#ifdef __cplusplus
}
#endif
#endif /* end of protection macro */

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,840 @@
/******************************************************************************
*
* Copyright (C) 2012 - 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file xrgb2ycrcb.h
*
* This header file contains identifiers and register-level driver functions (or
* macros), range macros, structure typedefs that can be used to access the
* Xilinx Rgb2YCrCb core instance.
*
* The RGB to YCrCb Color-Space Convertor core is a simplified 3x3 matrix
* multiplier converts three input color samples to three output samples in a
* single clock cycle. The core supports four common format conversions as well
* as a custom mode that allows for a user-defined transform. The core is
* capable of a maximum resolution of 7680 columns by 7680 rows with 8, 10, 12,
* or 16 bits per pixel.
*
* <b>Initialization & Configuration</b>
*
* The device driver enables higher layer software (e.g., an application) to
* communicate to the RGB2YCRCB core.
*
* XRgb2YCrCb_CfgInitialize() API is used to initialize the RGB2YCRCB core.
* The user needs to first call the XRgb2YCrCb_LookupConfig() API which returns
* the Configuration structure pointer which is passed as a parameter to the
* XRgb2YCrCb_CfgInitialize() API.
*
* <b> Interrupts </b>
*
* The driver provides an interrupt handler XRgb2YCrCb_IntrHandler for handling
* the interrupt from the RGB2YCRCB core. The users of this driver have to
* register this handler with the interrupt system and provide the callback
* functions by using XRgb2YCrCb_SetCallBack API.
*
* <b> Virtual Memory </b>
*
* This driver supports Virtual Memory. The RTOS is responsible for calculating
* the correct device base address in Virtual Memory space.
*
* <b> Threads </b>
*
* This driver is not thread safe. Any needs for threads or thread mutual
* exclusion must be satisfied by the layer above this driver.
*
* <b> Asserts </b>
*
* Asserts are used within all Xilinx drivers to enforce constraints on argument
* values. Asserts can be turned off on a system-wide basis by defining, at
* compile time, the NDEBUG identifier. By default, asserts are turned on and it
* is recommended that users leave asserts on during development.
*
* <b> Building the driver </b>
*
* The XRgb2YCrCb driver is composed of several source files. This allows the user
* to build and link only those parts of the driver that are necessary.
*
*<pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ------ -------- -------------------------------------------------------
* 5.00a tb 02/27/12 Updated for RGB2YCRCB V5.00.a
* 5.01a bao 12/28/12 Converted from xio.h to xil_io.h, translating basic
* types, MB cache functions, exceptions and assertions
* to xil_io format.
* 6.0 adk 19/12/13 Updated as per the New Tcl API's.
* 7.0 adk 01/07/14 Changed the file name from "rgb2ycrcb.h" to
* "xrgb2ycrcb.h".
* Moved register offsets and bit definitions from
* rgb2ycrcb.h file to xrgb2ycrcb_hw.h file.
*
* Removed RGB_TIMING_STATUS register offset because this
* register is not present in latest product guide.
*
* Removed following function macros:
* RGB_Enable, RGB_Disable, RGB_RegUpdateEnable,
* RGB_RegUpdateDisable, RGB_Reset, RGB_ClearReset,
* RGB_AutoSyncReset.
* Removed following functions:
* RGB_select_standard, RGB_coefficient_translation,
* RGB_set_coefficients, RGB_get_coefficients.
*
* Added following handler types as enum:
* XRGB_HANDLER_PROCSTART, XRGB_HANDLER_FRAMEDONE,
* XRGB_HANDLER_ERROR.
*
* Added following standard types as enum:
* XRGB_STANDARD_ITU_601_SD, XRGB_STANDARD_ITU_709_NTSC,
* XRGB_STANDARD_ITU_709_PAL, XRGB_STANDARD_YUV,
* XRGB_STANDARD_CUSTOM.
*
* Added following output ranges as enum:
* XRGB_TV_16_TO_240, XRGB_STUDIO_16_TO_235,
* XRGB_GRAPHICS_0_TO_255.
*
* Added range macros for ActiveSize, YMAX, YMIN, YOFFSET,
* CBMAX, CBMIN, CBOFFSET, CRMAX, CRMIN, CROFFSET
* registers.
*
* Added following function macros:
* XRgb2YCrCb_IntrEnable, XRgb2YCrCb_SyncReset,
* XRgb2YCrCb_IntrDisable, XRgb2YCrCb_StatusGetPending,
* XRgb2YCrCb_IntrGetPending, XRgb2YCrCb_IntrClear,
* XRgb2YCrCb_RegUpdateEnable,
* XRgb2YCrCb_RegUpdateDisable, XRgb2YCrCb_Reset,
* XRgb2YCrCb_Enable, XRgb2YCrCb_Disable,
* XRgb2YCrCb_Start, XRgb2YCrCb_Stop.
*
* Added core and configuration structure.
* Renamed rgb_coef_inputs -> XRgb2YCrCb_Coef_Inputs and
* rgb_coef_outputs - > XRgb2YCrCb_Coef_Outputs.
*
* Added callback functions typedef.
*
* Implemented XRgb2YCrCb_LookupConfig in
* xrgb2ycrcb_sinit.c
* Implemented XRgb2YCrCb_SelfTest in
* xrgb2ycrcb_selftest.c
* Implemented XRgb2YCrCb_IntrHandler,
* XRgb2YCrCb_SetCallBack in xrgb2ycrcb_intr.c.
*
* Implemented following functions in xrgb2ycrcb.c:
* XRgb2YCrCb_CfgInitialize, XRgb2YCrCb_EnableDbgByPass,
* XRgb2YCrCb_IsDbgByPassEnabled,
* XRgb2YCrCb_DisableDbgBypass,
* XRgb2YCrCb_EnableDbgTestPattern,
* XRgb2YCrCb_IsDbgTestPatternEnabled,
* XRgb2YCrCb_DisableDbgTestPattern,
* XRgb2YCrCb_GetVersion, XRgb2YCrCb_GetDbgFrameCount,
* XRgb2YCrCb_GetDbgLineCount,
* XRgb2YCrCb_GetDbgPixelCount, XRgb2YCrCb_Setup,
* XRgb2YCrCb_SetActiveSize, XRgb2YCrCb_GetActiveSize,
* XRgb2YCrCb_SetYMax, XRgb2YCrCb_GetYMax,
* XRgb2YCrCb_SetYMin, XRgb2YCrCb_GetYMin,
* XRgb2YCrCb_SetCbMax, XRgb2YCrCb_GetCbMax,
* XRgb2YCrCb_SetCbMin, XRgb2YCrCb_GetCbMin,
* XRgb2YCrCb_SetCrMax, XRgb2YCrCb_GetCrMax,
* XRgb2YCrCb_SetCrMin, XRgb2YCrCb_GetCrMin,
* XRgb2YCrCb_SetYOffset, XRgb2YCrCb_GetYOffset,
* XRgb2YCrCb_SetCbOffset, XRgb2YCrCb_GetCbOffset,
* XRgb2YCrCb_SetCrOffset, XRgb2YCrCb_GetCrOffset,
* XRgb2YCrCb_SetCoefs, XRgb2YCrCb_GetCoefs,
* XRgb2YCrCb_Select_Standard,
* XRgb2YCrCb_Coefficient_Translation,
* XRgb2YCrCb_Select_OutputRange.
*</pre>
*
******************************************************************************/
#ifndef XRGB2YCRCB_H_
#define XRGB2YCRCB_H_ /**< Prevent circular inclusions by using protection
* macros
*/
#ifdef __cplusplus
extern "C" {
#endif
/***************************** Include Files *********************************/
#include "xrgb2ycrcb_hw.h"
#include "xil_assert.h"
#include "xstatus.h"
/************************** Constant Definitions *****************************/
/** @name Handler Types
* @{
*/
/**
*
* These constants specify different types of handler and used to differentiate
* interrupt requests from core.
*/
enum {
XRGB_HANDLER_PROCSTART = 1, /**< A processing start event interrupt
* type */
XRGB_HANDLER_FRAMEDONE, /**< A frame done event
* interrupt type */
XRGB_HANDLER_ERROR /**< An error condition interrupt
* type */
} ;
/*@}*/
/** @name Standard Types
* @{
*/
/**
*
* These constants specify different types of standards used to represent
* standard color encoding.
*/
enum Standards {
XRGB_STANDARD_ITU_601_SD = 0, /**< Standard ITU 601 SD. */
XRGB_STANDARD_ITU_709_NTSC, /**< Standard ITU 709 NTSC. */
XRGB_STANDARD_ITU_709_PAL, /**< Standard ITU 709 PAL. */
XRGB_STANDARD_YUV, /**< Standard YUV. */
XRGB_STANDARD_CUSTOM /**< Standard Custom. */
} ;
/*@}*/
/** @name Output Ranges
* @{
*/
/**
*
* These constants specify different ranges used for studio equipment,
* television and computer graphics respectively.
*/
enum OutputRanges {
XRGB_TV_16_TO_240 = 0, /**< 16 to 240, for Television. */
XRGB_STUDIO_16_TO_235, /**< 16 to 235, for Studio Equipment. */
XRGB_GRAPHICS_0_TO_255 /**< 0 to 255, for Computer Graphics. */
} ;
/*@}*/
/** @name Active size range macros
* @{
*/
#define XRGB_VSIZE_FIRST 32 /**< VSize starting value */
#define XRGB_VSIZE_LAST 7680 /**< VSize ending value */
#define XRGB_HSIZE_FIRST 32 /**< HSize starting value */
#define XRGB_HSIZE_LAST 7680 /**< HSize ending value */
/*@}*/
/** @name Ymax range macros
* @{
*/
#define XRGB_YMAX_FIRST 0 /**< Ymax starting value */
#define XRGB_YMAX_LAST 255 /**< Ymax ending value */
/*@}*/
/** @name Ymin range macros
* @{
*/
#define XRGB_YMIN_FIRST 0 /**< Ymin starting value */
#define XRGB_YMIN_LAST 255 /**< Ymax ending value */
/*@}*/
/** @name Yoffset range macros
* @{
*/
#define XRGB_YOFFSET_FIRST 0 /**< Yoffset starting value */
#define XRGB_YOFFSET_LAST 255 /**< Yoffset ending value */
/*@}*/
/** @name Cbmax range macros
* @{
*/
#define XRGB_CBMAX_FIRST 0 /**< Cbmax starting value */
#define XRGB_CBMAX_LAST 255 /**< Cbmax ending value */
/*@}*/
/** @name Cbmin range macros
* @{
*/
#define XRGB_CBMIN_FIRST 0 /**< Cbmin starting value */
#define XRGB_CBMIN_LAST 255 /**< Cbmin ending value */
/*@}*/
/** @name Cboffset range macros
* @{
*/
#define XRGB_CBOFFSET_FIRST 0 /**< Cboffset starting value */
#define XRGB_CBOFFSET_LAST 255 /**< Cboffset ending value */
/*@}*/
/** @name Crmax range macros
* @{
*/
#define XRGB_CRMAX_FIRST 0 /**< Crmax starting value */
#define XRGB_CRMAX_LAST 255 /**< Crmax ending value */
/*@}*/
/** @name Crmin range macros
* @{
*/
#define XRGB_CRMIN_FIRST 0 /**< Crmin starting value */
#define XRGB_CRMIN_LAST 255 /**< Crmin ending value */
/*@}*/
/** @name Croffset range macros
* @{
*/
#define XRGB_CROFFSET_FIRST 0 /**< Croffset starting value */
#define XRGB_CROFFSET_LAST 255 /**< Croffset ending value */
/*@}*/
/***************** Macros (Inline Functions) Definitions *********************/
/*****************************************************************************/
/**
*
* This macro enables the Rgb2YCrCb device/core.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_Enable(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_Enable(InstancePtr) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET), \
((XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET))) | (XRGB_CTL_SW_EN_MASK)))
/*****************************************************************************/
/**
*
* This macro disables the Rgb2YCrCb device/core.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_Disable(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_Disable(InstancePtr) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET), \
((XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET))) & (~(XRGB_CTL_SW_EN_MASK))))
/*****************************************************************************/
/**
*
* This function macro enables/starts the Rgb2YCrCb core.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb instance to be
* worked on
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_Start(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_Start XRgb2YCrCb_Enable
/*****************************************************************************/
/**
*
* This function macro disables/stops the Rgb2YCrCb core.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb instance to be
* worked on
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_Stop(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_Stop XRgb2YCrCb_Disable
/*****************************************************************************/
/**
*
* This macro enables copying from updated processor register values to
* the active set at the end of each AXI-Stream frame.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_RegUpdateEnable(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_RegUpdateEnable(InstancePtr)\
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET), \
((XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET))) | (XRGB_CTL_RUE_MASK)))
/*****************************************************************************/
/**
*
* This macro disables copying from updated processor register values to
* the active set at the end of each AXI-Stream frame.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_RegUpdateDisable(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_RegUpdateDisable(InstancePtr) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET), \
((XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET)))) & (~(XRGB_CTL_RUE_MASK)))
/*****************************************************************************/
/**
*
* This macro resets the Rgb2YCrCb device, but differs from XRgb_Reset() in that
* it automatically synchronizes to the VBlank_in input of the core to prevent
* tearing.
*
* On the next rising-edge of VBlank_in following a call to
* XRgb2YCrCb_SyncReset(), all of the core's configuration registers and outputs
* will be reset, then the reset flag will be immediately released, allowing the
* core to immediately resume default operation.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_SyncReset(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_SyncReset(InstancePtr) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET), (XRGB_CTL_AUTORESET_MASK))
/*****************************************************************************/
/**
*
* This macro resets the Rgb2YCrCb core. This reset effects the core
* immediately, and may cause image tearing.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_Reset(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_Reset(InstancePtr) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_CONTROL_OFFSET), (XRGB_CTL_RESET_MASK))
/*****************************************************************************/
/**
*
* This function macro enables individual interrupts of the RGB2YCRCB core by
* updating the IRQ_ENABLE register.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
* @param IntrType is the bit-mask of the interrupts to be enabled.
* Bit positions of 1 will be enabled. Bit positions of 0 will
* keep the previous setting. This mask is formed by OR'ing
* XRGB_IXR_*_MASK bits defined in xrgb2ycrcb_hw.h.
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_IntrEnable(XRgb2YCrCb *InstancePtr,
* u32 IntrType)
*
* The existing enabled interrupt(s) will remain enabled.
*
******************************************************************************/
#define XRgb2YCrCb_IntrEnable(InstancePtr, IntrType) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_IRQ_EN_OFFSET), (((IntrType) & \
(XRGB_IXR_ALLINTR_MASK)) | \
(XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_IRQ_EN_OFFSET)))))
/*****************************************************************************/
/**
*
* This function macro disables individual interrupts of the RGB2YCRCB core by
* updating the IRQ_ENABLE register.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
* @param IntrType is the bit-mask of the interrupts to be disabled.
* Bit positions of 1 will be disabled. Bit positions of 0 will
* keep the previous setting. This mask is formed by OR'ing
* XRGB_IXR_*_MASK bits defined in xrgb2ycrcb_hw.h.
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_IntrDisable(XRgb2YCrCb *InstancePtr,
* u32 IntrType)
*
* Any other interrupt not covered by parameter IntrType, if
* enabled before this macro is called, will remain enabled.
*
******************************************************************************/
#define XRgb2YCrCb_IntrDisable(InstancePtr, IntrType) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_IRQ_EN_OFFSET), \
((XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_IRQ_EN_OFFSET))) & ((~(IntrType)) & \
(XRGB_IXR_ALLINTR_MASK))))
/*****************************************************************************/
/**
*
* This function macro returns the pending interrupt status of the RGB2YCRCB
* core read from the Status register.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
*
* @return The status of pending interrupts of the Rgb2YCrCb core.
* Use XRGB_IXR_*_MASK constants defined in xrgb2ycrcb_hw.h to
* interpret this value.
*
* @note C-style signature:
* u32 XRgb2YCrCb_StatusGePending(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_StatusGetPending(InstancePtr) \
XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_STATUS_OFFSET)) & (XRgb2YCrCb_IXR_ALLINTR_MASK)
/*****************************************************************************/
/**
*
* This function macro returns the pending interrupts of the RGB2YCRCB core for
* the interrupts that have been enabled.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
*
* @return The pending interrupts of the Rgb2YCrCb core. Use
* XRGB_IXR_*_MASK constants defined in xrgb2ycrcb_hw.h to
* interpret this value. The returned value is a logical AND of
* the contents of the STATUS Register and the IRQ_ENABLE
* Register.
*
* @note C-style signature:
* u32 XRgb2YCrCb_IntrGetPending(XRgb2YCrCb *InstancePtr)
*
******************************************************************************/
#define XRgb2YCrCb_IntrGetPending(InstancePtr) \
XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_IRQ_EN_OFFSET)) & \
((XRgb2YCrCb_ReadReg((InstancePtr)->Config.BaseAddress, \
(XRGB_STATUS_OFFSET))) & ((u32)(XRGB_IXR_ALLINTR_MASK)))
/*****************************************************************************/
/**
*
* This function macro clears/acknowledges pending interrupts of the RGB2YCRCB
* core in the Status register. Bit positions of 1 will be cleared.
*
* @param InstancePtr is a pointer to the Rgb2YCrCb core instance to be
* worked on.
* @param IntrType is the pending interrupts to clear/acknowledge.
* Use OR'ing of XRGB_IXR_*_MASK constants defined in
* xrgb2ycrcb_hw.h to create this parameter value.
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_IntrClear(XRgb2YCrCb *InstancePtr,
* u32 IntrType)
*
******************************************************************************/
#define XRgb2YCrCb_IntrClear(InstancePtr, IntrType) \
XRgb2YCrCb_WriteReg((InstancePtr)->Config.BaseAddress, \
(XRGB_STATUS_OFFSET), ((IntrType) & \
(XRGB_IXR_ALLINTR_MASK)))
/**************************** Type Definitions *******************************/
/**
* This typedef contains configuration information for a Rgb2YCrCb core.
* Each Rgb2YCrCb core should have a configuration structure associated.
*/
typedef struct {
u16 DeviceId; /**< DeviceId is the unique ID of the
* RGB2YCRCB core */
u32 BaseAddress; /**< BaseAddress is the physical base address
* of the RGB2YCRCB core registers */
u32 SlaveAxisVideoFormat; /**< Slave Axis Video Format */
u32 MasterAxisVideoFormat; /**< Master Axis Video Format */
u16 HasDebug; /**< To check debug support */
u16 HasIntcIf; /**< To check Interrupt controller
* support */
u32 MaxCols; /**< Maximum number of columns */
u32 ActiveCols; /**< Number of active columns */
u32 ActiveRows; /**< Number of active rows */
u16 HasClip; /**< To check support for clipping */
u16 HasClamp; /**< To check support for clamping */
u32 ACoef; /**< A coefficient */
u32 BCoef; /**< B coefficient */
u32 CCoef; /**< C coefficient */
u32 DCoef; /**< D coefficient */
u32 YOffset; /**< Y Offset value */
u32 CbOffset; /**< Cb Offset value */
u32 CrOffset; /**< Cr Offset value */
u32 YMax; /**< Y Min value */
u32 YMin; /**< Y Max value */
u32 CbMax; /**< Cb Max value */
u32 CbMin; /**< Cb Min value */
u32 CrMax; /**< Cr Max value */
u32 CrMin; /**< Cr Min value */
u32 SlaveAxiClkFreqHz; /**< Slave AXI Clock Frequency in Hz */
u32 StandardSelection; /**< To select standard */
u32 OutputRange; /**< To identify output range */
} XRgb2YCrCb_Config;
/*****************************************************************************/
/**
*
* Callback type for all interrupts except error interrupt.
*
* @param CallBackRef is a callback reference passed in by the upper
* layer when setting the callback functions, and passed back to
* the upper layer when the callback is invoked.
*
* @return None.
*
* @note None.
*
*****************************************************************************/
typedef void (*XRgb2YCrCb_CallBack)(void *CallBackRef);
/*****************************************************************************/
/**
*
* This data type defines a handler that an application defines to communicate
* with interrupt system to retrieve error information while processing video
* frame.
*
* @param CallBackRef is a callback reference passed in by the upper
* layer when setting the callback functions, and passed back to
* the upper layer when the callback is invoked.
* @param ErrorMask is a bit mask indicating the cause of the error. Its
* value equals 'OR'ing one or more XRGB_IXR_*_MASK values defined
* in xrgb2ycrcb_hw.h.
*
* @return None.
*
* @note None.
*
*****************************************************************************/
typedef void (*XRgb2YCrCb_ErrorCallBack)(void *CallBackRef, u32 ErrorMask);
/**
* The XRgb2YCrCb driver instance data structure. A pointer to an instance data
* structure is passed around by functions to refer to a specific driver
* instance.
*/
typedef struct {
XRgb2YCrCb_Config Config; /**< Hardware configuration */
u32 IsReady; /**< Core and driver instance are initialized */
u16 HSize; /**< Active Video Horizontal Size */
u16 VSize; /**< Active Video Vertical Size */
/* IRQ callbacks Here */
XRgb2YCrCb_CallBack ProcStartCallBack; /**< Callback for Processing
* Start interrupt */
void *ProcStartRef; /**< To be passed to Process start interrupt
* callback */
XRgb2YCrCb_CallBack FrameDoneCallBack; /**< Callback for Frame Done
* interrupt */
void *FrameDoneRef; /**< To be passed to the Frame done interrupt
* callback */
XRgb2YCrCb_ErrorCallBack ErrCallBack; /**< Callback for Error
* interrupt */
void *ErrRef; /**< To be passed to the Error interrupt callback */
u32 StandardSelection; /**< Standard Selection */
u32 OutputRange; /**< Output Range */
} XRgb2YCrCb;
/**
* Rgb2YCrCb input coefficient
*/
struct XRgb2YCrCb_Coef_Inputs {
/* Pre-translated coefficient/offset data */
double ACoef; /**< [ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0 */
double BCoef; /**< [ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0 */
double CCoef; /**< [ 0.0 - 0.9 ] */
double DCoef; /**< [ 0.0 - 0.9 ] */
u32 YOffset; /**< Offset for the Luminance Channel */
u32 CbOffset; /**< Offset for the Chrominance Channels */
u32 CrOffset; /**< Offset for the Chrominance Channels */
u32 YMax; /**< Y Clipping */
u32 YMin; /**< Y Clamping */
u32 CbMax; /**< Cb Clipping */
u32 CbMin; /**< Cb Clamping */
u32 CrMax; /**< Cr Clipping */
u32 CrMin; /**< Cr Clamping */
} ;
/**
* Rgb2YCrCb output coefficient
*/
struct XRgb2YCrCb_Coef_Outputs {
/* Translated coefficient/offset data */
u32 ACoef; /**< Translated ACoef */
u32 BCoef; /**< Translated BCoef */
u32 CCoef; /**< Translated CCoef */
u32 DCoef; /**< Translated DCoef */
u32 YOffset; /**< Translated Offset for the Luminance Channel */
u32 CbOffset; /**< Translated Offset for the Chrominance Channels */
u32 CrOffset; /**< Translated Offset for the Chrominance Channels */
u32 YMax; /**< Translated Y Clipping */
u32 YMin; /**< Translated Y Clamping */
u32 CbMax; /**< Translated Cb Clipping */
u32 CbMin; /**< Translated Cb Clamping */
u32 CrMax; /**< Translated Cr Clipping */
u32 CrMin; /**< Translated Cr Clamping */
} ;
/************************** Function Prototypes ******************************/
/* Static lookup function implemented in xrgb2ycrcb_sinit.c */
XRgb2YCrCb_Config *XRgb2YCrCb_LookupConfig(u16 DeviceId);
/* Following functions implemented in xrgb2ycrcb.c */
int XRgb2YCrCb_CfgInitialize(XRgb2YCrCb *InstancePtr,
XRgb2YCrCb_Config *CfgPtr, u32 EffectiveAddr);
void XRgb2YCrCb_EnableDbgByPass(XRgb2YCrCb *InstancePtr);
int XRgb2YCrCb_IsDbgByPassEnabled(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_DisableDbgBypass(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_EnableDbgTestPattern(XRgb2YCrCb *InstancePtr);
int XRgb2YCrCb_IsDbgTestPatternEnabled(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_DisableDbgTestPattern(XRgb2YCrCb *InstancePtr);
u32 XRgb2YCrCb_GetVersion(XRgb2YCrCb *InstancePtr);
u32 XRgb2YCrCb_GetDbgFrameCount(XRgb2YCrCb *InstancePtr);
u32 XRgb2YCrCb_GetDbgLineCount(XRgb2YCrCb *InstancePtr);
u32 XRgb2YCrCb_GetDbgPixelCount(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_Setup(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetActiveSize(XRgb2YCrCb *InstancePtr, u16 HSize, u16 VSize);
void XRgb2YCrCb_GetActiveSize(XRgb2YCrCb *InstancePtr, u16 *HSize, u16 *VSize);
void XRgb2YCrCb_SetYMax(XRgb2YCrCb *InstancePtr, u32 YMax);
u32 XRgb2YCrCb_GetYMax(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetYMin(XRgb2YCrCb *InstancePtr, u32 YMin);
u32 XRgb2YCrCb_GetYMin(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetCbMax(XRgb2YCrCb *InstancePtr, u32 CbMax);
u32 XRgb2YCrCb_GetCbMax(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetCbMin(XRgb2YCrCb *InstancePtr, u32 CbMin);
u32 XRgb2YCrCb_GetCbMin(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetCrMax(XRgb2YCrCb *InstancePtr, u32 CrMax);
u32 XRgb2YCrCb_GetCrMax(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetCrMin(XRgb2YCrCb *InstancePtr, u32 CrMin);
u32 XRgb2YCrCb_GetCrMin(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetYOffset(XRgb2YCrCb *InstancePtr, u32 YOffset);
u32 XRgb2YCrCb_GetYOffset(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetCbOffset(XRgb2YCrCb *InstancePtr, u32 CbOffset);
u32 XRgb2YCrCb_GetCbOffset(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetCrOffset(XRgb2YCrCb *InstancePtr, u32 CrOffset);
u32 XRgb2YCrCb_GetCrOffset(XRgb2YCrCb *InstancePtr);
void XRgb2YCrCb_SetCoefs(XRgb2YCrCb *InstancePtr, double ACoef, double BCoef,
double CCoef, double DCoef);
void XRgb2YCrCb_GetCoefs(XRgb2YCrCb *InstancePtr, double *ACoef, double *BCoef,
double *CCoef, double *DCoef);
void XRgb2YCrCb_Select_Standard(XRgb2YCrCb *InstancePtr,
enum Standards StandardSel,
enum OutputRanges InputRange, u32 DataWidth,
struct XRgb2YCrCb_Coef_Inputs *CoefIn);
u32 XRgb2YCrCb_Coefficient_Translation(XRgb2YCrCb *InstancePtr,
struct XRgb2YCrCb_Coef_Inputs *CoefIn,
struct XRgb2YCrCb_Coef_Outputs *CoefOut,
u32 Data_Width);
void XRgb2YCrCb_Select_OutputRange(XRgb2YCrCb *InstancePtr,
enum OutputRanges Range);
/* Self-test function implemented in xrgb2ycrcb_selftest.c */
int XRgb2YCrCb_SelfTest(XRgb2YCrCb *InstancePtr);
/* Interrupt related functions implemented in xrgbycrcb_intr.c */
void XRgb2YCrCb_IntrHandler(void *InstancePtr);
int XRgb2YCrCb_SetCallBack(XRgb2YCrCb *InstancePtr, u32 HandlerType,
void *CallBackFunc,
void *CallBackRef);
/************************** Variable Declarations ****************************/
#ifdef __cplusplus
}
#endif
#endif /* End of protection macro */

View file

@ -0,0 +1,87 @@
/*******************************************************************
*
* CAUTION: This file is automatically generated by HSM.
* Version:
* DO NOT EDIT.
*
* v (64-bit)
SW Build (by ) on
Copyright 1986-2014 Xilinx, Inc. All Rights Reserved.
*
* Description: Driver configuration
*
*******************************************************************/
#include "xparameters.h"
#include "xrgb2ycrcb.h"
/*
* The configuration table for devices
*/
XRgb2YCrCb_Config XRgb2YCrCb_ConfigTable[] =
{
{
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_DEVICE_ID,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_BASEADDR,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_HIGHADDR,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_S_AXIS_VIDEO_FORMAT,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_M_AXIS_VIDEO_FORMAT,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_HAS_DEBUG,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_HAS_INTC_IF,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_MAX_COLS,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_ACTIVE_COLS,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_ACTIVE_ROWS,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_HAS_CLIP,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_HAS_CLAMP,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_ACOEF,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_BCOEF,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_CCOEF,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_DCOEF,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_YOFFSET,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_CBOFFSET,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_CROFFSET,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_YMAX,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_YMIN,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_CBMAX,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_CBMIN,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_CRMAX,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_CRMIN,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_S_AXI_CLK_FREQ_HZ,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_STANDARD_SEL,
XPAR_FMC_SENSOR_INPUT_V_RGB2YCRCB_1_OUTPUT_RANGE
},
{
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_DEVICE_ID,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_BASEADDR,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_HIGHADDR,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_S_AXIS_VIDEO_FORMAT,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_M_AXIS_VIDEO_FORMAT,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_HAS_DEBUG,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_HAS_INTC_IF,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_MAX_COLS,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_ACTIVE_COLS,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_ACTIVE_ROWS,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_HAS_CLIP,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_HAS_CLAMP,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_ACOEF,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_BCOEF,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_CCOEF,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_DCOEF,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_YOFFSET,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_CBOFFSET,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_CROFFSET,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_YMAX,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_YMIN,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_CBMAX,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_CBMIN,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_CRMAX,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_CRMIN,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_S_AXI_CLK_FREQ_HZ,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_STANDARD_SEL,
XPAR_HDMI_OUTPUT_V_RGB2YCRCB_1_OUTPUT_RANGE
}
};

View file

@ -0,0 +1,371 @@
/******************************************************************************
*
* Copyright (C) 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file xrgb2ycrcb_hw.h
*
* This header file contains identifiers and register-level driver functions (or
* macros) that can be used to access the Xilinx RGB to YCrCb color space
* converter (RGB2YCRCB) core.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ------ -------- -----------------------------------------------------
* 7.0 adk 01/28/14 First release.
* Added the register offsets and bit masks for the
* registers.
* Added backward compatibility macros.
*</pre>
*
******************************************************************************/
#ifndef XRGB2YCRCB_HW_H_
#define XRGB2YCRCB_HW_H_ /**< Prevent circular inclusions
* by using protection macros */
#ifdef __cplusplus
extern "C" {
#endif
/***************************** Include Files *********************************/
#include "xil_io.h"
/************************** Constant Definitions *****************************/
/** @name Control Registers
*
* Control registers offset for RGB2YCRCB core.
* @{
*/
#define XRGB_CONTROL_OFFSET 0x000 /**< Control offset */
#define XRGB_STATUS_OFFSET 0x004 /**< Status offset */
#define XRGB_ERROR_OFFSET 0x008 /**< Error offset */
#define XRGB_IRQ_EN_OFFSET 0x00C /**< IRQ Enable offset */
#define XRGB_VERSION_OFFSET 0x010 /**< Version offset */
#define XRGB_SYSDEBUG0_OFFSET 0x014 /**< System Debug 0 offset */
#define XRGB_SYSDEBUG1_OFFSET 0x018 /**< System Debug 1 offset */
#define XRGB_SYSDEBUG2_OFFSET 0x01C /**< System Debug 2 offset */
/*@}*/
/** @name Timing Control Registers
*
* Timing control registers offset for RGB2YCRCB core.
* @{
*/
#define XRGB_ACTIVE_SIZE_OFFSET 0x020 /**< Active Size (V x H)
* offset */
/*@}*/
/** @name Core Specific Registers
*
* Core specific registers offset.
* @{
*/
#define XRGB_YMAX_OFFSET 0x100 /**< Luma Clipping offset */
#define XRGB_YMIN_OFFSET 0x104 /**< Luma Clamping offset */
#define XRGB_CBMAX_OFFSET 0x108 /**< Cb Clipping offset */
#define XRGB_CBMIN_OFFSET 0x10C /**< Cb Clamping offset */
#define XRGB_CRMAX_OFFSET 0x110 /**< Cr Clipping offset */
#define XRGB_CRMIN_OFFSET 0x114 /**< Cr Clamping offset */
#define XRGB_YOFFSET_OFFSET 0x118 /**< Luma Offset offset */
#define XRGB_CBOFFSET_OFFSET 0x11C /**< Cb Offset offset */
#define XRGB_CROFFSET_OFFSET 0x120 /**< Cr Offset offset */
#define XRGB_ACOEF_OFFSET 0x124 /**< A Coefficient offset */
#define XRGB_BCOEF_OFFSET 0x128 /**< B Coefficient offset */
#define XRGB_CCOEF_OFFSET 0x12C /**< C Coefficient offset */
#define XRGB_DCOEF_OFFSET 0x130 /**< D Coefficient offset */
/*@}*/
/** @name Control Register Bit Masks
*
* Control Register bit definition for RGB2YCRCB core.
* @{
*/
#define XRGB_CTL_SW_EN_MASK 0x00000001 /**< Software Enable Mask */
#define XRGB_CTL_RUE_MASK 0x00000002 /**< Register Update
* Enable Mask */
#define XRGB_CTL_BPE_MASK 0x00000010 /**< Bypass Mask */
#define XRGB_CTL_TPE_MASK 0x00000020 /**< Test Pattern Mask */
#define XRGB_CTL_AUTORESET_MASK 0x40000000 /**< Software Reset -
* Auto-synchronize
* to SOF Mask */
#define XRGB_CTL_RESET_MASK 0x80000000 /**< Software Reset -
* Instantaneous Mask */
/*@}*/
/** @name Slave Error Bit Masks
* @{
*/
#define XRGB_ERR_EOL_EARLY_MASK 0x000000001 /**<Error: End of line Early
* Mask */
#define XRGB_ERR_EOL_LATE_MASK 0x000000002 /**<Error: End of line Late
* Mask */
#define XRGB_ERR_SOF_EARLY_MASK 0x000000004 /**<Error: Start of frame
* Early Mask */
#define XRGB_ERR_SOF_LATE_MASK 0x000000008 /**<Error: Start of frame
* Late Mask */
/*@}*/
/** @name Interrupt Register Bit Masks
*
* Interrupt Register bit definition for RGB2YCRCB core. It is applicable for
* STATUS and IRQ_ENABLE Registers.
* @{
*/
#define XRGB_IXR_PROC_STARTED_MASK 0x00000001 /**< Process Started
* Mask */
#define XRGB_IXR_EOF_MASK 0x00000002 /**< End-Of-Frame
* Mask */
#define XRGB_IXR_SE_MASK 0x00010000 /**< Slave Error
* Mask */
#define XRGB_IXR_ALLINTR_MASK 0x00010003 /**< Interrupt All
* Error Mask (ORing
* (of All Interrupt
* Mask) */
/*@}*/
/** @name Version Register Bit Masks and Shifts
*
* Version Register bit definition for RGB2YCRCB core.
* @{
*/
#define XRGB_VER_REV_NUM_MASK 0x000000FF /**< Revision Number Mask */
#define XRGB_VER_PID_MASK 0x00000F00 /**< Patch ID Mask */
#define XRGB_VER_REV_MASK 0x0000F000 /**< Revision Mask */
#define XRGB_VER_MINOR_MASK 0x00FF0000 /**< Minor Mask */
#define XRGB_VER_MAJOR_MASK 0xFF000000 /**< Major Mask */
#define XRGB_VER_MAJOR_SHIFT 24 /**< Major Shift */
#define XRGB_VER_MINOR_SHIFT 16 /**< Minor Shift */
#define XGMA_VER_REV_SHIFT 12 /**< Revision Shift */
#define XRGB_VER_INTERNAL_SHIFT 8 /**< Internal Shift */
/*@}*/
/** @name ActiveSize Register Bit Masks and Shift
* @{
*/
#define XRGB_ACTSIZE_NUM_PIXEL_MASK 0x00001FFF /**< The number of pixels
* in source image */
#define XRGB_ACTSIZE_NUM_LINE_MASK 0x1FFF0000 /**< The number of lines in
* source image */
#define XRGB_ACTSIZE_NUM_LINE_SHIFT 16 /**< Shift for number of
* lines */
/*@}*/
/** @name YMax Register Bit Mask
* @{
*/
#define XRGB_YMAX_MASK 0x0000FFFF /**< Luma clipping value Mask */
/*@}*/
/** @name YMin Register Bit Mask
* @{
*/
#define XRGB_YMIN_MASK 0x0000FFFF /**< Luma clamping value Mask */
/*@}*/
/** @name CBMax Register Bit Mask
* @{
*/
#define XRGB_CBMAX_MASK 0x0000FFFF /**< Chroma Cb clipping value Mask */
/*@}*/
/** @name CBMin Register Bit Mask
* @{
*/
#define XRGB_CBMIN_MASK 0x0000FFFF /**< Chroma Cb clamping value mask */
/*@}*/
/** @name CRMax Register Bit Mask
* @{
*/
#define XRGB_CRMAX_MASK 0x0000FFFF /**< Chroma Cr clipping value Mask */
/*@}*/
/** @name CRMin Register Bit Mask
* @{
*/
#define XRGB_CRMIN_MASK 0x0000FFFF /**< Chroma Cr clamping value Mask */
/*@}*/
/** @name YOffset Register Bit Mask
* @{
*/
#define XRGB_YOFFSET_MASK 0x0001FFFF /**< Luma offset compensation
* value Mask */
/*@}*/
/** @name CbOffset Register Bit Mask
* @{
*/
#define XRGB_CBOFFSET_MASK 0x0001FFFF /**< Chroma(Cb) offset
* compensation value Mask */
/*@}*/
/** @name CrOffset Register Bit Mask
* @{
*/
#define XRGB_CROFFSET_MASK 0x0001FFFF /**< Chroma(Cr) offset
* compensation value Mask */
/*@}*/
/** @name ACOEF, BCOEF, CCOEF, DCOEF Register Bit Mask
* @{
*/
#define XRGB_COEFF_MASK 0x0001FFFF /**< Matrix Conversion
* Coefficient value mask */
/*@}*/
/** @name General purpose Bit Mask and Shifts
* @{
*/
#define XRGB_8_BIT_MASK 0x000000FF /**< 8-Bit mask */
#define XRGB_16_BIT_MASK 0x0000FFFF /**< 16-Bit mask */
#define XRGB_16_BIT_COEF_SHIFT 16 /**< 16-Bit Coefficient
* shift */
/*@}*/
/** @name Data widths in bits per color.
* @{
*/
#define XRGB_DATA_WIDTH_8 8 /**< 8-bit Data Width */
#define XRGB_DATA_WIDTH_10 10 /**< 10-bit Data Width */
#define XRGB_DATA_WIDTH_12 12 /**< 12-bit Data Width */
#define XRGB_DATA_WIDTH_16 16 /**< 16-bit Data Width */
/*@}*/
/**@name Backward Compatibility Macros
*
* To support backward compatibility, following macro definitions are
* re-defined.
* @{
*/
#define RGB_CONTROL XRGB_CONTROL_OFFSET
#define RGB_STATUS XRGB_STATUS_OFFSET
#define RGB_ERROR XRGB_ERROR_OFFSET
#define RGB_IRQ_EN XRGB_IRQ_EN_OFFSET
#define RGB_VERSION XRGB_VERSION_OFFSET
#define RGB_SYSDEBUG0 XRGB_SYSDEBUG0_OFFSET
#define RGB_SYSDEBUG1 XRGB_SYSDEBUG1_OFFSET
#define RGB_SYSDEBUG2 XRGB_SYSDEBUG2_OFFSET
#define RGB_ACTIVE_SIZE XRGB_ACTIVE_SIZE_OFFSET
#define RGB_YMAX XRGB_YMAX_OFFSET
#define RGB_YMIN XRGB_YMIN_OFFSET
#define RGB_CBMAX XRGB_CBMAX_OFFSET
#define RGB_CBMIN XRGB_CBMIN_OFFSET
#define RGB_CRMAX XRGB_CRMAX_OFFSET
#define RGB_CRMIN XRGB_CRMIN_OFFSET
#define RGB_YOFFSET XRGB_YOFFSET_OFFSET
#define RGB_CBOFFSET XRGB_CBOFFSET_OFFSET
#define RGB_CROFFSET XRGB_CROFFSET_OFFSET
#define RGB_ACOEF XRGB_ACOEF_OFFSET
#define RGB_BCOEF XRGB_BCOEF_OFFSET
#define RGB_CCOEF XRGB_CCOEF_OFFSET
#define RGB_DCOEF XRGB_DCOEF_OFFSET
#define RGB_CTL_EN_MASK XRGB_CTL_EN_MASK
#define RGB_CTL_RUE_MASK XRGB_CTL_RUE_MASK
#define RGB_RST_RESET XRGB_CTL_RESET_MASK
#define RGB_RST_AUTORESET XRGB_CTL_AUTORESET_MASK
#define RGB_In32 XRgb2YCrCb_In32
#define RGB_Out32 XRgb2YCrCb_Out32
/* @}*/
/** @name Interrupt Registers
*
* Interrupt status register generates a interrupt if the corresponding bits
* of interrupt enable register bits are set.
* @{
*/
#define XRGB_ISR_OFFSET XRGB_STATUS_OFFSET /**< Interrupt Status Offset */
#define XRGB_IER_OFFSET XRGB_IRQ_EN_OFFSET /**< Interrupt Enable Offset */
/*@}*/
/***************** Macros (Inline Functions) Definitions *********************/
#define XRgb2YCrCb_In32 Xil_In32 /**< Input operation */
#define XRgb2YCrCb_Out32 Xil_Out32 /**< Output operation */
/*****************************************************************************/
/**
*
* This function macro reads the given register.
*
* @param BaseAddress is the Xilinx base address of the RGB2YCRCB core.
* @param RegOffset is the register offset of the register (defined at
* top of this file).
*
* @return 32-bit value of the register.
*
* @note C-style signature:
* u32 XRgb2YCrCb_ReadReg(u32 BaseAddress, u32 RegOffset)
*
******************************************************************************/
#define XRgb2YCrCb_ReadReg(BaseAddress, RegOffset) \
XRgb2YCrCb_In32((BaseAddress) + (u32)(RegOffset))
/*****************************************************************************/
/**
*
* This function macro writes the given register.
*
* @param BaseAddress is the Xilinx base address of the RGB2YCRCB core.
* @param RegOffset is the register offset of the register (defined at
* top of this file).
* @param Data is the 32-bit value to write to the register.
*
* @return None.
*
* @note C-style signature:
* void XRgb2YCrCb_WriteReg(u32 BaseAddress, u32 RegOffset,
* u32 Data)
*
******************************************************************************/
#define XRgb2YCrCb_WriteReg(BaseAddress, RegOffset, Data) \
XRgb2YCrCb_Out32((BaseAddress) + (u32)(RegOffset),(u32)(Data))
/**************************** Type Definitions *******************************/
/************************** Function Prototypes ******************************/
/************************** Variable Declarations ****************************/
#ifdef __cplusplus
}
#endif
#endif /* End of protection macro */

View file

@ -0,0 +1,202 @@
/******************************************************************************
*
* Copyright (C) 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file xrgb2ycrcb_intr.c
*
* This file contains interrupt related functions for the RGB2YCRCB core.
* Please see xrgb2crcb.h for more details of the driver.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ----- -------- ---------------------------------------------------
* 7.0 adk 01/28/14 First release.
* Implemented the following functions:
* XRgb2YCrCb_IntrHandler,
* XRgb2YCrCb_SetCallBack.
* </pre>
*
******************************************************************************/
#include "xrgb2ycrcb.h"
/***************** Macros (Inline Functions) Definitions *********************/
/**************************** Type Definitions *******************************/
/************************** Function Prototypes ******************************/
/************************** Variable Definitions *****************************/
/************************** Function Definitions *****************************/
/*****************************************************************************/
/**
*
* This function is the interrupt handler for the RGB2YCRCB driver.
*
* This handler reads the pending interrupt from the IER(IRQ_ENABLE register)
* or ISR (STATUS register), determines the source of the interrupts,
* calls according callbacks, and finally clears the interrupts.
*
* The application is responsible for connecting this function to the interrupt
* system. Application beyond this driver is also responsible for providing
* callbacks to handle interrupts and installing the callbacks using
* XRgb2YCrCb_SetCallBack() during initialization phase.
*
* @param InstancePtr is a pointer to the XRgb2YCrCb instance that just
* interrupted.
*
* @return None.
*
* @note Interrupt interface (HasIntcIf) should be enabled.
*
******************************************************************************/
void XRgb2YCrCb_IntrHandler(void *InstancePtr)
{
u32 PendingIntr;
u32 ErrorStatus;
XRgb2YCrCb *XRgb2YCrCbPtr = NULL;
XRgb2YCrCbPtr = (XRgb2YCrCb *)((void *)InstancePtr);
/* Verify arguments. */
Xil_AssertVoid(XRgb2YCrCbPtr != NULL);
Xil_AssertVoid(XRgb2YCrCbPtr->IsReady ==
(u32)(XIL_COMPONENT_IS_READY));
Xil_AssertVoid(XRgb2YCrCbPtr->Config.HasIntcIf != (u16)0x0);
/* Get pending interrupts */
PendingIntr = (u32)XRgb2YCrCb_IntrGetPending(XRgb2YCrCbPtr);
/* Slave error interrupt has occurred */
if (((PendingIntr) & (XRGB_IXR_SE_MASK)) == (XRGB_IXR_SE_MASK)) {
ErrorStatus = (PendingIntr) & (XRGB_IXR_SE_MASK);
XRgb2YCrCbPtr->ErrCallBack(XRgb2YCrCbPtr->ErrRef, ErrorStatus);
}
/* A processing start interrupt has occurred */
if (((PendingIntr) & (XRGB_IXR_PROC_STARTED_MASK)) ==
(XRGB_IXR_PROC_STARTED_MASK)) {
XRgb2YCrCbPtr->ProcStartCallBack(XRgb2YCrCbPtr->ProcStartRef);
}
/* A frame done interrupt has occurred */
if (((PendingIntr) & (XRGB_IXR_EOF_MASK)) == (XRGB_IXR_EOF_MASK)) {
XRgb2YCrCbPtr->FrameDoneCallBack(XRgb2YCrCbPtr->FrameDoneRef);
}
/* Clear pending interrupt(s) */
XRgb2YCrCb_IntrClear(XRgb2YCrCbPtr, PendingIntr);
}
/*****************************************************************************/
/**
*
* This routine installs an asynchronous callback function for the given
* HandlerType:
*
* <pre>
* HandlerType Callback Function Type
* ----------------------- --------------------------------------------------
* XRGB_HANDLER_PROCSTART ProcStartCallBack
* XRGB_HANDLER_FRAMEDONE FrameDoneCallBack
* XRGB_HANDLER_ERROR ErrCallBack
*</pre>
*
* @param InstancePtr is a pointer to the XRgb2YCrCb instance to be
* worked on.
* @param HandlerType specifies which callback is to be attached.
* @param CallBackFunc is the address of the callback function.
* @param CallBackRef is a user data item that will be passed to the
* callback function when it is invoked.
*
* @return
* - XST_SUCCESS when handler is installed.
* - XST_INVALID_PARAM when HandlerType is invalid.
*
* @note Invoking this function for a handler that already has been
* installed replaces it with the new handler.
*
******************************************************************************/
int XRgb2YCrCb_SetCallBack(XRgb2YCrCb *InstancePtr, u32 HandlerType,
void *CallBackFunc, void *CallBackRef)
{
int Status;
/* Verify arguments. */
Xil_AssertNonvoid(InstancePtr != NULL);
Xil_AssertNonvoid(InstancePtr->IsReady ==
(u32)(XIL_COMPONENT_IS_READY));
Xil_AssertNonvoid(CallBackFunc != NULL);
Xil_AssertNonvoid(CallBackRef != NULL);
Xil_AssertNonvoid((HandlerType >= (u32)(XRGB_HANDLER_PROCSTART)) &&
(HandlerType <= (u32)(XRGB_HANDLER_ERROR)));
/* Sets the callback according to HandlerType */
switch (HandlerType) {
case XRGB_HANDLER_PROCSTART:
InstancePtr->ProcStartCallBack =
(XRgb2YCrCb_CallBack)((void *)CallBackFunc);
InstancePtr->ProcStartRef = CallBackRef;
Status = (XST_SUCCESS);
break;
case XRGB_HANDLER_FRAMEDONE:
InstancePtr->FrameDoneCallBack =
(XRgb2YCrCb_CallBack)((void *)CallBackFunc);
InstancePtr->FrameDoneRef = CallBackRef;
Status = (XST_SUCCESS);
break;
case XRGB_HANDLER_ERROR:
InstancePtr->ErrCallBack =
(XRgb2YCrCb_ErrorCallBack)((void *)CallBackFunc);
InstancePtr->ErrRef = CallBackRef;
Status = (XST_SUCCESS);
break;
default:
Status = (XST_INVALID_PARAM);
break;
}
return Status;
}

View file

@ -0,0 +1,108 @@
/******************************************************************************
*
* Copyright (C) 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file xrgb2ycrcb_selftest.c
*
* This file contains the self-test function for the RGB2YCRCB core.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ------ -------- --------------------------------------------------
* 7.0 adk 01/28/14 First Release.
* Implemented the following function:
* XRgb2YCrCb_SelfTest.
* </pre>
*
******************************************************************************/
/***************************** Include Files *********************************/
#include "xrgb2ycrcb.h"
/************************** Constant Definitions *****************************/
/***************** Macros (Inline Functions) Definitions *********************/
/**************************** Type Definitions *******************************/
/************************** Function Prototypes ******************************/
/************************** Variable Definitions *****************************/
/************************** Function Definitions *****************************/
/*****************************************************************************/
/**
*
* This function reads version register of RGB2YCRCB core and compares with zero
* as part of self test.
*
* @param InstancePtr is a pointer to the XRgb2YCrCb instance.
*
* @return
* - XST_SUCCESS if the version register read test was successful.
* - XST_FAILURE if the version register read test failed.
*
* @note None.
*
******************************************************************************/
int XRgb2YCrCb_SelfTest(XRgb2YCrCb *InstancePtr)
{
u32 Version;
int Status;
/* Verify argument. */
Xil_AssertNonvoid(InstancePtr != NULL);
/* Read RGB2YCRCB core version register. */
Version = XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
(XRGB_VERSION_OFFSET));
/* Compare Version with zero */
if (Version != (u32)0x0) {
Status = (XST_SUCCESS);
}
else {
Status = (XST_FAILURE);
}
return Status;
}

View file

@ -0,0 +1,110 @@
/******************************************************************************
*
* Copyright (C) 2014 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* Use of the Software is limited solely to applications:
* (a) running on a Xilinx device, or
* (b) that interact with a Xilinx device through a bus or interconnect.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* XILINX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Except as contained in this notice, the name of the Xilinx shall not be used
* in advertising or otherwise to promote the sale, use or other dealings in
* this Software without prior written authorization from Xilinx.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file xrgb2ycrcb_sinit.c
*
* This file contains static initialization function for RGB2YCRCB core.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ------ -------- --------------------------------------------------
* 7.0 adk 01/28/14 First release.
* Implemented following function:
* XRgb2YCrCb_LookupConfig.
* </pre>
*
******************************************************************************/
/***************************** Include Files *********************************/
#include "xrgb2ycrcb.h"
#include "xparameters.h"
/************************** Constant Definitions *****************************/
/***************** Macros (Inline Functions) Definitions *********************/
/**************************** Type Definitions *******************************/
/************************** Function Prototypes ******************************/
/************************** Variable Definitions *****************************/
/************************** Function Definitions *****************************/
/*****************************************************************************/
/**
*
* This function returns a reference to an XRgb2YCrCb_Config structure
* based on the unique core id, <i>DeviceId</i>. The return value will refer
* to an entry in the core configuration table defined in the xrgb2ycrcb_g.c
* file.
*
* @param DeviceId is the unique core ID of the core for the lookup
* operation.
*
* @return XRgb2YCrCb_LookupConfig returns a reference to a config record
* in the configuration table (in xrgb2ycrcb_g.c) corresponding to
* <i>DeviceId</i>, or NULL if no match is found.
*
* @note None.
*
******************************************************************************/
XRgb2YCrCb_Config *XRgb2YCrCb_LookupConfig(u16 DeviceId)
{
u32 Index;
XRgb2YCrCb_Config *CfgPtr = NULL;
extern XRgb2YCrCb_Config
XRgb2YCrCb_ConfigTable[XPAR_RGB2YCRCB_NUM_INSTANCES];
/* Get the reference pointer to XRgb2YCrCb_Config structure */
for (Index = (u32)0x0; Index < (u32)(XPAR_RGB2YCRCB_NUM_INSTANCES);
Index++) {
/* Compare device Id with configTable's device Id */
if (XRgb2YCrCb_ConfigTable[Index].DeviceId == DeviceId) {
CfgPtr = &XRgb2YCrCb_ConfigTable[Index];
break;
}
}
return (XRgb2YCrCb_Config *)CfgPtr;
}