![]() |
v_hdmi_common
Vitis Drivers API Documentation
|
Data Structures | |
| struct | XHdmiC_FRL_CTS_N_Val |
| FRL CTS/N Value Table. More... | |
| struct | XHdmiC_TMDS_N_Table |
| TMDS Char/N Value Table. More... | |
| struct | XHdmiC_FrlRate |
| This typedef contains translations of FRL_Rate to Lanes and Line Rates. More... | |
| struct | XHDMIC_AVI_InfoFrame |
| This typedef contains the data structure for Auxiliary Video Information Info frame. More... | |
| struct | XHdmiC_GCP_Packet |
| This typedef contains the data structure for General Control Packet. More... | |
| struct | XHdmiC_Audio_InfoFrame |
| This typedef contains the data structure for Audio Infoframe. More... | |
| struct | XHdmiC_Audio_Metadata_Packet |
| This typedef contains the data structure for Audio Metadata Infoframe. More... | |
| struct | XHdmiC_SPD_InfoFrame |
| This typedef contains the data structure for Source Product Descriptor Infoframe. More... | |
| struct | XHdmiC_DRM_InfoFrame |
| This typedef contains the data structure for Dynamic Range and Mastering Infoframe. More... | |
| struct | XV_HdmiC_VideoTimingExtMeta |
| This typedef contains Video Timing Extended Metadata specific data structure. More... | |
| union | XV_HdmiC_SrcProdDescIF |
| This typedef contains AMD Source Product Descriptor Infoframe specific data structure. More... | |
Typedefs | |
| typedef struct XHDMIC_AVI_InfoFrame | XHdmiC_AVI_InfoFrame |
| This typedef contains the data structure for Auxiliary Video Information Info frame. More... | |
| typedef struct XHdmiC_GCP_Packet | XHdmiC_GeneralControlPacket |
| This typedef contains the data structure for General Control Packet. More... | |
| typedef struct XHdmiC_Audio_InfoFrame | XHdmiC_AudioInfoFrame |
| This typedef contains the data structure for Audio Infoframe. More... | |
| typedef struct XHdmiC_Audio_Metadata_Packet | XHdmiC_AudioMetadata |
| This typedef contains the data structure for Audio Metadata Infoframe. More... | |
| typedef struct XHdmiC_SPD_InfoFrame | XHdmiC_SPDInfoFrame |
| This typedef contains the data structure for Source Product Descriptor Infoframe. More... | |
| typedef struct XHdmiC_DRM_InfoFrame | XHdmiC_DRMInfoFrame |
| This typedef contains the data structure for Dynamic Range and Mastering Infoframe. More... | |
Enumerations | |
| enum | XVMaskColorId |
| This typedef contains the different background colors available. More... | |
| enum | XHdmiC_PicAspectRatio |
| This typedef contains Video identification information in tabular form. More... | |
| enum | XHdmiC_FrameRateCode |
| This typedef contains FrameRate code information as per the HDMI 2.1b spec. More... | |
| enum | XHdmiC_ResolutionID |
| This typedef contains Resolution ID's information as per the HDMI 2.1b spec. More... | |
| enum | XHdmiC_Colorspace { , XHDMIC_COLORSPACE_YUV420 } |
| enum | XHdmiC_FRLCharRate |
| FRL Character Rate Enumeration. More... | |
| enum | XHdmiC_MaxFrlRate |
| FRL Rate Enumeration. More... | |
Functions | |
| u32 | XHdmiC_TMDS_GetNVal (u32 TMDSCharRate, XHdmiC_SamplingFrequency AudSampleFreq) |
| This returns the the N Value based Audio Sampling Rate and TMDS Character Rate. More... | |
| XHdmiC_SamplingFrequency | XHdmiC_TMDS_GetAudSampFreq (u32 TMDSCharRate, u32 N, u32 CTSVal) |
| This returns the Audio Sampling Rate and TMDS Character Rate. More... | |
| u32 | XHdmiC_FRL_GetNVal (XHdmiC_FRLCharRate FRLCharRate, XHdmiC_SamplingFrequencyVal AudSampleFreqVal) |
| This returns the N value in FRL mode based on its Audio Sample Frequency. More... | |
| XHdmiC_SamplingFrequencyVal | XHdmiC_FRL_GetAudSampFreq (XHdmiC_FRLCharRate FRLCharRate, u32 CTS, u32 N) |
| This returns the Audio Sample Frequency for FRL. More... | |
| XHdmiC_SamplingFrequency | XHdmiC_GetAudIFSampFreq (XHdmiC_SamplingFrequencyVal AudSampFreqVal) |
| This converts the Aud. More... | |
| XHdmiC_SamplingFrequencyVal | XHdmiC_GetAudSampFreqVal (XHdmiC_SamplingFrequency AudSampFreqVal) |
| This converts the Audio Info-frame Sampling Freq. More... | |
| void | XV_HdmiC_GenerateCvtem (XHdmiC_Aux *DscAuxFifo, XHdmiC_DscPpsData *DscPpsPtr, u16 HCact_Bytes, u16 HFrontPorch, u16 HBackPorch, u16 HSyncWidth) |
| This function is used to Generate CVTEM Packet. More... | |
| void | XV_HdmiC_ParseAVIInfoFrame (XHdmiC_Aux *AuxPtr, XHdmiC_AVI_InfoFrame *infoFramePtr) |
| This function retrieves the Auxiliary Video Information Info Frame. More... | |
| void | XV_HdmiC_ParseGCP (XHdmiC_Aux *AuxPtr, XHdmiC_GeneralControlPacket *GcpPtr) |
| This function retrieves the General Control Packet. More... | |
| void | XV_HdmiC_ParseAudioInfoFrame (XHdmiC_Aux *AuxPtr, XHdmiC_AudioInfoFrame *AudIFPtr) |
| This function retrieves the Audio Info Frame. More... | |
| void | XV_HdmiC_ParseAudioMetadata (XHdmiC_Aux *AuxPtr, XHdmiC_AudioMetadata *AudMetadata) |
| This function retrieves the Audio Metadata. More... | |
| void | XV_HdmiC_ParseSPDIF (XHdmiC_Aux *AuxPtr, XHdmiC_SPDInfoFrame *SPDInfoFrame) |
| This function retrieves the SPD Infoframes. More... | |
| void | XV_HdmiC_ParseDRMIF (XHdmiC_Aux *AuxPtr, XHdmiC_DRMInfoFrame *DRMInfoFrame) |
| This function retrieves the DRM Infoframes. More... | |
| XHdmiC_Aux | XV_HdmiC_AVIIF_GeneratePacket (XHdmiC_AVI_InfoFrame *infoFramePtr) |
| This function generates and sends Auxilliary Video Infoframes. More... | |
| XHdmiC_Aux | XV_HdmiC_AudioIF_GeneratePacket (XHdmiC_AudioInfoFrame *AudioInfoFrame) |
| This function generates and sends Audio Infoframes. More... | |
| XHdmiC_Aux | XV_HdmiC_AudioMetadata_GeneratePacket (XHdmiC_AudioMetadata *AudMetadata) |
| This function generates and sends Audio Metadata Packet. More... | |
| XHdmiC_Aux | XV_HdmiC_SPDIF_GeneratePacket (XHdmiC_SPDInfoFrame *SPDInfoFrame) |
| This function generates and sends SPD Infoframes. More... | |
| void | XV_HdmiC_DRMIF_GeneratePacket (XHdmiC_DRMInfoFrame *DRMInfoFrame, XHdmiC_Aux *aux) |
| This function generates and sends DRM Infoframes. More... | |
| XHdmiC_Colorspace | XV_HdmiC_XVidC_To_IfColorformat (XVidC_ColorFormat ColorFormat) |
| This function converts the XVidC_ColorFormat to XHdmiC_Colorspace. More... | |
| XVidC_AspectRatio | XV_HdmiC_IFAspectRatio_To_XVidC (XHdmiC_PicAspectRatio AR) |
| This function converts the XVidC_ColorDepth to XHdmiC_ColorDepth. More... | |
Variables | |
| const XHdmiC_VicTable | VicTable [VICTABLE_SIZE] |
| This table contains the attributes for various standard resolutions. More... | |
| const XHdmiC_FrlRate | FrlRateTable [] |
| This table contains the attributes for various FRL Rate. More... | |
| const XHdmiC_TMDS_N_Table | TMDSChar_N_Table [] |
| This table contains the CTS and N value of each TMDS character rate. More... | |
| const XHdmiC_FRL_CTS_N_Table_t | FRL_CTS_N_Table [] |
| This table contains the CTS and N value of each FRL character rate. More... | |
| const XHdmiC_VicTable | VicTable [VICTABLE_SIZE] |
| This table contains the attributes for various standard resolutions. More... | |
| const XHdmiC_FrlRate | FrlRateTable [] |
| This table contains the attributes for various FRL Rate. More... | |
| typedef struct XHdmiC_Audio_InfoFrame XHdmiC_AudioInfoFrame |
This typedef contains the data structure for Audio Infoframe.
| typedef struct XHdmiC_Audio_Metadata_Packet XHdmiC_AudioMetadata |
This typedef contains the data structure for Audio Metadata Infoframe.
| typedef struct XHDMIC_AVI_InfoFrame XHdmiC_AVI_InfoFrame |
This typedef contains the data structure for Auxiliary Video Information Info frame.
| typedef struct XHdmiC_DRM_InfoFrame XHdmiC_DRMInfoFrame |
This typedef contains the data structure for Dynamic Range and Mastering Infoframe.
| typedef struct XHdmiC_GCP_Packet XHdmiC_GeneralControlPacket |
This typedef contains the data structure for General Control Packet.
| typedef struct XHdmiC_SPD_InfoFrame XHdmiC_SPDInfoFrame |
This typedef contains the data structure for Source Product Descriptor Infoframe.
| enum XHdmiC_Colorspace |
| enum XHdmiC_FrameRateCode |
This typedef contains FrameRate code information as per the HDMI 2.1b spec.
| enum XHdmiC_FRLCharRate |
FRL Character Rate Enumeration.
| enum XHdmiC_MaxFrlRate |
FRL Rate Enumeration.
This typedef contains Video identification information in tabular form.
| enum XHdmiC_ResolutionID |
This typedef contains Resolution ID's information as per the HDMI 2.1b spec.
| enum XVMaskColorId |
This typedef contains the different background colors available.
| XHdmiC_SamplingFrequencyVal XHdmiC_FRL_GetAudSampFreq | ( | XHdmiC_FRLCharRate | FRLCharRate, |
| u32 | CTS, | ||
| u32 | N | ||
| ) |
This returns the Audio Sample Frequency for FRL.
References FRL_CTS_N_Table.
| u32 XHdmiC_FRL_GetNVal | ( | XHdmiC_FRLCharRate | FRLCharRate, |
| XHdmiC_SamplingFrequencyVal | AudSampleFreqVal | ||
| ) |
This returns the N value in FRL mode based on its Audio Sample Frequency.
References FRL_CTS_N_Table.
| XHdmiC_SamplingFrequency XHdmiC_GetAudIFSampFreq | ( | XHdmiC_SamplingFrequencyVal | AudSampFreqVal | ) |
This converts the Aud.
Sampling Freq. Value to Audio Info-frame Sampling Freq. Format.
| XHdmiC_SamplingFrequencyVal XHdmiC_GetAudSampFreqVal | ( | XHdmiC_SamplingFrequency | AudSampFreqVal | ) |
This converts the Audio Info-frame Sampling Freq.
Format. to Audio Sampling Freq. Value.
| XHdmiC_SamplingFrequency XHdmiC_TMDS_GetAudSampFreq | ( | u32 | TMDSCharRate, |
| u32 | N, | ||
| u32 | CTSVal | ||
| ) |
This returns the Audio Sampling Rate and TMDS Character Rate.
This function is not expected to be called for CTS/N as 0.
References TMDSChar_N_Table.
| u32 XHdmiC_TMDS_GetNVal | ( | u32 | TMDSCharRate, |
| XHdmiC_SamplingFrequency | AudSampleFreq | ||
| ) |
This returns the the N Value based Audio Sampling Rate and TMDS Character Rate.
References TMDSChar_N_Table.
| XHdmiC_Aux XV_HdmiC_AudioIF_GeneratePacket | ( | XHdmiC_AudioInfoFrame * | AudioInfoFrame | ) |
This function generates and sends Audio Infoframes.
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| XHdmiC_Aux XV_HdmiC_AudioMetadata_GeneratePacket | ( | XHdmiC_AudioMetadata * | AudMetadata | ) |
This function generates and sends Audio Metadata Packet.
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| XHdmiC_Aux XV_HdmiC_AVIIF_GeneratePacket | ( | XHdmiC_AVI_InfoFrame * | infoFramePtr | ) |
This function generates and sends Auxilliary Video Infoframes.
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| void XV_HdmiC_DRMIF_GeneratePacket | ( | XHdmiC_DRMInfoFrame * | DRMInfoFrame, |
| XHdmiC_Aux * | aux | ||
| ) |
This function generates and sends DRM Infoframes.
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| void XV_HdmiC_GenerateCvtem | ( | XHdmiC_Aux * | DscAuxFifo, |
| XHdmiC_DscPpsData * | DscPpsPtr, | ||
| u16 | HCact_Bytes, | ||
| u16 | HFrontPorch, | ||
| u16 | HBackPorch, | ||
| u16 | HSyncWidth | ||
| ) |
This function is used to Generate CVTEM Packet.
| @return,: | None |
| XVidC_AspectRatio XV_HdmiC_IFAspectRatio_To_XVidC | ( | XHdmiC_PicAspectRatio | AR | ) |
This function converts the XVidC_ColorDepth to XHdmiC_ColorDepth.
| Bpc | is the XVidC_ColorDepth value to be converted |
| void XV_HdmiC_ParseAudioInfoFrame | ( | XHdmiC_Aux * | AuxPtr, |
| XHdmiC_AudioInfoFrame * | AudIFPtr | ||
| ) |
This function retrieves the Audio Info Frame.
| None. |
| void XV_HdmiC_ParseAudioMetadata | ( | XHdmiC_Aux * | AuxPtr, |
| XHdmiC_AudioMetadata * | AudMetadata | ||
| ) |
This function retrieves the Audio Metadata.
| None. |
| void XV_HdmiC_ParseAVIInfoFrame | ( | XHdmiC_Aux * | AuxPtr, |
| XHdmiC_AVI_InfoFrame * | infoFramePtr | ||
| ) |
This function retrieves the Auxiliary Video Information Info Frame.
| None. |
| void XV_HdmiC_ParseDRMIF | ( | XHdmiC_Aux * | AuxPtr, |
| XHdmiC_DRMInfoFrame * | DRMInfoFrame | ||
| ) |
This function retrieves the DRM Infoframes.
| None. |
| void XV_HdmiC_ParseGCP | ( | XHdmiC_Aux * | AuxPtr, |
| XHdmiC_GeneralControlPacket * | GcpPtr | ||
| ) |
This function retrieves the General Control Packet.
| None. |
| void XV_HdmiC_ParseSPDIF | ( | XHdmiC_Aux * | AuxPtr, |
| XHdmiC_SPDInfoFrame * | SPDInfoFrame | ||
| ) |
This function retrieves the SPD Infoframes.
| None. |
| XHdmiC_Aux XV_HdmiC_SPDIF_GeneratePacket | ( | XHdmiC_SPDInfoFrame * | SPDInfoFrame | ) |
This function generates and sends SPD Infoframes.
| InstancePtr | is a pointer to the HDMI TX Subsystem instance. |
| XHdmiC_Colorspace XV_HdmiC_XVidC_To_IfColorformat | ( | XVidC_ColorFormat | ColorFormat | ) |
This function converts the XVidC_ColorFormat to XHdmiC_Colorspace.
| ColorFormat | is the XVidC_ColorFormat value to be converted |
References XHDMIC_COLORSPACE_YUV420.
| const XHdmiC_FRL_CTS_N_Table_t FRL_CTS_N_Table[] |
This table contains the CTS and N value of each FRL character rate.
Each entry is of the format: 1) Sample Frequency (32kHz, 44.1kHz, and 48kHz)
Referenced by XHdmiC_FRL_GetAudSampFreq(), and XHdmiC_FRL_GetNVal().
| const XHdmiC_FrlRate FrlRateTable[] |
This table contains the attributes for various FRL Rate.
Each entry is of the format: 1) Number of lanes 2) Line Rate.
| const XHdmiC_FrlRate FrlRateTable[] |
This table contains the attributes for various FRL Rate.
Each entry is of the format: 1) Number of lanes 2) Line Rate.
| const XHdmiC_TMDS_N_Table TMDSChar_N_Table[] |
This table contains the CTS and N value of each TMDS character rate.
Each entry is of the format: 1) Sample Frequency TMDS CLk, (32kHz, 44.1kHz, and 48kHz)
Referenced by XHdmiC_TMDS_GetAudSampFreq(), and XHdmiC_TMDS_GetNVal().
| const XHdmiC_VicTable VicTable[VICTABLE_SIZE] |
This table contains the attributes for various standard resolutions.
Each entry is of the format: 1) Resolution ID 2) Video Identification Code.
| const XHdmiC_VicTable VicTable[VICTABLE_SIZE] |
This table contains the attributes for various standard resolutions.
Each entry is of the format: 1) Resolution ID 2) Video Identification Code.