v_mix
Vitis Drivers API Documentation
xv_mix_l2.c File Reference

Functions

int XVMix_Initialize (XV_Mix_l2 *InstancePtr, u16 DeviceId)
 XVMix_Initialize - Initialize the XV_Mix_l2 instance. More...
 
void XVMix_InterruptEnable (XV_Mix_l2 *InstancePtr)
 Enables interrupts for the XV_Mix_l2 instance. More...
 
void XVMix_InterruptDisable (XV_Mix_l2 *InstancePtr)
 XVMix_InterruptDisable - Disables interrupts for the XV_Mix_l2 instance. More...
 
void XVMix_Start (XV_Mix_l2 *InstancePtr)
 Starts the video mixer hardware. More...
 
void XVMix_Stop (XV_Mix_l2 *InstancePtr)
 Stops the XV_Mix_l2 core operation. More...
 
void XVMix_SetVidStream (XV_Mix_l2 *InstancePtr, const XVidC_VideoStream *StrmIn)
 Sets the video stream configuration for the mixer instance. More...
 
int XVMix_LayerEnable (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 This function enables the specified layer of the core instance. More...
 
int XVMix_LayerDisable (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 This function disables the specified layer of the core instance. More...
 
int XVMix_IsLayerEnabled (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 This function returns state of the specified layer [enabled or disabled]. More...
 
void XVMix_SetBackgndColor (XV_Mix_l2 *InstancePtr, XVMix_BackgroundId ColorId, XVidC_ColorDepth bpc)
 This function sets the background color to be displayed when stream layer is disabled. More...
 
int XVMix_SetLayerWindow (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, XVidC_VideoWindow *Win, u32 StrideInBytes)
 This function configures the window coordinates of the specified layer. More...
 
int XVMix_GetLayerWindow (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, XVidC_VideoWindow *Win)
 This function read the window coordinates of the specified layer. More...
 
int XVMix_MoveLayerWindow (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, u16 StartX, u16 StartY)
 This function moved the window position of the specified layer to new coordinates. More...
 
int XVMix_SetLayerScaleFactor (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, XVMix_Scalefactor Scale)
 This function configures the scaling factor of the specified layer. More...
 
int XVMix_GetLayerScaleFactor (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 This function returns the scaling factor of the specified layer. More...
 
int XVMix_SetLayerAlpha (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, u16 Alpha)
 This function configures the Alpha level of the specified layer. More...
 
int XVMix_GetLayerAlpha (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 This function returns the alpha of the specified layer. More...
 
int XVMix_GetLayerColorFormat (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, XVidC_ColorFormat *Cfmt)
 This function reads the color format of the specified layer. More...
 
int XVMix_SetLayerBufferAddr (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, UINTPTR Addr)
 This function sets the buffer address of the specified layer. More...
 
UINTPTR XVMix_GetLayerBufferAddr (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 This function reads the buffer address of the specified layer. More...
 
int XVMix_SetLayerChromaBufferAddr (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, UINTPTR Addr)
 This function sets the buffer address of the specified layer for the UV plane for semi-planar formats for the U plane for 3-planar formats. More...
 
UINTPTR XVMix_GetLayerChromaBufferAddr (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 This function reads the buffer address of the specified layer for the UV plane for semi-planar formats and for the U plane for 3-planar formats. More...
 
int XVMix_SetLayerChromaBuffer2Addr (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId, UINTPTR Addr)
 Set the chroma buffer address for the specified layer. More...
 
UINTPTR XVMix_GetLayerChromaBuffer2Addr (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 Retrieves the address of the second chroma buffer for a specified layer in the video mixer instance. More...
 
int XVMix_SetLogoColorKey (XV_Mix_l2 *InstancePtr, XVMix_LogoColorKey ColorKeyData)
 Set the logo color key values for the XV_Mix_l2 instance. More...
 
int XVMix_GetLogoColorKey (XV_Mix_l2 *InstancePtr, XVMix_LogoColorKey *ColorKeyData)
 Retrieves the current logo color key range from the hardware. More...
 
int XVMix_LoadLogo (XV_Mix_l2 *InstancePtr, XVidC_VideoWindow *Win, u8 *RBuffer, u8 *GBuffer, u8 *BBuffer)
 Loads a logo image into the mixer hardware. More...
 
int XVMix_LoadLogoPixelAlpha (XV_Mix_l2 *InstancePtr, XVidC_VideoWindow *Win, u8 *ABuffer)
 XVMix_LoadLogoPixelAlpha - Loads per-pixel alpha values for a logo window into the hardware. More...
 
void XVMix_DbgReportStatus (XV_Mix_l2 *InstancePtr)
 XVMix_DbgReportStatus - Prints the current status and configuration of the mixer instance. More...
 
void XVMix_DbgLayerInfo (XV_Mix_l2 *InstancePtr, XVMix_LayerId LayerId)
 Prints debug information for a specific layer in the video mixer. More...
 
u32 XVMix_SetCscCoeffs (XV_Mix_l2 *InstancePtr, XVidC_ColorStd colorStandard, XVidC_ColorRange colorRange, u8 colorDepth)
 Sets the Color Space Conversion (CSC) coefficients for the XV_Mix_l2 instance. More...