deinterlacer: deint_selftest_example.c File Reference

| deinterlacer Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions | Variables
deint_selftest_example.c File Reference

## Overview

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

MODIFICATION HISTORY:

    Ver   Who    Date     Changes

    1.00a drg/jz 01/13/10 First Release
    1.03a sg     08/14/12 Updated the example for CR 666306. Modified
                          the device ID to use the first Device Id
                          Removed the printf at the start of the main
    3.2   adk    01/15/14 Modified function names as per guidelines

## Functions
int | XDeintSelfTestExample (u16 DeviceId)
| This function does a minimal test on the XDeint driver. More...
int | main (void)
| Main function to call the example. More...

## Variables
XDeint | Deint
| Instance of the Deinterlacer core. More...

## Function Documentation

int main | ( | void |  | ) |

Main function to call the example.

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE.

Note
  None.

References XDeintSelfTestExample().

int XDeintSelfTestExample | ( | u16 | DeviceId | ) |

This function does a minimal test on the XDeint driver.

Parameters

  DeviceId | is the XPAR_<DEINT_instance>_DEVICE_ID value from xparameters.h.

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE.

Note
  None.

References XDeint_Config::BaseAddress, XDeint_ConfigInitialize(), XDeint_LookupConfig(), and XDeint_Selftest().

Referenced by main().

## Variable Documentation

XDeint Deint

Instance of the Deinterlacer core.