![](https://csdnimg.cn/release/download_crawler_static/87350457/bg13.jpg)
} XHdmiC_AuxData;
typedef struct {
XHdmiC_AuxHeader Header;
XHdmiC_AuxData Data;
} XHdmiC_Aux;
For packet types not highlighted in the previous table (MPEG Source, NTSC VBI), you can
construct packets with respect to the specicaon, and send them using the same API call. In this
case, you must calculate the CRC whenever needed and place the CRC at the right locaon so
that the HDMI Sink can decode the packet.
InfoFr ames
As shown in the previous table, the soware handles the Vendor Specic InfoFrame (VSIF), the
Auxiliary Video Informaon (AVI) InfoFrame, the Audio InfoFrame, and the Dynamic Range and
Mastering InfoFrame. The four InfoFrame types are added as part of the HDMI 1.4/2.0 TX
Subsystem data structure, each having its own well-dened structure. For more details on
InfoFrames, refer to Secon 6 of CTA-861-H (hps://cta.tech/).
AVI InfoFrame
Use the following code example for AVI InfoFrames:
typedef struct XHDMIC_AVI_InfoFrame {
unsigned char Version;
XHdmiC_Colorspace ColorSpace;
u8 ActiveFormatDataPresent;
XHdmiC_BarInfo BarInfo;
XHdmiC_ScanInfo ScanInfo;
XHdmiC_Colorimetry Colorimetry;
XHdmiC_PicAspectRatio PicAspectRatio;
XHdmiC_ActiveAspectRatio ActiveAspectRatio;
unsigned char Itc;
XHdmiC_ExtendedColorimetry ExtendedColorimetry;
XHdmiC_RGBQuantizationRange QuantizationRange;
XHdmiC_NonUniformPictureScaling NonUniformPictureScaling;
unsigned char VIC;
XHdmiC_YccQuantizationRange YccQuantizationRange;
XHdmiC_ContentType ContentType;
XHdmiC_PixelRepetitionFactor PixelRepetition;
u16 TopBar;
u16 BottomBar;
u16 LeftBar;
u16 RightBar;
} XHdmiC_AVI_InfoFrame;
Audio InfoFrame
Use the following code example for Audio InfoFrames:
typedef struct XHdmiC_Audio_InfoFrame {
unsigned char Version;
XHdmiC_AudioChannelCount ChannelCount;
XHdmiC_AudioCodingType CodingType;
XHdmiC_SampleSize SampleSize;
Chapter 3: Product Specification
PG235 (v3.2) October 19, 2022 www.xilinx.com
HDMI 1.4/2.0 TX Subsystem 19