The Dynamic HDR info structure is as follows.
typedef struct {
XV_HdmiRxSs1_DynHdrErrType err; /* Error type */
u16 pkt_type; /* Packet Type */
u16 pkt_length; /* Packet length */
u8 gof; /* Graphics Overlay Flag */
} XV_HdmiRxSs1_DynHDR_Info;
The following table provides details of the Dynamic HDR info structure variables and their relation.
| Info Frame Type | PktType | PktLength | GOF |
|---|---|---|---|
| No Dynamic HDR | 0 | N/A | N/A |
| ST 2094-10 (Annex R) 1 | 1 | Up to 65535 | 0/1 |
| ETSI TS 103-433-1 2 | 2 | Up to 65535 | 0/1 |
| ITU-T H.265 CRI 3 | 3 | Up to 65535 | 0/1 |
| ST 2094-40 (Annex S) 4 | 4 | Up to 65535 | 0/1 |
| HDR10+ VSIF | 5 | 28 | N/A |
| HDR-VIVID VS-EMDS 5 | 6 | 56 | N/A |
|
|||
The following API functions are defined in the HDMI 2.1 RX Subsystemdriver to read of the Dynamic HDR metadata info frames packets.
- To configure the Dynamic HDR metadata buffer address
-
void XV_HdmiRxSs1_DynHDR_SetAddr(XV_HdmiRxSs1 *InstancePtr, u64 Addr) - To read the Dynamic HDR info frame packet details
-
void XV_HdmiRxSs1_DynHDR_GetInfo(XV_HdmiRxSs1 *InstancePtr, XV_HdmiRxSs1_DynHDR_Info *RxDynHdrInfo)