ycrcb2rgb
Xilinx SDK Drivers API Documentation
ycrcb2rgb_selftest_example.c File Reference

Overview

This file contains an example using the XYCrCb2RGB driver to do self test on the device.

Note
None.
MODIFICATION HISTORY:
Ver   Who    Date     Changes


7.0 adk 02/10/14 First Release.

Functions

int XYCrCb2RgbSelfTestExample (u16 DeviceId)
 This function does a minimal test on the YCrCb2RGB driver. More...
 
int main (void)
 Main/Entry function for self test example. More...
 

Variables

XYCrCb2Rgb YccInst
 Instance of the YCrCb2RGB Device. More...
 

Function Documentation

int main ( void  )

Main/Entry function for self test example.

Returns
  • XST_SUCCESS if successful.
  • XST_FAILURE if it is unsuccessful.
Note
None.

References XYCC_DEVICE_ID, and XYCrCb2RgbSelfTestExample().

int XYCrCb2RgbSelfTestExample ( u16  DeviceId)

This function does a minimal test on the YCrCb2RGB driver.

Parameters
DeviceIdis an ID of the YCrCb2RGB core or device.
Returns
  • XST_SUCCESS if successful.
  • XST_FAILURE if it is unsuccessful.
Note
None.

References XYCrCb2Rgb_Config::BaseAddress, XYCrCb2Rgb_CfgInitialize(), XYCrCb2Rgb_LookupConfig(), and XYCrCb2Rgb_SelfTest().

Referenced by main().

Variable Documentation

XYCrCb2Rgb YccInst

Instance of the YCrCb2RGB Device.