This header file contains identifiers and register-level core functions (or macros), range macros, structure typedefs that can be used to access the Xilinx Color Filter Array Interpolation (CFA) core.<p>
The Color Filter Array Interpolation core reconstructs a color image from an RGB or CMY Bayer filtered sensor using a 5x5 interpolation aperture. The core is capable of a maximum resolution of 7680 columns by 7680 rows with 8, 10, or 12 bits per pixel and supports the bandwidth necessary for High-definition (1080p60) resolutions in all Xilinx FPGA device families. Higher resolutions can be supported in Xilinx high-performance device families.<p>
<b>Initialization & Configuration</b><p>
The device driver enables higher layer software (e.g., an application) to communicate to the CFA core.<p>
<aclass="el"href="xcfa_8c.html#f21a4a9fe167729fd388e53a9ae467d9">XCfa_CfgInitialize()</a> API is used to initialize the CFA core. The user needs to first call the <aclass="el"href="xcfa_8h.html#a66ae38886661dd25bc5b5831a32fa11">XCfa_LookupConfig()</a> API which returns the Configuration structure pointer which is passed as a parameter to the <aclass="el"href="xcfa_8c.html#f21a4a9fe167729fd388e53a9ae467d9">XCfa_CfgInitialize()</a> API.<p>
<b> Interrupts </b><p>
The driver provides an interrupt handler XCfa_IntrHandler for handling the interrupt from the CFA core. The users of this driver have to register this handler with the interrupt system and provide the callback functions by using XCfa_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 <aclass="el"href="struct_x_cfa.html">XCfa</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>