[FFmpeg-devel] [PATCH 01/27] cbs_h2645: Merge SEI messages in common between codecs

James Almer jamrial at gmail.com
Mon Jan 4 16:47:42 EET 2021


On 1/4/2021 11:32 AM, Nuo Mi wrote:
>> +static int FUNC(sei_mastering_display_colour_volume)
>> +    (CodedBitstreamContext *ctx, RWContext *rw,
>> +     SEIRawMasteringDisplayColourVolume *current)
>> +{
>> +    int err, c;
>> +
>> +    HEADER("Mastering Display Colour Volume");
>> +
>> +    for (c = 0; c < 3; c++) {
>> +        us(16, display_primaries_x[c], 0, 50000, 1, c);
>> +        us(16, display_primaries_y[c], 0, 50000, 1, c);
>> +    }
>> +
>> +    u(16, white_point_x, 0, 50000);
>> +    u(16, white_point_y, 0, 50000);
>>
> could you explain more about the 50000? it's not in spec.

Check patch 4/27. It was a constrain present in previous revisions of 
the spec.


More information about the ffmpeg-devel mailing list