![]() |
v_hdmitxss1
Vitis Drivers API Documentation
|
This is main header file of the Xilinx HDMI TX Subsystem driver.
HDMI Transmitter Subsystem Overview
HDMI TX Subsystem is a collection of IP cores bounded together by software to provide an abstract view of the processing pipe. It hides all the complexities of programming the underlying cores from end user.
Subsystem Driver Features
HDMI Subsystem supports following features
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 EB 22/05/18 Initial release.
Data Structures | |
| struct | XV_HdmiTxSs1_Log |
| This typedef contains the logging mechanism for debug. More... | |
| struct | XV_HdmiTxSs1_SubCore |
| Sub-Core Configuration Table. More... | |
| struct | XV_HdmiTxSs1_Config |
| Video Processing Subsystem configuration structure. More... | |
| struct | XV_HdmiTxSs1_DynHdr_Config |
| Dynamic HDR configuration structure. More... | |
| struct | XV_HdmiTxSs1 |
| The XVprocss driver instance data. More... | |
Macros | |
| #define | HDMITXSS1_H |
| < prevent circular inclusions by using protection macros More... | |
Typedefs | |
| typedef void(* | XV_HdmiTxSs1_Callback )(void *CallbackRef) |
| Callback type for interrupt. More... | |
| typedef u64(* | XV_HdmiTxSs1_LogCallback )(void *CallbackRef) |
| Callback type for interrupt. More... | |
Functions | |
| XV_HdmiTxSs1_Config * | XV_HdmiTxSs1_LookupConfig (u32 DeviceId) |
| This function looks for the device configuration based on the unique device ID. More... | |
| void | XV_HdmiTxSS1_SetHdmiFrlMode (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the core into HDMI mode. More... | |
| void | XV_HdmiTxSS1_SetHdmiTmdsMode (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the core into HDMI mode. More... | |
| void | XV_HdmiTxSS1_SetDviMode (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the core into DVI mode. More... | |
| void | XV_HdmiTxSS1_HdmiTx1IntrHandler (XV_HdmiTxSs1 *InstancePtr) |
| This function calls the interrupt handler for HDMI TX. More... | |
| int | XV_HdmiTxSs1_CfgInitialize (XV_HdmiTxSs1 *InstancePtr, XV_HdmiTxSs1_Config *CfgPtr, UINTPTR EffectiveAddr) |
| This function initializes the video subsystem and included sub-cores. More... | |
| void | XV_HdmiTxSS1_SetAppVersion (XV_HdmiTxSs1 *InstancePtr, u8 maj, u8 min) |
| This function will set the major and minor application version in TXSs struct. More... | |
| void | XV_HdmiTxSs1_Start (XV_HdmiTxSs1 *InstancePtr) |
| This function starts the HDMI TX subsystem including all sub-cores that are included in the processing pipeline for a given use-case. More... | |
| void | XV_HdmiTxSs1_Stop (XV_HdmiTxSs1 *InstancePtr) |
| This function stops the HDMI TX subsystem including all sub-cores Stop the video pipe starting from front to back. More... | |
| void | XV_HdmiTxSs1_Reset (XV_HdmiTxSs1 *InstancePtr) |
| This function resets the video subsystem sub-cores. More... | |
| void | XV_HdmiTxSs1_TXCore_VRST (XV_HdmiTxSs1 *InstancePtr, u8 Reset) |
| This function asserts or releases the Internal Video reset of the HDMI subcore within the subsystem. More... | |
| void | XV_HdmiTxSs1_TXCore_LRST (XV_HdmiTxSs1 *InstancePtr, u8 Reset) |
| This function asserts or releases the Internal Link reset of the HDMI subcore within the subsystem. More... | |
| void | XV_HdmiTxSs1_VRST (XV_HdmiTxSs1 *InstancePtr, u8 Reset) |
| This function asserts or releases the video reset of other blocks within the subsystem. More... | |
| void | XV_HdmiTxSs1_SYSRST (XV_HdmiTxSs1 *InstancePtr, u8 Reset) |
| This function asserts or releases the system reset of other blocks within the subsystem. More... | |
| void | XV_HdmiTxSs1_SetGcpAvmuteBit (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the HDMI TX AUX GCP register AVMUTE bit. More... | |
| void | XV_HdmiTxSs1_ClearGcpAvmuteBit (XV_HdmiTxSs1 *InstancePtr) |
| This function clears the HDMI TX AUX GCP register AVMUTE bit. More... | |
| void | XV_HdmiTxSs1_SetGcpClearAvmuteBit (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the HDMI TX AUX GCP register CLEAR_AVMUTE bit. More... | |
| void | XV_HdmiTxSs1_ClearGcpClearAvmuteBit (XV_HdmiTxSs1 *InstancePtr) |
| This function clears the HDMI TX AUX GCP register CLEAR_AVMUTE bit. More... | |
| int | XV_HdmiTxSs1_SetCallback (XV_HdmiTxSs1 *InstancePtr, XV_HdmiTxSs1_HandlerType HandlerType, void *CallbackFuncPtr, void *CallbackRef) |
| This function installs an asynchronous callback function for the given HandlerType: More... | |
| int | XV_HdmiTxSs1_SetLogCallback (XV_HdmiTxSs1 *InstancePtr, u64 *CallbackFunc, void *CallbackRef) |
| This function installs an asynchronous callback function for the LogWrite API: More... | |
| int | XV_HdmiTxSs1_SendCvtemAuxPackets (XV_HdmiTxSs1 *InstancePtr, XHdmiC_Aux *DscAuxFifo) |
| This function is used to Send CVTEM Packet. More... | |
| int | XV_HdmiTxSs1_ReadEdid (XV_HdmiTxSs1 *InstancePtr, u8 *BufferPtr, u32 BufferSize) |
| This function reads the HDMI Sink EDID. More... | |
| int | XV_HdmiTxSs1_ReadEdid_extension (XV_HdmiTxSs1 *InstancePtr, XV_VidC_EdidCntrlParam *EdidCtrlParam) |
| This function reads the HDMI Sink EDID. More... | |
| int | XV_HdmiTxSs1_ReadEdidSegment (XV_HdmiTxSs1 *InstancePtr, u8 *Buffer, u8 segment) |
| This function reads one block from the HDMI Sink EDID. More... | |
| void | XV_HdmiTxSs1_ShowEdid (XV_HdmiTxSs1 *InstancePtr) |
| This function shows the HDMI source edid. More... | |
| void | XV_HdmiTxSs1_ShowEdid_extension (XV_HdmiTxSs1 *InstancePtr, XV_VidC_EdidCntrlParam *EdidCtrlParam) |
| This function shows the HDMI source edid. More... | |
| void | XV_HdmiTxSs1_SetScrambler (XV_HdmiTxSs1 *InstancePtr, u8 Enable) |
| This function enables / disables the TX scrambler. More... | |
| void | XV_HdmiTxSs1_StreamStart (XV_HdmiTxSs1 *InstancePtr) |
| This function starts the HDMI TX stream. More... | |
| void | XV_HdmiTxSs1_SendAuxInfoframe (XV_HdmiTxSs1 *InstancePtr, void *AuxPtr) |
| This function sends audio info frames. More... | |
| u32 | XV_HdmiTxSs1_SendGenericAuxInfoframe (XV_HdmiTxSs1 *InstancePtr, void *AuxPtr) |
| This function sends generic info frames. More... | |
| void | XV_HdmiTxSs1_SetAudioChannels (XV_HdmiTxSs1 *InstancePtr, u8 AudioChannels) |
| This function Sets the HDMI TX SS number of active audio channels. More... | |
| void | XV_HdmiTxSs1_AudioMute (XV_HdmiTxSs1 *InstancePtr, u8 Enable) |
| This function set HDMI TX audio parameters. More... | |
| void | XV_HdmiTxSs1_SetAudioFormat (XV_HdmiTxSs1 *InstancePtr, XV_HdmiTx1_AudioFormatType format) |
| This function Sets the HDMI TX SS Audio Format. More... | |
| void | XV_HdmiTxSs1_SetIntACR (XV_HdmiTxSs1 *InstancePtr) |
| This function Sets use the internal ACR Module. More... | |
| void | XV_HdmiTxSs1_SetExtACR (XV_HdmiTxSs1 *InstancePtr) |
| This function Sets use the external ACR Module. More... | |
| void | XV_HdmiTxSs1_SetSampleFrequency (XV_HdmiTxSs1 *InstancePtr, XHdmiC_SamplingFrequencyVal AudSampleFreqVal) |
| This function Sets the audio sampling frequency. More... | |
| XV_HdmiTx1_AudioFormatType | XV_HdmiTxSs1_GetAudioFormat (XV_HdmiTxSs1 *InstancePtr) |
| This function gets the active audio format. More... | |
| XHdmiC_Aux * | XV_HdmiTxSs1_GetAuxiliary (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the pointer to HDMI TX SS Aux structure. More... | |
| XHdmiC_AVI_InfoFrame * | XV_HdmiTxSs1_GetAviInfoframe (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the pointer to HDMI TX SS AVI InfoFrame structure. More... | |
| XHdmiC_AudioInfoFrame * | XV_HdmiTxSs1_GetAudioInfoframe (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the pointer to HDMI TX SS Audio InfoFrame structure. More... | |
| XHdmiC_VSIF * | XV_HdmiTxSs1_GetVSIF (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the pointer to HDMI TX SS Vendor Specific InfoFrame structure. More... | |
| XHdmiC_DRMInfoFrame * | XV_HdmiTxSs1_GetDrmInfoframe (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the pointer to HDMI 2.1 TX SS DRM InfoFrame structure. More... | |
| u32 | XV_HdmiTxSs1_SetStream (XV_HdmiTxSs1 *InstancePtr, XVidC_VideoTiming VideoTiming, XVidC_FrameRate FrameRate, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc, u8 IsDSCompressed, XVidC_3DInfo *Info3D, u64 *TmdsClk) |
| This function set HDMI TX susbsystem stream parameters. More... | |
| XVidC_VideoStream * | XV_HdmiTxSs1_GetVideoStream (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the pointer to HDMI TX SS video stream. More... | |
| void | XV_HdmiTxSs1_SetVideoStream (XV_HdmiTxSs1 *InstancePtr, XVidC_VideoStream VidStream) |
| This function Sets the HDMI TX SS video stream. More... | |
| void | XV_HdmiTxSs1_SetSamplingRate (XV_HdmiTxSs1 *InstancePtr, u8 SamplingRate) |
| This function Sets the HDMI TX SS video Identification code. More... | |
| void | XV_HdmiTxSs1_SetVideoIDCode (XV_HdmiTxSs1 *InstancePtr, u8 Vic) |
| This function Sets the HDMI TX SS video Identification code. More... | |
| u8 | XV_HdmiTxSs1_GetVideoStreamType (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the HDMI TX SS video stream type. More... | |
| u8 | XV_HdmiTxSs1_GetTransportMode (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the pointer to HDMI TX SS video stream type. More... | |
| void | XV_HdmiTxSs1_SetVideoStreamScramblingFlag (XV_HdmiTxSs1 *InstancePtr, u8 IsScrambled) |
| This function Sets the HDMI TX SS video stream type. More... | |
| void | XV_HdmiTxSs1_SetVideoStreamScramblingOverrideFlag (XV_HdmiTxSs1 *InstancePtr, u8 OverrideScramble) |
| This function Sets the HDMI TX SS video stream scrambling behaviour. More... | |
| void | XV_HdmiTxSs1_SetTmdsClockRatio (XV_HdmiTxSs1 *InstancePtr, u8 Ratio) |
| This function Sets the HDMI TX SS TMDS Cock Ratio. More... | |
| u32 | XV_HdmiTxSs1_GetTmdsClockFreqHz (XV_HdmiTxSs1 *InstancePtr) |
| This function Sets the HDMI TX SS video Identification code. More... | |
| int | XV_HdmiTxSs1_DetectHdmi20 (XV_HdmiTxSs1 *InstancePtr) |
| This function detects connected sink is a HDMI 2.0/HDMI 1.4 sink device. More... | |
| void | XV_HdmiTxSs1_RefClockChangeInit (XV_HdmiTxSs1 *InstancePtr) |
| This function is called when HDMI TX SS TMDS clock changes. More... | |
| void | XV_HdmiTxSs1_ReportInfo (XV_HdmiTxSs1 *InstancePtr) |
| This function prints the HDMI TX SS subcore versions. More... | |
| void | XV_HdmiTxSs1_DebugInfo (XV_HdmiTxSs1 *InstancePtr) |
| This function prints debug information on STDIO/UART console. More... | |
| void | XV_HdmiTxSs1_RegisterDebug (XV_HdmiTxSs1 *InstancePtr) |
| This function prints out the sub-core register dump. More... | |
| int | XV_HdmiTxSs1_IsStreamUp (XV_HdmiTxSs1 *InstancePtr) |
| This function checks if the video stream is up. More... | |
| int | XV_HdmiTxSs1_IsStreamConnected (XV_HdmiTxSs1 *InstancePtr) |
| This function checks if the interface is connected. More... | |
| int | XV_HdmiTxSs1_IsStreamToggled (XV_HdmiTxSs1 *InstancePtr) |
| This function checks if the interface has toggled. More... | |
| u8 | XV_HdmiTxSs1_IsSinkHdcp14Capable (XV_HdmiTxSs1 *InstancePtr) |
| This function determines if the connected HDMI sink is HDCP 1.4 capable. More... | |
| u8 | XV_HdmiTxSs1_IsSinkHdcp22Capable (XV_HdmiTxSs1 *InstancePtr) |
| This function determines if the connected HDMI sink is HDCP 2.2 capable. More... | |
| void | XV_HdmiTxSs1_SetDefaultPpc (XV_HdmiTxSs1 *InstancePtr, u8 Id) |
| This function will set the default in HDF. More... | |
| void | XV_HdmiTxSs1_SetPpc (XV_HdmiTxSs1 *InstancePtr, u8 Id, u8 Ppc) |
| This function will set PPC specified by user. More... | |
| XVidC_PixelsPerClock | XV_HdmiTxSS1_GetCorePpc (XV_HdmiTxSs1 *InstancePtr) |
| This function will set the major and minor application version in TXSs struct. More... | |
| void | XV_HdmiTxSs1_VrrControl (XV_HdmiTxSs1 *InstancePtr, u8 Enable) |
| This function allows enabling/disabling of VRR in HDMI Tx. More... | |
| void | XV_HdmiTxSs1_FSyncControl (XV_HdmiTxSs1 *InstancePtr, u8 Enable) |
| This function allows enabling/disabling of FSync in HDMI Tx. More... | |
| void | XV_HdmiTxSS1_SetVrrMode (XV_HdmiTxSs1 *InstancePtr, u8 mode, u8 VrrEn, u8 FvaFactor, u8 CnmvrrEn) |
| This function configures Video Timing Controller with Adaptive-Sync mode. More... | |
| void | XV_HdmiTxSS1_SetVrrVfpStretch (XV_HdmiTxSs1 *InstancePtr, u16 StretchValue) |
| This function configures vertical front porch stretch limit in Video Timing Controller. More... | |
| void | XV_HdmiTxSS1_DisableVrr (XV_HdmiTxSs1 *InstancePtr) |
| This function disables Adaptive-Sync feature in Video Timing Controller. More... | |
| void | XV_HdmiTxSs1_SetVrrIf (XV_HdmiTxSs1 *InstancePtr, XV_HdmiC_VrrInfoFrame *VrrIF) |
| This function allows setting VRR meta in core. More... | |
| void | XV_HdmiTxSs1_SetCustomVrrIf (XV_HdmiTxSs1 *InstancePtr, XV_HdmiC_VrrInfoFrame *VrrIF, u16 Sync, u16 DataSetLen) |
| This function allows setting Custom VRR meta in core. More... | |
| void | XV_HdmiTxSs1_DynHdr_Control (XV_HdmiTxSs1 *InstancePtr, u8 Flag) |
| This function will enable/disable Dynamic HDR. More... | |
| void | XV_HdmiTxSs1_DynHdr_GOF_Control (XV_HdmiTxSs1 *InstancePtr, u8 Flag) |
| This function will enable/disable GOF for Dynamic HDR. More... | |
| void | XV_HdmiTxSs1_DynHdr_Cfg (XV_HdmiTxSs1 *InstancePtr, XV_HdmiTxSs1_DynHdr_Config *Cfg) |
| This function will configure the HDMI Tx for Dynamic HDR. More... | |
| void | XV_HdmiTxSs1_DynHdr_DM_Control (XV_HdmiTxSs1 *InstancePtr, u8 Flag) |
| This function will enable or disable the Data Mover in Dynamic HDR. More... | |
| u32 | XV_HdmiTxSs1_DynHdr_GetErr (XV_HdmiTxSs1 *InstancePtr) |
| This function will read the error status of the Data Mover for Dynamic HDR. More... | |
| void | XV_HdmiTxSs1_LogReset (XV_HdmiTxSs1 *InstancePtr) |
| This function will reset the driver's logging mechanism. More... | |
| void | XV_HdmiTxSs1_LogWrite (XV_HdmiTxSs1 *InstancePtr, XV_HdmiTxSs1_LogEvent Evt, u8 Data) |
| This function will insert an event in the driver's logginc mechanism. More... | |
| u16 | XV_HdmiTxSs1_LogRead (XV_HdmiTxSs1 *InstancePtr) |
| This function will read the last event from the log. More... | |
| void | XV_HdmiTxSs1_LogDisplay (XV_HdmiTxSs1 *InstancePtr) |
| This function will print the entire log. More... | |
| void | XV_HdmiTxSs1_ReportCoreInfo (XV_HdmiTxSs1 *InstancePtr) |
| This function reports list of cores included in Video Processing Subsystem. More... | |
| void | XV_HdmiTxSs1_ReportTiming (XV_HdmiTxSs1 *InstancePtr) |
| This function prints the HDMI TX SS timing information. More... | |
| void | XV_HdmiTxSs1_ReportDRMInfo (XV_HdmiTxSs1 *InstancePtr) |
| This function prints the HDMI 2.1 TX SS DRM If information. More... | |
| void | XV_HdmiTxSs1_ReportAudio (XV_HdmiTxSs1 *InstancePtr) |
| This function prints the HDMI TX SS audio information. More... | |
| void | XV_HdmiTxSs1_ReportSubcoreVersion (XV_HdmiTxSs1 *InstancePtr) |
| This function prints the HDMI TX SS subcore versions. More... | |
| void | XV_HdmiTxSS1_MaskEnable (XV_HdmiTxSs1 *InstancePtr) |
| This function will enable the video masking. More... | |
| void | XV_HdmiTxSS1_MaskDisable (XV_HdmiTxSs1 *InstancePtr) |
| This function will disable the video masking. More... | |
| void | XV_HdmiTxSS1_MaskNoise (XV_HdmiTxSs1 *InstancePtr, u8 Enable) |
| This function will enable or disable the noise in the video mask. More... | |
| void | XV_HdmiTxSS1_MaskSetRed (XV_HdmiTxSs1 *InstancePtr, u16 Value) |
| This function will set the red component in the video mask. More... | |
| void | XV_HdmiTxSS1_MaskSetGreen (XV_HdmiTxSs1 *InstancePtr, u16 Value) |
| This function will set the green component in the video mask. More... | |
| void | XV_HdmiTxSS1_MaskSetBlue (XV_HdmiTxSs1 *InstancePtr, u16 Value) |
| This function will set the blue component in the video mask. More... | |
| void | XV_HdmiTxSS1_SetBackgroundColor (XV_HdmiTxSs1 *InstancePtr, XVMaskColorId ColorId) |
| This function configures the background color for Video Masking Feature. More... | |
| u8 | XV_HdmiTxSS1_IsMasked (XV_HdmiTxSs1 *InstancePtr) |
| This function will get the current video mask mode. More... | |
| void | XV_HdmiTxSs1_SetFfeLevels (XV_HdmiTxSs1 *InstancePtr, u8 FfeLevel) |
| This function sets the FFE Levels. More... | |
| u8 | XV_HdmiTxSs1_GetTxFfe (XV_HdmiTxSs1 *InstancePtr, u8 Lane) |
| This function returns the FFE Level for the selected lane. More... | |
| u8 | XV_HdmiTxSs1_GetFrlLineRate (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the FRL Line Rate. More... | |
| u8 | XV_HdmiTxSs1_GetFrlRate (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the FRL Rate. More... | |
| u8 | XV_HdmiTxSs1_GetFrlLanes (XV_HdmiTxSs1 *InstancePtr) |
| This function returns the the number of active FRL lanes. More... | |
| int | XV_HdmiTxSs1_StartTmdsMode (XV_HdmiTxSs1 *InstancePtr) |
| This function starts the TMDS mode. More... | |
| int | XV_HdmiTxSs1_StartFrlTraining (XV_HdmiTxSs1 *InstancePtr, XHdmiC_MaxFrlRate FrlRate) |
| This function starts the Fixed Rate Link Training. More... | |
| void | XV_HdmiTxSs1_SetFrlMaxFrlRate (XV_HdmiTxSs1 *InstancePtr, XHdmiC_MaxFrlRate MaxFrlRate) |
| This function sets maximum FRL Rate supported by the system. More... | |
| int | XV_HdmiTxSs1_FrlStreamStart (XV_HdmiTxSs1 *InstancePtr) |
| This function starts FRL stream. More... | |
| int | XV_HdmiTxSs1_FrlStreamStop (XV_HdmiTxSs1 *InstancePtr) |
| This function stops FRL video stream. More... | |
| int | XV_HdmiTxSs1_TmdsStart (XV_HdmiTxSs1 *InstancePtr) |
| This function starts the Legacy HDMI TMDS Mode. More... | |
| void | XV_HdmiTxSs1_SetFrlWrongLtp (XV_HdmiTxSs1 *InstancePtr) |
| This function stops FRL video stream. More... | |
| void | XV_HdmiTxSs1_ClearFrlWrongLtp (XV_HdmiTxSs1 *InstancePtr) |
| This function stops FRL video stream. More... | |
| void | XV_HdmiTxSs1_SetFrlLtp (XV_HdmiTxSs1 *InstancePtr, u8 Lane, XV_HdmiTx1_FrlLtpType Ltp) |
| This function sets the FRL LTP. More... | |
| void | XV_HdmiTxSS1_StopFRLStream (XV_HdmiTxSs1 *InstancePtr) |
| This function will Stop the FRL stream. More... | |
| void | XV_HdmiTxSS1_StartFRLStream (XV_HdmiTxSs1 *InstancePtr) |
| This function will Start the FRL stream. More... | |
| void | XV_HdmiTxSs1_SetFrlExtVidCke (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the CKE Source for External. More... | |
| void | XV_HdmiTxSs1_SetFrlIntVidCke (XV_HdmiTxSs1 *InstancePtr) |
| This function sets the CKE Source for Interal Generated. More... | |
| void | XV_HdmiTxSS1_SetHpdTolerance (XV_HdmiTxSs1 *InstancePtr, XV_HdmiTxSs1_HpdToleranceType Type, u16 ToleranceVal) |
| This function will Configure Timegrid based on the tolerance value for HPD and Toggle event. More... | |
| #define HDMITXSS1_H |
< prevent circular inclusions by using protection macros
| typedef void(* XV_HdmiTxSs1_Callback)(void *CallbackRef) |
Callback type for interrupt.
| CallbackRef | is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. |
| typedef u64(* XV_HdmiTxSs1_LogCallback)(void *CallbackRef) |
Callback type for interrupt.
| CallbackRef | is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. |
These constants specify different types of handler and used to differentiate interrupt requests from peripheral.
| void XV_HdmiTxSs1_AudioMute | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Enable | ||
| ) |
This function set HDMI TX audio parameters.
| Enable | 0: Unmute the audio 1: Mute the audio. |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HDMITXSS1_LOG_EVT_AUDIOMUTE, XV_HDMITXSS1_LOG_EVT_AUDIOUNMUTE, and XV_HdmiTxSs1_LogWrite().
| int XV_HdmiTxSs1_CfgInitialize | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiTxSs1_Config * | CfgPtr, | ||
| UINTPTR | EffectiveAddr | ||
| ) |
This function initializes the video subsystem and included sub-cores.
This function must be called prior to using the subsystem. Initialization includes setting up the instance data for top level as well as all included sub-core therein, and ensuring the hardware is in a known stable state.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
| CfgPtr | points to the configuration structure associated with the subsystem instance. |
| EffectiveAddr | is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used. |
References XV_HdmiTxSs1::AppMajVer, XV_HdmiTxSs1::AppMinVer, XV_HdmiTxSs1::AudioInfoframe, XV_HdmiTxSs1::AVIInfoframe, XV_HdmiTxSs1_Config::AxiLiteClkFreq, XV_HdmiTxSs1_Config::BaseAddress, XV_HdmiTxSs1::Config, XV_HdmiTxSs1_Config::DeviceId, XV_HdmiTxSs1::DrmInfoframe, XV_HdmiTxSs1::EnableHDCPLogging, XV_HdmiTxSs1::EnableHDMILogging, XV_HdmiTxSs1::HdcpProtocol, XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::IsReady, XV_HdmiTxSs1::VSIF, XV_HdmiTxSs1::VtcPtr, XV_HDMITXSS1_HDCP_BOTH, XV_HDMITXSS1_HDCP_NONE, XV_HdmiTxSs1_Reset(), XV_HdmiTxSs1_SubcoreInitHdmiTx1(), and XV_HdmiTxSs1_SubcoreInitVtc().
| void XV_HdmiTxSs1_ClearFrlWrongLtp | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function stops FRL video stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_ClearGcpAvmuteBit | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function clears the HDMI TX AUX GCP register AVMUTE bit.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_ClearGcpClearAvmuteBit | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function clears the HDMI TX AUX GCP register CLEAR_AVMUTE bit.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_DebugInfo | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function prints debug information on STDIO/UART console.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by DetailedInfo().
| int XV_HdmiTxSs1_DetectHdmi20 | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function detects connected sink is a HDMI 2.0/HDMI 1.4 sink device.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSS1_DisableVrr | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function disables Adaptive-Sync feature in Video Timing Controller.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
References XV_HdmiTxSs1::VtcPtr.
| void XV_HdmiTxSs1_DynHdr_Cfg | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiTxSs1_DynHdr_Config * | CfgPtr | ||
| ) |
This function will configure the HDMI Tx for Dynamic HDR.
The configuration should be updated and called by application in Dynamic HDR MTW callback.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| CfgPtr | is a pointer to XV_HdmiTxSs1_DynHdr_Config instance |
References XV_HdmiTxSs1_DynHdr_Config::Address, XV_HdmiTxSs1::Config, XV_HdmiTxSs1_Config::DynHdr, XV_HdmiTxSs1_DynHdr_Config::FAPA, XV_HdmiTxSs1_DynHdr_Config::GOF, XV_HdmiTxSs1_DynHdr_Config::PktLength, and XV_HdmiTxSs1_DynHdr_Config::PktType.
| void XV_HdmiTxSs1_DynHdr_Control | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Flag | ||
| ) |
This function will enable/disable Dynamic HDR.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Flag | set to TRUE/FALSE. |
References XV_HdmiTxSs1::Config, XV_HdmiTxSs1_Config::DynHdr, and XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_DynHdr_DM_Control | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Flag | ||
| ) |
This function will enable or disable the Data Mover in Dynamic HDR.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Flag | 0 to disable and 1 to enable the Data Mover |
References XV_HdmiTxSs1::Config, XV_HdmiTxSs1_Config::DynHdr, and XV_HdmiTxSs1::HdmiTx1Ptr.
| u32 XV_HdmiTxSs1_DynHdr_GetErr | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will read the error status of the Data Mover for Dynamic HDR.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::Config, and XV_HdmiTxSs1_Config::DynHdr.
| void XV_HdmiTxSs1_DynHdr_GOF_Control | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Flag | ||
| ) |
This function will enable/disable GOF for Dynamic HDR.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Flag | set to TRUE/FALSE. |
References XV_HdmiTxSs1::Config, XV_HdmiTxSs1_Config::DynHdr, and XV_HdmiTxSs1::HdmiTx1Ptr.
| int XV_HdmiTxSs1_FrlStreamStart | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts FRL stream.
This should be called after the bridge, video, audio are all active.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| int XV_HdmiTxSs1_FrlStreamStop | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function stops FRL video stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_FSyncControl | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Enable | ||
| ) |
This function allows enabling/disabling of FSync in HDMI Tx.
| Enable | 0: disable FSync 1: enable FSync |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by Exdes_ProcessVTEMPacket(), and main().
| XV_HdmiTx1_AudioFormatType XV_HdmiTxSs1_GetAudioFormat | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function gets the active audio format.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_ReportAudio().
| XHdmiC_AudioInfoFrame* XV_HdmiTxSs1_GetAudioInfoframe | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the pointer to HDMI TX SS Audio InfoFrame structure.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::AudioInfoframe.
| XHdmiC_Aux* XV_HdmiTxSs1_GetAuxiliary | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the pointer to HDMI TX SS Aux structure.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| XHdmiC_AVI_InfoFrame* XV_HdmiTxSs1_GetAviInfoframe | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the pointer to HDMI TX SS AVI InfoFrame structure.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::AVIInfoframe.
| XVidC_PixelsPerClock XV_HdmiTxSS1_GetCorePpc | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will set the major and minor application version in TXSs struct.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| XHdmiC_DRMInfoFrame* XV_HdmiTxSs1_GetDrmInfoframe | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the pointer to HDMI 2.1 TX SS DRM InfoFrame structure.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::DrmInfoframe.
Referenced by XV_HdmiTxSs1_ReportDRMInfo().
| u8 XV_HdmiTxSs1_GetFrlLanes | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the the number of active FRL lanes.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetFrlLineRate | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the FRL Line Rate.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetFrlRate | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the FRL Rate.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u32 XV_HdmiTxSs1_GetTmdsClockFreqHz | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function Sets the HDMI TX SS video Identification code.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| @return | Stream Data Structure (TMDS Clock) |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetTransportMode | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the pointer to HDMI TX SS video stream type.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSs1_GetTxFfe | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Lane | ||
| ) |
This function returns the FFE Level for the selected lane.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| XVidC_VideoStream* XV_HdmiTxSs1_GetVideoStream | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the pointer to HDMI TX SS video stream.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by main(), XV_HdmiTxSS1_SetBackgroundColor(), and XV_HdmiTxSS1_SetVrrVfpStretch().
| u8 XV_HdmiTxSs1_GetVideoStreamType | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the HDMI TX SS video stream type.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| XHdmiC_VSIF* XV_HdmiTxSs1_GetVSIF | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function returns the pointer to HDMI TX SS Vendor Specific InfoFrame structure.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
References XV_HdmiTxSs1::VSIF.
| void XV_HdmiTxSS1_HdmiTx1IntrHandler | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function calls the interrupt handler for HDMI TX.
| InstancePtr | is a pointer to the HDMI TX Subsystem |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u8 XV_HdmiTxSS1_IsMasked | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will get the current video mask mode.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_ReportTiming().
| u8 XV_HdmiTxSs1_IsSinkHdcp14Capable | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function determines if the connected HDMI sink is HDCP 1.4 capable.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
| u8 XV_HdmiTxSs1_IsSinkHdcp22Capable | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function determines if the connected HDMI sink is HDCP 2.2 capable.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
| int XV_HdmiTxSs1_IsStreamConnected | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function checks if the interface is connected.
| None. |
References XV_HdmiTxSs1::IsStreamConnected.
| int XV_HdmiTxSs1_IsStreamToggled | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function checks if the interface has toggled.
| None. |
References XV_HdmiTxSs1::IsStreamToggled.
| int XV_HdmiTxSs1_IsStreamUp | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function checks if the video stream is up.
| None. |
References XV_HdmiTxSs1::IsStreamUp.
| void XV_HdmiTxSs1_LogDisplay | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will print the entire log.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::Log, XV_HdmiTxSs1::LogWriteCallback, XV_HdmiTxSs1_Log::TailIndex, XV_HdmiTxSs1_Log::TimeRecord, XV_HDMITXSS1_LOG_EVT_AUDIOINVALIDSAMPRATE, XV_HDMITXSS1_LOG_EVT_AUDIOMUTE, XV_HDMITXSS1_LOG_EVT_AUDIOUNMUTE, XV_HDMITXSS1_LOG_EVT_BRDG_LOCKED, XV_HDMITXSS1_LOG_EVT_BRDG_UNLOCKED, XV_HDMITXSS1_LOG_EVT_CONNECT, XV_HDMITXSS1_LOG_EVT_DISCONNECT, XV_HDMITXSS1_LOG_EVT_FRL_CFG, XV_HDMITXSS1_LOG_EVT_FRL_LT_PASS, XV_HDMITXSS1_LOG_EVT_FRL_START, XV_HDMITXSS1_LOG_EVT_HDCP14_AUTHREQ, XV_HDMITXSS1_LOG_EVT_HDCP14_INIT, XV_HDMITXSS1_LOG_EVT_HDCP22_AUTHREQ, XV_HDMITXSS1_LOG_EVT_HDCP22_INIT, XV_HDMITXSS1_LOG_EVT_HDCPTIMER_INIT, XV_HDMITXSS1_LOG_EVT_HDMITX1_INIT, XV_HDMITXSS1_LOG_EVT_NONE, XV_HDMITXSS1_LOG_EVT_PIX_REPEAT_ERR, XV_HDMITXSS1_LOG_EVT_RESET, XV_HDMITXSS1_LOG_EVT_SETAUDIOCHANNELS, XV_HDMITXSS1_LOG_EVT_SETSTREAM, XV_HDMITXSS1_LOG_EVT_START, XV_HDMITXSS1_LOG_EVT_STOP, XV_HDMITXSS1_LOG_EVT_STREAMDOWN, XV_HDMITXSS1_LOG_EVT_STREAMSTART, XV_HDMITXSS1_LOG_EVT_STREAMUP, XV_HDMITXSS1_LOG_EVT_TMDS_START, XV_HDMITXSS1_LOG_EVT_TOGGLE, XV_HDMITXSS1_LOG_EVT_VTC_INIT, XV_HDMITXSS1_LOG_EVT_VTC_RES_ERR, and XV_HdmiTxSs1_LogRead().
| u16 XV_HdmiTxSs1_LogRead | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will read the last event from the log.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1_Log::DataBuffer, XV_HdmiTxSs1_Log::HeadIndex, XV_HdmiTxSs1::Log, and XV_HdmiTxSs1_Log::TailIndex.
Referenced by XV_HdmiTxSs1_LogDisplay().
| void XV_HdmiTxSs1_LogReset | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will reset the driver's logging mechanism.
| InstancePtr | is a pointer to the xv_hdmitxss1 core instance. |
References XV_HdmiTxSs1_Log::HeadIndex, XV_HdmiTxSs1::Log, and XV_HdmiTxSs1_Log::TailIndex.
| void XV_HdmiTxSs1_LogWrite | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiTxSs1_LogEvent | Evt, | ||
| u8 | Data | ||
| ) |
This function will insert an event in the driver's logginc mechanism.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Evt | is the event type to log. |
| Data | is the associated data for the event. |
References XV_HdmiTxSs1_Log::DataBuffer, XV_HdmiTxSs1_Log::HeadIndex, XV_HdmiTxSs1::Log, XV_HdmiTxSs1::LogWriteCallback, XV_HdmiTxSs1::LogWriteRef, XV_HdmiTxSs1_Log::TailIndex, XV_HdmiTxSs1_Log::TimeRecord, and XV_HDMITXSS1_LOG_EVT_DUMMY.
Referenced by XV_HdmiTxSs1_AudioMute(), XV_HdmiTxSs1_FrlConfigCallback(), XV_HdmiTxSs1_FrlStartCallback(), XV_HdmiTxSs1_Reset(), XV_HdmiTxSs1_SetAudioChannels(), XV_HdmiTxSs1_SetSampleFrequency(), XV_HdmiTxSs1_SetStream(), XV_HdmiTxSs1_Start(), XV_HdmiTxSS1_StartFRLStream(), XV_HdmiTxSs1_StartFrlTraining(), XV_HdmiTxSs1_Stop(), XV_HdmiTxSS1_StopFRLStream(), XV_HdmiTxSs1_StreamStart(), XV_HdmiTxSs1_SubcoreInitHdmiTx1(), XV_HdmiTxSs1_SubcoreInitVtc(), and XV_HdmiTxSs1_TmdsConfigCallback().
| void XV_HdmiTxSS1_MaskDisable | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will disable the video masking.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSS1_MaskEnable | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will enable the video masking.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSS1_SetBackgroundColor().
| void XV_HdmiTxSS1_MaskNoise | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Enable | ||
| ) |
This function will enable or disable the noise in the video mask.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Enable | specifies TRUE/FALSE value to either enable or disable the Noise. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSS1_SetBackgroundColor().
| void XV_HdmiTxSS1_MaskSetBlue | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u16 | Value | ||
| ) |
This function will set the blue component in the video mask.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Value | specifies the video mask value set to blue component |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSS1_SetBackgroundColor().
| void XV_HdmiTxSS1_MaskSetGreen | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u16 | Value | ||
| ) |
This function will set the green component in the video mask.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Value | specifies the video mask value set to green component |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSS1_SetBackgroundColor().
| void XV_HdmiTxSS1_MaskSetRed | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u16 | Value | ||
| ) |
This function will set the red component in the video mask.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Value | specifies the video mask value set to red component |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSS1_SetBackgroundColor().
| int XV_HdmiTxSs1_ReadEdid | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 * | Buffer, | ||
| u32 | BufferSize | ||
| ) |
This function reads the HDMI Sink EDID.
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::IsStreamConnected, and XV_HdmiTxSs1_ReadEdidSegment().
| int XV_HdmiTxSs1_ReadEdid_extension | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_VidC_EdidCntrlParam * | EdidCtrlParam | ||
| ) |
This function reads the HDMI Sink EDID.
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::IsStreamConnected, and XV_HdmiTxSs1_ReadEdidSegment().
| int XV_HdmiTxSs1_ReadEdidSegment | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 * | Buffer, | ||
| u8 | segment | ||
| ) |
This function reads one block from the HDMI Sink EDID.
References XV_HdmiTxSs1::HdmiTx1Ptr, and XV_HdmiTxSs1::IsStreamConnected.
Referenced by XV_HdmiTxSs1_ReadEdid(), XV_HdmiTxSs1_ReadEdid_extension(), XV_HdmiTxSs1_ShowEdid(), and XV_HdmiTxSs1_ShowEdid_extension().
| void XV_HdmiTxSs1_RefClockChangeInit | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function is called when HDMI TX SS TMDS clock changes.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1_SYSRST(), XV_HdmiTxSs1_TXCore_LRST(), XV_HdmiTxSs1_TXCore_VRST(), and XV_HdmiTxSs1_VRST().
| void XV_HdmiTxSs1_RegisterDebug | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function prints out the sub-core register dump.
| InstancePtr | Instance Pointer to the main data structure |
References XV_HdmiTxSs1_SubCore::AbsAddr, XV_HdmiTxSs1::Config, XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::IsStreamUp, XV_HdmiTxSs1_Config::Vtc, and XV_HdmiTxSs1::VtcPtr.
| void XV_HdmiTxSs1_ReportAudio | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function prints the HDMI TX SS audio information.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr, and XV_HdmiTxSs1_GetAudioFormat().
Referenced by Info(), and XV_HdmiTxSs1_ReportInfo().
| void XV_HdmiTxSs1_ReportCoreInfo | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function reports list of cores included in Video Processing Subsystem.
| InstancePtr | is a pointer to the Subsystem instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr, and XV_HdmiTxSs1::VtcPtr.
Referenced by DetailedInfo(), and XV_HdmiTxSs1_ReportInfo().
| void XV_HdmiTxSs1_ReportDRMInfo | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function prints the HDMI 2.1 TX SS DRM If information.
| Pointer | to HDMI 2.1 Tx SS Instance. |
References XV_HdmiTxSs1_GetDrmInfoframe().
Referenced by Info(), and XV_HdmiTxSs1_ReportInfo().
| void XV_HdmiTxSs1_ReportInfo | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function prints the HDMI TX SS subcore versions.
| None. |
References XV_HdmiTxSs1_ReportAudio(), XV_HdmiTxSs1_ReportCoreInfo(), XV_HdmiTxSs1_ReportDRMInfo(), XV_HdmiTxSs1_ReportSubcoreVersion(), and XV_HdmiTxSs1_ReportTiming().
| void XV_HdmiTxSs1_ReportSubcoreVersion | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function prints the HDMI TX SS subcore versions.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::IsStreamUp, and XV_HdmiTxSs1::VtcPtr.
Referenced by DetailedInfo(), and XV_HdmiTxSs1_ReportInfo().
| void XV_HdmiTxSs1_ReportTiming | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function prints the HDMI TX SS timing information.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr, and XV_HdmiTxSS1_IsMasked().
Referenced by Info(), and XV_HdmiTxSs1_ReportInfo().
| void XV_HdmiTxSs1_Reset | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function resets the video subsystem sub-cores.
There are 2 reset networks within the subsystem
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HDMITXSS1_LOG_EVT_RESET, XV_HdmiTxSs1_LogWrite(), XV_HdmiTxSs1_SYSRST(), XV_HdmiTxSs1_TXCore_LRST(), XV_HdmiTxSs1_TXCore_VRST(), and XV_HdmiTxSs1_VRST().
Referenced by XV_HdmiTxSs1_CfgInitialize().
| void XV_HdmiTxSs1_SendAuxInfoframe | ( | XV_HdmiTxSs1 * | InstancePtr, |
| void * | Aux | ||
| ) |
This function sends audio info frames.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| int XV_HdmiTxSs1_SendCvtemAuxPackets | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XHdmiC_Aux * | DscAuxFifo | ||
| ) |
This function is used to Send CVTEM Packet.
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| DscAuxFifo | is a pointer to the HDMI Aux fifo |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| u32 XV_HdmiTxSs1_SendGenericAuxInfoframe | ( | XV_HdmiTxSs1 * | InstancePtr, |
| void * | Aux | ||
| ) |
This function sends generic info frames.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSS1_SetAppVersion | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | maj, | ||
| u8 | min | ||
| ) |
This function will set the major and minor application version in TXSs struct.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| maj | is the major version of the application. |
| min | is the minor version of the application. |
References XV_HdmiTxSs1::AppMajVer, and XV_HdmiTxSs1::AppMinVer.
| void XV_HdmiTxSs1_SetAudioChannels | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | AudioChannels | ||
| ) |
This function Sets the HDMI TX SS number of active audio channels.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| AudioChannels |
References XV_HdmiTxSs1::AudioChannels, XV_HdmiTxSs1::AudioInfoframe, XV_HdmiTxSs1::HdmiTx1Ptr, XV_HDMITXSS1_LOG_EVT_SETAUDIOCHANNELS, and XV_HdmiTxSs1_LogWrite().
| void XV_HdmiTxSs1_SetAudioFormat | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiTx1_AudioFormatType | format | ||
| ) |
This function Sets the HDMI TX SS Audio Format.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| format | 1:HBR 0:L-PCM |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSS1_SetBackgroundColor | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XVMaskColorId | ColorId | ||
| ) |
This function configures the background color for Video Masking Feature.
| InstancePtr | is a pointer to the core instance to be worked on. |
| ColorId | is the background color requested |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1_GetVideoStream(), XV_HdmiTxSS1_MaskEnable(), XV_HdmiTxSS1_MaskNoise(), XV_HdmiTxSS1_MaskSetBlue(), XV_HdmiTxSS1_MaskSetGreen(), and XV_HdmiTxSS1_MaskSetRed().
| int XV_HdmiTxSs1_SetCallback | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiTxSs1_HandlerType | HandlerType, | ||
| void * | CallbackFunc, | ||
| void * | CallbackRef | ||
| ) |
This function installs an asynchronous callback function for the given HandlerType:
HandlerType Callback Function Type ----------------------- --------------------------------------------- (XV_HDMITXSS1_HANDLER_CONNECT) HpdCallback (XV_HDMITXSS1_HANDLER_VS) VsCallback (XV_HDMITXSS1_HANDLER_STREAM_DOWN) StreamDownCallback (XV_HDMITXSS1_HANDLER_STREAM_UP) StreamUpCallback (XV_HDMITXSS1_HANDLER_BRDGOVERFLOW) BrdgOverflowCallback (XV_HDMITXSS1_HANDLER_BRDGUNDERFLOW) BrdgUnderflowCallback (XV_HDMITXSS1_HANDLER_HDCP_AUTHENTICATED) (XV_HDMITXSS1_HANDLER_HDCP_DOWNSTREAM_TOPOLOGY_AVAILABLE) (XV_HDMITXSS1_HANDLER_HDCP_UNAUTHENTICATED)
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| HandlerType | specifies the type of handler. |
| CallbackFunc | is the address of the callback function. |
| CallbackRef | is a user data item that will be passed to the callback function when it is invoked. |
References XV_HdmiTxSs1::BrdgLockedCallback, XV_HdmiTxSs1::BrdgLockedRef, XV_HdmiTxSs1::BrdgOverflowCallback, XV_HdmiTxSs1::BrdgOverflowRef, XV_HdmiTxSs1::BrdgUnderflowCallback, XV_HdmiTxSs1::BrdgUnderflowRef, XV_HdmiTxSs1::BrdgUnlockedCallback, XV_HdmiTxSs1::BrdgUnlockedRef, XV_HdmiTxSs1::ConnectCallback, XV_HdmiTxSs1::ConnectRef, XV_HdmiTxSs1::DscDecodeFailCallback, XV_HdmiTxSs1::DscDecodeFailRef, XV_HdmiTxSs1::DynHdrMtwCallback, XV_HdmiTxSs1::DynHdrMtwRef, XV_HdmiTxSs1::FrlConfigCallback, XV_HdmiTxSs1::FrlConfigRef, XV_HdmiTxSs1::FrlFfeCallback, XV_HdmiTxSs1::FrlFfeRef, XV_HdmiTxSs1::FrlStartCallback, XV_HdmiTxSs1::FrlStartRef, XV_HdmiTxSs1::FrlStopCallback, XV_HdmiTxSs1::FrlStopRef, XV_HdmiTxSs1::StreamDownCallback, XV_HdmiTxSs1::StreamDownRef, XV_HdmiTxSs1::StreamUpCallback, XV_HdmiTxSs1::StreamUpRef, XV_HdmiTxSs1::TmdsConfigCallback, XV_HdmiTxSs1::TmdsConfigRef, XV_HdmiTxSs1::ToggleCallback, XV_HdmiTxSs1::ToggleRef, XV_HdmiTxSs1::VsCallback, XV_HdmiTxSs1::VsRef, XV_HDMITXSS1_HANDLER_BRDGLOCK, XV_HDMITXSS1_HANDLER_BRDGOVERFLOW, XV_HDMITXSS1_HANDLER_BRDGUNDERFLOW, XV_HDMITXSS1_HANDLER_BRDGUNLOCK, XV_HDMITXSS1_HANDLER_CONNECT, XV_HDMITXSS1_HANDLER_DSCDECODE_FAIL, XV_HDMITXSS1_HANDLER_DYNHDR_MWT, XV_HDMITXSS1_HANDLER_FRL_CONFIG, XV_HDMITXSS1_HANDLER_FRL_FFE, XV_HDMITXSS1_HANDLER_FRL_START, XV_HDMITXSS1_HANDLER_FRL_STOP, XV_HDMITXSS1_HANDLER_HDCP_AUTHENTICATED, XV_HDMITXSS1_HANDLER_HDCP_DOWNSTREAM_TOPOLOGY_AVAILABLE, XV_HDMITXSS1_HANDLER_HDCP_UNAUTHENTICATED, XV_HDMITXSS1_HANDLER_STREAM_DOWN, XV_HDMITXSS1_HANDLER_STREAM_UP, XV_HDMITXSS1_HANDLER_TMDS_CONFIG, XV_HDMITXSS1_HANDLER_TOGGLE, and XV_HDMITXSS1_HANDLER_VS.
Referenced by main().
| void XV_HdmiTxSs1_SetCustomVrrIf | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiC_VrrInfoFrame * | VrrIF, | ||
| u16 | Sync, | ||
| u16 | DataSetLen | ||
| ) |
This function allows setting Custom VRR meta in core.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
| VrrIF | is a pointer to the XV_HdmiC_VrrInfoFrame structure |
| Value | of sync in Vrr packet |
| Value | of data set length |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetDefaultPpc | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Id | ||
| ) |
This function will set the default in HDF.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Id | is the XV_HdmiTxSs1 ID to operate on. |
References XV_HdmiTxSs1::Config, and XV_HdmiTxSs1_Config::Ppc.
| void XV_HdmiTxSS1_SetDviMode | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the core into DVI mode.
| InstancePtr | is a pointer to the HDMI TX Subsystem |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetExtACR | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function Sets use the external ACR Module.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| Audio | Sample Frequency in Hz |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFfeLevels | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | FfeLevel | ||
| ) |
This function sets the FFE Levels.
| None. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by main().
| void XV_HdmiTxSs1_SetFrlExtVidCke | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the CKE Source for External.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFrlIntVidCke | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the CKE Source for Interal Generated.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFrlLtp | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Lane, | ||
| XV_HdmiTx1_FrlLtpType | Ltp | ||
| ) |
This function sets the FRL LTP.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Lanes | specifies FRL operation lane
|
| Ltp | is a FRL LTP Type |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetFrlMaxFrlRate | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XHdmiC_MaxFrlRate | MaxFrlRate | ||
| ) |
This function sets maximum FRL Rate supported by the system.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| MaxFrlRate | specifies maximum rates supported
|
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by main().
| void XV_HdmiTxSs1_SetFrlWrongLtp | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function stops FRL video stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetGcpAvmuteBit | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the HDMI TX AUX GCP register AVMUTE bit.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetGcpClearAvmuteBit | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the HDMI TX AUX GCP register CLEAR_AVMUTE bit.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSS1_SetHdmiFrlMode | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the core into HDMI mode.
| InstancePtr | is a pointer to the HDMI TX Subsystem |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSS1_SetHdmiTmdsMode | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function sets the core into HDMI mode.
| InstancePtr | is a pointer to the HDMI TX Subsystem |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_SubcoreInitHdmiTx1().
| void XV_HdmiTxSS1_SetHpdTolerance | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiTxSs1_HpdToleranceType | Type, | ||
| u16 | ToleranceVal | ||
| ) |
This function will Configure Timegrid based on the tolerance value for HPD and Toggle event.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Type | is the tolerance type. |
| ToleranceVal | is the tolerance value to be applied. |
References XV_HdmiTxSs1_Config::BaseAddress, and XV_HdmiTxSs1::Config.
| void XV_HdmiTxSs1_SetIntACR | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function Sets use the internal ACR Module.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| Audio | Sample Frequency in Hz |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| int XV_HdmiTxSs1_SetLogCallback | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u64 * | CallbackFunc, | ||
| void * | CallbackRef | ||
| ) |
This function installs an asynchronous callback function for the LogWrite API:
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| CallbackFunc | is the address of the callback function. |
| CallbackRef | is a user data item that will be passed to the callback function when it is invoked. |
References XV_HdmiTxSs1::LogWriteCallback, and XV_HdmiTxSs1::LogWriteRef.
| void XV_HdmiTxSs1_SetPpc | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Id, | ||
| u8 | Ppc | ||
| ) |
This function will set PPC specified by user.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| Id | is the XV_HdmiTxSs1 ID to operate on. |
| Ppc | is the PPC to be set. |
References XV_HdmiTxSs1::Config, and XV_HdmiTxSs1_Config::Ppc.
| void XV_HdmiTxSs1_SetSampleFrequency | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XHdmiC_SamplingFrequencyVal | AudSampleFreqVal | ||
| ) |
This function Sets the audio sampling frequency.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| Audio | Sample Frequency in Hz |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HDMITXSS1_LOG_EVT_AUDIOINVALIDSAMPRATE, and XV_HdmiTxSs1_LogWrite().
| void XV_HdmiTxSs1_SetSamplingRate | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | SamplingRate | ||
| ) |
This function Sets the HDMI TX SS video Identification code.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| SamplingRate | Value |
References XV_HdmiTxSs1::SamplingRate.
| void XV_HdmiTxSs1_SetScrambler | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Enable | ||
| ) |
This function enables / disables the TX scrambler.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
| Enable | TRUE:Enable scrambler FALSE:Disable scrambler |
References XV_HdmiTxSs1::HdmiTx1Ptr, and XV_HdmiTxSs1_SetVideoStreamScramblingFlag().
| u32 XV_HdmiTxSs1_SetStream | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XVidC_VideoTiming | VideoTiming, | ||
| XVidC_FrameRate | FrameRate, | ||
| XVidC_ColorFormat | ColorFormat, | ||
| XVidC_ColorDepth | Bpc, | ||
| u8 | IsDSCompressed, | ||
| XVidC_3DInfo * | Info3D, | ||
| u64 * | TmdsClock | ||
| ) |
This function set HDMI TX susbsystem stream parameters.
It returns the calculated TMDS clock value.
| InstancePtr | - Pointer to HDMI 2.1 Tx Subsystem. VideoTiming - Video Timing of the video to be displayed. FrameRate - Frame rate to set ColorFormat - Color format of stream (RGB, YUV444/422/420) Bpc - Bit per component IsDSCompressed - Flag to indicate DSCompression Info3D - 3D Info TmdsClock - Address where the calculated TMDS Clock value is stored. |
References XV_HdmiTxSs1::Config, XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1_Config::Ppc, XV_HdmiTxSs1_Config::VideoInterface, XV_HDMITXSS1_LOG_EVT_SETSTREAM, and XV_HdmiTxSs1_LogWrite().
| void XV_HdmiTxSs1_SetTmdsClockRatio | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Ratio | ||
| ) |
This function Sets the HDMI TX SS TMDS Cock Ratio.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| Ratio | 0 - 1/10, 1 - 1/40 |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetVideoIDCode | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Vic | ||
| ) |
This function Sets the HDMI TX SS video Identification code.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| InstancePtr | VIC Flag Value |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetVideoStream | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XVidC_VideoStream | VidStream | ||
| ) |
This function Sets the HDMI TX SS video stream.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| @return | XVidC_VideoStream pointer |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetVideoStreamScramblingFlag | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | IsScrambled | ||
| ) |
This function Sets the HDMI TX SS video stream type.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| IsScrambled | 1:IsScrambled 0: not Scrambled |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_SetScrambler().
| void XV_HdmiTxSs1_SetVideoStreamScramblingOverrideFlag | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | OverrideScramble | ||
| ) |
This function Sets the HDMI TX SS video stream scrambling behaviour.
Setting OverrideScramble to true will force enabling/disabling scrambling function based on the value of IsScrambled flag.
| InstancePtr | pointer to XV_HdmiTxSs1 instance |
| OverrideScramble | 0: Scrambling is always enabled for HDMI 2.0 resolutions and is enabled /or disabled for HDMI 1.4 resolutions based on IsScrambled value 1: Enable scrambling if IsScrambled is TRUE and disable scrambling if IsScrambled is FALSE |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_SetVrrIf | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_HdmiC_VrrInfoFrame * | VrrIF | ||
| ) |
This function allows setting VRR meta in core.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
| VrrIF | is a pointer to the XV_HdmiC_VrrInfoFrame structure |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by Exdes_ProcessVTEMPacket(), and main().
| void XV_HdmiTxSS1_SetVrrMode | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | mode, | ||
| u8 | VrrEn, | ||
| u8 | FvaFactor, | ||
| u8 | CnmvrrEn | ||
| ) |
This function configures Video Timing Controller with Adaptive-Sync mode.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
| mode | is vtc mode. 0: Fixed stretch, 1: Auto |
| VrrEn | is to enable/disable VRR |
| FvaFactor | is to set FVA factor value |
| CnmvrrEn | is to enable/disable Cnmvrr |
| void XV_HdmiTxSS1_SetVrrVfpStretch | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u16 | StretchValue | ||
| ) |
This function configures vertical front porch stretch limit in Video Timing Controller.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 instance. |
| StretchValue | is vertical front porch stretch value. |
References XV_HdmiTxSs1::VtcPtr, and XV_HdmiTxSs1_GetVideoStream().
Referenced by Exdes_ProcessVRRTimingChange(), and main().
| void XV_HdmiTxSs1_ShowEdid | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function shows the HDMI source edid.
References XV_HdmiTxSs1::IsStreamConnected, and XV_HdmiTxSs1_ReadEdidSegment().
| void XV_HdmiTxSs1_ShowEdid_extension | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XV_VidC_EdidCntrlParam * | EdidCtrlParam | ||
| ) |
This function shows the HDMI source edid.
References XV_HdmiTxSs1::IsStreamConnected, and XV_HdmiTxSs1_ReadEdidSegment().
| void XV_HdmiTxSs1_Start | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts the HDMI TX subsystem including all sub-cores that are included in the processing pipeline for a given use-case.
Video pipe is started from back to front
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HDMITXSS1_LOG_EVT_START, and XV_HdmiTxSs1_LogWrite().
Referenced by main().
| void XV_HdmiTxSS1_StartFRLStream | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will Start the FRL stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::AudioEnabled, XV_HdmiTxSs1::AudioMute, XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::IsStreamUp, XV_HdmiTxSs1::SamplingRate, XV_HdmiTxSs1::StreamUpCallback, XV_HdmiTxSs1::StreamUpRef, XV_HdmiTxSs1::VtcPtr, XV_HDMITXSS1_LOG_EVT_STREAMUP, XV_HdmiTxSs1_LogWrite(), XV_HdmiTxSs1_SYSRST(), XV_HdmiTxSs1_TXCore_LRST(), XV_HdmiTxSs1_TXCore_VRST(), and XV_HdmiTxSs1_VRST().
| int XV_HdmiTxSs1_StartFrlTraining | ( | XV_HdmiTxSs1 * | InstancePtr, |
| XHdmiC_MaxFrlRate | FrlRate | ||
| ) |
This function starts the Fixed Rate Link Training.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
| FrlRate | specifies the FRL rate to be attempted
|
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HDMITXSS1_LOG_EVT_FRL_START, and XV_HdmiTxSs1_LogWrite().
| int XV_HdmiTxSs1_StartTmdsMode | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts the TMDS mode.
| InstancePtr | is a pointer to the XV_HdmiTx1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_Stop | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function stops the HDMI TX subsystem including all sub-cores Stop the video pipe starting from front to back.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::VtcPtr, XV_HDMITXSS1_LOG_EVT_STOP, and XV_HdmiTxSs1_LogWrite().
| void XV_HdmiTxSS1_StopFRLStream | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function will Stop the FRL stream.
| InstancePtr | is a pointer to the XV_HdmiTxSs1 core instance. |
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HdmiTxSs1::IsStreamUp, XV_HdmiTxSs1::StreamDownCallback, XV_HdmiTxSs1::StreamDownRef, XV_HDMITXSS1_LOG_EVT_STREAMDOWN, XV_HdmiTxSs1_LogWrite(), XV_HdmiTxSs1_SYSRST(), XV_HdmiTxSs1_TXCore_LRST(), XV_HdmiTxSs1_TXCore_VRST(), and XV_HdmiTxSs1_VRST().
| void XV_HdmiTxSs1_StreamStart | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts the HDMI TX stream.
References XV_HdmiTxSs1::HdmiTx1Ptr, XV_HDMITXSS1_LOG_EVT_STREAMSTART, and XV_HdmiTxSs1_LogWrite().
| void XV_HdmiTxSs1_SYSRST | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Reset | ||
| ) |
This function asserts or releases the system reset of other blocks within the subsystem.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_RefClockChangeInit(), XV_HdmiTxSs1_Reset(), XV_HdmiTxSS1_StartFRLStream(), and XV_HdmiTxSS1_StopFRLStream().
| int XV_HdmiTxSs1_TmdsStart | ( | XV_HdmiTxSs1 * | InstancePtr | ) |
This function starts the Legacy HDMI TMDS Mode.
References XV_HdmiTxSs1::HdmiTx1Ptr.
| void XV_HdmiTxSs1_TXCore_LRST | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Reset | ||
| ) |
This function asserts or releases the Internal Link reset of the HDMI subcore within the subsystem.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_RefClockChangeInit(), XV_HdmiTxSs1_Reset(), XV_HdmiTxSS1_StartFRLStream(), and XV_HdmiTxSS1_StopFRLStream().
| void XV_HdmiTxSs1_TXCore_VRST | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Reset | ||
| ) |
This function asserts or releases the Internal Video reset of the HDMI subcore within the subsystem.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_RefClockChangeInit(), XV_HdmiTxSs1_Reset(), XV_HdmiTxSS1_StartFRLStream(), and XV_HdmiTxSS1_StopFRLStream().
| void XV_HdmiTxSs1_VrrControl | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Enable | ||
| ) |
This function allows enabling/disabling of VRR in HDMI Tx.
| Enable | 0: disable VRR 1: enable VRR |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by Exdes_ProcessVTEMPacket(), and main().
| void XV_HdmiTxSs1_VRST | ( | XV_HdmiTxSs1 * | InstancePtr, |
| u8 | Reset | ||
| ) |
This function asserts or releases the video reset of other blocks within the subsystem.
| InstancePtr | is a pointer to the Subsystem instance to be worked on. |
References XV_HdmiTxSs1::HdmiTx1Ptr.
Referenced by XV_HdmiTxSs1_RefClockChangeInit(), XV_HdmiTxSs1_Reset(), XV_HdmiTxSS1_StartFRLStream(), and XV_HdmiTxSS1_StopFRLStream().