- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, everyone.
I'm working with Intel VPL to encode HDR video with HEVC codec.
I can successfully get HEVC video with display primaries metadata by adding mfxExtMasteringDisplayColourVolume to mfxVideoParam, but the order of Display Primaries is not right.
The highlighten part is Display Color Primaries SEI message, and this is the decoded result.
display_primaries_x[0] = 33905 (0x8471)
display_primaries_y[0] = 15945 (0x3E49)
display_primaries_x[1] = 11825 (0x2E31)
display_primaries_y[1] = 35240 (0x89A8)
display_primaries_x[2] = 7049 (0x1B89)
display_primaries_y[2] = 2445 (0x098D)
white_point_x = 15634 (0x3D12)
white_point_y = 16450 (0x4042)
The ordering of values in the mdcv SEI message is GBR but it is written in RGB order.
In the comment of mfxExtMasteringDisplayColourVolume in mfxstructures.h, the ordering of values is RGB order.
During video processing: If the application attaches this structure for video processing, InsertPayloadToggle will be ignored.
And DisplayPrimariesX[3], DisplayPrimariesY[3] specify the color primaries where 0,1,2 specifies Red, Green, Blue respectively.
Is the comment not correct or is this just an hevc encoder's bug?
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page