![]() |
ccm
Xilinx SDK Drivers API Documentation
|
Functions | |
int | XCcm_CfgInitialize (XCcm *InstancePtr, XCcm_Config *CfgPtr, u32 EffectiveAddr) |
This function initializes an CCM core. More... | |
void | XCcm_Setup (XCcm *InstancePtr) |
This function sets the input/output frame size in Active Size register and enables the register update. More... | |
void | XCcm_EnableDbgByPass (XCcm *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 | XCcm_IsDbgByPassEnabled (XCcm *InstancePtr) |
This function returns the current bypass mode settings from Control register of the CCM core. More... | |
void | XCcm_DisableDbgByPass (XCcm *InstancePtr) |
This function disables the Bypass mode of the CCM core. More... | |
void | XCcm_EnableDbgTestPattern (XCcm *InstancePtr) |
This function enables the test-pattern mode if debug feature is enabled by setting test-pattern bit of the Control register of the CCM core. More... | |
int | XCcm_IsDbgTestPatternEnabled (XCcm *InstancePtr) |
This function returns the test-pattern mode (enabled or not) from Control register of the CCM core, if debug feature was enabled. More... | |
void | XCcm_DisableDbgTestPattern (XCcm *InstancePtr) |
This function disables debug test pattern mode in Control register of the CCM core, if Debug feature is enabled. More... | |
u32 | XCcm_GetVersion (XCcm *InstancePtr) |
This function gets the Version of the CCM core. More... | |
u32 | XCcm_GetDbgFrameCount (XCcm *InstancePtr) |
This function gets number of frames processed since power-up or last time the core is reset. More... | |
u32 | XCcm_GetDbgLineCount (XCcm *InstancePtr) |
This function gets the number of lines processed since power-up or last time the core is reset. More... | |
u32 | XCcm_GetDbgPixelCount (XCcm *InstancePtr) |
This function gets the number of pixels processed since power-up or last time the core is reset. More... | |
void | XCcm_SetActiveSize (XCcm *InstancePtr, u16 HSize, u16 VSize) |
This function sets the active H/V sizes in the Active Size register. More... | |
void | XCcm_GetActiveSize (XCcm *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 Frame Size register. More... | |
void | XCcm_SetCoefMatrix (XCcm *InstancePtr, XCcm_Coefs *CoefValues) |
This function sets the coefficients of color correction matrix in K11 to K33 registers of the CCM core. More... | |
void | XCcm_GetCoefMatrix (XCcm *InstancePtr, XCcm_Coefs *CoefValues) |
This function gets the coefficient values of color correction matrix from K11 to K33 registers of the CCM core. More... | |
void | XCcm_SetRgbOffset (XCcm *InstancePtr, s32 ROffset, s32 GOffset, s32 BOffset) |
This function sets the offset compensation for red, blue and green colors in corresponding Roffset, Goffset and Boffset registers of the CCM core. More... | |
void | XCcm_GetRgbOffset (XCcm *InstancePtr, s32 *ROffset, s32 *GOffset, s32 *BOffset) |
This function gets the offset compensation values of red, blue, green colors from Roffset, Goffset and Boffset registers. More... | |
void | XCcm_SetClip (XCcm *InstancePtr, u32 Clip) |
This function sets the clip value in the Clip register of the CCM core. More... | |
u32 | XCcm_GetClip (XCcm *InstancePtr) |
This function gets the clip value from Clip register of the CCM core. More... | |
void | XCcm_SetClamp (XCcm *InstancePtr, u32 Clamp) |
This function sets the clamp value in the Clamp register. More... | |
u32 | XCcm_GetClamp (XCcm *InstancePtr) |
This function returns the clamp value from the Clamp register. More... | |