dcsub
Vitis Drivers API Documentation
xdc.c File Reference

Functions

void XDc_CfgInitialize (XDc *InstancePtr, u32 BaseAddr)
 This function intializes the configuration for the DC Instance. More...
 
void XDc_Initialize (XDc *InstancePtr)
 This function initializes all the data structures of the XDc Instance. More...
 
void XDc_WriteProtEnable (XDc *InstancePtr)
 This function disables writes to DC. More...
 
void XDc_WriteProtDisable (XDc *InstancePtr)
 This function enables writes to DC. More...
 
void XDc_SetVidInterfaceMode (XDc *InstancePtr)
 This function sets the mode for DC Instance. More...
 
void XDc_SetBlenderBgColor (XDc *InstancePtr)
 This function sets the blender background color. More...
 
void XDc_SetGlobalAlpha (XDc *InstancePtr)
 This function enables or disables global alpha. More...
 
void XDc_SetInputVideoSelect (XDc *InstancePtr)
 This function selects the source type for the Video and Graphics input streams that are passed on to the blender block. More...
 
void XDc_SetInputAudioSelect (XDc *InstancePtr)
 This function selects the source type for audio stream. More...
 
XDc_VideoAttribute * XDc_GetNonLiveVideoAttribute (XDc_VideoFormat Format)
 This function looks up if the video format is valid NonLiveVideo format or not and returns a pointer to the attributes of the video. More...
 
void XDc_SetNonLiveInputFormat (XDc *InstancePtr, u8 VideoSrc, XDc_VideoAttribute *Video)
 This function applies Attributes for Non - Live source(Stream1/Stream2). More...
 
XDc_VideoAttribute * XDc_GetLiveVideoAttribute (XDc_VideoFormat Format)
 This function looks up if the video format is valid LiveVideo format or not and returns a pointer to the attributes of the video. More...
 
XDc_VideoAttribute * XDc_GetOutputVideoAttribute (XDc_VideoFormat Format, XDc_VidInterface Mode)
 This function looks up if the output video format is valid or not and returns a pointer to the attributes of the video. More...
 
void XDc_SetOutputVideoFormat (XDc *InstancePtr)
 This function configures the Output of the Video Pipeline. More...
 
void XDc_EnablePartialBlend (XDc *InstancePtr)
 This function enables Partial Blend for corresponding video stream. More...
 
u32 XDc_ConfigureStream (XDc *InstancePtr, u8 StreamSrc)
 This function configures DC Blender. More...
 
void XDc_SetOutputCSC (XDc *InstancePtr)
 This function converts the Blender output to the desired output format. More...
 
void XDc_SetChromaKey (XDc *InstancePtr)
 This function enables Chroma Keying. More...
 
void XDc_SetCursorBlend (XDc *InstancePtr)
 This function enables Cursor blending. More...
 
void XDc_SetAudioVideoClkSrc (XDc *InstancePtr)
 This function sets the Audio and Video Clock Source and the video timing source. More...
 
void XDc_VideoSoftReset (XDc *InstancePtr)
 This function applies a soft reset to the Video pipeline. More...
 
void XDc_VidClkSelect (XDc *InstancePtr)
 This function configures DC Video Clock Select. More...
 
void XDc_EnableStream1Buffers (XDc *InstancePtr)
 This function enables the video channel interface between the DCDMA and the DC. More...
 
void XDc_EnableStream2Buffers (XDc *InstancePtr)
 This function enables the video channel interface between the DCDMA and the DC. More...
 
void XDc_AudioSoftReset (XDc *InstancePtr)
 This function applies a soft reset to the Audio pipeline. More...
 
void XDc_AudLineResetDisable (XDc *InstancePtr)
 This function enables End of Line Reset for reduced blanking resolutions. More...
 
void XDc_AudExtraBSControl (XDc *InstancePtr)
 This function enables Extra BS Control for AUDIO_SOFT_RESET. More...
 
void XDc_SetSdpSource (XDc *InstancePtr)
 This function enables SDP from DMA or PL. More...
 
void XDc_SetSdpEmptyThreshold (XDc *InstancePtr)
 This function sets SDP Empty Threshold value. More...
 
void XDc_SetSdpCursorBuffers (XDc *InstancePtr)
 This function enables SDP & Cursor buffers. More...
 
void XDc_SetVidFrameSwitch (XDc *InstancePtr)
 This function configures the register to gate input video on/off at video frame boundary. More...
 
void XDc_SetNonLiveLatency (XDc *InstancePtr)
 This function configures the memory fetch latency. More...
 
void XDc_SetStcCtrl (XDc *InstancePtr)
 This function enables STC Control. More...
 
void XDc_SetStcLoad (XDc *InstancePtr)
 This function loads STC Init value. More...
 
void XDc_SetStcAdjust (XDc *InstancePtr)
 This function Adjusts STC Control value. More...
 
u64 XDc_GetStcVSyncTs (XDc *InstancePtr)
 This function reads VSync STC value and returns it. More...
 
u64 XDc_GetStcExtVSyncTs (XDc *InstancePtr)
 This function reads External VSync STC value and returns it. More...
 
u64 XDc_GetStcCustomEventTs (XDc *InstancePtr)
 This function reads Custom Event STC value and returns it. More...
 
u64 XDc_GetStcCustomEvent2Ts (XDc *InstancePtr)
 This function reads Custom Event2 STC value and returns it. More...
 
u64 XDc_GetStcSnapshot (XDc *InstancePtr)
 This function reads STC Snapshot value and returns it. More...
 
void XDc_EnableAudioBuffer (XDc *InstancePtr)
 This function Enable Audio Buffer channel and sets the burst length. More...
 
void XDc_AudioChannelSelect (XDc *InstancePtr)
 This function enables audio channel select and programs sample rate. More...
 
void XDc_AudClkSelect (XDc *InstancePtr)
 This function configures DC Audio Clock Select. More...
 
void XDc_SetAudInterface (XDc *InstancePtr)
 This function sets the audio mode for DC Instance. More...
 
void XDc_EnableAudio (XDc *InstancePtr)
 This function enables audio to DC. More...
 
void XDc_DisableAudio (XDc *InstancePtr)
 This function disables audio to DC. More...
 
void XDc_SetVideoTiming (XDc *InstancePtr)
 This function configures DC Timings register. More...