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

Nuo Mi nuomi2021 at gmail.com
Mon Jan 4 18:03:55 EET 2021


Yeah, thanks for the reminder.

On Mon, Jan 4, 2021 at 10:47 PM James Almer <jamrial at gmail.com> wrote:

> 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.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list