cresample: xcresample.c File Reference

| cresample Xilinx SDK Drivers API Documentation

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

Functions
xcresample.c File Reference

## Functions
int | XCresample_CfgInitialize (XCresample *InstancePtr, XCresample_Config *CfgPtr, u32 EffectiveAddr)
| This function initializes the Cresample core. More...
void | XCresample_EnableDbgByPass (XCresample *InstancePtr)
| This function enables the bypass mode by setting bypass bit of the Control register to switch the core to bypass mode if debug feature is enabled in the core. More...
int | XCresample_IsDbgByPassEnabled (XCresample *InstancePtr)
| This function returns the current bypass mode settings from Control register of the Chroma Resampler core. More...
void | XCresample_DisableDbgBypass (XCresample *InstancePtr)
| This function disables bypass mode of the Chroma Resampler core. More...
void | XCresample_EnableDbgTestPattern (XCresample *InstancePtr)
| This function enables the test-pattern mode if debug feature is enabled by setting test-pattern bit of the Control register of the Chroma Resampler core. More...
int | XCresample_IsDbgTestPatternEnabled (XCresample *InstancePtr)
| This function returns the test-pattern mode (enabled or not) from Control register of the Chroma Resampler core. More...
void | XCresample_DisableDbgTestPattern (XCresample *InstancePtr)
| This function disables debug test pattern mode in Control register of the Chroma Resampler core, if Debug feature is enabled. More...
u32 | XCresample_GetVersion (XCresample *InstancePtr)
| This function returns the version of the Chroma Resampler core. More...
u32 | XCresample_GetDbgFrameCount (XCresample *InstancePtr)
| This function returns the number of frames processed since power-up or last time the core is reset. More...
u32 | XCresample_GetDbgLineCount (XCresample *InstancePtr)
| This function returns the number of lines processed since power-up or last time the core is reset. More...
u32 | XCresample_GetDbgPixelCount (XCresample *InstancePtr)
| This function returns the number of pixels processed since power-up or last time the core is reset. More...
void | XCresample_SetActiveSize (XCresample *InstancePtr, u16 HSize, u16 VSize)
| This function sets the active H/V sizes in the Active Size register. More...
void | XCresample_GetActiveSize (XCresample *InstancePtr, u16 *HSize, u16 *VSize)
| This function gets the number of Active Pixels per Scan line and number of Active Lines per Frame from the Active Size register. More...
void | XCresample_SetFieldParity (XCresample *InstancePtr, u8 FieldParity)
| This functions sets the field parity value of the Chroma Resampler core in the Encoding register. More...
u8 | XCresample_GetFieldParity (XCresample *InstancePtr)
| This function returns the field parity value of the Chroma Resampler core from Encoding register. More...
void | XCresample_SetChromaParity (XCresample *InstancePtr, u8 ChromaParity)
| This functions sets the Chroma parity value of the Chroma Resampler core in the Encoding register. More...
u8 | XCresample_GetChromaParity (XCresample *InstancePtr)
| This function returns the value of chroma parity of the Chroma Resampler core from Encoding register. More...
void | XCresample_SetHCoefs (XCresample *InstancePtr, XHorizontal_Coeffs *Coeff, u32 Phases)
| This function sets the horizontal coefficient values of the Chroma Resampler core for phase 0 or phase 1 or both phases. More...
void | XCresample_GetHCoefs (XCresample *InstancePtr, XHorizontal_Coeffs *Coeff)
| This function gets the coefficient values from all the Horizontal Coefficient registers of phase0 and phase1 of the Chroma Resampler core. More...
void | XCresample_SetVCoefs (XCresample *InstancePtr, XVertical_Coeffs *Coeff, u32 Phases)
| This function sets the vertical coefficient values of the Chroma Resampler for phase 0 or for phase 1 or for both phases. More...
void | XCresample_GetVCoefs (XCresample *InstancePtr, XVertical_Coeffs *Coeff)
| This function gets the vertical coefficient values of the Chroma Resampler core from all Vertical Coefficient registers of phase0 and phase1. More...
void | XCresample_Clear_HCoef_Values (XCresample *InstancePtr)
| This function clears all horizontal coefficients of the Chroma Resampler core which are previously set. More...
void | XCresample_Clear_VCoef_Values (XCresample *InstancePtr)
| This function clears all vertical coefficients of a the Chroma Resampler which are previously set. More...