![]() |
ycrcb2rgb
Xilinx SDK Drivers API Documentation
|
Functions | |
int | XYCrCb2Rgb_CfgInitialize (XYCrCb2Rgb *InstancePtr, XYCrCb2Rgb_Config *CfgPtr, u32 EffectiveAddr) |
This function initializes the YCrCb2Rgb core. More... | |
void | XYCrCb2Rgb_EnableDbgByPass (XYCrCb2Rgb *InstancePtr) |
This function sets the bypass bit of control register to switch the core to bypass mode if debug is enabled in the IP. More... | |
int | XYCrCb2Rgb_IsDbgByPassEnabled (XYCrCb2Rgb *InstancePtr) |
This function returns the current bypass mode of the core. More... | |
void | XYCrCb2Rgb_DisableDbgBypass (XYCrCb2Rgb *InstancePtr) |
This function disables Bypass mode of the core. More... | |
void | XYCrCb2Rgb_EnableDbgTestPattern (XYCrCb2Rgb *InstancePtr) |
This function switches the core to test-pattern generator mode if debug feature is enabled. More... | |
int | XYCrCb2Rgb_IsDbgTestPatternEnabled (XYCrCb2Rgb *InstancePtr) |
This function returns the test-pattern generator mode (enabled or not), if debug feature is enabled. More... | |
void | XYCrCb2Rgb_DisableDbgTestPattern (XYCrCb2Rgb *InstancePtr) |
This function disables debug test pattern mode. More... | |
u32 | XYCrCb2Rgb_GetVersion (XYCrCb2Rgb *InstancePtr) |
This function facilitates software identification of exact version of the YCrCb2rGB hardware (h/w). More... | |
u32 | XYCrCb2Rgb_GetDbgFrameCount (XYCrCb2Rgb *InstancePtr) |
This function returns the frame count, the number of frames processed since power-up. More... | |
u32 | XYCrCb2Rgb_GetDbgLineCount (XYCrCb2Rgb *InstancePtr) |
This function returns Line count, the number of lines processed since power-up. More... | |
u32 | XYCrCb2Rgb_GetDbgPixelCount (XYCrCb2Rgb *InstancePtr) |
This function returns the pixel count, the number of pixels processed since power up. More... | |
void | XYCrCb2Rgb_Setup (XYCrCb2Rgb *InstancePtr) |
This function sets up double buffered active size register and enables the register update. More... | |
void | XYCrCb2Rgb_SetActiveSize (XYCrCb2Rgb *InstancePtr, u16 HSize, u16 VSize) |
This function sets active H/V sizes in the active frame size register. More... | |
void | XYCrCb2Rgb_GetActiveSize (XYCrCb2Rgb *InstancePtr, u16 *HSize, u16 *VSize) |
This function gets the active H/V sizes of the YCrCb2Rgb core from active size register. More... | |
void | XYCrCb2Rgb_SetRGBMax (XYCrCb2Rgb *InstancePtr, u32 RGBMax) |
This function sets the RGB maximum value on YCrCb2Rgb channels of the output. More... | |
u32 | XYCrCb2Rgb_GetRGBMax (XYCrCb2Rgb *InstancePtr) |
This function gets the maximum value on RGB channels of the output. More... | |
void | XYCrCb2Rgb_SetRGBMin (XYCrCb2Rgb *InstancePtr, u32 RGBMin) |
This function sets minimum value on RGB channels of the output. More... | |
u32 | XYCrCb2Rgb_GetRGBMin (XYCrCb2Rgb *InstancePtr) |
This function gets the minimum value on RGB channels of the output. More... | |
void | XYCrCb2Rgb_SetROffset (XYCrCb2Rgb *InstancePtr, u32 ROffset) |
This function sets offset compensation value on the Red channel. More... | |
u32 | XYCrCb2Rgb_GetROffset (XYCrCb2Rgb *InstancePtr) |
This function gets offset compensation value from the Red channel. More... | |
void | XYCrCb2Rgb_SetGOffset (XYCrCb2Rgb *InstancePtr, u32 GOffset) |
This function sets offset compensation value on the Green channel. More... | |
u32 | XYCrCb2Rgb_GetGOffset (XYCrCb2Rgb *InstancePtr) |
This function gets offset compensation value from the Green channel. More... | |
void | XYCrCb2Rgb_SetBOffset (XYCrCb2Rgb *InstancePtr, u32 BOffset) |
This function sets offset compensation value on the Blue channel. More... | |
u32 | XYCrCb2Rgb_GetBOffset (XYCrCb2Rgb *InstancePtr) |
This function gets offset compensation value from the Blue channel. More... | |
void | XYCrCb2Rgb_SetCoefs (XYCrCb2Rgb *InstancePtr, struct XYCrCb2Rgb_Coefficients *Coef) |
This function sets A, B, C and D coefficients. More... | |
void | XYCrCb2Rgb_GetCoefs (XYCrCb2Rgb *InstancePtr, struct XYCrCb2Rgb_Coefficients *Coef) |
This function returns A, B, C and D coefficients. More... | |
void | XYCrCb2Rgb_Select_Standard (XYCrCb2Rgb *InstancePtr, enum XYcc_Standards StandardSel, enum XYcc_OutputRanges InputRange, u32 DataWidth, struct XYCrCb2Rgb_Coef_Inputs *CoefIn) |
This function populates an XYCrCb2Rgb_Coef_Inputs structure with the values from the selected video standard. More... | |
u32 | XYCrCb2Rgb_Coefficient_Translation (XYCrCb2Rgb *InstancePtr, struct XYCrCb2Rgb_Coef_Inputs *CoefIn, struct XYCrCb2Rgb_Coef_Outputs *CoefOut, u32 DataWidth, u32 MWidth) |
This function translates the XYCrCb2Rgb_Coef_Inputs structure into the XYCrCb2Rgb_Coef_Outputs structure that can be used to program the core's registers. More... | |
void | XYCrCb2Rgb_Select_OutputRange (XYCrCb2Rgb *InstancePtr, enum XYcc_OutputRanges Range) |
This function governs the range of outputs R, G and B by affecting the conversion coefficients as well as the clipping and clamping values. More... | |