# HDMI HDR10 NOTES ## Dynamic Range and Mastering InfoFrame CTA-861-G 7.5.13 ![](https://i.imgur.com/2W6Yuu0.png) ![](https://i.imgur.com/liMxykv.png) ![](https://i.imgur.com/3vGlKZz.png) ![](https://i.imgur.com/IGkvHdY.png) <!-- Data Bytes 3 – 22 contain the Display Mastering data defined in SMPTE ST 2086 [41]. Data Bytes 3 – 18 are coded as unsigned 16-bit values in units of 0.00002, where 0x0000 represents zero and 0xC350 represents 1.0000. Data Bytes 3 - 14 describes the chromaticity of the Red, Green and Blue color primaries of the mastering display, All possible mappings of the chromaticity of Red, Green and Blue color primaries to indices 0, 1, and 2 are allowed and shall be supported by the sink. The correspondence between Red, Green and Blue color primaries and indices 0, 1, or 2 are determined by the following relationship: The Red color primary corresponds to the index of the largest display_primaries_x[] value. The Green color primary corresponds to the index of the largest display_primaries_y[] value. The Blue color primary corresponds to the index with neither the largest display_primaries_y[] value nor the largest display_primaries_x[] value. Data Bytes 19 – 20 specify a value for the max_display_mastering_luminance. This value is coded as an unsigned 16-bit value in units of 1 cd/m2, where 0x0001 represents 1 cd/m2 and 0xFFFF represents 65535 cd/m2. Data Bytes 21 – 22 specify a value for the min_display_mastering_luminance. This value is coded as an unsigned 16-bit value in units of 0.0001 cd/m2, where 0x0001 represents 0.0001 cd/m2 and 0xFFFF represents 6.5535 cd/m2. Data Bytes 23 – 24 contain the Maximum Content Light Level (MaxCLL). This value is coded as an unsigned 16-bit value in units of 1 cd/m2, where 0x0001 represents 1 cd/m2 and 0xFFFF represents 65535 cd/m2.12 The algorithm used to calculate MaxCLL is defined in Annex P section P.1. Data Bytes 25 – 26 contain the Maximum Frame-Average Light Level (MaxFALL). This value is coded as an unsigned 16-bit value in units of 1 cd/m2, where 0x0001 represents 1 cd/m2 and 0xFFFF represents 65535 cd/m2.13 The algorithm used to calculate MaxFALL is defined in Annex P section P.2. The data in Data Bytes 3 – 26 are arranged into groups, as indicated in Table 45 Static Metadata Descriptor Type 1 above. When all of the Data Bytes in a group are set to zero, then the Sink shall interpret the data for that group as unknown14. It is permissible to send a Static Metadata Descriptor (Data Bytes 3 through n) containing a subset of data that is constructed with partial zeroes. If a Source does not have SMPTE ST 2086 [41] metadata to send, then Data Bytes 3-22 shall be populated with zeroes to indicate the data is not provided. --> 實際上收到的Dynamic Range and Mastering InfoFrame Header byte0-2 InfoFrame Packet Checksum Static_Metadata_Descriptor0-26 ![](https://i.imgur.com/2BLEuOd.png) DRM PKT RECEIVE !! 0x87 0x01 0x1A 0xA4 0x02 0x00 0xC2 0x33 0xC4 0x86 0x4C 0x1D 0xB8 0x0B 0xD0 0x84 0x80 0x3E 0x13 0x3D 0x42 0x40 0x10 0x27 0x01 0x00 0x10 0x27 0xFA 0x00 0x00 <!-- 0x87 0x01 0x1A 0xA4 0x02 0x00 0xC2 0x33 0xC4 0x86 0x4C 0x1D 0xB8 0x0B 0xD0 0x84 0x80 0x3E 0x13 0x3D 0x42 0x40 0x10 0x27 0x01 0x00 0x10 0x27 0xFA 0x00 0xFF 26500 69000 15000 6000 68000 32000 31270 32900 10000 1 10000 250 --> 轉換為實際數值(僅供轉換參考,數值沒有全部一樣) ![](https://i.imgur.com/Juo0Cnb.jpg) 看第一段就好 Notes: + type code為 0x87,因為在HDMI1.4b 5-3中及CTA-861-G 6中說明Dynamic Range and Mastering (defined in Section 6.9 of CTA-861)為Infoframe的0x07。 ![](https://i.imgur.com/IvYvihM.png) ![](https://i.imgur.com/meAdG1k.png) + 而收到的packet中第4byte 0xA4則為InfoFrame Packet的Checksum,定義在HDMI 1.4b 5.3.5中。<!--(hdr static metadata透過此傳輸)。--> ![](https://i.imgur.com/36xmu3o.png) ## HDR10 定義 ![](https://i.imgur.com/A3jqztR.png) ## Colorimetry 色彩空間 bt.601, bt709 hdmi1.4b 6.7 2020 hdmi2.0 7.2 edid CTA-864-F Table 56 57