v_csc
Vitis Drivers API Documentation
xv_csc_l2.c File Reference

Enumerations

enum  XV_CSC_REG_UPDT_WIN
 This typedef enumerates the window within which the csc core will have an impact. More...
 

Functions

int XV_CscInitialize (XV_Csc_l2 *InstancePtr, u16 DeviceId)
 This function initializes the core instance. More...
 
void XV_CscSetPowerOnDefaultState (XV_Csc_l2 *CscPtr)
 This function sets the CSC IP layer 2 fw registers to power on default state. More...
 
void XV_CscStart (XV_Csc_l2 *InstancePtr)
 This function starts the Color space converter core. More...
 
void XV_CscStop (XV_Csc_l2 *InstancePtr)
 This function stops the Color space converter. More...
 
void XV_CscSetActiveSize (XV_Csc_l2 *InstancePtr, u32 width, u32 height)
 This function set the frame resolution for the Color space converter This also will reset the demo window to full frame. More...
 
int XV_CscSetDemoWindow (XV_Csc_l2 *InstancePtr, XVidC_VideoWindow *DemoWindow)
 This function sets the demo window for the Color space converter. More...
 
int XV_CscSetColorspace (XV_Csc_l2 *InstancePtr, XVidC_ColorFormat cfmtIn, XVidC_ColorFormat cfmtOut, XVidC_ColorStd cstdIn, XVidC_ColorStd cstdOut, XVidC_ColorRange cRangeOut)
 This function configures the Color space converter to user specified settings. More...
 
void XV_CscSetBrightness (XV_Csc_l2 *InstancePtr, s32 val)
 This function set brightness to specified value. More...
 
void XV_CscSetContrast (XV_Csc_l2 *InstancePtr, s32 val)
 This function set contrast to specified value. More...
 
void XV_CscSetSaturation (XV_Csc_l2 *InstancePtr, s32 val)
 This function set saturation to specified value. More...
 
void XV_CscSetRedGain (XV_Csc_l2 *InstancePtr, s32 val)
 This function set red gain to specified value. More...
 
void XV_CscSetGreenGain (XV_Csc_l2 *InstancePtr, s32 val)
 This function set green gain to specified value. More...
 
void XV_CscSetBlueGain (XV_Csc_l2 *InstancePtr, s32 val)
 This function set blue gain to specified value. More...
 
void XV_CscDbgReportStatus (XV_Csc_l2 *InstancePtr)
 This function prints CSC IP status on console. More...