ycrcb2rgb: Added new implementation in ycrcb2rgb
Added new APIs for offset compensation, clippling, clampling, coefficients, throughput monitor and get version Added examples Signed-off-by: Shadul Shaikh <shaduls@xilinx.com> Acked-by: Srikanth Vemula <svemula@xilinx.com>
This commit is contained in:
parent
52fe1ae48b
commit
41a092433c
48 changed files with 10674 additions and 882 deletions
|
@ -1,9 +1,9 @@
|
|||
###############################################################################
|
||||
##############################################################################
|
||||
#
|
||||
# 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
|
||||
# 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;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
###############################################################################
|
||||
##############################################################################
|
||||
#
|
||||
# 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
|
||||
# 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,12 +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.
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
proc generate {drv_handle} {
|
||||
xdefine_include_file $drv_handle "xparameters.h" "YCRCB2RGB" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_DATA_WIDTH" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_MWIDTH" "C_COEF_RANGE" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_ROFFSET" "C_GOFFSET" "C_BOFFSET" "C_HAS_CLIP" "C_HAS_CLAMP" "C_RGBMAX" "C_RGBMIN"
|
||||
xdefine_include_file $drv_handle "xparameters.h" "YCRCB2RGB" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_DATA_WIDTH" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_MWIDTH" "C_COEF_RANGE" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_ROFFSET" "C_GOFFSET" "C_BOFFSET" "C_HAS_CLIP" "C_HAS_CLAMP" "C_RGBMAX" "C_RGBMIN" "C_S_AXIS_VIDEO_FORMAT" "C_M_AXIS_VIDEO_FORMAT" "C_HAS_DEBUG" "C_HAS_INTC_IF" "C_S_AXI_CLK_FREQ_HZ" "C_STANDARD_SEL" "C_OUTPUT_RANGE"
|
||||
xdefine_config_file $drv_handle "xycrcb2rgb_g.c" "XYCrCr2Rgb" "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_MWIDTH" "C_COEF_RANGE" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_ROFFSET" "C_GOFFSET" "C_BOFFSET" "C_HAS_CLIP" "C_HAS_CLAMP" "C_RGBMAX" "C_RGBMIN" "C_S_AXI_CLK_FREQ_HZ" "C_STANDARD_SEL" "C_OUTPUT_RANGE"
|
||||
|
||||
|
||||
xdefine_canonical_xpars $drv_handle "xparameters.h" "YCRCB2RGB" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_DATA_WIDTH" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_MWIDTH" "C_COEF_RANGE" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_ROFFSET" "C_GOFFSET" "C_BOFFSET" "C_HAS_CLIP" "C_HAS_CLAMP" "C_RGBMAX" "C_RGBMIN"
|
||||
xdefine_canonical_xpars $drv_handle "xparameters.h" "YCRCB2RGB" "DEVICE_ID" "C_BASEADDR" "C_HIGHADDR" "C_S_AXIS_VIDEO_DATA_WIDTH" "C_MAX_COLS" "C_ACTIVE_COLS" "C_ACTIVE_ROWS" "C_MWIDTH" "C_COEF_RANGE" "C_ACOEF" "C_BCOEF" "C_CCOEF" "C_DCOEF" "C_ROFFSET" "C_GOFFSET" "C_BOFFSET" "C_HAS_CLIP" "C_HAS_CLAMP" "C_RGBMAX" "C_RGBMIN" "C_S_AXIS_VIDEO_FORMAT" "C_M_AXIS_VIDEO_FORMAT" "C_HAS_DEBUG" "C_HAS_INTC_IF" "C_S_AXI_CLK_FREQ_HZ" "C_STANDARD_SEL" "C_OUTPUT_RANGE"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class 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_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html">XYCrCb2Rgb_Coefficients</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td class="indexvalue"></td></tr>
|
||||
</table>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,33 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
File Index
|
||||
</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 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 id="current"><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>File List</h1>Here is a list of all files with brief descriptions:<table>
|
||||
<tr><td class="indexkey"><a class="el" href="xycrcb2rgb_8c.html">xycrcb2rgb.c</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="xycrcb2rgb__g_8c.html">xycrcb2rgb_g.c</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="xycrcb2rgb__hw_8h.html">xycrcb2rgb_hw.h</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="xycrcb2rgb__intr_8c.html">xycrcb2rgb_intr.c</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="xycrcb2rgb__selftest_8c.html">xycrcb2rgb_selftest.c</a></td><td class="indexvalue"></td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="xycrcb2rgb__sinit_8c.html">xycrcb2rgb_sinit.c</a></td><td class="indexvalue"></td></tr>
|
||||
</table>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,124 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li id="current"><a href="functions.html"><span>Class 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_g"><span>g</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_r"><span>r</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_y_cr_cb2_rgb___coefficients.html#c9e4ad073b01179ee124fbc01f3410de">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#9e55cd4919955642da2075916cf52c9c">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#7c523ee9eadbd22fe493a605f5a1d40c">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#5961e8ba1e237456939848c91b8290b1">XYCrCb2Rgb_Config</a><li>ActiveCols
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#06f55a4e3f5b877ecfe49e6e03255845">XYCrCb2Rgb_Config</a><li>ActiveRows
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#81fa247725649a8aab11f278360f8fc6">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
|
||||
<li>BaseAddress
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4626978bb8097026ec4731258e74f105">XYCrCb2Rgb_Config</a><li>BCoef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#e10f0ca4da6fd2d31bf12e915f223887">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#e1072e6e3c4a15771cc240a177fe42b9">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#cd947e4a0eeb7a9af5b60d9b44f592f7">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bf9a4333b876fe36a62eaad150029081">XYCrCb2Rgb_Config</a><li>BOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#d64df2f69858bca73d08eede7d708d05">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#6baa87b01dd5f97a5520691432d53f82">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
|
||||
<li>CbOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#808cdd38b3ce7914c4b5719824eb5de3">XYCrCb2Rgb_Coef_Inputs</a><li>CCoef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#f80123c67072e23b57f886db7fb6db67">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#8e00de7d7ca76c4591b8d1788d40f91b">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#b42bb24af7bc8cba51dc7d9597bb98b5">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3ed25fedcbb02e02f37aacf01af6689c">XYCrCb2Rgb_Config</a><li>CoefRange
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ef780f2ee06fce1a1da47422299743b7">XYCrCb2Rgb_Config</a><li>Config
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#30dd6ce0d53e27f2022733a28a229c27">XYCrCb2Rgb</a><li>CrOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#1f9fe7a5ff07bd573dec09af1f3c6119">XYCrCb2Rgb_Coef_Inputs</a></ul>
|
||||
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
|
||||
<li>DCoef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#4a8b451c120a107c85cb2704a02dcc9c">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#6996091492dac264a795f4eaf84f66ce">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#21d3d26207238901c84f11839fe756b9">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#427e1749055de8e5f777177628959d6f">XYCrCb2Rgb_Config</a><li>DeviceId
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7a26ca65a59995dc07b107bb6e6fa2c">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
|
||||
<li>ErrCallBack
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#caec78f4b53dc678280136137774741b">XYCrCb2Rgb</a><li>ErrRef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#64dd2632adbf754bd1467ad38d7ef25e">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
|
||||
<li>FrameDoneCallBack
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#31f4c79e1c2f5342c53cc7ce1d34c64f">XYCrCb2Rgb</a><li>FrameDoneRef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#4417dc4d16ad4f57a239000d6daaca61">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_g">- g -</a></h3><ul>
|
||||
<li>GOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#63f360794b0d87d5491539ea12df5fcd">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#b96310c4a7964a7a006f429c73649379">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_h">- h -</a></h3><ul>
|
||||
<li>HasClamp
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#1fa62d6e68244842e269bd4dbc4fd629">XYCrCb2Rgb_Config</a><li>HasClip
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#118a2c2e415ab2d6b106b54792e12495">XYCrCb2Rgb_Config</a><li>HasDebug
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#f0b77080805fdfec0c59bf4e49a0432e">XYCrCb2Rgb_Config</a><li>HasIntcIf
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7cbd27f20f774442bda910729980e8b">XYCrCb2Rgb_Config</a><li>HSize
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#4960340fe85187aa792e5a64babf4d99">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
|
||||
<li>IsReady
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#3705c8ac19fa9da757a5fd90152e088a">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
|
||||
<li>MasterAxisVideoFormat
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bb2118fee23efc363d983f8ce8f65c3f">XYCrCb2Rgb_Config</a><li>MaxCols
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#cdee72e3559d58c5d6223fc6419944b9">XYCrCb2Rgb_Config</a><li>MWidth
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#13c853e221a8b275ac7f688bce02f6ad">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
|
||||
<li>OutputRange
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#6cd677b8e040974e7cb3a864913f277c">XYCrCb2Rgb</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3894b152388dc8ee49d9e39aeb184657">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
|
||||
<li>ProcStartCallBack
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#94aaab65fce46fc057e6c242c85ba6f8">XYCrCb2Rgb</a><li>ProcStartRef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#19ec790635ab1d1398bc9e6cdf0a8b6a">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_r">- r -</a></h3><ul>
|
||||
<li>RgbMax
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#431863d96f98401235c5fe4ae5fec69e">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#2643f5f5c6ffdf1fdedc23cd193d3aee">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ad9637bb19f0c6eadf567add29ba9ed1">XYCrCb2Rgb_Config</a><li>RgbMin
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#2460c754a461047c707f97d18f39edd4">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#06b068db1aa5da0700f8f4ba61698d97">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#a7376a40e234f43331d37873a2f4f2fe">XYCrCb2Rgb_Config</a><li>ROffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#42764da7c940d64de62a0e4703a6e138">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#82a9207cb1f9be9f2d72468b48fb7a25">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
|
||||
<li>SlaveAxiClkFreqHz
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4fc6c81fffa7deac56b5ab6d860f7dc4">XYCrCb2Rgb_Config</a><li>SlaveAxisVideoFormat
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#d66da0fe8e86ed3e3a3b915a47f9715b">XYCrCb2Rgb_Config</a><li>StandardSelection
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#6e1a19bcc7ef22ae2d6e387fb3969446">XYCrCb2Rgb</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#de9dee086bbc7e395edcd090ff375ff4">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_v">- v -</a></h3><ul>
|
||||
<li>VSize
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#2ebeda7e07dfa4e9b7f8828f4ae25225">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_y">- y -</a></h3><ul>
|
||||
<li>YOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#40f65dc31dccfe762f093abe6e330828">XYCrCb2Rgb_Coef_Inputs</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,124 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li id="current"><a href="functions.html"><span>Class 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_g"><span>g</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_r"><span>r</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>
|
||||
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_a">- a -</a></h3><ul>
|
||||
<li>ACoef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#c9e4ad073b01179ee124fbc01f3410de">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#9e55cd4919955642da2075916cf52c9c">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#7c523ee9eadbd22fe493a605f5a1d40c">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#5961e8ba1e237456939848c91b8290b1">XYCrCb2Rgb_Config</a><li>ActiveCols
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#06f55a4e3f5b877ecfe49e6e03255845">XYCrCb2Rgb_Config</a><li>ActiveRows
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#81fa247725649a8aab11f278360f8fc6">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_b">- b -</a></h3><ul>
|
||||
<li>BaseAddress
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4626978bb8097026ec4731258e74f105">XYCrCb2Rgb_Config</a><li>BCoef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#e10f0ca4da6fd2d31bf12e915f223887">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#e1072e6e3c4a15771cc240a177fe42b9">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#cd947e4a0eeb7a9af5b60d9b44f592f7">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bf9a4333b876fe36a62eaad150029081">XYCrCb2Rgb_Config</a><li>BOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#d64df2f69858bca73d08eede7d708d05">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#6baa87b01dd5f97a5520691432d53f82">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_c">- c -</a></h3><ul>
|
||||
<li>CbOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#808cdd38b3ce7914c4b5719824eb5de3">XYCrCb2Rgb_Coef_Inputs</a><li>CCoef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#f80123c67072e23b57f886db7fb6db67">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#8e00de7d7ca76c4591b8d1788d40f91b">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#b42bb24af7bc8cba51dc7d9597bb98b5">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3ed25fedcbb02e02f37aacf01af6689c">XYCrCb2Rgb_Config</a><li>CoefRange
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ef780f2ee06fce1a1da47422299743b7">XYCrCb2Rgb_Config</a><li>Config
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#30dd6ce0d53e27f2022733a28a229c27">XYCrCb2Rgb</a><li>CrOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#1f9fe7a5ff07bd573dec09af1f3c6119">XYCrCb2Rgb_Coef_Inputs</a></ul>
|
||||
<h3><a class="anchor" name="index_d">- d -</a></h3><ul>
|
||||
<li>DCoef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#4a8b451c120a107c85cb2704a02dcc9c">XYCrCb2Rgb_Coefficients</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#6996091492dac264a795f4eaf84f66ce">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#21d3d26207238901c84f11839fe756b9">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#427e1749055de8e5f777177628959d6f">XYCrCb2Rgb_Config</a><li>DeviceId
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7a26ca65a59995dc07b107bb6e6fa2c">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
|
||||
<li>ErrCallBack
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#caec78f4b53dc678280136137774741b">XYCrCb2Rgb</a><li>ErrRef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#64dd2632adbf754bd1467ad38d7ef25e">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
|
||||
<li>FrameDoneCallBack
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#31f4c79e1c2f5342c53cc7ce1d34c64f">XYCrCb2Rgb</a><li>FrameDoneRef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#4417dc4d16ad4f57a239000d6daaca61">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_g">- g -</a></h3><ul>
|
||||
<li>GOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#63f360794b0d87d5491539ea12df5fcd">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#b96310c4a7964a7a006f429c73649379">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_h">- h -</a></h3><ul>
|
||||
<li>HasClamp
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#1fa62d6e68244842e269bd4dbc4fd629">XYCrCb2Rgb_Config</a><li>HasClip
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#118a2c2e415ab2d6b106b54792e12495">XYCrCb2Rgb_Config</a><li>HasDebug
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#f0b77080805fdfec0c59bf4e49a0432e">XYCrCb2Rgb_Config</a><li>HasIntcIf
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7cbd27f20f774442bda910729980e8b">XYCrCb2Rgb_Config</a><li>HSize
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#4960340fe85187aa792e5a64babf4d99">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
|
||||
<li>IsReady
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#3705c8ac19fa9da757a5fd90152e088a">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
|
||||
<li>MasterAxisVideoFormat
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bb2118fee23efc363d983f8ce8f65c3f">XYCrCb2Rgb_Config</a><li>MaxCols
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#cdee72e3559d58c5d6223fc6419944b9">XYCrCb2Rgb_Config</a><li>MWidth
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#13c853e221a8b275ac7f688bce02f6ad">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
|
||||
<li>OutputRange
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#6cd677b8e040974e7cb3a864913f277c">XYCrCb2Rgb</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3894b152388dc8ee49d9e39aeb184657">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
|
||||
<li>ProcStartCallBack
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#94aaab65fce46fc057e6c242c85ba6f8">XYCrCb2Rgb</a><li>ProcStartRef
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#19ec790635ab1d1398bc9e6cdf0a8b6a">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_r">- r -</a></h3><ul>
|
||||
<li>RgbMax
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#431863d96f98401235c5fe4ae5fec69e">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#2643f5f5c6ffdf1fdedc23cd193d3aee">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ad9637bb19f0c6eadf567add29ba9ed1">XYCrCb2Rgb_Config</a><li>RgbMin
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#2460c754a461047c707f97d18f39edd4">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#06b068db1aa5da0700f8f4ba61698d97">XYCrCb2Rgb_Coef_Inputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#a7376a40e234f43331d37873a2f4f2fe">XYCrCb2Rgb_Config</a><li>ROffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#42764da7c940d64de62a0e4703a6e138">XYCrCb2Rgb_Coef_Outputs</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#82a9207cb1f9be9f2d72468b48fb7a25">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
|
||||
<li>SlaveAxiClkFreqHz
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4fc6c81fffa7deac56b5ab6d860f7dc4">XYCrCb2Rgb_Config</a><li>SlaveAxisVideoFormat
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#d66da0fe8e86ed3e3a3b915a47f9715b">XYCrCb2Rgb_Config</a><li>StandardSelection
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#6e1a19bcc7ef22ae2d6e387fb3969446">XYCrCb2Rgb</a>, <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#de9dee086bbc7e395edcd090ff375ff4">XYCrCb2Rgb_Config</a></ul>
|
||||
<h3><a class="anchor" name="index_v">- v -</a></h3><ul>
|
||||
<li>VSize
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb.html#2ebeda7e07dfa4e9b7f8828f4ae25225">XYCrCb2Rgb</a></ul>
|
||||
<h3><a class="anchor" name="index_y">- y -</a></h3><ul>
|
||||
<li>YOffset
|
||||
: <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#40f65dc31dccfe762f093abe6e330828">XYCrCb2Rgb_Coef_Inputs</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
207
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/globals.html
Normal file
207
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/globals.html
Normal file
|
@ -0,0 +1,207 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li id="current"><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul></div>
|
||||
<div class="tabs">
|
||||
<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>
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="#index_o"><span>o</span></a></li>
|
||||
<li><a href="#index_s"><span>s</span></a></li>
|
||||
<li><a href="#index_x"><span>x</span></a></li>
|
||||
<li><a href="#index_y"><span>y</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
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="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c6">xycrcb2rgb.h</a></ul>
|
||||
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
|
||||
<li>Standards
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d">xycrcb2rgb.h</a></ul>
|
||||
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
|
||||
<li>XYCC_16_BIT_COEF_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9787ed7be5ff79934513fd5cc52a1838">xycrcb2rgb_hw.h</a><li>XYCC_16_BIT_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d1f0740e1e0c7884933fe4afdd215f8d">xycrcb2rgb_hw.h</a><li>XYCC_8_BIT_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8706358ee30808a62cec2646b96345f1">xycrcb2rgb_hw.h</a><li>XYCC_ACOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#bbb91a3db7fa6932d74aa9389bb99ec0">xycrcb2rgb_hw.h</a><li>XYCC_ACT_SIZE_FIRST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#6113d9290b1865237e7be115a408ad80">xycrcb2rgb.h</a><li>XYCC_ACT_SIZE_LAST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#b946a9173d0455a345267bd354e52acf">xycrcb2rgb.h</a><li>XYCC_ACTIVE_SIZE_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b6f30fb1e2c18be805cdf230084a3093">xycrcb2rgb_hw.h</a><li>XYCC_ACTSIZE_NUM_LINE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#6146824f308e7b2c5220818dc7b785a1">xycrcb2rgb_hw.h</a><li>XYCC_ACTSIZE_NUM_LINE_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#1eada993ca738c6c2a918fbb4fa5adb2">xycrcb2rgb_hw.h</a><li>XYCC_ACTSIZE_NUM_PIXEL_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#e3700b309034e668aa6f75f2b413ce9e">xycrcb2rgb_hw.h</a><li>XYCC_BCOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#819ac8d561009b1687a45ef3d027072b">xycrcb2rgb_hw.h</a><li>XYCC_BOFFSET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5aaa0e498f7cb94df62a3e175f16d727">xycrcb2rgb_hw.h</a><li>XYCC_BOFFSET_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#dd237cf9616dd9b4534dfbddf4936940">xycrcb2rgb_hw.h</a><li>XYCC_CCOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8093c4f93a2ead1602ffb922056bf979">xycrcb2rgb_hw.h</a><li>XYCC_COEF_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a9e82c0ae75105f6502c8df601d3d73a">xycrcb2rgb_hw.h</a><li>XYCC_CONTROL_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5c8de676cb5b905e8cd43083bd96aa55">xycrcb2rgb_hw.h</a><li>XYCC_CTL_AUTORESET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#90483b2f1dbe7a706f4488a8f132ae18">xycrcb2rgb_hw.h</a><li>XYCC_CTL_BPE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#671b2d34073c11ed5154507d5ac9556f">xycrcb2rgb_hw.h</a><li>XYCC_CTL_RESET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c3974383c66b31273044f7e8ce4620a3">xycrcb2rgb_hw.h</a><li>XYCC_CTL_RUE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5aa7286067cc510c25e70c0c3ef12f69">xycrcb2rgb_hw.h</a><li>XYCC_CTL_SW_EN_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#42da08e6deb2d6b690acefaa4aaaf864">xycrcb2rgb_hw.h</a><li>XYCC_CTL_TPE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9d8bb04b53b6b3fbacf40a4a74789e56">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_10
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#aec9a2fa2ddb4894e142b707a751bf07">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_12
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b5c614a9911130d0e63959f5177dbe19">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_16
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f1725dae672e5d9a3af8304e59446ae1">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_8
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#214fd3c975c68cb2ca7988817371c8c7">xycrcb2rgb_hw.h</a><li>XYCC_DCOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f5cbee5de836d300409327009772a773">xycrcb2rgb_hw.h</a><li>XYCC_ERR_EOL_EARLY_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b54ac1ca91011a96b4710fde1275f082">xycrcb2rgb_hw.h</a><li>XYCC_ERR_EOL_LATE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b63578d24d72cdfde2f2ebe40197a44e">xycrcb2rgb_hw.h</a><li>XYCC_ERR_SOF_EARLY_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a316834073f1e58e2e589c446b77a80f">xycrcb2rgb_hw.h</a><li>XYCC_ERR_SOF_LATE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f1561ab8b9e94e653880ad492db28a69">xycrcb2rgb_hw.h</a><li>XYCC_ERROR_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9c61ccd9a68d0ba13bc498864f4ad4a9">xycrcb2rgb_hw.h</a><li>XYCC_GOFFSET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#eae2af3ab42bb428cae1b821b79a8b55">xycrcb2rgb_hw.h</a><li>XYCC_GOFFSET_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9d64c7b6a7d4e11c069e1ad3e55afb33">xycrcb2rgb_hw.h</a><li>XYCC_GRAPHICS_0_TO_255
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c6e1f1d2c55a2ef7feadbbde1ca748337e">xycrcb2rgb.h</a><li>XYCC_HANDLER_ERROR
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#06fc87d81c62e9abb8790b6e5713c55b01c9257754b2cf6b922196b6ec5d54ab">xycrcb2rgb.h</a><li>XYCC_HANDLER_FRAMEDONE
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#06fc87d81c62e9abb8790b6e5713c55b405beea15bd5a1dc8fefc0836b6bd1bf">xycrcb2rgb.h</a><li>XYCC_HANDLER_PROCSTART
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#06fc87d81c62e9abb8790b6e5713c55b1cf6bdc917ecde565392a0889d7da484">xycrcb2rgb.h</a><li>XYCC_IER_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c6698610205c50f02ccaa4a42d2dc976">xycrcb2rgb_hw.h</a><li>XYCC_IRQ_EN_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a43d65750de71e672b57f0237b4e3eb9">xycrcb2rgb_hw.h</a><li>XYCC_ISR_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#60a49891a0724aed065cab7b24cc2af0">xycrcb2rgb_hw.h</a><li>XYCC_IXR_ALLINTR_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#32a32794d05ffded1cfca5bcf4e6c584">xycrcb2rgb_hw.h</a><li>XYCC_IXR_EOF_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#78f06c7635c4893a26138e9cfa65146b">xycrcb2rgb_hw.h</a><li>XYCC_IXR_PROCS_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#23e7f625fc38b780aabe6d6fc7532ef5">xycrcb2rgb_hw.h</a><li>XYCC_IXR_SE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#0243c2d2cb3b9ba858d2c47f9cb47471">xycrcb2rgb_hw.h</a><li>XYCC_ReadReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#36ebdd75dd7961bca3e5edeeaf5d7615">xycrcb2rgb_hw.h</a><li>XYCC_RGBMAX_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#dfb3ec5c4b99e4b82bab30057e8b069a">xycrcb2rgb_hw.h</a><li>XYCC_RGBMAX_MIN_FIRST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#0ed767d655365734831aed1f21141653">xycrcb2rgb.h</a><li>XYCC_RGBMAX_MIN_LAST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#912ab7d0e626a08eac3ad4722f69dd2f">xycrcb2rgb.h</a><li>XYCC_RGBMAX_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a700f518b0d56ab04722291dc4056462">xycrcb2rgb_hw.h</a><li>XYCC_RGBMIN_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c8d221dc76af008c31a9fddf9dca08ff">xycrcb2rgb_hw.h</a><li>XYCC_RGBMIN_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#df900db93926ae7dc2702b4b5a821d69">xycrcb2rgb_hw.h</a><li>XYCC_RGBOFFSET_FIRST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#9c1de0904dfcc87d1ae31fe6ff884c5c">xycrcb2rgb.h</a><li>XYCC_RGBOFFSET_LAST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#5063e5ea88e8744785f0cc47bcb4f462">xycrcb2rgb.h</a><li>XYCC_ROFFSET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f682e18e2d3af536547bf82158851bbe">xycrcb2rgb_hw.h</a><li>XYCC_ROFFSET_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#24554f7afae472aa8c8b05c03dfc7c3b">xycrcb2rgb_hw.h</a><li>XYCC_STANDARD_CUSTOM
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d0b1c78077197c7527fc7952fcc89c211">xycrcb2rgb.h</a><li>XYCC_STANDARD_ITU_601_SD
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d1217ea6e63d324a65afedd246c3afa38">xycrcb2rgb.h</a><li>XYCC_STANDARD_ITU_709_NTSC
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d46e2f294a2871542dd275903d47525f1">xycrcb2rgb.h</a><li>XYCC_STANDARD_ITU_709_PAL
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55daf6639705d9b4fb937b2760e72e01849">xycrcb2rgb.h</a><li>XYCC_STANDARD_YUV
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d0b82d96962dd13c0307cd48707b37b5a">xycrcb2rgb.h</a><li>XYCC_STATUS_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#463abde173122e160b253acc53b214bc">xycrcb2rgb_hw.h</a><li>XYCC_STUDIO_16_TO_235
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c60516093ac40f49d9a0161ce9dbf852d0">xycrcb2rgb.h</a><li>XYCC_SYSDEBUG0_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#6ca18e4bf9f0797fdb2ab5c77bc9a13a">xycrcb2rgb_hw.h</a><li>XYCC_SYSDEBUG1_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#62cab882b78a84dd78e05383a10d4695">xycrcb2rgb_hw.h</a><li>XYCC_SYSDEBUG2_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#25e836c076a0acb3a96b27a414459d19">xycrcb2rgb_hw.h</a><li>XYCC_TV_16_TO_240
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c63c73c9762977b65219b2ad82a0b4bb73">xycrcb2rgb.h</a><li>XYCC_VER_INTERNAL_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5c343f3220bc3e688a5ca46a59fc114f">xycrcb2rgb_hw.h</a><li>XYCC_VER_MAJOR_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#dfb33edf24894806b0c1810c4e8adeda">xycrcb2rgb_hw.h</a><li>XYCC_VER_MAJOR_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#037157531147e7bd91edfb799fa360bd">xycrcb2rgb_hw.h</a><li>XYCC_VER_MINOR_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#1cf91c0f8cdbcd13aa6cb254751b5f74">xycrcb2rgb_hw.h</a><li>XYCC_VER_MINOR_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#93a004e626d06ac05f54019633fc1e51">xycrcb2rgb_hw.h</a><li>XYCC_VER_PID_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c001e43fbb979eb6e278d8780d12a815">xycrcb2rgb_hw.h</a><li>XYCC_VER_REV_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d5dbc2a72aa7ac47560e586bfcfd9e62">xycrcb2rgb_hw.h</a><li>XYCC_VER_REV_NUM_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#72c8d832c2919490b91e9a00d31bae71">xycrcb2rgb_hw.h</a><li>XYCC_VER_REV_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#4e75ae25e134ea1b67b161129ef71f8c">xycrcb2rgb_hw.h</a><li>XYCC_VERSION_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#61b7ce819d4a49bb18988bf68055f838">xycrcb2rgb_hw.h</a><li>XYCC_WriteReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#fc4a1468d355a3ac021e73ae7fb490ad">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_CallBack
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4fc84136cce49c5089babb53c657d8b7">xycrcb2rgb.h</a><li>XYCrCb2Rgb_CfgInitialize()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#c5025d0ba54b65adaa027af5fb417af6">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#c5025d0ba54b65adaa027af5fb417af6">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Coefficient_Translation()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#be717fccdb512b0150bc0bf5f3610d59">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#be717fccdb512b0150bc0bf5f3610d59">xycrcb2rgb.c</a><li>XYCrCb2Rgb_ConfigTable
|
||||
: <a class="el" href="xycrcb2rgb__g_8c.html#faba6a9bd1834b467df1f8af30a2d25e">xycrcb2rgb_g.c</a><li>XYCrCb2Rgb_Disable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#7adfd3bd9b645168176b790e61571400">xycrcb2rgb.h</a><li>XYCrCb2Rgb_DisableDbgBypass()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#7a973fe519f4293ac1aabfdb9c9efe6f">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#7a973fe519f4293ac1aabfdb9c9efe6f">xycrcb2rgb.c</a><li>XYCrCb2Rgb_DisableDbgTestPattern()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#3f86bb11cc9f5543f700833a2b5a434a">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#3f86bb11cc9f5543f700833a2b5a434a">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Enable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#18ed531addc912f737ee9e8affdc27f2">xycrcb2rgb.h</a><li>XYCrCb2Rgb_EnableDbgByPass()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a95918dd4e607b2de8424e1c930d8f7e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#a95918dd4e607b2de8424e1c930d8f7e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_EnableDbgTestPattern()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#c3eaa15787aa397679883998777df73e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#c3eaa15787aa397679883998777df73e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_ErrorCallBack
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#ee4b5fc5302eed7b35df9eaefadc5ab7">xycrcb2rgb.h</a><li>XYCrCb2Rgb_GetActiveSize()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#9a1de98490e8623253a33a54f417d9f7">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#9a1de98490e8623253a33a54f417d9f7">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetBOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#016160c1cacfa81ca67003612d7e5aa4">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#016160c1cacfa81ca67003612d7e5aa4">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetCoefs()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4fdf94c700fe6fafe0f7753193264367">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#4fdf94c700fe6fafe0f7753193264367">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetDbgFrameCount()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#89fe90a1319d871a0f18a79993d7169e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#89fe90a1319d871a0f18a79993d7169e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetDbgLineCount()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#23fee0e4bc290cb36bd70ecccfbb9d73">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#23fee0e4bc290cb36bd70ecccfbb9d73">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetDbgPixelCount()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4325f0d578b6deafab4a0739a1211391">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#4325f0d578b6deafab4a0739a1211391">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetGOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#fc326f1adcc83440f42e524ad7a450f3">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#fc326f1adcc83440f42e524ad7a450f3">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetRGBMax()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#482275d385e8255197146ab14a86266e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#482275d385e8255197146ab14a86266e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetRGBMin()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#f6a10791ee6cd3dc4becfe8d43ffe1d7">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#f6a10791ee6cd3dc4becfe8d43ffe1d7">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetROffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#59bf8a384ad66debfdaa64e290f558c2">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#59bf8a384ad66debfdaa64e290f558c2">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetVersion()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#d7b1f31a7dfba317f5c4415aedb72d3e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#d7b1f31a7dfba317f5c4415aedb72d3e">xycrcb2rgb.c</a><li>XYCRCB2RGB_H_
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#055a389e020474349314b360ebafc7e1">xycrcb2rgb.h</a><li>XYCRCB2RGB_HW_H_
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5fa9f47047ee779618100fc49f18402d">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_In32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#85572c7452cd40a0b62b2e8124472152">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_IntrClear
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#ad3d433153fdcda29662ee85aa238df0">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IntrDisable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#368ead416bb207d36da775cc88d8c33e">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IntrEnable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#406213ef3c23c09a3d61681160d7d313">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IntrGetPending
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#0f973253b451577e3985aeac1a5d19f5">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IntrHandler()
|
||||
: <a class="el" href="xycrcb2rgb__intr_8c.html#c907728c8b0e454f8165f350d991244d">xycrcb2rgb_intr.c</a>, <a class="el" href="xycrcb2rgb_8h.html#c907728c8b0e454f8165f350d991244d">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IsDbgByPassEnabled()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#197c1991a047b5bc650f34ebaff22365">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#197c1991a047b5bc650f34ebaff22365">xycrcb2rgb.c</a><li>XYCrCb2Rgb_IsDbgTestPatternEnabled()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#2a21c71070a1ad65f4ac3853b8ac18ca">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#2a21c71070a1ad65f4ac3853b8ac18ca">xycrcb2rgb.c</a><li>XYCrCb2Rgb_LookupConfig()
|
||||
: <a class="el" href="xycrcb2rgb__sinit_8c.html#efc2983c39179e4c195f7aac035ec77a">xycrcb2rgb_sinit.c</a>, <a class="el" href="xycrcb2rgb_8h.html#efc2983c39179e4c195f7aac035ec77a">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Max
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#e181a3b5d2d7e330ac273b92677a9c74">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Out32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#1d3f7d143618eefcb171ebde55553dfd">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_ReadReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9e810d9723caf0b5d13e0461e3cc037c">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_RegUpdateDisable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#f49957f05febddddb01dfa8cb59177a9">xycrcb2rgb.h</a><li>XYCrCb2Rgb_RegUpdateEnable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#2a3da55454c72455f3f0c2f1d1648826">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Reset
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#fa57224777e579de5c753215d4d88c90">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Select_OutputRange()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a6fff23e29d7affab6a4912e8c52a8cf">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#a6fff23e29d7affab6a4912e8c52a8cf">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Select_Standard()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#739c05fe4dba7388f1e72ceadcbc3205">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#739c05fe4dba7388f1e72ceadcbc3205">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SelfTest()
|
||||
: <a class="el" href="xycrcb2rgb__selftest_8c.html#9829c0d1d3eb9b8c4e6151b9dab69af2">xycrcb2rgb_selftest.c</a>, <a class="el" href="xycrcb2rgb_8h.html#9829c0d1d3eb9b8c4e6151b9dab69af2">xycrcb2rgb.h</a><li>XYCrCb2Rgb_SetActiveSize()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#6de5bc93480ed88dc7322f17c1523fcf">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#6de5bc93480ed88dc7322f17c1523fcf">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetBOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#618a3bf6165c98f133ff6983a7465ec1">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#618a3bf6165c98f133ff6983a7465ec1">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetCallBack()
|
||||
: <a class="el" href="xycrcb2rgb__intr_8c.html#7fdc1b162fb009351199c45ffb7dc1c5">xycrcb2rgb_intr.c</a>, <a class="el" href="xycrcb2rgb_8h.html#7fdc1b162fb009351199c45ffb7dc1c5">xycrcb2rgb.h</a><li>XYCrCb2Rgb_SetCoefs()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#140580f95dd9db5de722f7633c9e0502">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#140580f95dd9db5de722f7633c9e0502">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetGOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#ab24bb1f0659817b398c656c75606654">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#ab24bb1f0659817b398c656c75606654">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetRGBMax()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#bf1d9aaf3dc5088ad82a067714f02fc6">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#bf1d9aaf3dc5088ad82a067714f02fc6">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetRGBMin()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#2bbfcd9f4f666b03a7c854d649e8567b">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#2bbfcd9f4f666b03a7c854d649e8567b">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetROffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#35d2da4c7849193ab8fc0a6a04dd489c">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#35d2da4c7849193ab8fc0a6a04dd489c">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Setup()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#39a4ee1f01cf59643d047c0630e7ae1d">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#39a4ee1f01cf59643d047c0630e7ae1d">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Start
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#7cebbc2355fc310dea95b7112c828eee">xycrcb2rgb.h</a><li>XYCrCb2Rgb_StatusGetPending
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#9ac977a3286fefa978d38bf4a24562bf">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Stop
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4b9684dc3b0342cd79ddd05602c8ddbf">xycrcb2rgb.h</a><li>XYCrCb2Rgb_SyncReset
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#bdebf6613e02140b75a0ba30c2bdc445">xycrcb2rgb.h</a><li>XYCrCb2Rgb_WriteReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#2e7e4b983842e5d2b75bba8ee58cc763">xycrcb2rgb_hw.h</a></ul>
|
||||
<h3><a class="anchor" name="index_y">- y -</a></h3><ul>
|
||||
<li>YCC_ACTIVE_SIZE
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d939c46cbb4f7008f326bf0b11b8d9ea">xycrcb2rgb_hw.h</a><li>YCC_CONTROL
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d5835fbe8d6e470ed69c018e17633ff6">xycrcb2rgb_hw.h</a><li>YCC_CTL_CS_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#ac93f4d1dafa466ececdfb3c7b0932f2">xycrcb2rgb_hw.h</a><li>YCC_CTL_EN_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#e84c4fc0807741bbe91af68b6a1bb619">xycrcb2rgb_hw.h</a><li>YCC_CTL_RUE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8c5e88030c2099859cd387138513574d">xycrcb2rgb_hw.h</a><li>YCC_ERROR
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#744ad71cf6250b3d13dda163726cb660">xycrcb2rgb_hw.h</a><li>YCC_In32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c28c702cd24bfb3871b002ca5fcf8dbd">xycrcb2rgb_hw.h</a><li>YCC_IRQ_EN
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8af601ab5f06bad1b59f1567baa84f9e">xycrcb2rgb_hw.h</a><li>YCC_Out32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#828e454669ab4fcb0a415317f4f0d9fc">xycrcb2rgb_hw.h</a><li>YCC_RST_AUTORESET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#583e02fb02a942a5b7abe6b4e2ab0ead">xycrcb2rgb_hw.h</a><li>YCC_RST_RESET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#7d43f51e89a34fdcca8a4c7231696496">xycrcb2rgb_hw.h</a><li>YCC_STATUS
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#7c6bdbfdd2bef73e44d82810ade6cb1d">xycrcb2rgb_hw.h</a><li>YCC_SYSDEBUG0
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f1d8934316f34997d3767f370c535be5">xycrcb2rgb_hw.h</a><li>YCC_SYSDEBUG1
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#403a92736c7239870421024fde09dfb3">xycrcb2rgb_hw.h</a><li>YCC_SYSDEBUG2
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#3e8e0e9ddb7e02272dd851b4fcba9ab4">xycrcb2rgb_hw.h</a><li>YCC_VERSION
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#3670c140048e26bd28c3b5580cba96b0">xycrcb2rgb_hw.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,152 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li id="current"><a href="globals.html"><span>File 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_x"><span>x</span></a></li>
|
||||
<li><a href="#index_y"><span>y</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
|
||||
<li>XYCC_16_BIT_COEF_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9787ed7be5ff79934513fd5cc52a1838">xycrcb2rgb_hw.h</a><li>XYCC_16_BIT_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d1f0740e1e0c7884933fe4afdd215f8d">xycrcb2rgb_hw.h</a><li>XYCC_8_BIT_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8706358ee30808a62cec2646b96345f1">xycrcb2rgb_hw.h</a><li>XYCC_ACOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#bbb91a3db7fa6932d74aa9389bb99ec0">xycrcb2rgb_hw.h</a><li>XYCC_ACT_SIZE_FIRST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#6113d9290b1865237e7be115a408ad80">xycrcb2rgb.h</a><li>XYCC_ACT_SIZE_LAST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#b946a9173d0455a345267bd354e52acf">xycrcb2rgb.h</a><li>XYCC_ACTIVE_SIZE_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b6f30fb1e2c18be805cdf230084a3093">xycrcb2rgb_hw.h</a><li>XYCC_ACTSIZE_NUM_LINE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#6146824f308e7b2c5220818dc7b785a1">xycrcb2rgb_hw.h</a><li>XYCC_ACTSIZE_NUM_LINE_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#1eada993ca738c6c2a918fbb4fa5adb2">xycrcb2rgb_hw.h</a><li>XYCC_ACTSIZE_NUM_PIXEL_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#e3700b309034e668aa6f75f2b413ce9e">xycrcb2rgb_hw.h</a><li>XYCC_BCOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#819ac8d561009b1687a45ef3d027072b">xycrcb2rgb_hw.h</a><li>XYCC_BOFFSET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5aaa0e498f7cb94df62a3e175f16d727">xycrcb2rgb_hw.h</a><li>XYCC_BOFFSET_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#dd237cf9616dd9b4534dfbddf4936940">xycrcb2rgb_hw.h</a><li>XYCC_CCOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8093c4f93a2ead1602ffb922056bf979">xycrcb2rgb_hw.h</a><li>XYCC_COEF_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a9e82c0ae75105f6502c8df601d3d73a">xycrcb2rgb_hw.h</a><li>XYCC_CONTROL_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5c8de676cb5b905e8cd43083bd96aa55">xycrcb2rgb_hw.h</a><li>XYCC_CTL_AUTORESET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#90483b2f1dbe7a706f4488a8f132ae18">xycrcb2rgb_hw.h</a><li>XYCC_CTL_BPE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#671b2d34073c11ed5154507d5ac9556f">xycrcb2rgb_hw.h</a><li>XYCC_CTL_RESET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c3974383c66b31273044f7e8ce4620a3">xycrcb2rgb_hw.h</a><li>XYCC_CTL_RUE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5aa7286067cc510c25e70c0c3ef12f69">xycrcb2rgb_hw.h</a><li>XYCC_CTL_SW_EN_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#42da08e6deb2d6b690acefaa4aaaf864">xycrcb2rgb_hw.h</a><li>XYCC_CTL_TPE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9d8bb04b53b6b3fbacf40a4a74789e56">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_10
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#aec9a2fa2ddb4894e142b707a751bf07">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_12
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b5c614a9911130d0e63959f5177dbe19">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_16
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f1725dae672e5d9a3af8304e59446ae1">xycrcb2rgb_hw.h</a><li>XYCC_DATA_WIDTH_8
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#214fd3c975c68cb2ca7988817371c8c7">xycrcb2rgb_hw.h</a><li>XYCC_DCOEF_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f5cbee5de836d300409327009772a773">xycrcb2rgb_hw.h</a><li>XYCC_ERR_EOL_EARLY_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b54ac1ca91011a96b4710fde1275f082">xycrcb2rgb_hw.h</a><li>XYCC_ERR_EOL_LATE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#b63578d24d72cdfde2f2ebe40197a44e">xycrcb2rgb_hw.h</a><li>XYCC_ERR_SOF_EARLY_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a316834073f1e58e2e589c446b77a80f">xycrcb2rgb_hw.h</a><li>XYCC_ERR_SOF_LATE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f1561ab8b9e94e653880ad492db28a69">xycrcb2rgb_hw.h</a><li>XYCC_ERROR_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9c61ccd9a68d0ba13bc498864f4ad4a9">xycrcb2rgb_hw.h</a><li>XYCC_GOFFSET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#eae2af3ab42bb428cae1b821b79a8b55">xycrcb2rgb_hw.h</a><li>XYCC_GOFFSET_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9d64c7b6a7d4e11c069e1ad3e55afb33">xycrcb2rgb_hw.h</a><li>XYCC_IER_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c6698610205c50f02ccaa4a42d2dc976">xycrcb2rgb_hw.h</a><li>XYCC_IRQ_EN_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a43d65750de71e672b57f0237b4e3eb9">xycrcb2rgb_hw.h</a><li>XYCC_ISR_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#60a49891a0724aed065cab7b24cc2af0">xycrcb2rgb_hw.h</a><li>XYCC_IXR_ALLINTR_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#32a32794d05ffded1cfca5bcf4e6c584">xycrcb2rgb_hw.h</a><li>XYCC_IXR_EOF_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#78f06c7635c4893a26138e9cfa65146b">xycrcb2rgb_hw.h</a><li>XYCC_IXR_PROCS_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#23e7f625fc38b780aabe6d6fc7532ef5">xycrcb2rgb_hw.h</a><li>XYCC_IXR_SE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#0243c2d2cb3b9ba858d2c47f9cb47471">xycrcb2rgb_hw.h</a><li>XYCC_ReadReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#36ebdd75dd7961bca3e5edeeaf5d7615">xycrcb2rgb_hw.h</a><li>XYCC_RGBMAX_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#dfb3ec5c4b99e4b82bab30057e8b069a">xycrcb2rgb_hw.h</a><li>XYCC_RGBMAX_MIN_FIRST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#0ed767d655365734831aed1f21141653">xycrcb2rgb.h</a><li>XYCC_RGBMAX_MIN_LAST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#912ab7d0e626a08eac3ad4722f69dd2f">xycrcb2rgb.h</a><li>XYCC_RGBMAX_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#a700f518b0d56ab04722291dc4056462">xycrcb2rgb_hw.h</a><li>XYCC_RGBMIN_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c8d221dc76af008c31a9fddf9dca08ff">xycrcb2rgb_hw.h</a><li>XYCC_RGBMIN_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#df900db93926ae7dc2702b4b5a821d69">xycrcb2rgb_hw.h</a><li>XYCC_RGBOFFSET_FIRST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#9c1de0904dfcc87d1ae31fe6ff884c5c">xycrcb2rgb.h</a><li>XYCC_RGBOFFSET_LAST
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#5063e5ea88e8744785f0cc47bcb4f462">xycrcb2rgb.h</a><li>XYCC_ROFFSET_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f682e18e2d3af536547bf82158851bbe">xycrcb2rgb_hw.h</a><li>XYCC_ROFFSET_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#24554f7afae472aa8c8b05c03dfc7c3b">xycrcb2rgb_hw.h</a><li>XYCC_STATUS_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#463abde173122e160b253acc53b214bc">xycrcb2rgb_hw.h</a><li>XYCC_SYSDEBUG0_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#6ca18e4bf9f0797fdb2ab5c77bc9a13a">xycrcb2rgb_hw.h</a><li>XYCC_SYSDEBUG1_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#62cab882b78a84dd78e05383a10d4695">xycrcb2rgb_hw.h</a><li>XYCC_SYSDEBUG2_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#25e836c076a0acb3a96b27a414459d19">xycrcb2rgb_hw.h</a><li>XYCC_VER_INTERNAL_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5c343f3220bc3e688a5ca46a59fc114f">xycrcb2rgb_hw.h</a><li>XYCC_VER_MAJOR_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#dfb33edf24894806b0c1810c4e8adeda">xycrcb2rgb_hw.h</a><li>XYCC_VER_MAJOR_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#037157531147e7bd91edfb799fa360bd">xycrcb2rgb_hw.h</a><li>XYCC_VER_MINOR_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#1cf91c0f8cdbcd13aa6cb254751b5f74">xycrcb2rgb_hw.h</a><li>XYCC_VER_MINOR_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#93a004e626d06ac05f54019633fc1e51">xycrcb2rgb_hw.h</a><li>XYCC_VER_PID_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c001e43fbb979eb6e278d8780d12a815">xycrcb2rgb_hw.h</a><li>XYCC_VER_REV_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d5dbc2a72aa7ac47560e586bfcfd9e62">xycrcb2rgb_hw.h</a><li>XYCC_VER_REV_NUM_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#72c8d832c2919490b91e9a00d31bae71">xycrcb2rgb_hw.h</a><li>XYCC_VER_REV_SHIFT
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#4e75ae25e134ea1b67b161129ef71f8c">xycrcb2rgb_hw.h</a><li>XYCC_VERSION_OFFSET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#61b7ce819d4a49bb18988bf68055f838">xycrcb2rgb_hw.h</a><li>XYCC_WriteReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#fc4a1468d355a3ac021e73ae7fb490ad">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_Disable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#7adfd3bd9b645168176b790e61571400">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Enable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#18ed531addc912f737ee9e8affdc27f2">xycrcb2rgb.h</a><li>XYCRCB2RGB_H_
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#055a389e020474349314b360ebafc7e1">xycrcb2rgb.h</a><li>XYCRCB2RGB_HW_H_
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#5fa9f47047ee779618100fc49f18402d">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_In32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#85572c7452cd40a0b62b2e8124472152">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_IntrClear
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#ad3d433153fdcda29662ee85aa238df0">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IntrDisable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#368ead416bb207d36da775cc88d8c33e">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IntrEnable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#406213ef3c23c09a3d61681160d7d313">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IntrGetPending
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#0f973253b451577e3985aeac1a5d19f5">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Max
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#e181a3b5d2d7e330ac273b92677a9c74">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Out32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#1d3f7d143618eefcb171ebde55553dfd">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_ReadReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#9e810d9723caf0b5d13e0461e3cc037c">xycrcb2rgb_hw.h</a><li>XYCrCb2Rgb_RegUpdateDisable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#f49957f05febddddb01dfa8cb59177a9">xycrcb2rgb.h</a><li>XYCrCb2Rgb_RegUpdateEnable
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#2a3da55454c72455f3f0c2f1d1648826">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Reset
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#fa57224777e579de5c753215d4d88c90">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Start
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#7cebbc2355fc310dea95b7112c828eee">xycrcb2rgb.h</a><li>XYCrCb2Rgb_StatusGetPending
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#9ac977a3286fefa978d38bf4a24562bf">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Stop
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4b9684dc3b0342cd79ddd05602c8ddbf">xycrcb2rgb.h</a><li>XYCrCb2Rgb_SyncReset
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#bdebf6613e02140b75a0ba30c2bdc445">xycrcb2rgb.h</a><li>XYCrCb2Rgb_WriteReg
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#2e7e4b983842e5d2b75bba8ee58cc763">xycrcb2rgb_hw.h</a></ul>
|
||||
<h3><a class="anchor" name="index_y">- y -</a></h3><ul>
|
||||
<li>YCC_ACTIVE_SIZE
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d939c46cbb4f7008f326bf0b11b8d9ea">xycrcb2rgb_hw.h</a><li>YCC_CONTROL
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#d5835fbe8d6e470ed69c018e17633ff6">xycrcb2rgb_hw.h</a><li>YCC_CTL_CS_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#ac93f4d1dafa466ececdfb3c7b0932f2">xycrcb2rgb_hw.h</a><li>YCC_CTL_EN_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#e84c4fc0807741bbe91af68b6a1bb619">xycrcb2rgb_hw.h</a><li>YCC_CTL_RUE_MASK
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8c5e88030c2099859cd387138513574d">xycrcb2rgb_hw.h</a><li>YCC_ERROR
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#744ad71cf6250b3d13dda163726cb660">xycrcb2rgb_hw.h</a><li>YCC_In32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#c28c702cd24bfb3871b002ca5fcf8dbd">xycrcb2rgb_hw.h</a><li>YCC_IRQ_EN
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#8af601ab5f06bad1b59f1567baa84f9e">xycrcb2rgb_hw.h</a><li>YCC_Out32
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#828e454669ab4fcb0a415317f4f0d9fc">xycrcb2rgb_hw.h</a><li>YCC_RST_AUTORESET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#583e02fb02a942a5b7abe6b4e2ab0ead">xycrcb2rgb_hw.h</a><li>YCC_RST_RESET
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#7d43f51e89a34fdcca8a4c7231696496">xycrcb2rgb_hw.h</a><li>YCC_STATUS
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#7c6bdbfdd2bef73e44d82810ade6cb1d">xycrcb2rgb_hw.h</a><li>YCC_SYSDEBUG0
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#f1d8934316f34997d3767f370c535be5">xycrcb2rgb_hw.h</a><li>YCC_SYSDEBUG1
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#403a92736c7239870421024fde09dfb3">xycrcb2rgb_hw.h</a><li>YCC_SYSDEBUG2
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#3e8e0e9ddb7e02272dd851b4fcba9ab4">xycrcb2rgb_hw.h</a><li>YCC_VERSION
|
||||
: <a class="el" href="xycrcb2rgb__hw_8h.html#3670c140048e26bd28c3b5580cba96b0">xycrcb2rgb_hw.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -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 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 List</span></a></li>
|
||||
<li id="current"><a href="globals.html"><span>File 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>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li>OutputRanges
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c6">xycrcb2rgb.h</a><li>Standards
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -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 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 List</span></a></li>
|
||||
<li id="current"><a href="globals.html"><span>File 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>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li>XYCC_GRAPHICS_0_TO_255
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c6e1f1d2c55a2ef7feadbbde1ca748337e">xycrcb2rgb.h</a><li>XYCC_HANDLER_ERROR
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#06fc87d81c62e9abb8790b6e5713c55b01c9257754b2cf6b922196b6ec5d54ab">xycrcb2rgb.h</a><li>XYCC_HANDLER_FRAMEDONE
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#06fc87d81c62e9abb8790b6e5713c55b405beea15bd5a1dc8fefc0836b6bd1bf">xycrcb2rgb.h</a><li>XYCC_HANDLER_PROCSTART
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#06fc87d81c62e9abb8790b6e5713c55b1cf6bdc917ecde565392a0889d7da484">xycrcb2rgb.h</a><li>XYCC_STANDARD_CUSTOM
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d0b1c78077197c7527fc7952fcc89c211">xycrcb2rgb.h</a><li>XYCC_STANDARD_ITU_601_SD
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d1217ea6e63d324a65afedd246c3afa38">xycrcb2rgb.h</a><li>XYCC_STANDARD_ITU_709_NTSC
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d46e2f294a2871542dd275903d47525f1">xycrcb2rgb.h</a><li>XYCC_STANDARD_ITU_709_PAL
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55daf6639705d9b4fb937b2760e72e01849">xycrcb2rgb.h</a><li>XYCC_STANDARD_YUV
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#1e26713d0e6ef278ede893feaae2c55d0b82d96962dd13c0307cd48707b37b5a">xycrcb2rgb.h</a><li>XYCC_STUDIO_16_TO_235
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c60516093ac40f49d9a0161ce9dbf852d0">xycrcb2rgb.h</a><li>XYCC_TV_16_TO_240
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a9c553a5835e996be86db99d5d5b14c63c73c9762977b65219b2ad82a0b4bb73">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,79 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li id="current"><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul></div>
|
||||
<div class="tabs">
|
||||
<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>
|
||||
|
||||
<p>
|
||||
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
|
||||
<li>XYCrCb2Rgb_CfgInitialize()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#c5025d0ba54b65adaa027af5fb417af6">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#c5025d0ba54b65adaa027af5fb417af6">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Coefficient_Translation()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#be717fccdb512b0150bc0bf5f3610d59">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#be717fccdb512b0150bc0bf5f3610d59">xycrcb2rgb.c</a><li>XYCrCb2Rgb_DisableDbgBypass()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#7a973fe519f4293ac1aabfdb9c9efe6f">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#7a973fe519f4293ac1aabfdb9c9efe6f">xycrcb2rgb.c</a><li>XYCrCb2Rgb_DisableDbgTestPattern()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#3f86bb11cc9f5543f700833a2b5a434a">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#3f86bb11cc9f5543f700833a2b5a434a">xycrcb2rgb.c</a><li>XYCrCb2Rgb_EnableDbgByPass()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a95918dd4e607b2de8424e1c930d8f7e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#a95918dd4e607b2de8424e1c930d8f7e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_EnableDbgTestPattern()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#c3eaa15787aa397679883998777df73e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#c3eaa15787aa397679883998777df73e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetActiveSize()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#9a1de98490e8623253a33a54f417d9f7">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#9a1de98490e8623253a33a54f417d9f7">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetBOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#016160c1cacfa81ca67003612d7e5aa4">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#016160c1cacfa81ca67003612d7e5aa4">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetCoefs()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4fdf94c700fe6fafe0f7753193264367">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#4fdf94c700fe6fafe0f7753193264367">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetDbgFrameCount()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#89fe90a1319d871a0f18a79993d7169e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#89fe90a1319d871a0f18a79993d7169e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetDbgLineCount()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#23fee0e4bc290cb36bd70ecccfbb9d73">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#23fee0e4bc290cb36bd70ecccfbb9d73">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetDbgPixelCount()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4325f0d578b6deafab4a0739a1211391">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#4325f0d578b6deafab4a0739a1211391">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetGOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#fc326f1adcc83440f42e524ad7a450f3">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#fc326f1adcc83440f42e524ad7a450f3">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetRGBMax()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#482275d385e8255197146ab14a86266e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#482275d385e8255197146ab14a86266e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetRGBMin()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#f6a10791ee6cd3dc4becfe8d43ffe1d7">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#f6a10791ee6cd3dc4becfe8d43ffe1d7">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetROffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#59bf8a384ad66debfdaa64e290f558c2">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#59bf8a384ad66debfdaa64e290f558c2">xycrcb2rgb.c</a><li>XYCrCb2Rgb_GetVersion()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#d7b1f31a7dfba317f5c4415aedb72d3e">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#d7b1f31a7dfba317f5c4415aedb72d3e">xycrcb2rgb.c</a><li>XYCrCb2Rgb_IntrHandler()
|
||||
: <a class="el" href="xycrcb2rgb__intr_8c.html#c907728c8b0e454f8165f350d991244d">xycrcb2rgb_intr.c</a>, <a class="el" href="xycrcb2rgb_8h.html#c907728c8b0e454f8165f350d991244d">xycrcb2rgb.h</a><li>XYCrCb2Rgb_IsDbgByPassEnabled()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#197c1991a047b5bc650f34ebaff22365">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#197c1991a047b5bc650f34ebaff22365">xycrcb2rgb.c</a><li>XYCrCb2Rgb_IsDbgTestPatternEnabled()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#2a21c71070a1ad65f4ac3853b8ac18ca">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#2a21c71070a1ad65f4ac3853b8ac18ca">xycrcb2rgb.c</a><li>XYCrCb2Rgb_LookupConfig()
|
||||
: <a class="el" href="xycrcb2rgb__sinit_8c.html#efc2983c39179e4c195f7aac035ec77a">xycrcb2rgb_sinit.c</a>, <a class="el" href="xycrcb2rgb_8h.html#efc2983c39179e4c195f7aac035ec77a">xycrcb2rgb.h</a><li>XYCrCb2Rgb_Select_OutputRange()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#a6fff23e29d7affab6a4912e8c52a8cf">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#a6fff23e29d7affab6a4912e8c52a8cf">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Select_Standard()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#739c05fe4dba7388f1e72ceadcbc3205">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#739c05fe4dba7388f1e72ceadcbc3205">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SelfTest()
|
||||
: <a class="el" href="xycrcb2rgb__selftest_8c.html#9829c0d1d3eb9b8c4e6151b9dab69af2">xycrcb2rgb_selftest.c</a>, <a class="el" href="xycrcb2rgb_8h.html#9829c0d1d3eb9b8c4e6151b9dab69af2">xycrcb2rgb.h</a><li>XYCrCb2Rgb_SetActiveSize()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#6de5bc93480ed88dc7322f17c1523fcf">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#6de5bc93480ed88dc7322f17c1523fcf">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetBOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#618a3bf6165c98f133ff6983a7465ec1">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#618a3bf6165c98f133ff6983a7465ec1">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetCallBack()
|
||||
: <a class="el" href="xycrcb2rgb__intr_8c.html#7fdc1b162fb009351199c45ffb7dc1c5">xycrcb2rgb_intr.c</a>, <a class="el" href="xycrcb2rgb_8h.html#7fdc1b162fb009351199c45ffb7dc1c5">xycrcb2rgb.h</a><li>XYCrCb2Rgb_SetCoefs()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#140580f95dd9db5de722f7633c9e0502">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#140580f95dd9db5de722f7633c9e0502">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetGOffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#ab24bb1f0659817b398c656c75606654">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#ab24bb1f0659817b398c656c75606654">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetRGBMax()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#bf1d9aaf3dc5088ad82a067714f02fc6">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#bf1d9aaf3dc5088ad82a067714f02fc6">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetRGBMin()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#2bbfcd9f4f666b03a7c854d649e8567b">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#2bbfcd9f4f666b03a7c854d649e8567b">xycrcb2rgb.c</a><li>XYCrCb2Rgb_SetROffset()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#35d2da4c7849193ab8fc0a6a04dd489c">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#35d2da4c7849193ab8fc0a6a04dd489c">xycrcb2rgb.c</a><li>XYCrCb2Rgb_Setup()
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#39a4ee1f01cf59643d047c0630e7ae1d">xycrcb2rgb.h</a>, <a class="el" href="xycrcb2rgb_8c.html#39a4ee1f01cf59643d047c0630e7ae1d">xycrcb2rgb.c</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -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 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 List</span></a></li>
|
||||
<li id="current"><a href="globals.html"><span>File 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>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li>XYCrCb2Rgb_CallBack
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#4fc84136cce49c5089babb53c657d8b7">xycrcb2rgb.h</a><li>XYCrCb2Rgb_ErrorCallBack
|
||||
: <a class="el" href="xycrcb2rgb_8h.html#ee4b5fc5302eed7b35df9eaefadc5ab7">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -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 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 List</span></a></li>
|
||||
<li id="current"><a href="globals.html"><span>File 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>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li>XYCrCb2Rgb_ConfigTable
|
||||
: <a class="el" href="xycrcb2rgb__g_8c.html#faba6a9bd1834b467df1f8af30a2d25e">xycrcb2rgb_g.c</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
100
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/index.html
Executable file → Normal file
100
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/index.html
Executable file → Normal file
|
@ -2,20 +2,108 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
rgb2ycrcb v6_0
|
||||
YCrCb2RGB 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 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>YCrCb2RGB V7_0</h1>
|
||||
<p>
|
||||
This header file contains identifiers and register-level driver functions (or macros) that can be used to access the Xilinx YCrCb to RGB Color Space Converter (RGB2YCRCB) device.<p>
|
||||
MODIFICATION HISTORY:<p>
|
||||
Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 5.00a tb 02/28/12 Updated for YCRCB2RGB 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 YCRCB2RGB core.<p>
|
||||
The YCrCb to RGB 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 & Configuration</b><p>
|
||||
The device driver enables higher layer software (e.g., an application) to communicate to the YCRCB2RGB core.<p>
|
||||
<a class="el" href="xycrcb2rgb_8c.html#c5025d0ba54b65adaa027af5fb417af6">XYCrCb2Rgb_CfgInitialize()</a> API is used to initialize the YCRCB2RGB core. The user needs to first call the <a class="el" href="xycrcb2rgb_8h.html#efc2983c39179e4c195f7aac035ec77a">XYCrCb2Rgb_LookupConfig()</a> API which returns the Configuration structure pointer which is passed as a parameter to the <a class="el" href="xycrcb2rgb_8c.html#c5025d0ba54b65adaa027af5fb417af6">XYCrCb2Rgb_CfgInitialize()</a> API.<p>
|
||||
<b> Interrupts </b><p>
|
||||
The driver provides an interrupt handler XYCrCb2Rgb_IntrHandler for handling the interrupt from the YCRCB2RGB core. The users of this driver have to register this handler with the interrupt system and provide the callback functions by using XYCrCb2Rgb_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_y_cr_cb2_rgb.html">XYCrCb2Rgb</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/28/12 Updated for YCRCB2RGB 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/31/14 Changed the file name from "ycrcb2rgb.h" to
|
||||
"xycrcb2rgb.h".</pre><p>
|
||||
<pre> Moved register offsets and bit definitions from
|
||||
ycrcb2rgb.h file to <a class="el" href="xycrcb2rgb__hw_8h.html">xycrcb2rgb_hw.h</a> file.</pre><p>
|
||||
<pre> Removed YCC_TIMING_STATUS register offset because this
|
||||
register is not present in latest product guide.</pre><p>
|
||||
<pre> Removed following function macros:
|
||||
YCC_Enable, YCC_Disable, YCC_RegUpdateEnable,
|
||||
YCC_RegUpdateDisable, YCC_Reset, YCC_ClearReset,
|
||||
YCC_AutoSyncReset, ycc_max..</pre><p>
|
||||
<pre> Removed following functions:
|
||||
YCC_select_standard, YCC_coefficient_translation,
|
||||
YCC_set_coefficients, YCC_get_coefficients.</pre><p>
|
||||
<pre> Added following handler types as enum:
|
||||
XYCC_HANDLER_PROCSTART, XYCC_HANDLER_FRAMEDONE,
|
||||
XYCC_HANDLER_ERROR.</pre><p>
|
||||
<pre> Added following standard types as enum:
|
||||
XYCC_STANDARD_ITU_601_SD, XYCC_STANDARD_ITU_709_NTSC,
|
||||
XYCC_STANDARD_ITU_709_PAL, XYCC_STANDARD_YUV,
|
||||
XYCC_STANDARD_CUSTOM.</pre><p>
|
||||
<pre> Added following output ranges as enum:
|
||||
XYCC_TV_16_TO_240, XYCC_STUDIO_16_TO_235,
|
||||
XYCC_GRAPHICS_0_TO_255.</pre><p>
|
||||
<pre> Added range macros for ActiveSize, RGBMAX, RGBMIN,
|
||||
ROFFSET, GOFFSET, BOFFSET registers.</pre><p>
|
||||
<pre> Added following function macros:
|
||||
XYCrCb2Rgb_IntrEnable, XYCrCb2Rgb_IntrDisable,
|
||||
XYCrCb2Rgb_StatusGetPending, XYCrCb2Rgb_IntrGetPending,
|
||||
XYCrCb2Rgb_IntrClear, XYCrCb2Rgb_Reset,
|
||||
XYCrCb2Rgb_Enable, XYCrCb2Rgb_Disable,
|
||||
XYCrCb2Rgb_Start, XYCrCb2Rgb_Stop,
|
||||
XYCrCb2Rgb_RegUpdateEnable,
|
||||
XYCrCb2Rgb_RegUpdateDisable,
|
||||
XYCrCb2Rgb_SyncReset, XYCrCb2Rgb_Max</pre><p>
|
||||
<pre> Added core, configuration and coefficient structure.
|
||||
Renamed ycc_coef_inputs -> <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a> and
|
||||
ycc_coef_outputs - > <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a>.</pre><p>
|
||||
<pre> Added callback functions typedef.</pre><p>
|
||||
<pre> Implemented XYCrCb2Rgb_LookupConfig in
|
||||
<a class="el" href="xycrcb2rgb__sinit_8c.html">xycrcb2rgb_sinit.c</a>
|
||||
Implemented XYCrCb2Rgb_SelfTest in
|
||||
<a class="el" href="xycrcb2rgb__selftest_8c.html">xycrcb2rgb_selftest.c</a>
|
||||
Implemented XYCrCb2Rgb_IntrHandler,
|
||||
XYCrCb2Rgb_SetCallBack in <a class="el" href="xycrcb2rgb__intr_8c.html">xycrcb2rgb_intr.c</a>.</pre><p>
|
||||
<pre> Implemented following functions in <a class="el" href="xycrcb2rgb_8c.html">xycrcb2rgb.c</a>:
|
||||
XYCrCb2Rgb_CfgInitialize, XYCrCb2Rgb_EnableDbgByPass,
|
||||
XYCrCb2Rgb_IsDbgByPassEnabled,
|
||||
XYCrCb2Rgb_DisableDbgBypass,
|
||||
XYCrCb2Rgb_EnableDbgTestPattern,
|
||||
XYCrCb2Rgb_IsDbgTestPatternEnabled,
|
||||
XYCrCb2Rgb_DisableDbgTestPattern,
|
||||
XYCrCb2Rgb_GetVersion, XYCrCb2Rgb_GetDbgFrameCount,
|
||||
XYCrCb2Rgb_GetDbgLineCount,
|
||||
XYCrCb2Rgb_GetDbgPixelCount, XYCrCb2Rgb_Setup,
|
||||
XYCrCb2Rgb_SetActiveSize, XYCrCb2Rgb_GetActiveSize,
|
||||
XYCrCb2Rgb_SetRGBMax, XYCrCb2Rgb_GetRGBMax,
|
||||
XYCrCb2Rgb_SetRGBMin, XYCrCb2Rgb_GetRGBMin,
|
||||
XYCrCb2Rgb_SetROffset, XYCrCb2Rgb_GetROffset,
|
||||
XYCrCb2Rgb_SetGOffset, XYCrCb2Rgb_GetGOffset,
|
||||
XYCrCb2Rgb_SetBOffset, XYCrCb2Rgb_GetBOffset,
|
||||
XYCrCb2Rgb_SetCoefs, XYCrCb2Rgb_GetCoefs,
|
||||
XYCrCb2Rgb_Select_Standard,
|
||||
XYCrCb2Rgb_Coefficient_Translation,
|
||||
XYCrCb2Rgb_Select_OutputRange.
|
||||
*</pre> Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
||||
|
|
|
@ -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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb Member List</h1>This is the complete list of members for <a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a>, including all inherited members.<p><table>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#30dd6ce0d53e27f2022733a28a229c27">Config</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#caec78f4b53dc678280136137774741b">ErrCallBack</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#64dd2632adbf754bd1467ad38d7ef25e">ErrRef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#31f4c79e1c2f5342c53cc7ce1d34c64f">FrameDoneCallBack</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#4417dc4d16ad4f57a239000d6daaca61">FrameDoneRef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#4960340fe85187aa792e5a64babf4d99">HSize</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#3705c8ac19fa9da757a5fd90152e088a">IsReady</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#6cd677b8e040974e7cb3a864913f277c">OutputRange</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#94aaab65fce46fc057e6c242c85ba6f8">ProcStartCallBack</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#19ec790635ab1d1398bc9e6cdf0a8b6a">ProcStartRef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#6e1a19bcc7ef22ae2d6e387fb3969446">StandardSelection</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb.html#2ebeda7e07dfa4e9b7f8828f4ae25225">VSize</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a></td><td></td></tr>
|
||||
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,240 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
XYCrCb2Rgb 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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb Struct Reference</h1><!-- doxytag: class="XYCrCb2Rgb" --><code>#include <xycrcb2rgb.h></code>
|
||||
<p>
|
||||
<a href="struct_x_y_cr_cb2_rgb-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
The <a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</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_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#30dd6ce0d53e27f2022733a28a229c27">Config</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#3705c8ac19fa9da757a5fd90152e088a">IsReady</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#4960340fe85187aa792e5a64babf4d99">HSize</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#2ebeda7e07dfa4e9b7f8828f4ae25225">VSize</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xycrcb2rgb_8h.html#4fc84136cce49c5089babb53c657d8b7">XYCrCb2Rgb_CallBack</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#94aaab65fce46fc057e6c242c85ba6f8">ProcStartCallBack</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#19ec790635ab1d1398bc9e6cdf0a8b6a">ProcStartRef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xycrcb2rgb_8h.html#4fc84136cce49c5089babb53c657d8b7">XYCrCb2Rgb_CallBack</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#31f4c79e1c2f5342c53cc7ce1d34c64f">FrameDoneCallBack</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#4417dc4d16ad4f57a239000d6daaca61">FrameDoneRef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="xycrcb2rgb_8h.html#ee4b5fc5302eed7b35df9eaefadc5ab7">XYCrCb2Rgb_ErrorCallBack</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#caec78f4b53dc678280136137774741b">ErrCallBack</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#64dd2632adbf754bd1467ad38d7ef25e">ErrRef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#6e1a19bcc7ef22ae2d6e387fb3969446">StandardSelection</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb.html#6cd677b8e040974e7cb3a864913f277c">OutputRange</a></td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Member Data Documentation</h2>
|
||||
<a class="anchor" name="30dd6ce0d53e27f2022733a28a229c27"></a><!-- doxytag: member="XYCrCb2Rgb::Config" ref="30dd6ce0d53e27f2022733a28a229c27" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a> <a class="el" href="struct_x_y_cr_cb2_rgb.html#30dd6ce0d53e27f2022733a28a229c27">XYCrCb2Rgb::Config</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Hardware configuration
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="caec78f4b53dc678280136137774741b"></a><!-- doxytag: member="XYCrCb2Rgb::ErrCallBack" ref="caec78f4b53dc678280136137774741b" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="xycrcb2rgb_8h.html#ee4b5fc5302eed7b35df9eaefadc5ab7">XYCrCb2Rgb_ErrorCallBack</a> <a class="el" href="struct_x_y_cr_cb2_rgb.html#caec78f4b53dc678280136137774741b">XYCrCb2Rgb::ErrCallBack</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Callback for Error interrupt
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="64dd2632adbf754bd1467ad38d7ef25e"></a><!-- doxytag: member="XYCrCb2Rgb::ErrRef" ref="64dd2632adbf754bd1467ad38d7ef25e" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void* <a class="el" href="struct_x_y_cr_cb2_rgb.html#64dd2632adbf754bd1467ad38d7ef25e">XYCrCb2Rgb::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="31f4c79e1c2f5342c53cc7ce1d34c64f"></a><!-- doxytag: member="XYCrCb2Rgb::FrameDoneCallBack" ref="31f4c79e1c2f5342c53cc7ce1d34c64f" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="xycrcb2rgb_8h.html#4fc84136cce49c5089babb53c657d8b7">XYCrCb2Rgb_CallBack</a> <a class="el" href="struct_x_y_cr_cb2_rgb.html#31f4c79e1c2f5342c53cc7ce1d34c64f">XYCrCb2Rgb::FrameDoneCallBack</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Callback for Frame Done interrupt
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="4417dc4d16ad4f57a239000d6daaca61"></a><!-- doxytag: member="XYCrCb2Rgb::FrameDoneRef" ref="4417dc4d16ad4f57a239000d6daaca61" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void* <a class="el" href="struct_x_y_cr_cb2_rgb.html#4417dc4d16ad4f57a239000d6daaca61">XYCrCb2Rgb::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="4960340fe85187aa792e5a64babf4d99"></a><!-- doxytag: member="XYCrCb2Rgb::HSize" ref="4960340fe85187aa792e5a64babf4d99" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb.html#4960340fe85187aa792e5a64babf4d99">XYCrCb2Rgb::HSize</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Active Video Horizontal Size
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="3705c8ac19fa9da757a5fd90152e088a"></a><!-- doxytag: member="XYCrCb2Rgb::IsReady" ref="3705c8ac19fa9da757a5fd90152e088a" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb.html#3705c8ac19fa9da757a5fd90152e088a">XYCrCb2Rgb::IsReady</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Device and the driver instance are initialized
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="6cd677b8e040974e7cb3a864913f277c"></a><!-- doxytag: member="XYCrCb2Rgb::OutputRange" ref="6cd677b8e040974e7cb3a864913f277c" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb.html#6cd677b8e040974e7cb3a864913f277c">XYCrCb2Rgb::OutputRange</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Output Range
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="94aaab65fce46fc057e6c242c85ba6f8"></a><!-- doxytag: member="XYCrCb2Rgb::ProcStartCallBack" ref="94aaab65fce46fc057e6c242c85ba6f8" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="xycrcb2rgb_8h.html#4fc84136cce49c5089babb53c657d8b7">XYCrCb2Rgb_CallBack</a> <a class="el" href="struct_x_y_cr_cb2_rgb.html#94aaab65fce46fc057e6c242c85ba6f8">XYCrCb2Rgb::ProcStartCallBack</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Callback for Processing start interrupt
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="19ec790635ab1d1398bc9e6cdf0a8b6a"></a><!-- doxytag: member="XYCrCb2Rgb::ProcStartRef" ref="19ec790635ab1d1398bc9e6cdf0a8b6a" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void* <a class="el" href="struct_x_y_cr_cb2_rgb.html#19ec790635ab1d1398bc9e6cdf0a8b6a">XYCrCb2Rgb::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="6e1a19bcc7ef22ae2d6e387fb3969446"></a><!-- doxytag: member="XYCrCb2Rgb::StandardSelection" ref="6e1a19bcc7ef22ae2d6e387fb3969446" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb.html#6e1a19bcc7ef22ae2d6e387fb3969446">XYCrCb2Rgb::StandardSelection</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Standard Selection
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="2ebeda7e07dfa4e9b7f8828f4ae25225"></a><!-- doxytag: member="XYCrCb2Rgb::VSize" ref="2ebeda7e07dfa4e9b7f8828f4ae25225" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb.html#2ebeda7e07dfa4e9b7f8828f4ae25225">XYCrCb2Rgb::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="xycrcb2rgb_8h.html">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,34 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Coef_Inputs Member List</h1>This is the complete list of members for <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a>, including all inherited members.<p><table>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#7c523ee9eadbd22fe493a605f5a1d40c">ACoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#cd947e4a0eeb7a9af5b60d9b44f592f7">BCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#808cdd38b3ce7914c4b5719824eb5de3">CbOffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#b42bb24af7bc8cba51dc7d9597bb98b5">CCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#1f9fe7a5ff07bd573dec09af1f3c6119">CrOffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#21d3d26207238901c84f11839fe756b9">DCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#2643f5f5c6ffdf1fdedc23cd193d3aee">RgbMax</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#06b068db1aa5da0700f8f4ba61698d97">RgbMin</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#40f65dc31dccfe762f093abe6e330828">YOffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html">XYCrCb2Rgb_Coef_Inputs</a></td><td></td></tr>
|
||||
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,189 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
XYCrCb2Rgb_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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Coef_Inputs Struct Reference</h1><!-- doxytag: class="XYCrCb2Rgb_Coef_Inputs" --><code>#include <xycrcb2rgb.h></code>
|
||||
<p>
|
||||
<a href="struct_x_y_cr_cb2_rgb___coef___inputs-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
YCrCb2Rgb 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 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#7c523ee9eadbd22fe493a605f5a1d40c">ACoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#cd947e4a0eeb7a9af5b60d9b44f592f7">BCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#b42bb24af7bc8cba51dc7d9597bb98b5">CCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#21d3d26207238901c84f11839fe756b9">DCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#40f65dc31dccfe762f093abe6e330828">YOffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#808cdd38b3ce7914c4b5719824eb5de3">CbOffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#1f9fe7a5ff07bd573dec09af1f3c6119">CrOffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#2643f5f5c6ffdf1fdedc23cd193d3aee">RgbMax</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#06b068db1aa5da0700f8f4ba61698d97">RgbMin</a></td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Member Data Documentation</h2>
|
||||
<a class="anchor" name="7c523ee9eadbd22fe493a605f5a1d40c"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::ACoef" ref="7c523ee9eadbd22fe493a605f5a1d40c" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#7c523ee9eadbd22fe493a605f5a1d40c">XYCrCb2Rgb_Coef_Inputs::ACoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="cd947e4a0eeb7a9af5b60d9b44f592f7"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::BCoef" ref="cd947e4a0eeb7a9af5b60d9b44f592f7" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#cd947e4a0eeb7a9af5b60d9b44f592f7">XYCrCb2Rgb_Coef_Inputs::BCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="808cdd38b3ce7914c4b5719824eb5de3"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::CbOffset" ref="808cdd38b3ce7914c4b5719824eb5de3" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#808cdd38b3ce7914c4b5719824eb5de3">XYCrCb2Rgb_Coef_Inputs::CbOffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Offset for the Chrominance Channels
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="b42bb24af7bc8cba51dc7d9597bb98b5"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::CCoef" ref="b42bb24af7bc8cba51dc7d9597bb98b5" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#b42bb24af7bc8cba51dc7d9597bb98b5">XYCrCb2Rgb_Coef_Inputs::CCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ]
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="1f9fe7a5ff07bd573dec09af1f3c6119"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::CrOffset" ref="1f9fe7a5ff07bd573dec09af1f3c6119" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#1f9fe7a5ff07bd573dec09af1f3c6119">XYCrCb2Rgb_Coef_Inputs::CrOffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Offset for the Chrominance Channels
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="21d3d26207238901c84f11839fe756b9"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::DCoef" ref="21d3d26207238901c84f11839fe756b9" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#21d3d26207238901c84f11839fe756b9">XYCrCb2Rgb_Coef_Inputs::DCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ]
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="2643f5f5c6ffdf1fdedc23cd193d3aee"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::RgbMax" ref="2643f5f5c6ffdf1fdedc23cd193d3aee" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#2643f5f5c6ffdf1fdedc23cd193d3aee">XYCrCb2Rgb_Coef_Inputs::RgbMax</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
RGB Clipping
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="06b068db1aa5da0700f8f4ba61698d97"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::RgbMin" ref="06b068db1aa5da0700f8f4ba61698d97" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#06b068db1aa5da0700f8f4ba61698d97">XYCrCb2Rgb_Coef_Inputs::RgbMin</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
RGB Clamping
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="40f65dc31dccfe762f093abe6e330828"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Inputs::YOffset" ref="40f65dc31dccfe762f093abe6e330828" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___inputs.html#40f65dc31dccfe762f093abe6e330828">XYCrCb2Rgb_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="xycrcb2rgb_8h.html">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,34 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Coef_Outputs Member List</h1>This is the complete list of members for <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a>, including all inherited members.<p><table>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#9e55cd4919955642da2075916cf52c9c">ACoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#e1072e6e3c4a15771cc240a177fe42b9">BCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#d64df2f69858bca73d08eede7d708d05">BOffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#8e00de7d7ca76c4591b8d1788d40f91b">CCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#6996091492dac264a795f4eaf84f66ce">DCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#63f360794b0d87d5491539ea12df5fcd">GOffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#431863d96f98401235c5fe4ae5fec69e">RgbMax</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#2460c754a461047c707f97d18f39edd4">RgbMin</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#42764da7c940d64de62a0e4703a6e138">ROffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html">XYCrCb2Rgb_Coef_Outputs</a></td><td></td></tr>
|
||||
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,189 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
XYCrCb2Rgb_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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Coef_Outputs Struct Reference</h1><!-- doxytag: class="XYCrCb2Rgb_Coef_Outputs" --><code>#include <xycrcb2rgb.h></code>
|
||||
<p>
|
||||
<a href="struct_x_y_cr_cb2_rgb___coef___outputs-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
YCrCb2Rgb 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 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#9e55cd4919955642da2075916cf52c9c">ACoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#e1072e6e3c4a15771cc240a177fe42b9">BCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#8e00de7d7ca76c4591b8d1788d40f91b">CCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#6996091492dac264a795f4eaf84f66ce">DCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#42764da7c940d64de62a0e4703a6e138">ROffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#63f360794b0d87d5491539ea12df5fcd">GOffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#d64df2f69858bca73d08eede7d708d05">BOffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#431863d96f98401235c5fe4ae5fec69e">RgbMax</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#2460c754a461047c707f97d18f39edd4">RgbMin</a></td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Member Data Documentation</h2>
|
||||
<a class="anchor" name="9e55cd4919955642da2075916cf52c9c"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::ACoef" ref="9e55cd4919955642da2075916cf52c9c" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#9e55cd4919955642da2075916cf52c9c">XYCrCb2Rgb_Coef_Outputs::ACoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated ACoef
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="e1072e6e3c4a15771cc240a177fe42b9"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::BCoef" ref="e1072e6e3c4a15771cc240a177fe42b9" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#e1072e6e3c4a15771cc240a177fe42b9">XYCrCb2Rgb_Coef_Outputs::BCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated BCoef
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="d64df2f69858bca73d08eede7d708d05"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::BOffset" ref="d64df2f69858bca73d08eede7d708d05" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#d64df2f69858bca73d08eede7d708d05">XYCrCb2Rgb_Coef_Outputs::BOffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated Offset for the B Channel
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="8e00de7d7ca76c4591b8d1788d40f91b"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::CCoef" ref="8e00de7d7ca76c4591b8d1788d40f91b" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#8e00de7d7ca76c4591b8d1788d40f91b">XYCrCb2Rgb_Coef_Outputs::CCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated CCoef
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="6996091492dac264a795f4eaf84f66ce"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::DCoef" ref="6996091492dac264a795f4eaf84f66ce" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#6996091492dac264a795f4eaf84f66ce">XYCrCb2Rgb_Coef_Outputs::DCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated DCoef
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="63f360794b0d87d5491539ea12df5fcd"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::GOffset" ref="63f360794b0d87d5491539ea12df5fcd" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#63f360794b0d87d5491539ea12df5fcd">XYCrCb2Rgb_Coef_Outputs::GOffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated Offset for the G Channel
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="431863d96f98401235c5fe4ae5fec69e"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::RgbMax" ref="431863d96f98401235c5fe4ae5fec69e" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#431863d96f98401235c5fe4ae5fec69e">XYCrCb2Rgb_Coef_Outputs::RgbMax</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated RGB Clipping
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="2460c754a461047c707f97d18f39edd4"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::RgbMin" ref="2460c754a461047c707f97d18f39edd4" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#2460c754a461047c707f97d18f39edd4">XYCrCb2Rgb_Coef_Outputs::RgbMin</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated RGB Clamping
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="42764da7c940d64de62a0e4703a6e138"></a><!-- doxytag: member="XYCrCb2Rgb_Coef_Outputs::ROffset" ref="42764da7c940d64de62a0e4703a6e138" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___coef___outputs.html#42764da7c940d64de62a0e4703a6e138">XYCrCb2Rgb_Coef_Outputs::ROffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Translated Offset for the R Channel
|
||||
</div>
|
||||
</div><p>
|
||||
<hr>The documentation for this struct was generated from the following file:<ul>
|
||||
<li><a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,29 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Coefficients Member List</h1>This is the complete list of members for <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html">XYCrCb2Rgb_Coefficients</a>, including all inherited members.<p><table>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#c9e4ad073b01179ee124fbc01f3410de">ACoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html">XYCrCb2Rgb_Coefficients</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#e10f0ca4da6fd2d31bf12e915f223887">BCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html">XYCrCb2Rgb_Coefficients</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#f80123c67072e23b57f886db7fb6db67">CCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html">XYCrCb2Rgb_Coefficients</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#4a8b451c120a107c85cb2704a02dcc9c">DCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html">XYCrCb2Rgb_Coefficients</a></td><td></td></tr>
|
||||
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,104 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
XYCrCb2Rgb_Coefficients 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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Coefficients Struct Reference</h1><!-- doxytag: class="XYCrCb2Rgb_Coefficients" --><code>#include <xycrcb2rgb.h></code>
|
||||
<p>
|
||||
<a href="struct_x_y_cr_cb2_rgb___coefficients-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
YCrCb2Rgb coefficients
|
||||
<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 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#c9e4ad073b01179ee124fbc01f3410de">ACoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#e10f0ca4da6fd2d31bf12e915f223887">BCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#f80123c67072e23b57f886db7fb6db67">CCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#4a8b451c120a107c85cb2704a02dcc9c">DCoef</a></td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Member Data Documentation</h2>
|
||||
<a class="anchor" name="c9e4ad073b01179ee124fbc01f3410de"></a><!-- doxytag: member="XYCrCb2Rgb_Coefficients::ACoef" ref="c9e4ad073b01179ee124fbc01f3410de" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#c9e4ad073b01179ee124fbc01f3410de">XYCrCb2Rgb_Coefficients::ACoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="e10f0ca4da6fd2d31bf12e915f223887"></a><!-- doxytag: member="XYCrCb2Rgb_Coefficients::BCoef" ref="e10f0ca4da6fd2d31bf12e915f223887" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#e10f0ca4da6fd2d31bf12e915f223887">XYCrCb2Rgb_Coefficients::BCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ] 0.0 < ACOEFF + BCOEFF < 1.0
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="f80123c67072e23b57f886db7fb6db67"></a><!-- doxytag: member="XYCrCb2Rgb_Coefficients::CCoef" ref="f80123c67072e23b57f886db7fb6db67" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#f80123c67072e23b57f886db7fb6db67">XYCrCb2Rgb_Coefficients::CCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ]
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="4a8b451c120a107c85cb2704a02dcc9c"></a><!-- doxytag: member="XYCrCb2Rgb_Coefficients::DCoef" ref="4a8b451c120a107c85cb2704a02dcc9c" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double <a class="el" href="struct_x_y_cr_cb2_rgb___coefficients.html#4a8b451c120a107c85cb2704a02dcc9c">XYCrCb2Rgb_Coefficients::DCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
[ 0.0 - 1.0 ]
|
||||
</div>
|
||||
</div><p>
|
||||
<hr>The documentation for this struct was generated from the following file:<ul>
|
||||
<li><a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,50 @@
|
|||
<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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Config Member List</h1>This is the complete list of members for <a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a>, including all inherited members.<p><table>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#5961e8ba1e237456939848c91b8290b1">ACoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#06f55a4e3f5b877ecfe49e6e03255845">ActiveCols</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#81fa247725649a8aab11f278360f8fc6">ActiveRows</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4626978bb8097026ec4731258e74f105">BaseAddress</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bf9a4333b876fe36a62eaad150029081">BCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#6baa87b01dd5f97a5520691432d53f82">BOffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3ed25fedcbb02e02f37aacf01af6689c">CCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ef780f2ee06fce1a1da47422299743b7">CoefRange</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#427e1749055de8e5f777177628959d6f">DCoef</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7a26ca65a59995dc07b107bb6e6fa2c">DeviceId</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#b96310c4a7964a7a006f429c73649379">GOffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#1fa62d6e68244842e269bd4dbc4fd629">HasClamp</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#118a2c2e415ab2d6b106b54792e12495">HasClip</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#f0b77080805fdfec0c59bf4e49a0432e">HasDebug</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7cbd27f20f774442bda910729980e8b">HasIntcIf</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bb2118fee23efc363d983f8ce8f65c3f">MasterAxisVideoFormat</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#cdee72e3559d58c5d6223fc6419944b9">MaxCols</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#13c853e221a8b275ac7f688bce02f6ad">MWidth</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3894b152388dc8ee49d9e39aeb184657">OutputRange</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ad9637bb19f0c6eadf567add29ba9ed1">RgbMax</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#a7376a40e234f43331d37873a2f4f2fe">RgbMin</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#82a9207cb1f9be9f2d72468b48fb7a25">ROffset</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4fc6c81fffa7deac56b5ab6d860f7dc4">SlaveAxiClkFreqHz</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#d66da0fe8e86ed3e3a3b915a47f9715b">SlaveAxisVideoFormat</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
<tr class="memlist"><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#de9dee086bbc7e395edcd090ff375ff4">StandardSelection</a></td><td><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a></td><td></td></tr>
|
||||
</table>Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
|
@ -0,0 +1,461 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
XYCrCb2Rgb_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 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 List</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>XYCrCb2Rgb_Config Struct Reference</h1><!-- doxytag: class="XYCrCb2Rgb_Config" --><code>#include <xycrcb2rgb.h></code>
|
||||
<p>
|
||||
<a href="struct_x_y_cr_cb2_rgb___config-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
This typedef contains configuration information for a YCrCb2Rgb core. Each YCrCb2Rgb 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 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7a26ca65a59995dc07b107bb6e6fa2c">DeviceId</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4626978bb8097026ec4731258e74f105">BaseAddress</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#d66da0fe8e86ed3e3a3b915a47f9715b">SlaveAxisVideoFormat</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bb2118fee23efc363d983f8ce8f65c3f">MasterAxisVideoFormat</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#f0b77080805fdfec0c59bf4e49a0432e">HasDebug</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7cbd27f20f774442bda910729980e8b">HasIntcIf</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#cdee72e3559d58c5d6223fc6419944b9">MaxCols</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#06f55a4e3f5b877ecfe49e6e03255845">ActiveCols</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#81fa247725649a8aab11f278360f8fc6">ActiveRows</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#13c853e221a8b275ac7f688bce02f6ad">MWidth</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ef780f2ee06fce1a1da47422299743b7">CoefRange</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#5961e8ba1e237456939848c91b8290b1">ACoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bf9a4333b876fe36a62eaad150029081">BCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3ed25fedcbb02e02f37aacf01af6689c">CCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#427e1749055de8e5f777177628959d6f">DCoef</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#82a9207cb1f9be9f2d72468b48fb7a25">ROffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#b96310c4a7964a7a006f429c73649379">GOffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#6baa87b01dd5f97a5520691432d53f82">BOffset</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#118a2c2e415ab2d6b106b54792e12495">HasClip</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#1fa62d6e68244842e269bd4dbc4fd629">HasClamp</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ad9637bb19f0c6eadf567add29ba9ed1">RgbMax</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u16 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#a7376a40e234f43331d37873a2f4f2fe">RgbMin</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4fc6c81fffa7deac56b5ab6d860f7dc4">SlaveAxiClkFreqHz</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#de9dee086bbc7e395edcd090ff375ff4">StandardSelection</a></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3894b152388dc8ee49d9e39aeb184657">OutputRange</a></td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Member Data Documentation</h2>
|
||||
<a class="anchor" name="5961e8ba1e237456939848c91b8290b1"></a><!-- doxytag: member="XYCrCb2Rgb_Config::ACoef" ref="5961e8ba1e237456939848c91b8290b1" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#5961e8ba1e237456939848c91b8290b1">XYCrCb2Rgb_Config::ACoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
A Coefficient
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="06f55a4e3f5b877ecfe49e6e03255845"></a><!-- doxytag: member="XYCrCb2Rgb_Config::ActiveCols" ref="06f55a4e3f5b877ecfe49e6e03255845" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#06f55a4e3f5b877ecfe49e6e03255845">XYCrCb2Rgb_Config::ActiveCols</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Active number of columns
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="81fa247725649a8aab11f278360f8fc6"></a><!-- doxytag: member="XYCrCb2Rgb_Config::ActiveRows" ref="81fa247725649a8aab11f278360f8fc6" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#81fa247725649a8aab11f278360f8fc6">XYCrCb2Rgb_Config::ActiveRows</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Active number of rows
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="4626978bb8097026ec4731258e74f105"></a><!-- doxytag: member="XYCrCb2Rgb_Config::BaseAddress" ref="4626978bb8097026ec4731258e74f105" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4626978bb8097026ec4731258e74f105">XYCrCb2Rgb_Config::BaseAddress</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
BaseAddress is the physical base address of the YCRCB2RGB core registers
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="bf9a4333b876fe36a62eaad150029081"></a><!-- doxytag: member="XYCrCb2Rgb_Config::BCoef" ref="bf9a4333b876fe36a62eaad150029081" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bf9a4333b876fe36a62eaad150029081">XYCrCb2Rgb_Config::BCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
B Coefficient
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="6baa87b01dd5f97a5520691432d53f82"></a><!-- doxytag: member="XYCrCb2Rgb_Config::BOffset" ref="6baa87b01dd5f97a5520691432d53f82" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#6baa87b01dd5f97a5520691432d53f82">XYCrCb2Rgb_Config::BOffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
B Offset
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="3ed25fedcbb02e02f37aacf01af6689c"></a><!-- doxytag: member="XYCrCb2Rgb_Config::CCoef" ref="3ed25fedcbb02e02f37aacf01af6689c" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3ed25fedcbb02e02f37aacf01af6689c">XYCrCb2Rgb_Config::CCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
C Coefficient
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="ef780f2ee06fce1a1da47422299743b7"></a><!-- doxytag: member="XYCrCb2Rgb_Config::CoefRange" ref="ef780f2ee06fce1a1da47422299743b7" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ef780f2ee06fce1a1da47422299743b7">XYCrCb2Rgb_Config::CoefRange</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Coefficient range
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="427e1749055de8e5f777177628959d6f"></a><!-- doxytag: member="XYCrCb2Rgb_Config::DCoef" ref="427e1749055de8e5f777177628959d6f" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#427e1749055de8e5f777177628959d6f">XYCrCb2Rgb_Config::DCoef</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
D Coefficient
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="c7a26ca65a59995dc07b107bb6e6fa2c"></a><!-- doxytag: member="XYCrCb2Rgb_Config::DeviceId" ref="c7a26ca65a59995dc07b107bb6e6fa2c" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7a26ca65a59995dc07b107bb6e6fa2c">XYCrCb2Rgb_Config::DeviceId</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
DeviceId is the unique ID of the YCRCB2RGB core
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="b96310c4a7964a7a006f429c73649379"></a><!-- doxytag: member="XYCrCb2Rgb_Config::GOffset" ref="b96310c4a7964a7a006f429c73649379" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#b96310c4a7964a7a006f429c73649379">XYCrCb2Rgb_Config::GOffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
G Offset
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="1fa62d6e68244842e269bd4dbc4fd629"></a><!-- doxytag: member="XYCrCb2Rgb_Config::HasClamp" ref="1fa62d6e68244842e269bd4dbc4fd629" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#1fa62d6e68244842e269bd4dbc4fd629">XYCrCb2Rgb_Config::HasClamp</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Clamping support
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="118a2c2e415ab2d6b106b54792e12495"></a><!-- doxytag: member="XYCrCb2Rgb_Config::HasClip" ref="118a2c2e415ab2d6b106b54792e12495" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#118a2c2e415ab2d6b106b54792e12495">XYCrCb2Rgb_Config::HasClip</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Clipping support
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="f0b77080805fdfec0c59bf4e49a0432e"></a><!-- doxytag: member="XYCrCb2Rgb_Config::HasDebug" ref="f0b77080805fdfec0c59bf4e49a0432e" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#f0b77080805fdfec0c59bf4e49a0432e">XYCrCb2Rgb_Config::HasDebug</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Debugging support
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="c7cbd27f20f774442bda910729980e8b"></a><!-- doxytag: member="XYCrCb2Rgb_Config::HasIntcIf" ref="c7cbd27f20f774442bda910729980e8b" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#c7cbd27f20f774442bda910729980e8b">XYCrCb2Rgb_Config::HasIntcIf</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Interrupt controller support
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="bb2118fee23efc363d983f8ce8f65c3f"></a><!-- doxytag: member="XYCrCb2Rgb_Config::MasterAxisVideoFormat" ref="bb2118fee23efc363d983f8ce8f65c3f" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#bb2118fee23efc363d983f8ce8f65c3f">XYCrCb2Rgb_Config::MasterAxisVideoFormat</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Master Axis Video Format
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="cdee72e3559d58c5d6223fc6419944b9"></a><!-- doxytag: member="XYCrCb2Rgb_Config::MaxCols" ref="cdee72e3559d58c5d6223fc6419944b9" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#cdee72e3559d58c5d6223fc6419944b9">XYCrCb2Rgb_Config::MaxCols</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Maximum number of columns
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="13c853e221a8b275ac7f688bce02f6ad"></a><!-- doxytag: member="XYCrCb2Rgb_Config::MWidth" ref="13c853e221a8b275ac7f688bce02f6ad" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#13c853e221a8b275ac7f688bce02f6ad">XYCrCb2Rgb_Config::MWidth</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
MWidht
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="3894b152388dc8ee49d9e39aeb184657"></a><!-- doxytag: member="XYCrCb2Rgb_Config::OutputRange" ref="3894b152388dc8ee49d9e39aeb184657" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#3894b152388dc8ee49d9e39aeb184657">XYCrCb2Rgb_Config::OutputRange</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Output Range
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="ad9637bb19f0c6eadf567add29ba9ed1"></a><!-- doxytag: member="XYCrCb2Rgb_Config::RgbMax" ref="ad9637bb19f0c6eadf567add29ba9ed1" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#ad9637bb19f0c6eadf567add29ba9ed1">XYCrCb2Rgb_Config::RgbMax</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
RGB Max value
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="a7376a40e234f43331d37873a2f4f2fe"></a><!-- doxytag: member="XYCrCb2Rgb_Config::RgbMin" ref="a7376a40e234f43331d37873a2f4f2fe" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#a7376a40e234f43331d37873a2f4f2fe">XYCrCb2Rgb_Config::RgbMin</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
RGB Min value
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="82a9207cb1f9be9f2d72468b48fb7a25"></a><!-- doxytag: member="XYCrCb2Rgb_Config::ROffset" ref="82a9207cb1f9be9f2d72468b48fb7a25" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u16 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#82a9207cb1f9be9f2d72468b48fb7a25">XYCrCb2Rgb_Config::ROffset</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
R Offset
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="4fc6c81fffa7deac56b5ab6d860f7dc4"></a><!-- doxytag: member="XYCrCb2Rgb_Config::SlaveAxiClkFreqHz" ref="4fc6c81fffa7deac56b5ab6d860f7dc4" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#4fc6c81fffa7deac56b5ab6d860f7dc4">XYCrCb2Rgb_Config::SlaveAxiClkFreqHz</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Slave Axis Clock frequency in Hz
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="d66da0fe8e86ed3e3a3b915a47f9715b"></a><!-- doxytag: member="XYCrCb2Rgb_Config::SlaveAxisVideoFormat" ref="d66da0fe8e86ed3e3a3b915a47f9715b" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#d66da0fe8e86ed3e3a3b915a47f9715b">XYCrCb2Rgb_Config::SlaveAxisVideoFormat</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Slave Axis Video Format
|
||||
</div>
|
||||
</div><p>
|
||||
<a class="anchor" name="de9dee086bbc7e395edcd090ff375ff4"></a><!-- doxytag: member="XYCrCb2Rgb_Config::StandardSelection" ref="de9dee086bbc7e395edcd090ff375ff4" args="" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">u32 <a class="el" href="struct_x_y_cr_cb2_rgb___config.html#de9dee086bbc7e395edcd090ff375ff4">XYCrCb2Rgb_Config::StandardSelection</a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
Standard Selection
|
||||
</div>
|
||||
</div><p>
|
||||
<hr>The documentation for this struct was generated from the following file:<ul>
|
||||
<li><a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a></ul>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tab_b.gif
Executable file → Normal file
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tab_b.gif
Executable file → Normal file
Before Width: | Height: | Size: 35 B After Width: | Height: | Size: 35 B |
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tab_l.gif
Executable file → Normal file
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tab_l.gif
Executable file → Normal file
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 706 B |
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tab_r.gif
Executable file → Normal file
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tab_r.gif
Executable file → Normal file
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tabs.css
Executable file → Normal file
0
XilinxProcessorIPLib/drivers/ycrcb2rgb/doc/html/api/tabs.css
Executable file → Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,55 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
xycrcb2rgb_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 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 List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>xycrcb2rgb_g.c File Reference</h1>
|
||||
<p>
|
||||
<code>#include "xparameters.h"</code><br>
|
||||
<code>#include "<a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a>"</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_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="xycrcb2rgb__g_8c.html#faba6a9bd1834b467df1f8af30a2d25e">XYCrCb2Rgb_ConfigTable</a> []</td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Variable Documentation</h2>
|
||||
<a class="anchor" name="faba6a9bd1834b467df1f8af30a2d25e"></a><!-- doxytag: member="xycrcb2rgb_g.c::XYCrCb2Rgb_ConfigTable" ref="faba6a9bd1834b467df1f8af30a2d25e" args="[]" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a> <a class="el" href="xycrcb2rgb__g_8c.html#faba6a9bd1834b467df1f8af30a2d25e">XYCrCb2Rgb_ConfigTable</a>[] </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
<b>Initial value:</b><div class="fragment"><pre class="fragment">
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
</pre></div>
|
||||
</div>
|
||||
</div><p>
|
||||
Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,137 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
xycrcb2rgb_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 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 List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>xycrcb2rgb_intr.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
This file contains interrupt related functions for the YCRCB2RGB core. Please see <a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a> for more details of the driver.<p>
|
||||
<pre>
|
||||
MODIFICATION HISTORY:</pre><p>
|
||||
<pre> Ver Who Date Changes
|
||||
----- ------ -------- --------------------------------------------------
|
||||
7.0 adk 01/31/14 First Release.
|
||||
Implemented the following functions:
|
||||
XYCrCb2Rgb_IntrHandler
|
||||
XYCrCb2Rgb_SetCallBack
|
||||
</pre>
|
||||
<p>
|
||||
<code>#include "<a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a>"</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="xycrcb2rgb__intr_8c.html#c907728c8b0e454f8165f350d991244d">XYCrCb2Rgb_IntrHandler</a> (void *InstancePtr)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="xycrcb2rgb__intr_8c.html#7fdc1b162fb009351199c45ffb7dc1c5">XYCrCb2Rgb_SetCallBack</a> (<a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a> *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)</td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Function Documentation</h2>
|
||||
<a class="anchor" name="c907728c8b0e454f8165f350d991244d"></a><!-- doxytag: member="xycrcb2rgb_intr.c::XYCrCb2Rgb_IntrHandler" ref="c907728c8b0e454f8165f350d991244d" args="(void *InstancePtr)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void XYCrCb2Rgb_IntrHandler </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"> <em>InstancePtr</em> </td>
|
||||
<td> ) </td>
|
||||
<td width="100%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
This function is the interrupt handler for the YCRCB2RGB core.<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="xycrcb2rgb_8h.html#7fdc1b162fb009351199c45ffb7dc1c5">XYCrCb2Rgb_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> </td><td>is a pointer to the <a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</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="7fdc1b162fb009351199c45ffb7dc1c5"></a><!-- doxytag: member="xycrcb2rgb_intr.c::XYCrCb2Rgb_SetCallBack" ref="7fdc1b162fb009351199c45ffb7dc1c5" args="(XYCrCb2Rgb *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int XYCrCb2Rgb_SetCallBack </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a> * </td>
|
||||
<td class="paramname"> <em>InstancePtr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">u32 </td>
|
||||
<td class="paramname"> <em>HandlerType</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"> <em>CallBackFunc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"> <em>CallBackRef</em></td><td> </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 HandlerTypes.<p>
|
||||
<pre>
|
||||
HandlerType Callback Function Type
|
||||
----------------------- ---------------------------
|
||||
XYCC_HANDLER_PROCSTART ProcStartCallBack.
|
||||
XYCC_HANDLER_FRAMEDONE FrameDoneCallBack.
|
||||
XYCC_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> </td><td>is a pointer to the <a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a> instance to be worked on. </td></tr>
|
||||
<tr><td valign="top"></td><td valign="top"><em>HandlerType</em> </td><td>specifies which callback is to be attached. </td></tr>
|
||||
<tr><td valign="top"></td><td valign="top"><em>CallBackFunc</em> </td><td>is the address of the callback function. </td></tr>
|
||||
<tr><td valign="top"></td><td valign="top"><em>CallBackRef</em> </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.
|
|
@ -0,0 +1,73 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
xycrcb2rgb_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 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 List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>xycrcb2rgb_selftest.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
This file contains the self-test function for the YCRCB2RGB core.<p>
|
||||
<pre>
|
||||
MODIFICATION HISTORY:</pre><p>
|
||||
<pre> Ver Who Date Changes
|
||||
----- ---- -------- -----------------------------------------------
|
||||
7.0 adk 02/03/14 First Release.
|
||||
Implemented the following function:
|
||||
XYCrCb2Rgb_SelfTest
|
||||
</pre>
|
||||
<p>
|
||||
<code>#include "<a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a>"</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="xycrcb2rgb__selftest_8c.html#9829c0d1d3eb9b8c4e6151b9dab69af2">XYCrCb2Rgb_SelfTest</a> (<a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a> *InstancePtr)</td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Function Documentation</h2>
|
||||
<a class="anchor" name="9829c0d1d3eb9b8c4e6151b9dab69af2"></a><!-- doxytag: member="xycrcb2rgb_selftest.c::XYCrCb2Rgb_SelfTest" ref="9829c0d1d3eb9b8c4e6151b9dab69af2" args="(XYCrCb2Rgb *InstancePtr)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int XYCrCb2Rgb_SelfTest </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="struct_x_y_cr_cb2_rgb.html">XYCrCb2Rgb</a> * </td>
|
||||
<td class="paramname"> <em>InstancePtr</em> </td>
|
||||
<td> ) </td>
|
||||
<td width="100%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="memdoc">
|
||||
|
||||
<p>
|
||||
This function reads Version register of YCRCB2RGB 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> </td><td>is a pointer to the XCrCb2Rgb 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.
|
|
@ -0,0 +1,72 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>
|
||||
xycrcb2rgb_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 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 List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul></div>
|
||||
<h1>xycrcb2rgb_sinit.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
This file contains static initialization methods for Xilinx YCRCB2RGB core.<p>
|
||||
<pre>
|
||||
MODIFICATION HISTORY:</pre><p>
|
||||
<pre> Ver Who Date Changes
|
||||
----- ------ -------- -----------------------------------------------
|
||||
7.0 adk 02/10/14 First release.
|
||||
Implemented following function:
|
||||
<a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a>.
|
||||
</pre>
|
||||
<p>
|
||||
<code>#include "<a class="el" href="xycrcb2rgb_8h.html">xycrcb2rgb.h</a>"</code><br>
|
||||
<code>#include "xparameters.h"</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_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="xycrcb2rgb__sinit_8c.html#efc2983c39179e4c195f7aac035ec77a">XYCrCb2Rgb_LookupConfig</a> (u16 DeviceId)</td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Function Documentation</h2>
|
||||
<a class="anchor" name="efc2983c39179e4c195f7aac035ec77a"></a><!-- doxytag: member="xycrcb2rgb_sinit.c::XYCrCb2Rgb_LookupConfig" ref="efc2983c39179e4c195f7aac035ec77a" args="(u16 DeviceId)" -->
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="struct_x_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_Config</a>* XYCrCb2Rgb_LookupConfig </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">u16 </td>
|
||||
<td class="paramname"> <em>DeviceId</em> </td>
|
||||
<td> ) </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_y_cr_cb2_rgb___config.html">XYCrCb2Rgb_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="xycrcb2rgb__g_8c.html">xycrcb2rgb_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> </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>XYCrCb2Rgb_LookupConfig returns a reference to a config record in the configuration table (in <a class="el" href="xycrcb2rgb__g_8c.html">xycrcb2rgb_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.
|
|
@ -1,181 +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 YCrCb to RGB Color Space Converter
|
||||
* (YCRCB2RGB) driver on Xilinx YCrCb to RGB Color Space Converter (YCRCB2RGB)
|
||||
* 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/28/12 Updates for the v5.00.a release
|
||||
* </pre>
|
||||
*
|
||||
* ***************************************************************************
|
||||
*/
|
||||
|
||||
#include "ycrcb2rgb.h"
|
||||
#include "xparameters.h"
|
||||
|
||||
/***************************************************************************/
|
||||
// YCrCb to RGB Color Space Converter Register Reading Example
|
||||
// This function provides an example of how to read the current configuration
|
||||
// settings of the YCRCB2RGB core.
|
||||
/***************************************************************************/
|
||||
void report_ycc_settings(u32 BaseAddress) {
|
||||
xil_printf("YCrCb to RGB Color Space Converter Core Configuration:\r\n");
|
||||
xil_printf(" Version: 0x%08x\r\n", YCC_ReadReg(BaseAddress, YCC_VERSION));
|
||||
xil_printf(" Enable Bit: %1d\r\n", YCC_ReadReg(BaseAddress, YCC_CONTROL) & YCC_CTL_EN_MASK);
|
||||
|
||||
xil_printf(" Register Update Bit: %1d\r\n", (YCC_ReadReg(BaseAddress, YCC_CONTROL) & YCC_CTL_RUE_MASK) >> 1);
|
||||
|
||||
xil_printf(" Reset Bit: %1d\r\n", (YCC_ReadReg(BaseAddress, YCC_CONTROL) & YCC_RST_RESET) >> 31);
|
||||
|
||||
xil_printf(" AutoReset Bit: %1d\r\n", (YCC_ReadReg(BaseAddress, YCC_CONTROL) & YCC_RST_AUTORESET) >> 30);
|
||||
|
||||
xil_printf(" Columns=0x%08x, Rows=0x%08x\r\n",
|
||||
(YCC_ReadReg(BaseAddress, YCC_ACTIVE_SIZE)>>16),
|
||||
(YCC_ReadReg(BaseAddress, YCC_ACTIVE_SIZE)&0xFFFF));
|
||||
|
||||
xil_printf(" Acoef=0x%08x, Bcoef=0x%08x, Ccoef=0x%08x, Dcoef=0x%08x\r\n",
|
||||
YCC_ReadReg(BaseAddress, YCC_ACOEF),
|
||||
YCC_ReadReg(BaseAddress, YCC_BCOEF),
|
||||
YCC_ReadReg(BaseAddress, YCC_CCOEF),
|
||||
YCC_ReadReg(BaseAddress, YCC_DCOEF));
|
||||
|
||||
xil_printf(" R Offset=0x%08x, G Offset=0x%08x, B Offset=0x%08x\r\n",
|
||||
YCC_ReadReg(BaseAddress, YCC_ROFFSET),
|
||||
YCC_ReadReg(BaseAddress, YCC_GOFFSET),
|
||||
YCC_ReadReg(BaseAddress, YCC_BOFFSET));
|
||||
|
||||
xil_printf(" RGB Max=0x%08x, RGB Min=0x%08x\r\n",
|
||||
YCC_ReadReg(BaseAddress, YCC_RGBMAX),
|
||||
YCC_ReadReg(BaseAddress, YCC_RGBMIN));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***************************************************************************/
|
||||
// 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 YCrCb2RGB 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 YCC_Update_Example() {
|
||||
//Enable the YCRCB2RGB software enable
|
||||
YCC_Enable(XPAR_YCRCB2RGB_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.
|
||||
YCC_RegUpdateDisable(XPAR_YCRCB2RGB_0_BASEADDR);
|
||||
|
||||
//Set the Active Columns and Rows
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_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]
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_ACOEF, 22978);
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_BCOEF, -11704);
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_CCOEF, -5641);
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_DCOEF, 29049);
|
||||
|
||||
//Set the offsets
|
||||
// For Valid range = [-2147483648, 2147483647]
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_ROFFSET, -6390272); //ROFFSET = 16
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_GOFFSET, 3932416); //GOFFSET = 128
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_BOFFSET, -7944448); //BOFFSET = 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]
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_RGBMAX, 240); //RGBMAX = 240
|
||||
YCC_WriteReg(XPAR_YCRCB2RGB_0_BASEADDR, YCC_RGBMIN, 16); //RGBMIN = 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.
|
||||
YCC_RegUpdateEnable(XPAR_YCRCB2RGB_0_BASEADDR);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
//
|
||||
// This is the main function for the YCrCb2RGB example.
|
||||
//
|
||||
/*****************************************************************************/
|
||||
int main(void)
|
||||
{
|
||||
struct ycc_coef_inputs coef_in;
|
||||
struct ycc_coef_outputs coef_out;
|
||||
|
||||
// Print the current settings for the YCrCb2RGB core
|
||||
report_ycc_settings(XPAR_YCRCB2RGB_0_BASEADDR);
|
||||
|
||||
// Call the YCrCb2RGB example, specify the Device ID generated in xparameters.h
|
||||
YCC_Update_Example(XPAR_YCRCB2RGB_0_BASEADDR);
|
||||
|
||||
// Read the current YCrCb2RGB core coefficients
|
||||
YCC_get_coefficients(XPAR_YCRCB2RGB_0_BASEADDR, &coef_out);
|
||||
|
||||
// Setup coef_in for SD_ITU_601, 16_to_235_for_Studio_Equipment
|
||||
// and data width of 8-bits
|
||||
YCC_select_standard(0, 1, XPAR_YCRCB2RGB_0_S_AXIS_VIDEO_DATA_WIDTH, &coef_in);
|
||||
|
||||
// Translate into YCrCb2RGB core coefficients
|
||||
YCC_coefficient_translation(&coef_in, &coef_out, XPAR_YCRCB2RGB_0_S_AXIS_VIDEO_DATA_WIDTH, XPAR_YCRCB2RGB_0_MWIDTH);
|
||||
|
||||
// Program the new YCrCb2RGB core coefficients
|
||||
YCC_set_coefficients(XPAR_YCRCB2RGB_0_BASEADDR, &coef_out);
|
||||
|
||||
// Print the current settings for the YCrCb2RGB core
|
||||
report_ycc_settings(XPAR_YCRCB2RGB_0_BASEADDR);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -7,11 +7,16 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF">
|
||||
<h1> Example Applications for the driver ycrcb2rgb_v6_0 </h1>
|
||||
<h1> Example Applications for the driver ycrcb2rgb_v7_0 </h1>
|
||||
<HR>
|
||||
<ul>
|
||||
<li>example.c <a href="example.c">(source)</a> </li>
|
||||
<li>ycrcb2rgb_selftest_example.c <a href="ycrcb2rgb_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>ycrcb2rgb_example.c <a href="ycrcb2rgb_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>
|
||||
|
||||
|
||||
|
|
220
XilinxProcessorIPLib/drivers/ycrcb2rgb/examples/ycrcb2rgb_example.c
Executable file
220
XilinxProcessorIPLib/drivers/ycrcb2rgb/examples/ycrcb2rgb_example.c
Executable file
|
@ -0,0 +1,220 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* 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 ycrcb2rgb_example.c
|
||||
*
|
||||
* This file demonstrates how to use Xilinx YCrCb to RGB Color Space Converter
|
||||
* (YCrCb2RGB) driver on Xilinx YCrCb to RGB Color Space Converter (YCrCb2RGB)
|
||||
* core.
|
||||
*
|
||||
* <pre>
|
||||
* MODIFICATION HISTORY:
|
||||
*
|
||||
* Ver Who Date Changes
|
||||
* ----- ---- -------- -------------------------------------------------------
|
||||
* 7.00 adk 07/14/14 First release.
|
||||
* </pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
#include "xycrcb2rgb.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 XYCC_DEVICE_ID XPAR_XYCC_0_DEVICE_ID
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
int YCrCb2Rgb_Update_Example(u16 DeviceId);
|
||||
|
||||
/************************** Variable Definitions *****************************/
|
||||
|
||||
XYCrCb2Rgb XYccInstance; /**< Instance of the YCRCB2RGB core */
|
||||
|
||||
/************************** Function Definitions *****************************/
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Main function to call the YCrCb2RGB example.
|
||||
*
|
||||
* @param None.
|
||||
*
|
||||
* @return
|
||||
* - XST_SUCCESS if successful,
|
||||
* - XST_FAILURE if it is unsuccessful
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
******************************************************************************/
|
||||
int main(void)
|
||||
{
|
||||
|
||||
int Status;
|
||||
|
||||
/* Call the YCrCb2RGB update example, specify the parameters generated
|
||||
* in xparameters.h
|
||||
*/
|
||||
Status = YCrCb2Rgb_Update_Example(XYCC_DEVICE_ID);
|
||||
if (Status != XST_SUCCESS) {
|
||||
xil_printf("YCrCb2RGB driver example failed.\n\r");
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
||||
xil_printf("Successfully ran YCrCb2RGB driver example.\n\r");
|
||||
|
||||
return XST_SUCCESS;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* YCrCb to RGB Color Space Converter Register Update Example.
|
||||
* This function provides an example of the process used to update the
|
||||
* coefficient and offset registers in the YCRCB2RGB core.
|
||||
*
|
||||
* @param DeviceId is the unique device id of the YCRCB2RGB core.
|
||||
*
|
||||
* @return
|
||||
* - XST_SUCCESS if successful,
|
||||
* - XST_FAILURE if it is un-successful
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
****************************************************************************/
|
||||
int YCrCb2Rgb_Update_Example(u16 DeviceId)
|
||||
{
|
||||
|
||||
struct XYCrCb2Rgb_Coef_Inputs CoefIn;
|
||||
struct XYCrCb2Rgb_Coef_Outputs CoefOut;
|
||||
struct XYCrCb2Rgb_Coefficients Coef;
|
||||
XYCrCb2Rgb_Config *Config;
|
||||
int Status;
|
||||
|
||||
/* Initialize the CrCb2RGB driver so that it's ready to use look up
|
||||
* the configuration in the config table then initialize it.
|
||||
*/
|
||||
Config = XYCrCb2Rgb_LookupConfig(DeviceId);
|
||||
if(NULL == Config){
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
||||
Status = XYCrCb2Rgb_CfgInitialize(&XYccInstance, Config,
|
||||
Config->BaseAddress);
|
||||
if(Status != XST_SUCCESS){
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
||||
/* Enable the YCRCB2RGB core */
|
||||
XYCrCb2Rgb_Enable(&XYccInstance);
|
||||
|
||||
/* Disable register updates. This is the default operating mode for
|
||||
* the YCRCB2RGB core and allows registers to be updated without
|
||||
* effecting the core's behavior.
|
||||
*/
|
||||
XYCrCb2Rgb_RegUpdateDisable(&XYccInstance);
|
||||
|
||||
/* Setup CoefIn for XYCC_STANDARD_ITU_601_SD, 16_to_240_for_TV
|
||||
* and data width of 8-bits.
|
||||
* enum Standards are:
|
||||
* 0 = XYCC_STANDARD_ITU_601_SD
|
||||
* 1 = XYCC_STANDARD_ITU_709_NTSC
|
||||
* 2 = XYCC_STANDARD_ITU_709_PAL
|
||||
* 3 = XYCC_STANDARD_YUV.
|
||||
*/
|
||||
XYCrCb2Rgb_Select_Standard(&XYccInstance, XYCC_STANDARD_ITU_601_SD,
|
||||
XYCC_TV_16_TO_240, (u32)XYCC_DATA_WIDTH_8,
|
||||
&CoefIn);
|
||||
|
||||
/* Translate into YCRCB2RGB core coefficients */
|
||||
XYCrCb2Rgb_Coefficient_Translation(&XYccInstance,
|
||||
&CoefIn, &CoefOut,(u32)XYCC_DATA_WIDTH_8,
|
||||
(u32)XYCC_DATA_WIDTH_8);
|
||||
|
||||
/* Store coefficient values */
|
||||
Coef.ACoef = CoefIn.ACoef;
|
||||
Coef.ACoef = CoefIn.ACoef;
|
||||
Coef.ACoef = CoefIn.ACoef;
|
||||
Coef.ACoef = CoefIn.ACoef;
|
||||
|
||||
/* Program the new YCRCB2RGB core coefficients */
|
||||
XYCrCb2Rgb_SetCoefs(&XYccInstance, &Coef);
|
||||
|
||||
/* Set output range */
|
||||
XYCrCb2Rgb_Select_OutputRange(&XYccInstance, XYCC_TV_16_TO_240);
|
||||
|
||||
/* Set the Active Columns and Rows */
|
||||
XYCrCb2Rgb_SetActiveSize(&XYccInstance, 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]
|
||||
*/
|
||||
XYCrCb2Rgb_SetROffset(&XYccInstance, 16);
|
||||
XYCrCb2Rgb_SetGOffset(&XYccInstance, 128);
|
||||
XYCrCb2Rgb_SetBOffset(&XYccInstance, 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]
|
||||
*/
|
||||
XYCrCb2Rgb_SetRGBMax(&XYccInstance, 240);
|
||||
XYCrCb2Rgb_SetRGBMin(&XYccInstance, 16);
|
||||
|
||||
/* Enable register updates. This mode will cause the coefficient and
|
||||
* offset registers internally to the YCRCB2RGB core to automatically
|
||||
* be updated on the next start-of-frame (SOF).
|
||||
*/
|
||||
XYCrCb2Rgb_RegUpdateEnable(&XYccInstance);
|
||||
|
||||
return XST_SUCCESS;
|
||||
}
|
149
XilinxProcessorIPLib/drivers/ycrcb2rgb/examples/ycrcb2rgb_selftest_example.c
Executable file
149
XilinxProcessorIPLib/drivers/ycrcb2rgb/examples/ycrcb2rgb_selftest_example.c
Executable 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 ycrcb2rgb_selftest_example.c
|
||||
*
|
||||
* This file contains an example using the XYCrCb2RGB driver to do self test
|
||||
* on the device.
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
* <pre>
|
||||
* MODIFICATION HISTORY:
|
||||
|
||||
* Ver Who Date Changes
|
||||
* ----- ------ -------- ------------------------------------------------------
|
||||
* 7.0 adk 02/10/14 First Release.
|
||||
* </pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#include "xycrcb2rgb.h"
|
||||
#include "xparameters.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 XYCC_DEVICE_ID XPAR_XYCC_0_DEVICE_ID
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
int XYCrCb2RgbSelfTestExample(u16 DeviceId);
|
||||
|
||||
/************************** Variable Definitions *****************************/
|
||||
|
||||
XYCrCb2Rgb YccInst; /**< Instance of the YCrCb2RGB Device */
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* 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 = XYCrCb2RgbSelfTestExample(XYCC_DEVICE_ID);
|
||||
if(Status != XST_SUCCESS) {
|
||||
xil_printf("YCrCb2RGB Selftest Example Failed\r\n");
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
||||
xil_printf("Successfully ran YCrCb2RGB driver Selftest example\r\n");
|
||||
|
||||
return XST_SUCCESS;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function does a minimal test on the YCrCb2RGB driver.
|
||||
*
|
||||
* @param DeviceId is an ID of the YCrCb2RGB core or device.
|
||||
*
|
||||
* @return
|
||||
* - XST_SUCCESS if successful.
|
||||
* - XST_FAILURE if it is unsuccessful.
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
******************************************************************************/
|
||||
int XYCrCb2RgbSelfTestExample(u16 DeviceId)
|
||||
{
|
||||
int Status;
|
||||
XYCrCb2Rgb_Config *Config;
|
||||
|
||||
/* Initialize the YCrCb2RGB driver so that it's ready to use look up
|
||||
* the configuration in the config table, then initialize it.
|
||||
*/
|
||||
Config = XYCrCb2Rgb_LookupConfig(DeviceId);
|
||||
if(NULL == Config){
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
||||
Status = XYCrCb2Rgb_CfgInitialize(&YccInst, Config,
|
||||
Config->BaseAddress);
|
||||
if(Status != XST_SUCCESS){
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
||||
/* Perform a self-test to check hardware build. */
|
||||
Status = XYCrCb2Rgb_SelfTest(&YccInst);
|
||||
if(Status != XST_SUCCESS){
|
||||
return XST_FAILURE;
|
||||
}
|
||||
|
||||
return XST_SUCCESS;
|
||||
}
|
1285
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb.c
Executable file
1285
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb.c
Executable file
File diff suppressed because it is too large
Load diff
792
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb.h
Executable file
792
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb.h
Executable file
|
@ -0,0 +1,792 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* 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 xycrcb2rgb.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 YCRCB2RGB core.
|
||||
*
|
||||
* The YCrCb to RGB 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 YCRCB2RGB core.
|
||||
*
|
||||
* XYCrCb2Rgb_CfgInitialize() API is used to initialize the YCRCB2RGB core.
|
||||
* The user needs to first call the XYCrCb2Rgb_LookupConfig() API which returns
|
||||
* the Configuration structure pointer which is passed as a parameter to the
|
||||
* XYCrCb2Rgb_CfgInitialize() API.
|
||||
*
|
||||
* <b> Interrupts </b>
|
||||
*
|
||||
* The driver provides an interrupt handler XYCrCb2Rgb_IntrHandler for handling
|
||||
* the interrupt from the YCRCB2RGB core. The users of this driver have to
|
||||
* register this handler with the interrupt system and provide the callback
|
||||
* functions by using XYCrCb2Rgb_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 XYCrCb2Rgb 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/28/12 Updated for YCRCB2RGB 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/31/14 Changed the file name from "ycrcb2rgb.h" to
|
||||
* "xycrcb2rgb.h".
|
||||
*
|
||||
* Moved register offsets and bit definitions from
|
||||
* ycrcb2rgb.h file to xycrcb2rgb_hw.h file.
|
||||
*
|
||||
* Removed YCC_TIMING_STATUS register offset because this
|
||||
* register is not present in latest product guide.
|
||||
*
|
||||
* Removed following function macros:
|
||||
* YCC_Enable, YCC_Disable, YCC_RegUpdateEnable,
|
||||
* YCC_RegUpdateDisable, YCC_Reset, YCC_ClearReset,
|
||||
* YCC_AutoSyncReset, ycc_max..
|
||||
*
|
||||
* Removed following functions:
|
||||
* YCC_select_standard, YCC_coefficient_translation,
|
||||
* YCC_set_coefficients, YCC_get_coefficients.
|
||||
*
|
||||
* Added following handler types as enum:
|
||||
* XYCC_HANDLER_PROCSTART, XYCC_HANDLER_FRAMEDONE,
|
||||
* XYCC_HANDLER_ERROR.
|
||||
*
|
||||
* Added following standard types as enum:
|
||||
* XYCC_STANDARD_ITU_601_SD, XYCC_STANDARD_ITU_709_NTSC,
|
||||
* XYCC_STANDARD_ITU_709_PAL, XYCC_STANDARD_YUV,
|
||||
* XYCC_STANDARD_CUSTOM.
|
||||
*
|
||||
* Added following output ranges as enum:
|
||||
* XYCC_TV_16_TO_240, XYCC_STUDIO_16_TO_235,
|
||||
* XYCC_GRAPHICS_0_TO_255.
|
||||
*
|
||||
* Added range macros for ActiveSize, RGBMAX, RGBMIN,
|
||||
* ROFFSET, GOFFSET, BOFFSET registers.
|
||||
*
|
||||
* Added following function macros:
|
||||
* XYCrCb2Rgb_IntrEnable, XYCrCb2Rgb_IntrDisable,
|
||||
* XYCrCb2Rgb_StatusGetPending, XYCrCb2Rgb_IntrGetPending,
|
||||
* XYCrCb2Rgb_IntrClear, XYCrCb2Rgb_Reset,
|
||||
* XYCrCb2Rgb_Enable, XYCrCb2Rgb_Disable,
|
||||
* XYCrCb2Rgb_Start, XYCrCb2Rgb_Stop,
|
||||
* XYCrCb2Rgb_RegUpdateEnable,
|
||||
* XYCrCb2Rgb_RegUpdateDisable,
|
||||
* XYCrCb2Rgb_SyncReset, XYCrCb2Rgb_Max
|
||||
*
|
||||
* Added core, configuration and coefficient structure.
|
||||
* Renamed ycc_coef_inputs -> XYCrCb2Rgb_Coef_Inputs and
|
||||
* ycc_coef_outputs - > XYCrCb2Rgb_Coef_Outputs.
|
||||
*
|
||||
* Added callback functions typedef.
|
||||
*
|
||||
* Implemented XYCrCb2Rgb_LookupConfig in
|
||||
* xycrcb2rgb_sinit.c
|
||||
* Implemented XYCrCb2Rgb_SelfTest in
|
||||
* xycrcb2rgb_selftest.c
|
||||
* Implemented XYCrCb2Rgb_IntrHandler,
|
||||
* XYCrCb2Rgb_SetCallBack in xycrcb2rgb_intr.c.
|
||||
*
|
||||
* Implemented following functions in xycrcb2rgb.c:
|
||||
* XYCrCb2Rgb_CfgInitialize, XYCrCb2Rgb_EnableDbgByPass,
|
||||
* XYCrCb2Rgb_IsDbgByPassEnabled,
|
||||
* XYCrCb2Rgb_DisableDbgBypass,
|
||||
* XYCrCb2Rgb_EnableDbgTestPattern,
|
||||
* XYCrCb2Rgb_IsDbgTestPatternEnabled,
|
||||
* XYCrCb2Rgb_DisableDbgTestPattern,
|
||||
* XYCrCb2Rgb_GetVersion, XYCrCb2Rgb_GetDbgFrameCount,
|
||||
* XYCrCb2Rgb_GetDbgLineCount,
|
||||
* XYCrCb2Rgb_GetDbgPixelCount, XYCrCb2Rgb_Setup,
|
||||
* XYCrCb2Rgb_SetActiveSize, XYCrCb2Rgb_GetActiveSize,
|
||||
* XYCrCb2Rgb_SetRGBMax, XYCrCb2Rgb_GetRGBMax,
|
||||
* XYCrCb2Rgb_SetRGBMin, XYCrCb2Rgb_GetRGBMin,
|
||||
* XYCrCb2Rgb_SetROffset, XYCrCb2Rgb_GetROffset,
|
||||
* XYCrCb2Rgb_SetGOffset, XYCrCb2Rgb_GetGOffset,
|
||||
* XYCrCb2Rgb_SetBOffset, XYCrCb2Rgb_GetBOffset,
|
||||
* XYCrCb2Rgb_SetCoefs, XYCrCb2Rgb_GetCoefs,
|
||||
* XYCrCb2Rgb_Select_Standard,
|
||||
* XYCrCb2Rgb_Coefficient_Translation,
|
||||
* XYCrCb2Rgb_Select_OutputRange.
|
||||
*</pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef XYCRCB2RGB_H_
|
||||
#define XYCRCB2RGB_H_ /**< Prevent circular inclusions by using protection
|
||||
* macros */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#include "xycrcb2rgb_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 {
|
||||
XYCC_HANDLER_PROCSTART = 1, /**< A processing start event interrupt
|
||||
* type */
|
||||
XYCC_HANDLER_FRAMEDONE, /**< A frame done event interrupt
|
||||
* type */
|
||||
XYCC_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 {
|
||||
XYCC_STANDARD_ITU_601_SD = 0, /**< Standard ITU 601 SD. */
|
||||
XYCC_STANDARD_ITU_709_NTSC, /**< Standard ITU 709 NTSC. */
|
||||
XYCC_STANDARD_ITU_709_PAL, /**< Standard ITU 709 PAL. */
|
||||
XYCC_STANDARD_YUV, /**< Standard YUV. */
|
||||
XYCC_STANDARD_CUSTOM /**< Standard Custom. */
|
||||
} ;
|
||||
/*@}*/
|
||||
|
||||
/** @name Output Ranges
|
||||
* @{
|
||||
*/
|
||||
/**
|
||||
*
|
||||
* These constants specify different ranges used for studio equipment,
|
||||
* television and computer graphics respectively.
|
||||
*/
|
||||
enum OutputRanges {
|
||||
XYCC_TV_16_TO_240 = 0, /**< 16 to 240, for Television. */
|
||||
XYCC_STUDIO_16_TO_235, /**< 16 to 235, for Studio Equipment. */
|
||||
XYCC_GRAPHICS_0_TO_255 /**< 0 to 255, for Computer Graphics. */
|
||||
} ;
|
||||
/*@}*/
|
||||
|
||||
/** Active Size (VxH) range macros
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_ACT_SIZE_FIRST 32 /**< Starting value for H/V */
|
||||
#define XYCC_ACT_SIZE_LAST 8192 /**< Ending value for H/V */
|
||||
/*@}*/
|
||||
|
||||
/** RGBMAX, RGBMIN range macros
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_RGBMAX_MIN_FIRST 0 /**< Starting value for
|
||||
* RGBMAX/RGBMIN */
|
||||
#define XYCC_RGBMAX_MIN_LAST 255 /**< Ending value for RGBMAX/RGBMIN */
|
||||
/*@}*/
|
||||
|
||||
|
||||
/** ROFFSET, GOFFSET, BOFFSET range macros
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_RGBOFFSET_FIRST 0 /**< Starting value for ROFFSET/
|
||||
* GOFFSET/BOFFSET */
|
||||
#define XYCC_RGBOFFSET_LAST 255 /**< Ending value for ROFFSET/
|
||||
* GOFFSET/BOFFSET */
|
||||
/*@}*/
|
||||
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro enables the YCrCb2Rgb core.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_Enable(*XYCrCb2Rgb InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_Enable(InstancePtr) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET), \
|
||||
XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET)) | (XYCC_CTL_SW_EN_MASK))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro disables the YCrCb2Rgb core.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_Disable(*XYCrCb2Rgb InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_Disable(InstancePtr) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET), \
|
||||
(XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET)) & (~(XYCC_CTL_SW_EN_MASK))))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro starts the YCrCb2Rgb core.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_Start(*XYCrCb2Rgb InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_Start XYCrCb2Rgb_Enable
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro stops the YCrCb2Rgb core.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_Stop(*XYCrCb2Rgb InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_Stop XYCrCb2Rgb_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 XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_RegUpdateEnable(*XYCrCb2Rgb InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_RegUpdateEnable(InstancePtr) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET), \
|
||||
(XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET)) | (XYCC_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 XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_RegUpdateDisable(*XYCrCb2Rgb InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_RegUpdateDisable(InstancePtr) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET), \
|
||||
(XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET)) & (~(XYCC_CTL_RUE_MASK))))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro resets a the YCrCb2Rgb core, but differs from XYCrCb2Rgb_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
|
||||
* XYCrCb2Rgb_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 XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_SyncReset(*XYCrCb2Rgb InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_SyncReset(InstancePtr) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET), (XYCC_CTL_AUTORESET_MASK))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro resets the YCrCb2Rgb core.. This reset effects the core
|
||||
* immediately and may cause image tearing.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb instance.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_Reset(XYCrCb2Rgb *InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_Reset(InstancePtr) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_CONTROL_OFFSET), (XYCC_CTL_RESET_MASK))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function macro enables individual interrupts of the YCRCB2RGB core by
|
||||
* updating the IRQ_ENABLE register.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the YCrCb2Rgb 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
|
||||
* XYCC_IXR_*_MASK bits defined in xycrcb2rgb_hw.h.
|
||||
*
|
||||
* @return None
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_IntrEnable(XYCrCb2Rgb *InstancePtr,
|
||||
* u32 IntrType)
|
||||
*
|
||||
* The existing enabled interrupt(s) will remain enabled.
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_IntrEnable(InstancePtr, IntrType) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_IRQ_EN_OFFSET), (((IntrType) & \
|
||||
(XYCC_IXR_ALLINTR_MASK)) | \
|
||||
(XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_IRQ_EN_OFFSET)))))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function macro disables individual interrupts of the YCRCB2RGB core by
|
||||
* updating the IRQ_ENABLE register.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the YCrCb2Rgb 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
|
||||
* XYCC_IXR_*_MASK bits defined in xycrcb2rgb_hw.h.
|
||||
*
|
||||
* @return None
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_IntrDisable(XYCrCb2Rgb *InstancePtr,
|
||||
* u32 IntrType)
|
||||
*
|
||||
* Any other interrupt not covered by parameter IntrType, if
|
||||
* enabled before this macro is called, will remain enabled.
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_IntrDisable(InstancePtr, IntrType) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_IRQ_EN_OFFSET),\
|
||||
XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_IRQ_EN_OFFSET)) & \
|
||||
((~(IntrType)) & (XYCC_IXR_ALLINTR_MASK)))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function macro returns the pending interrupt status of the YCRCB2RGB
|
||||
* core read from the Status register.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the YCrCb2Rgb core instance
|
||||
* to be worked on.
|
||||
*
|
||||
* @return The status of pending interrupts of the YCRCB2RGB core.
|
||||
* Use XYCC_IXR_*_MASK constants defined in xycrcb2rgb_hw.h to
|
||||
* interpret this value.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* XYCrCb2Rgb_StatusGePending(XYCC *InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_StatusGetPending(InstancePtr) \
|
||||
XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_STATUS_OFFSET)) & (XYCC_IXR_ALLINTR_MASK)
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function macro returns the pending interrupts of the YCRCB2RGB core for
|
||||
* the interrupts that have been enabled.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the YCrCb2Rgb core instance
|
||||
* to be worked on.
|
||||
*
|
||||
* @return The pending interrupts of the YCRCB2RGB core. Use
|
||||
* XYCC_IXR_*_MASK constants defined in xycrcb2rgb_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 XYCC_IntrGetPending(XYCC *InstancePtr)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_IntrGetPending(InstancePtr) \
|
||||
XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_IRQ_EN_OFFSET)) & \
|
||||
(XYCrCb2Rgb_ReadReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_STATUS_OFFSET)) & \
|
||||
((u32)(XYCC_IXR_ALLINTR_MASK)))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function macro clears/acknowledges pending interrupts of the YCRCB2RGB
|
||||
* core in the Status register. Bit positions of 1 will be cleared.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the YCRCB2RGB core instance
|
||||
* to be worked on.
|
||||
*
|
||||
* @param IntrType is the pending interrupts to clear/acknowledge.
|
||||
* Use OR'ing of XYCC_IXR_*_MASK constants defined in
|
||||
* xycrcb2rgb_hw.h to create this parameter value.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* void XYCrCb2Rgb_IntrClear(XYCC *InstancePtr, u32 IntrType)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_IntrClear(InstancePtr, IntrType) \
|
||||
XYCrCb2Rgb_WriteReg((InstancePtr)->Config.BaseAddress, \
|
||||
(XYCC_STATUS_OFFSET), \
|
||||
(IntrType) & (XYCC_IXR_ALLINTR_MASK))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro identifies maximum number from given numbers.
|
||||
*
|
||||
* @param Num1 is a a u32 number.
|
||||
* @param Num2 is a a u32 number.
|
||||
*
|
||||
* @return Maximum number from given two numbers.
|
||||
*
|
||||
* @note C-style signature:
|
||||
* u32 XYCrCb2Rgb_Max(u32 Num1, u32 Num2)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_Max(Num1, Num2) (((Num1) > (Num2)) ? (Num1) : (Num2))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
/**
|
||||
* This typedef contains configuration information for a YCrCb2Rgb core.
|
||||
* Each YCrCb2Rgb core should have a configuration structure associated.
|
||||
*/
|
||||
typedef struct {
|
||||
u16 DeviceId; /**< DeviceId is the unique ID
|
||||
* of the YCRCB2RGB core */
|
||||
u32 BaseAddress; /**< BaseAddress is the physical base
|
||||
* address of the YCRCB2RGB core
|
||||
* registers */
|
||||
u32 SlaveAxisVideoFormat; /**< Slave Axis Video Format */
|
||||
u32 MasterAxisVideoFormat; /**< Master Axis Video Format */
|
||||
u16 HasDebug; /**< Debugging support */
|
||||
u16 HasIntcIf; /**< Interrupt controller support */
|
||||
u32 MaxCols; /**< Maximum number of columns */
|
||||
u32 ActiveCols; /**< Active number of columns */
|
||||
u32 ActiveRows; /**< Active number of rows */
|
||||
u32 MWidth; /**< MWidht */
|
||||
u32 CoefRange; /**< Coefficient range */
|
||||
u32 ACoef; /**< A Coefficient */
|
||||
u32 BCoef; /**< B Coefficient */
|
||||
u32 CCoef; /**< C Coefficient */
|
||||
u32 DCoef; /**< D Coefficient */
|
||||
u16 ROffset; /**< R Offset */
|
||||
u16 GOffset; /**< G Offset */
|
||||
u16 BOffset; /**< B Offset */
|
||||
u16 HasClip; /**< Clipping support */
|
||||
u16 HasClamp; /**< Clamping support */
|
||||
u16 RgbMax; /**< RGB Max value */
|
||||
u16 RgbMin; /**< RGB Min value */
|
||||
u32 SlaveAxiClkFreqHz; /**< Slave Axis Clock frequency
|
||||
* in Hz */
|
||||
u32 StandardSelection; /**< Standard Selection */
|
||||
u32 OutputRange; /**< Output Range */
|
||||
} XYCrCb2Rgb_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 (*XYCrCb2Rgb_CallBack)(void *CallBackRef);
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Callback type for 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.
|
||||
* @param ErrorMask is a bit mask indicating the cause of the error. Its
|
||||
* value equals 'OR'ing one or more XYCC_IXR_*_MASK values defined
|
||||
* in xycrcb2rgb_hw.h.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
******************************************************************************/
|
||||
typedef void (*XYCrCb2Rgb_ErrorCallBack)(void *CallBackRef, u32 ErrorMask);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/**
|
||||
* The XYCrCb2Rgb 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 {
|
||||
XYCrCb2Rgb_Config Config; /**< Hardware configuration */
|
||||
u32 IsReady; /**< Device and the driver instance are initialized */
|
||||
u16 HSize; /**< Active Video Horizontal Size */
|
||||
u16 VSize; /**< Active Video Vertical Size */
|
||||
|
||||
/* IRQ Callbacks Here */
|
||||
XYCrCb2Rgb_CallBack ProcStartCallBack; /**< Callback for Processing
|
||||
* start interrupt */
|
||||
void *ProcStartRef; /**< To be passed to Process start interrupt
|
||||
* callback */
|
||||
XYCrCb2Rgb_CallBack FrameDoneCallBack; /**< Callback for Frame Done
|
||||
* interrupt */
|
||||
void *FrameDoneRef; /**< To be passed to the Frame Done interrupt
|
||||
* callback */
|
||||
XYCrCb2Rgb_ErrorCallBack ErrCallBack; /**< Callback for Error
|
||||
* interrupt */
|
||||
void *ErrRef; /**< To be passed to the Error interrupt callback */
|
||||
u32 StandardSelection; /**< Standard Selection */
|
||||
u32 OutputRange; /**< Output Range */
|
||||
} XYCrCb2Rgb;
|
||||
|
||||
/**
|
||||
*
|
||||
* YCrCb2Rgb input coefficient
|
||||
*/
|
||||
struct XYCrCb2Rgb_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 - 1.0 ] */
|
||||
double DCoef; /**< [ 0.0 - 1.0 ] */
|
||||
u32 YOffset; /**< Offset for the Luminance Channel */
|
||||
u32 CbOffset; /**< Offset for the Chrominance Channels */
|
||||
u32 CrOffset; /**< Offset for the Chrominance Channels */
|
||||
u32 RgbMax; /**< RGB Clipping */
|
||||
u32 RgbMin; /**< RGB Clamping */
|
||||
} ;
|
||||
|
||||
/**
|
||||
*
|
||||
* YCrCb2Rgb output coefficient
|
||||
*/
|
||||
struct XYCrCb2Rgb_Coef_Outputs {
|
||||
/* Translated coefficient/offset data */
|
||||
u32 ACoef; /**< Translated ACoef */
|
||||
u32 BCoef; /**< Translated BCoef */
|
||||
u32 CCoef; /**< Translated CCoef */
|
||||
u32 DCoef; /**< Translated DCoef */
|
||||
u32 ROffset; /**< Translated Offset for the R Channel */
|
||||
u32 GOffset; /**< Translated Offset for the G Channel */
|
||||
u32 BOffset; /**< Translated Offset for the B Channel */
|
||||
u32 RgbMax; /**< Translated RGB Clipping */
|
||||
u32 RgbMin; /**< Translated RGB Clamping */
|
||||
} ;
|
||||
|
||||
/**
|
||||
*
|
||||
* YCrCb2Rgb coefficients
|
||||
*/
|
||||
struct XYCrCb2Rgb_Coefficients {
|
||||
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 - 1.0 ] */
|
||||
double DCoef; /**< [ 0.0 - 1.0 ] */
|
||||
} ;
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
/*
|
||||
* Initialization function implemented in xycrcb2rgb_sinit.c
|
||||
*/
|
||||
XYCrCb2Rgb_Config *XYCrCb2Rgb_LookupConfig(u16 DeviceId);
|
||||
|
||||
/* Following functions implemented in xycrcb2rgb.c */
|
||||
int XYCrCb2Rgb_CfgInitialize(XYCrCb2Rgb *InstancePtr,
|
||||
XYCrCb2Rgb_Config *CfgPtr, u32 EffectiveAddr);
|
||||
|
||||
void XYCrCb2Rgb_EnableDbgByPass(XYCrCb2Rgb *InstancePtr);
|
||||
int XYCrCb2Rgb_IsDbgByPassEnabled(XYCrCb2Rgb *InstancePtr);
|
||||
void XYCrCb2Rgb_DisableDbgBypass(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_EnableDbgTestPattern(XYCrCb2Rgb *InstancePtr);
|
||||
int XYCrCb2Rgb_IsDbgTestPatternEnabled(XYCrCb2Rgb *InstancePtr);
|
||||
void XYCrCb2Rgb_DisableDbgTestPattern(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
u32 XYCrCb2Rgb_GetVersion(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
u32 XYCrCb2Rgb_GetDbgFrameCount(XYCrCb2Rgb *InstancePtr);
|
||||
u32 XYCrCb2Rgb_GetDbgLineCount(XYCrCb2Rgb *InstancePtr);
|
||||
u32 XYCrCb2Rgb_GetDbgPixelCount(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_Setup(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_SetActiveSize(XYCrCb2Rgb *InstancePtr, u16 HSize, u16 VSize);
|
||||
void XYCrCb2Rgb_GetActiveSize(XYCrCb2Rgb *InstancePtr, u16 *HSize, u16 *VSize);
|
||||
|
||||
void XYCrCb2Rgb_SetRGBMax(XYCrCb2Rgb *InstancePtr, u32 RGBMax);
|
||||
u32 XYCrCb2Rgb_GetRGBMax(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_SetRGBMin(XYCrCb2Rgb *InstancePtr, u32 RGBMin);
|
||||
u32 XYCrCb2Rgb_GetRGBMin(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_SetROffset(XYCrCb2Rgb *InstancePtr, u32 ROffset);
|
||||
u32 XYCrCb2Rgb_GetROffset(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_SetGOffset(XYCrCb2Rgb *InstancePtr, u32 GOffset);
|
||||
u32 XYCrCb2Rgb_GetGOffset(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_SetBOffset(XYCrCb2Rgb *InstancePtr, u32 BOffset);
|
||||
u32 XYCrCb2Rgb_GetBOffset(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
void XYCrCb2Rgb_SetCoefs(XYCrCb2Rgb *InstancePtr,
|
||||
struct XYCrCb2Rgb_Coefficients *Coef);
|
||||
void XYCrCb2Rgb_GetCoefs(XYCrCb2Rgb *InstancePtr,
|
||||
struct XYCrCb2Rgb_Coefficients *Coef);
|
||||
|
||||
void XYCrCb2Rgb_Select_Standard(XYCrCb2Rgb *InstancePtr,
|
||||
enum Standards StandardSel,
|
||||
enum OutputRanges InputRange, u32 DataWidth,
|
||||
struct XYCrCb2Rgb_Coef_Inputs *CoefIn);
|
||||
|
||||
u32 XYCrCb2Rgb_Coefficient_Translation(XYCrCb2Rgb *InstancePtr,
|
||||
struct XYCrCb2Rgb_Coef_Inputs *CoefIn,
|
||||
struct XYCrCb2Rgb_Coef_Outputs *CoefOut,
|
||||
u32 DataWidth, u32 MWidth);
|
||||
|
||||
void XYCrCb2Rgb_Select_OutputRange(XYCrCb2Rgb *InstancePtr,
|
||||
enum OutputRanges Range);
|
||||
|
||||
/* Self-test function implemented in xycrcb2rgb_selftest.c */
|
||||
int XYCrCb2Rgb_SelfTest(XYCrCb2Rgb *InstancePtr);
|
||||
|
||||
/* Interrupt related functions implemented in xycrcb2rgb_intr.c */
|
||||
void XYCrCb2Rgb_IntrHandler(void *InstancePtr);
|
||||
int XYCrCb2Rgb_SetCallBack(XYCrCb2Rgb *InstancePtr, u32 HandlerType,
|
||||
void *CallBackFunc, void *CallBackRef);
|
||||
|
||||
/************************** Variable Declarations ****************************/
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* End of protection macro */
|
97
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_g.c
Executable file
97
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_g.c
Executable file
|
@ -0,0 +1,97 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2010 - 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.
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
#include "xparameters.h"
|
||||
#include "xycrcb2rgb.h"
|
||||
|
||||
/*
|
||||
* The configuration table for devices
|
||||
*/
|
||||
|
||||
XYCrCb2Rgb_Config XYCrCb2Rgb_ConfigTable[] =
|
||||
{
|
||||
/*
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_DEVICE_ID,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_BASEADDR,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_S_AXIS_VIDEO_FORMAT,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_M_AXIS_VIDEO_FORMAT,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_HAS_DEBUG,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_HAS_INTC_IF,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_MAX_COLS,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_ACTIVE_COLS,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_ACTIVE_ROWS,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_MWIDTH,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_COEF_RANGE,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_ACOEF,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_BCOEF,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_CCOEF,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_DCOEF,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_ROFFSET,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_GOFFSET,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_BOFFSET,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_HAS_CLIP,
|
||||
XPAR_FMC_SENSOR_INPUT_YCRCB2RGB_1_HAS_CLAMP,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_RGBMAX,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_RGBMIN,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_S_AXI_CLK_FREQ_HZ,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_STANDARD_SEL,
|
||||
XPAR_FMC_SENSOR_INPUT_V_YCRCB2RGB_1_OUTPUT_RANGE
|
||||
,*/
|
||||
/*
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_DEVICE_ID,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_BASEADDR,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_S_AXIS_VIDEO_FORMAT,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_M_AXIS_VIDEO_FORMAT,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_HAS_DEBUG,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_HAS_INTC_IF,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_MAX_COLS,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_ACTIVE_COLS,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_ACTIVE_ROWS,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_MWIDTH,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_COEF_RANGE,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_ACOEF,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_BCOEF,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_CCOEF,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_DCOEF,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_ROFFSET,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_GOFFSET,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_BOFFSET,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_HAS_CLIP,
|
||||
XPAR_HDMI_OUTPUT_YCRCB2RGB_1_HAS_CLAMP,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_RGBMAX,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_RGBMIN,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_S_AXI_CLK_FREQ_HZ,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_STANDARD_SEL,
|
||||
XPAR_HDMI_OUTPUT_V_YCRCB2RGB_1_OUTPUT_RANGE
|
||||
|
||||
*/
|
||||
};
|
330
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_hw.h
Executable file
330
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_hw.h
Executable file
|
@ -0,0 +1,330 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* 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 xycrcb2rgb_hw.h
|
||||
*
|
||||
* This header file contains identifiers and register-level driver functions (or
|
||||
* macros) that can be used to access the Xilinx YCrCb to RGB Color Space
|
||||
* Converter (YCRCB2RGB) core.
|
||||
*
|
||||
* <pre>
|
||||
* MODIFICATION HISTORY:
|
||||
*
|
||||
* Ver Who Date Changes
|
||||
* ----- ------ -------- -------------------------------------------------------
|
||||
* 7.0 adk 01/31/14 First release.
|
||||
* Added the register offsets and bit masks for the
|
||||
* registers.
|
||||
* Added backward compatibility macros.
|
||||
* </pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef XYCRCB2RGB_HW_H_
|
||||
#define XYCRCB2RGB_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 YCRCB2RGB core.
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_CONTROL_OFFSET 0x000 /**< Control offset */
|
||||
#define XYCC_STATUS_OFFSET 0x004 /**< Status offset */
|
||||
#define XYCC_ERROR_OFFSET 0x008 /**< Error offset */
|
||||
#define XYCC_IRQ_EN_OFFSET 0x00C /**< IRQ Enable offset */
|
||||
#define XYCC_VERSION_OFFSET 0x010 /**< Version offset */
|
||||
#define XYCC_SYSDEBUG0_OFFSET 0x014 /**< System Debug 0 offset */
|
||||
#define XYCC_SYSDEBUG1_OFFSET 0x018 /**< System Debug 1 offset */
|
||||
#define XYCC_SYSDEBUG2_OFFSET 0x01C /**< System Debug 2 offset */
|
||||
/*@}*/
|
||||
|
||||
/** @name Timing Control Registers
|
||||
*
|
||||
* Timing control registers offset for YCRCB2RGB core.
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_ACTIVE_SIZE_OFFSET 0x020 /**< Active Size (V x H)
|
||||
* offset */
|
||||
/*@}*/
|
||||
|
||||
/** @name Core Specific Registers
|
||||
*
|
||||
* Core specific registers offset
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_RGBMAX_OFFSET 0x100 /**< RGB Clipping offset */
|
||||
#define XYCC_RGBMIN_OFFSET 0x104 /**< RGB Clamping offset */
|
||||
#define XYCC_ROFFSET_OFFSET 0x108 /**< R Offset offset */
|
||||
#define XYCC_GOFFSET_OFFSET 0x10C /**< G Offset offset */
|
||||
#define XYCC_BOFFSET_OFFSET 0x110 /**< B Offset offset */
|
||||
#define XYCC_ACOEF_OFFSET 0x114 /**< A Coefficient offset */
|
||||
#define XYCC_BCOEF_OFFSET 0x118 /**< B Coefficient offset */
|
||||
#define XYCC_CCOEF_OFFSET 0x11C /**< C Coefficient offset */
|
||||
#define XYCC_DCOEF_OFFSET 0x120 /**< D Coefficient offset */
|
||||
/*@}*/
|
||||
|
||||
/** @name Control Register Bit Masks
|
||||
*
|
||||
* Control Register bit definition for YCRCB2RGB core.
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_CTL_SW_EN_MASK 0x00000001 /**< Software Enable Mask */
|
||||
#define XYCC_CTL_RUE_MASK 0x00000002 /**< Register Update
|
||||
* Enable Mask */
|
||||
#define XYCC_CTL_BPE_MASK 0x00000010 /**< Bypass Mask */
|
||||
#define XYCC_CTL_TPE_MASK 0x00000020 /**< Test Pattern Mask */
|
||||
#define XYCC_CTL_AUTORESET_MASK 0x40000000 /**< Software Reset -
|
||||
* Auto-synchronize
|
||||
* to SOF Mask */
|
||||
#define XYCC_CTL_RESET_MASK 0x80000000 /**< Software Reset -
|
||||
* Instantaneous Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name Slave Error Bit Masks
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_ERR_EOL_EARLY_MASK 0x000000001 /**< Error: End of line
|
||||
* Early Mask */
|
||||
#define XYCC_ERR_EOL_LATE_MASK 0x000000002 /**< Error: End of line
|
||||
* Late Mask */
|
||||
#define XYCC_ERR_SOF_EARLY_MASK 0x000000004 /**< Error: Start of frame
|
||||
* Early Mask */
|
||||
#define XYCC_ERR_SOF_LATE_MASK 0x000000008 /**< Error: Start of frame
|
||||
* Late Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name Interrupt Register Bit Masks
|
||||
*
|
||||
* Interrupt Register bit definition for YCRCB2RGB core. It is applicable for
|
||||
* STATUS and IRQ_ENABLE Registers.
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_IXR_PROCS_MASK 0x00000001 /**< Process Started Mask */
|
||||
#define XYCC_IXR_EOF_MASK 0x00000002 /**< End-Of-Frame Mask */
|
||||
#define XYCC_IXR_SE_MASK 0x00010000 /**< Slave Error Mask */
|
||||
#define XYCC_IXR_ALLINTR_MASK 0x00010003 /**< Interrupt All
|
||||
* Error Mask (ORing
|
||||
* (of All Interrupt
|
||||
* Mask) */
|
||||
/*@}*/
|
||||
|
||||
/** @name Version Register Bit Masks and Shifts
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_VER_REV_NUM_MASK 0x000000FF /**< Revision Number Mask */
|
||||
#define XYCC_VER_PID_MASK 0x00000F00 /**< Patch ID Mask */
|
||||
#define XYCC_VER_REV_MASK 0x0000F000 /**< Revision Mask */
|
||||
#define XYCC_VER_MINOR_MASK 0x00FF0000 /**< Minor Mask */
|
||||
#define XYCC_VER_MAJOR_MASK 0xFF000000 /**< Major Mask */
|
||||
#define XYCC_VER_MAJOR_SHIFT 24 /**< Major Shift */
|
||||
#define XYCC_VER_MINOR_SHIFT 16 /**< Minor Shift */
|
||||
#define XYCC_VER_REV_SHIFT 12 /**< Revision Shift */
|
||||
#define XYCC_VER_INTERNAL_SHIFT 8 /**< Internal Shift */
|
||||
/*@}*/
|
||||
|
||||
/** @name Active Size Register Bit Masks and Shifts
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_ACTSIZE_NUM_PIXEL_MASK 0x00001FFF /**< The number of pixels
|
||||
* in source image */
|
||||
#define XYCC_ACTSIZE_NUM_LINE_MASK 0x1FFF0000 /**< The number of lines in
|
||||
* source image */
|
||||
#define XYCC_ACTSIZE_NUM_LINE_SHIFT 16 /**< Shift for number
|
||||
* of lines */
|
||||
/*@}*/
|
||||
|
||||
/** @name RGBMAX Register Bit Mask
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_RGBMAX_MASK 0x0000FFFF /**< Clipping Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name RGBMIN Register Bit Mask
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_RGBMIN_MASK 0x0000FFFF /**< Clamping Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name ROFFSET Register Bit Mask
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_ROFFSET_MASK 0xFFFFFFFF /**< Red offset compensation
|
||||
* Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name GOFFSET Register Bit Mask
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_GOFFSET_MASK 0xFFFFFFFF /**< Green offset compensation
|
||||
* Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name BOFFSET Register Bit Mask
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_BOFFSET_MASK 0xFFFFFFFF /**< Blue offset compensation
|
||||
* Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name A ,B, C , D Coefficient Register Bit Mask
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_COEF_MASK 0x0003FFFF /**< Coefficients Mask */
|
||||
/*@}*/
|
||||
|
||||
/** @name General purpose Bit Mask and Shifts
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_8_BIT_MASK 0x000000FF /**< 8-bit Mask */
|
||||
#define XYCC_16_BIT_MASK 0x0000FFFF /**< 16-Bit Mask */
|
||||
#define XYCC_16_BIT_COEF_SHIFT 16 /**< 16-Bit Coefficient
|
||||
* Shift */
|
||||
/*@}*/
|
||||
|
||||
/** @name Data widths in bits per color.
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_DATA_WIDTH_8 8 /**< 8-bit Data Width. */
|
||||
#define XYCC_DATA_WIDTH_10 10 /**< 10-bit Data Width. */
|
||||
#define XYCC_DATA_WIDTH_12 12 /**< 12-bit Data Width. */
|
||||
#define XYCC_DATA_WIDTH_16 16 /**< 16-bit Data Width. */
|
||||
/*@}*/
|
||||
|
||||
/** @name Backward Compatibility Macros
|
||||
*
|
||||
* To support backward compatibility, following macros definition are
|
||||
* re-defined.
|
||||
* @{
|
||||
*/
|
||||
#define YCC_CONTROL XYCC_CONTROL_OFFSET
|
||||
#define YCC_STATUS XYCC_STATUS_OFFSET
|
||||
#define YCC_ERROR XYCC_ERROR_OFFSET
|
||||
#define YCC_IRQ_EN XYCC_IRQ_EN_OFFSET
|
||||
#define YCC_VERSION XYCC_VERSION_OFFSET
|
||||
#define YCC_SYSDEBUG0 XYCC_SYSDEBUG0_OFFSET
|
||||
#define YCC_SYSDEBUG1 XYCC_SYSDEBUG1_OFFSET
|
||||
#define YCC_SYSDEBUG2 XYCC_SYSDEBUG2_OFFSET
|
||||
#define YCC_ACTIVE_SIZE XYCC_ACTIVE_SIZE_OFFSET
|
||||
#define YCC_CTL_EN_MASK XYCC_CTL_EN_MASK
|
||||
#define YCC_CTL_RUE_MASK XYCC_CTL_RUE_MASK
|
||||
#define YCC_CTL_CS_MASK XYCC_CTL_CS_MASK
|
||||
#define YCC_RST_RESET XYCC_CTL_RESET_MASK
|
||||
#define YCC_RST_AUTORESET XYCC_CTL_AUTORESET_MASK
|
||||
|
||||
#define YCC_In32 XYCrCb2Rgb_In32
|
||||
#define YCC_Out32 XYCrCb2Rgb_Out32
|
||||
|
||||
#define XYCC_ReadReg XYCrCb2Rgb_ReadReg
|
||||
#define XYCC_WriteReg XYCrCb2Rgb_WriteReg
|
||||
/*@}*/
|
||||
|
||||
/** @name Interrupt Registers
|
||||
*
|
||||
* Interrupt status register generates a interrupt if the corresponding bits
|
||||
* of interrupt enable register bits are set.
|
||||
* @{
|
||||
*/
|
||||
#define XYCC_ISR_OFFSET XYCC_STATUS_OFFSET /**< Interrupt Status
|
||||
* Offset */
|
||||
#define XYCC_IER_OFFSET XYCC_IRQ_EN_OFFSET /**< Interrupt Enable
|
||||
* Offset */
|
||||
/*@}*/
|
||||
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
#define XYCrCb2Rgb_In32 Xil_In32 /**< Input operation */
|
||||
#define XYCrCb2Rgb_Out32 Xil_Out32 /**< Output operation */
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function macro reads the given register.
|
||||
*
|
||||
* @param BaseAddress is the base address of the YCRCB2RGB 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 XYCrCb2Rgb_ReadReg(u32 BaseAddress, u32 RegOffset).
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_ReadReg(BaseAddress, RegOffset) \
|
||||
XYCrCb2Rgb_In32((BaseAddress) + (u32)(RegOffset))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function macro writes the given register.
|
||||
*
|
||||
* @param BaseAddress is base address of the YCRCB2RGB 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 XYCrCb2Rgb_WriteReg(u32 BaseAddress, u32 RegOffset,
|
||||
* u32 Data)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define XYCrCb2Rgb_WriteReg(BaseAddress, RegOffset, Data) \
|
||||
XYCrCb2Rgb_Out32((BaseAddress) + (u32)(RegOffset), (Data))
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
|
||||
/************************** Variable Declarations ****************************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* End of protection macro */
|
204
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_intr.c
Executable file
204
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_intr.c
Executable file
|
@ -0,0 +1,204 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* 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 xycrcb2rgb_intr.c
|
||||
*
|
||||
* This file contains interrupt related functions for the YCRCB2RGB core.
|
||||
* Please see xycrcb2rgb.h for more details of the driver.
|
||||
*
|
||||
* <pre>
|
||||
* MODIFICATION HISTORY:
|
||||
*
|
||||
* Ver Who Date Changes
|
||||
* ----- ------ -------- --------------------------------------------------
|
||||
* 7.0 adk 01/31/14 First Release.
|
||||
* Implemented the following functions:
|
||||
* XYCrCb2Rgb_IntrHandler
|
||||
* XYCrCb2Rgb_SetCallBack
|
||||
* </pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#include "xycrcb2rgb.h"
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
|
||||
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
|
||||
/************************** Variable Definitions *****************************/
|
||||
|
||||
|
||||
/************************** Function Definitions *****************************/
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function is the interrupt handler for the YCRCB2RGB core.
|
||||
*
|
||||
* 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
|
||||
* XYCrCb2Rgb_SetCallBack() during initialization phase.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb instance that just
|
||||
* interrupted.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note Interrupt interface (HasIntcIf) should be enabled.
|
||||
*
|
||||
******************************************************************************/
|
||||
void XYCrCb2Rgb_IntrHandler(void *InstancePtr)
|
||||
{
|
||||
u32 PendingIntr;
|
||||
u32 ErrorStatus;
|
||||
|
||||
XYCrCb2Rgb *XYCrCb2RgbPtr = (XYCrCb2Rgb *)((void *)InstancePtr);
|
||||
|
||||
/* Verify arguments. */
|
||||
Xil_AssertVoid(XYCrCb2RgbPtr != NULL);
|
||||
Xil_AssertVoid(XYCrCb2RgbPtr->IsReady ==
|
||||
(u32)(XIL_COMPONENT_IS_READY));
|
||||
Xil_AssertVoid(XYCrCb2RgbPtr->Config.HasIntcIf != (u16)0x0);
|
||||
|
||||
/* Get pending interrupts */
|
||||
PendingIntr = (u32)XYCrCb2Rgb_IntrGetPending(XYCrCb2RgbPtr);
|
||||
|
||||
/* Slave error interrupt has occurred */
|
||||
if ((PendingIntr & (XYCC_IXR_SE_MASK)) == (XYCC_IXR_SE_MASK)) {
|
||||
ErrorStatus = PendingIntr & (XYCC_IXR_SE_MASK);
|
||||
XYCrCb2RgbPtr->ErrCallBack(XYCrCb2RgbPtr->ErrRef, ErrorStatus);
|
||||
}
|
||||
|
||||
/* A Processing Start has occurred */
|
||||
if ((PendingIntr & (XYCC_IXR_PROCS_MASK)) == (XYCC_IXR_PROCS_MASK)) {
|
||||
XYCrCb2RgbPtr->ProcStartCallBack( XYCrCb2RgbPtr->ProcStartRef);
|
||||
}
|
||||
|
||||
/* A Frame Done interrupt has occurred */
|
||||
if ((PendingIntr & (XYCC_IXR_EOF_MASK)) == (XYCC_IXR_EOF_MASK)) {
|
||||
XYCrCb2RgbPtr->FrameDoneCallBack(XYCrCb2RgbPtr->FrameDoneRef);
|
||||
}
|
||||
|
||||
/* Clear pending interrupt(s) */
|
||||
XYCrCb2Rgb_IntrClear(XYCrCb2RgbPtr, PendingIntr);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This routine installs an asynchronous callback function for the given
|
||||
* HandlerTypes.
|
||||
*
|
||||
* <pre>
|
||||
* HandlerType Callback Function Type
|
||||
* ----------------------- ---------------------------
|
||||
* XYCC_HANDLER_PROCSTART ProcStartCallBack.
|
||||
* XYCC_HANDLER_FRAMEDONE FrameDoneCallBack.
|
||||
* XYCC_HANDLER_ERROR ErrCallBack.
|
||||
* </pre>
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XYCrCb2Rgb 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 XYCrCb2Rgb_SetCallBack(XYCrCb2Rgb *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)(XYCC_HANDLER_PROCSTART)) &&
|
||||
(HandlerType <= (u32)(XYCC_HANDLER_ERROR)));
|
||||
|
||||
/* Setting function and reference based on HandlerType */
|
||||
switch (HandlerType) {
|
||||
case XYCC_HANDLER_PROCSTART:
|
||||
InstancePtr->ProcStartCallBack =
|
||||
(XYCrCb2Rgb_CallBack)((void *)CallBackFunc);
|
||||
InstancePtr->ProcStartRef = CallBackRef;
|
||||
Status = (XST_SUCCESS);
|
||||
break;
|
||||
|
||||
case XYCC_HANDLER_FRAMEDONE:
|
||||
InstancePtr->FrameDoneCallBack =
|
||||
(XYCrCb2Rgb_CallBack)((void *)CallBackFunc);
|
||||
InstancePtr->FrameDoneRef = CallBackRef;
|
||||
Status = (XST_SUCCESS);
|
||||
break;
|
||||
|
||||
case XYCC_HANDLER_ERROR:
|
||||
InstancePtr->ErrCallBack =
|
||||
(XYCrCb2Rgb_ErrorCallBack)((void *)CallBackFunc);
|
||||
InstancePtr->ErrRef = CallBackRef;
|
||||
Status = (XST_SUCCESS);
|
||||
break;
|
||||
|
||||
default:
|
||||
Status = (XST_INVALID_PARAM);
|
||||
break;
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
107
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_selftest.c
Executable file
107
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_selftest.c
Executable file
|
@ -0,0 +1,107 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* 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 xycrcb2rgb_selftest.c
|
||||
*
|
||||
* This file contains the self-test function for the YCRCB2RGB core.
|
||||
*
|
||||
* <pre>
|
||||
* MODIFICATION HISTORY:
|
||||
*
|
||||
* Ver Who Date Changes
|
||||
* ----- ---- -------- -----------------------------------------------
|
||||
* 7.0 adk 02/03/14 First Release.
|
||||
* Implemented the following function:
|
||||
* XYCrCb2Rgb_SelfTest
|
||||
* </pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#include "xycrcb2rgb.h"
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
|
||||
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
|
||||
/************************** Variable Definitions *****************************/
|
||||
|
||||
|
||||
/************************** Function Definitions *****************************/
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This function reads Version register of YCRCB2RGB core and compares with
|
||||
* zero as part of self test.
|
||||
*
|
||||
* @param InstancePtr is a pointer to the XCrCb2Rgb instance.
|
||||
*
|
||||
* @return
|
||||
* - XST_SUCCESS if the Version register read test was successful.
|
||||
* - XST_FAILURE if the Version register read test failed.
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
******************************************************************************/
|
||||
int XYCrCb2Rgb_SelfTest(XYCrCb2Rgb *InstancePtr)
|
||||
{
|
||||
u32 Version;
|
||||
int Status;
|
||||
|
||||
/* Verify argument. */
|
||||
Xil_AssertNonvoid(InstancePtr != NULL);
|
||||
|
||||
Version = XYCrCb2Rgb_ReadReg(InstancePtr->Config.BaseAddress,
|
||||
(XYCC_VERSION_OFFSET));
|
||||
|
||||
/* Compare Version with zero */
|
||||
if (Version != (u32)0x0) {
|
||||
Status = (XST_SUCCESS);
|
||||
}
|
||||
else {
|
||||
Status = (XST_FAILURE);
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
110
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_sinit.c
Executable file
110
XilinxProcessorIPLib/drivers/ycrcb2rgb/src/xycrcb2rgb_sinit.c
Executable 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 xycrcb2rgb_sinit.c
|
||||
*
|
||||
* This file contains static initialization methods for Xilinx YCRCB2RGB core.
|
||||
*
|
||||
* <pre>
|
||||
* MODIFICATION HISTORY:
|
||||
*
|
||||
* Ver Who Date Changes
|
||||
* ----- ------ -------- -----------------------------------------------
|
||||
* 7.0 adk 02/10/14 First release.
|
||||
* Implemented following function:
|
||||
* XYCrCb2Rgb_Config.
|
||||
* </pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#include "xycrcb2rgb.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 XYCrCb2Rgb_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 xycrcb2rgb_g.c
|
||||
* file.
|
||||
*
|
||||
* @param DeviceId is the unique core ID of the core for the lookup
|
||||
* operation.
|
||||
*
|
||||
* @return XYCrCb2Rgb_LookupConfig returns a reference to a config record
|
||||
* in the configuration table (in xycrcb2rgb_g.c) corresponding
|
||||
* to <i>DeviceId</i>, or NULL if no match is found.
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
******************************************************************************/
|
||||
XYCrCb2Rgb_Config *XYCrCb2Rgb_LookupConfig(u16 DeviceId)
|
||||
{
|
||||
u32 Index;
|
||||
extern XYCrCb2Rgb_Config
|
||||
XYCrCb2Rgb_ConfigTable[XPAR_XYCC_NUM_INSTANCES];
|
||||
XYCrCb2Rgb_Config *CfgPtr = NULL;
|
||||
|
||||
/* Get the reference pointer to XYCrCb2Rgb_Config structure */
|
||||
for (Index = (u32)0x0; Index < (u32)(XPAR_XYCC_NUM_INSTANCES);
|
||||
Index++) {
|
||||
|
||||
/* Compare device Id with configTable's device Id */
|
||||
if (XYCrCb2Rgb_ConfigTable[Index].DeviceId == DeviceId) {
|
||||
CfgPtr = &XYCrCb2Rgb_ConfigTable[Index];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return (XYCrCb2Rgb_Config *)CfgPtr;
|
||||
}
|
|
@ -1,266 +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 YCrCb to RGB Color Space Converter (YCRCB2RGB)
|
||||
* device driver. Please see ycrcb2rgb.h for more details of the driver.
|
||||
*
|
||||
* MODIFICATION HISTORY:
|
||||
*
|
||||
* Ver Who Date Changes
|
||||
* ----- ---- -------- -------------------------------------------------------
|
||||
* 5.00a tb 02/28/12 Updated for YCRCB2RGB v5.00.a
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#include "ycrcb2rgb.h"
|
||||
#include "xenv.h"
|
||||
#include "stdio.h"
|
||||
|
||||
double ycc_pow2(u32 a) { return( (a>0) ? (1 << a) : 1.0/(1 << (-a)) ); }
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
// Note: Most of the functions are currently implemented as high-performance
|
||||
// macros within ycrcb2rgb.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 ycc_coef_inputs data structure.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
void YCC_select_standard(u32 standard_sel, u32 input_range, u32 data_width, struct ycc_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->rgbmax = max[input_range];
|
||||
coef_in->rgbmin = min[input_range];
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Translate input coefficients into coefficients that can be programmed into the
|
||||
* YCrCb2RGB 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)= 1=data width outside range [8, 10, 12, 16]
|
||||
* bit(1)= Acoef + Bcoef > 1.0
|
||||
* bit(2)= Y Offset outside data width range [-2^data_width, (2^data_width)-1]
|
||||
* bit(3)= Cb Offset outside data width range [-2^data_width, (2^data_width)-1]
|
||||
* bit(4)= Cr Offset outside data width range [-2^data_width, (2^data_width)-1]
|
||||
* bit(5)= RGB Max outside data width range [0, (2^data_width)-1]
|
||||
* bit(6)= RGB Min outside data width range [0, (2^data_width)-1]
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
u32 YCC_coefficient_translation(struct ycc_coef_inputs *coef_in, struct ycc_coef_outputs *coef_out, u32 data_width, u32 mwidth)
|
||||
{
|
||||
u32 ret_val = 0;
|
||||
u32 scale_coeffs;
|
||||
double scale_ic2m;
|
||||
u32 coef_range;
|
||||
double acoef, bcoef, ccoef, dcoef;
|
||||
double acr, bcr, ccr, dcr;
|
||||
u32 ac, bc, cc, dc;
|
||||
u32 yoffset, cboffset, croffset;
|
||||
u32 rgbmax, rgbmin;
|
||||
u32 iwidth, owidth, cwidth;
|
||||
double rounding_const;
|
||||
|
||||
iwidth = data_width;
|
||||
owidth = data_width;
|
||||
coef_range = 2;
|
||||
cwidth = 17;
|
||||
|
||||
acoef = coef_in->acoef;
|
||||
bcoef = coef_in->bcoef;
|
||||
ccoef = coef_in->ccoef;
|
||||
dcoef = coef_in->dcoef;
|
||||
yoffset = coef_in->yoffset;
|
||||
cboffset = coef_in->cboffset;
|
||||
croffset = coef_in->croffset;
|
||||
rgbmax = coef_in->rgbmax;
|
||||
rgbmin = coef_in->rgbmin;
|
||||
|
||||
if((acoef + bcoef) > 1.0) {
|
||||
printf("WARNING: Acoef (%lf) + Bcoef (%lf) can not be more then 1.0\r\n",acoef, bcoef);
|
||||
ret_val = ret_val | 0x1;
|
||||
}
|
||||
if(yoffset < -(1<<iwidth) || yoffset > (1<<iwidth)-1) {
|
||||
printf("WARNING: Y Offset (%u) is outside the data width range [%u, %u]\r\n",
|
||||
(unsigned int)yoffset, (unsigned int)-(1<<iwidth), (unsigned int)(1<<iwidth)-1);
|
||||
ret_val = ret_val | 0x2;
|
||||
}
|
||||
if(cboffset < -(1<<iwidth) || cboffset > (1<<iwidth)-1) {
|
||||
printf("WARNING: Cb Offset (%u) is outside the data width range [%u, %u]\r\n",
|
||||
(unsigned int)cboffset, (unsigned int)-(1<<iwidth), (unsigned int)(1<<iwidth)-1);
|
||||
ret_val = ret_val | 0x4;
|
||||
}
|
||||
if(croffset < -(1<<iwidth) || croffset > (1<<iwidth)-1) {
|
||||
printf("WARNING: Cr Offset (%u) is outside the data width range [%u, %u]\r\n",
|
||||
(unsigned int)croffset, (unsigned int)-(1<<iwidth), (unsigned int)(1<<iwidth)-1);
|
||||
ret_val = ret_val | 0x8;
|
||||
}
|
||||
if(rgbmax < 0 || rgbmax > (1<<iwidth)-1) {
|
||||
printf("WARNING: RGB Max (%u) is outside the data width range [0, %u]\r\n",
|
||||
(unsigned int)rgbmax, (unsigned int)(1<<iwidth)-1);
|
||||
ret_val = ret_val | 0x10;
|
||||
}
|
||||
if(rgbmin < 0 || rgbmin > (1<<iwidth)-1) {
|
||||
printf("WARNING: RGB Min (%u) is outside the data width range [0, %u]\r\n",
|
||||
(unsigned int)rgbmin, (unsigned int)(1<<iwidth)-1);
|
||||
ret_val = ret_val | 0x20;
|
||||
}
|
||||
|
||||
acr = 1/ccoef;
|
||||
bcr = -(acoef/ccoef/(1-acoef-bcoef));
|
||||
ccr = -(bcoef/dcoef/(1-acoef-bcoef));
|
||||
dcr = 1/dcoef;
|
||||
|
||||
scale_coeffs = ycc_max(1, (1 << (cwidth-coef_range-1)));
|
||||
rounding_const = ycc_pow2(mwidth - owidth - coef_range -2); // +0.5 turns truncation to biased rounding
|
||||
scale_ic2m = ycc_pow2(1+mwidth - iwidth - cwidth );
|
||||
|
||||
// Quantize coefficients:
|
||||
ac = (u32) (acr*scale_coeffs); // round, wrap
|
||||
bc = (u32) (bcr*scale_coeffs);
|
||||
cc = (u32) (ccr*scale_coeffs);
|
||||
dc = (u32) (dcr*scale_coeffs);
|
||||
|
||||
coef_out->acoef = ac;
|
||||
coef_out->bcoef = bc;
|
||||
coef_out->ccoef = cc;
|
||||
coef_out->dcoef = dc;
|
||||
|
||||
// Assuming signals are OWIDTH+1 bits wide after the offset compensating rounders / adders:
|
||||
coef_out->roffset = (u32) ((rounding_const - (ac*croffset + yoffset*scale_coeffs))*scale_ic2m);
|
||||
coef_out->goffset = (u32) ((rounding_const - (((bc*croffset)+(cc*cboffset)) + yoffset*scale_coeffs))*scale_ic2m);
|
||||
coef_out->boffset = (u32) ((rounding_const - (dc*cboffset + yoffset*scale_coeffs))*scale_ic2m);
|
||||
|
||||
coef_out->rgbmax = rgbmax;
|
||||
coef_out->rgbmin = rgbmin;
|
||||
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Program the YCrCb2RGB coefficient/offset registers.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
* @param coef_out is a pointer to a rgb_coef_output data structure.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
void YCC_set_coefficients(u32 BaseAddress, struct ycc_coef_outputs *coef_out)
|
||||
{
|
||||
YCC_WriteReg(BaseAddress, YCC_ACOEF, coef_out->acoef); //ACOEF
|
||||
YCC_WriteReg(BaseAddress, YCC_BCOEF, coef_out->bcoef); //BCOEF
|
||||
YCC_WriteReg(BaseAddress, YCC_CCOEF, coef_out->ccoef); //CCOEF
|
||||
YCC_WriteReg(BaseAddress, YCC_DCOEF, coef_out->dcoef); //DCOEF
|
||||
YCC_WriteReg(BaseAddress, YCC_ROFFSET, coef_out->roffset); //ROFFSET
|
||||
YCC_WriteReg(BaseAddress, YCC_GOFFSET, coef_out->goffset); //GOFFSET
|
||||
YCC_WriteReg(BaseAddress, YCC_BOFFSET, coef_out->boffset); //BOFFSET
|
||||
YCC_WriteReg(BaseAddress, YCC_RGBMAX, coef_out->rgbmax); //RGBMAX
|
||||
YCC_WriteReg(BaseAddress, YCC_RGBMIN, coef_out->rgbmin); //RGBMIN
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Read the YCrCb2RGB coefficient/offset registers.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
* @param coef_out is a pointer to a rgb_coef_output data structure.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
void YCC_get_coefficients(u32 BaseAddress, struct ycc_coef_outputs *coef_out)
|
||||
{
|
||||
coef_out->acoef = YCC_ReadReg(BaseAddress, YCC_ACOEF);
|
||||
coef_out->bcoef = YCC_ReadReg(BaseAddress, YCC_BCOEF);
|
||||
coef_out->ccoef = YCC_ReadReg(BaseAddress, YCC_CCOEF);
|
||||
coef_out->dcoef = YCC_ReadReg(BaseAddress, YCC_DCOEF);
|
||||
coef_out->roffset = YCC_ReadReg(BaseAddress, YCC_ROFFSET);
|
||||
coef_out->goffset = YCC_ReadReg(BaseAddress, YCC_GOFFSET);
|
||||
coef_out->boffset = YCC_ReadReg(BaseAddress, YCC_BOFFSET);
|
||||
coef_out->rgbmax = YCC_ReadReg(BaseAddress, YCC_RGBMAX);
|
||||
coef_out->rgbmin = YCC_ReadReg(BaseAddress, YCC_RGBMIN);
|
||||
}
|
|
@ -1,417 +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 YCrCb to RGB Color Space Converter
|
||||
* (RGB2YCRCB) device.
|
||||
*
|
||||
* MODIFICATION HISTORY:
|
||||
*
|
||||
* Ver Who Date Changes
|
||||
* ----- ---- -------- -------------------------------------------------------
|
||||
* 5.00a tb 02/28/12 Updated for YCRCB2RGB 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 YCRCB2RGB_DRIVER_H /* prevent circular inclusions */
|
||||
#define YCRCB2RGB_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 YCC_CONTROL 0x000 /**< Control */
|
||||
#define YCC_STATUS 0x004 /**< Status */
|
||||
#define YCC_ERROR 0x008 /**< Error */
|
||||
#define YCC_IRQ_EN 0x00C /**< IRQ Enable */
|
||||
#define YCC_VERSION 0x010 /**< Version */
|
||||
#define YCC_SYSDEBUG0 0x014 /**< System Debug 0 */
|
||||
#define YCC_SYSDEBUG1 0x018 /**< System Debug 1 */
|
||||
#define YCC_SYSDEBUG2 0x01C /**< System Debug 2 */
|
||||
/* Timing Control Registers */
|
||||
#define YCC_ACTIVE_SIZE 0x020 /**< Active Size (V x H) */
|
||||
#define YCC_TIMING_STATUS 0x024 /**< Timing Measurement Status */
|
||||
/* Core Specific Registers */
|
||||
#define YCC_RGBMAX 0x100 /**< RGB Clipping */
|
||||
#define YCC_RGBMIN 0x104 /**< RGB Clamping */
|
||||
#define YCC_ROFFSET 0x108 /**< R Offset */
|
||||
#define YCC_GOFFSET 0x10C /**< G Offset */
|
||||
#define YCC_BOFFSET 0x110 /**< B Offset */
|
||||
#define YCC_ACOEF 0x114 /**< Matrix Coversion Coefficient */
|
||||
#define YCC_BCOEF 0x118 /**< Matrix Coversion Coefficient */
|
||||
#define YCC_CCOEF 0x11C /**< Matrix Coversion Coefficient */
|
||||
#define YCC_DCOEF 0x120 /**< Matrix Coversion Coefficient */
|
||||
|
||||
/*
|
||||
* CCM Control Register bit definition
|
||||
*/
|
||||
#define YCC_CTL_EN_MASK 0x00000001 /**< CCM Enable */
|
||||
#define YCC_CTL_RUE_MASK 0x00000002 /**< CCM Register Update Enable */
|
||||
|
||||
/*
|
||||
* CCM Reset Register bit definition
|
||||
*/
|
||||
#define YCC_RST_RESET 0x80000000 /**< Software Reset - Instantaneous */
|
||||
#define YCC_RST_AUTORESET 0x40000000 /**< Software Reset - Auto-synchronize to SOF */
|
||||
|
||||
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
|
||||
#define YCC_In32 Xil_In32
|
||||
#define YCC_Out32 Xil_Out32
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro enables a YCrCb2RGB device.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
* C-style signature:
|
||||
* void YCC_Enable(u32 BaseAddress);
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_Enable(BaseAddress) \
|
||||
YCC_WriteReg(BaseAddress, YCC_CONTROL, \
|
||||
YCC_ReadReg(BaseAddress, YCC_CONTROL) | \
|
||||
YCC_CTL_EN_MASK)
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro disables a YCrCb2RGB device.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
* C-style signature:
|
||||
* void YCC_Disable(u32 BaseAddress);
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_Disable(BaseAddress) \
|
||||
YCC_WriteReg(BaseAddress, YCC_CONTROL, \
|
||||
YCC_ReadReg(BaseAddress, YCC_CONTROL) & \
|
||||
~YCC_CTL_EN_MASK)
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro tells a YCrCb2RGB 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 YCrCb2RGB core is enabled.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
* C-style signature:
|
||||
* void YCC_RegUpdateEnable(u32 BaseAddress);
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_RegUpdateEnable(BaseAddress) \
|
||||
YCC_WriteReg(BaseAddress, YCC_CONTROL, \
|
||||
YCC_ReadReg(BaseAddress, YCC_CONTROL) | \
|
||||
YCC_CTL_RUE_MASK)
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro tells a YCrCb2RGB 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 YCrCb2RGB core is enabled.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
* C-style signature:
|
||||
* void YCC_RegUpdateDisable(u32 BaseAddress);
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_RegUpdateDisable(BaseAddress) \
|
||||
YCC_WriteReg(BaseAddress, YCC_CONTROL, \
|
||||
YCC_ReadReg(BaseAddress, YCC_CONTROL) & \
|
||||
~YCC_CTL_RUE_MASK)
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro resets a YCrCb2RGB device. This reset effects the core immediately,
|
||||
* and may cause image tearing.
|
||||
*
|
||||
* This reset resets the YCrCb2RGB's configuration registers, and holds the core's outputs
|
||||
* in their reset state until YCC_ClearReset() is called.
|
||||
*
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
* C-style signature:
|
||||
* void YCC_Reset(u32 BaseAddress);
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_Reset(BaseAddress) \
|
||||
YCC_WriteReg(BaseAddress, YCC_CONTROL, YCC_RST_RESET) \
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro clears the YCrCb2RGB's reset flag (which is set using YCC_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 YCrCb2RGB core (from xparameters.h)
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
* C-style signature:
|
||||
* void YCC_ClearReset(u32 BaseAddress);
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_ClearReset(BaseAddress) \
|
||||
YCC_WriteReg(BaseAddress, YCC_CONTROL, 0) \
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This macro resets a YCrCb2RGB device, but differs from YCC_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 YCC_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 YCrCb2RGB core (from xparameters.h)
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
* C-style signature:
|
||||
* void YCC_Reset(u32 BaseAddress);
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_AutoSyncReset(BaseAddress) \
|
||||
YCC_WriteReg(BaseAddress, YCC_CONTROL, YCC_RST_AUTORESET) \
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Read the given register.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB 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 YCC_ReadReg(u32 BaseAddress, u32 RegOffset)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_ReadReg(BaseAddress, RegOffset) \
|
||||
YCC_In32((BaseAddress) + (RegOffset))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Write the given register.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB 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 YCC_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)
|
||||
*
|
||||
******************************************************************************/
|
||||
#define YCC_WriteReg(BaseAddress, RegOffset, Data) \
|
||||
YCC_Out32((BaseAddress) + (RegOffset), (Data))
|
||||
|
||||
/************************** Function Prototypes ******************************/
|
||||
|
||||
struct ycc_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 rgbmax; //@- RGB Clipping
|
||||
u32 rgbmin; //@- RGB Clamping
|
||||
};
|
||||
|
||||
struct ycc_coef_outputs
|
||||
{
|
||||
/* Translated coefficient/offset data */
|
||||
u32 acoef; //@- Translated ACoef
|
||||
u32 bcoef; //@- Translated BCoef
|
||||
u32 ccoef; //@- Translated CCoef
|
||||
u32 dcoef; //@- Translated DCoef
|
||||
u32 roffset; //@- Translated Offset for the R Channel
|
||||
u32 goffset; //@- Translated Offset for the G Channel
|
||||
u32 boffset; //@- Translated Offset for the B Channel
|
||||
u32 rgbmax; //@- Translated RGB Clipping
|
||||
u32 rgbmin; //@- Translated RGB 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 ycc_coef_inputs data structure.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
void YCC_select_standard(u32 standard_sel, u32 input_range, u32 data_width, struct ycc_coef_inputs *coef_in);
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Translate input coefficients into coefficients that can be programmed into the
|
||||
* YCrCb2RGB core.
|
||||
*
|
||||
* @param coef_in is a pointer to a ycc_coef_inputs data structure.
|
||||
* @param coef_out is a pointer to a ycc_coef_output data structure.
|
||||
* @param data_width is the bit width of the data
|
||||
* @param mwidth is multiplicatio width value calculated by the core.
|
||||
*
|
||||
* @return The 32-bit value: bit(0)= 1=data width outside range [8, 10, 12, 16]
|
||||
* bit(1)= Acoef + Bcoef > 1.0
|
||||
* bit(2)= Y Offset outside data width range [-2^data_width, (2^data_width)-1]
|
||||
* bit(3)= Cb Offset outside data width range [-2^data_width, (2^data_width)-1]
|
||||
* bit(4)= Cr Offset outside data width range [-2^data_width, (2^data_width)-1]
|
||||
* bit(5)= RGB Max outside data width range [0, (2^data_width)-1]
|
||||
* bit(6)= RGB Min outside data width range [0, (2^data_width)-1]
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
u32 YCC_coefficient_translation(struct ycc_coef_inputs *coef_in, struct ycc_coef_outputs *coef_out, u32 data_width, u32 mwidth);
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Program the YCrCb2RGB coefficient/offset registers.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
* @param coef_out is a pointer to a ycc_coef_output data structure.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
void YCC_set_coefficients(u32 BaseAddress, struct ycc_coef_outputs *coef_out);
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* Read the YCrCb2RGB coefficient/offset registers.
|
||||
*
|
||||
* @param BaseAddress is the Xilinx EDK base address of the YCrCb2RGB core (from xparameters.h)
|
||||
* @param coef_out is a pointer to a ycc_coef_output data structure.
|
||||
*
|
||||
* @return None.
|
||||
*
|
||||
* @note
|
||||
*
|
||||
******************************************************************************/
|
||||
void YCC_get_coefficients(u32 BaseAddress, struct ycc_coef_outputs *coef_out);
|
||||
|
||||
|
||||
#define ycc_max(a,b) (((a)>(b)) ? (a) : (b))
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* end of protection macro */
|
Loading…
Add table
Reference in a new issue