Re: [FFmpeg-devel] [PATCH v3] lavc/aomdec: Allow RGB decoding

2021-06-10 Thread Balling
чт, 10 июн. 2021 г., 20:33 James Zern : > On Thu, Jun 10, 2021 at 9:26 AM Валерий Заподовников > wrote: > > > > >This doesn't match the check in libdav1d.c. > > > > I do not really care what libdav1d.c does, since it uses internal to AV1 > spec DAV1D_MC_IDENTITY (and frame->colorspace). This shou

Re: [FFmpeg-devel] [PATCH v3] lavc/aomdec: Allow RGB decoding

2021-06-10 Thread Thilo Borgmann
Am 10.06.21 um 20:26 schrieb Balling: > чт, 10 июн. 2021 г., 20:33 James Zern : > >> On Thu, Jun 10, 2021 at 9:26 AM Валерий Заподовников >> wrote: >>> This doesn't match the check in libdav1d.c. >>> >>> I do not really care what libdav1d.c does, since it uses internal to AV1 >> spec DAV1D_M

Re: [FFmpeg-devel] [PATCH v3] lavc/aomdec: Allow RGB decoding

2021-06-08 Thread James Zern
On Sat, Jun 5, 2021 at 10:16 PM Valerii Zapodovnikov wrote: > > Yes, RGB is signalled by Identity matrix if and only if XYZ is not > in transfer. XYZ primaries are just normal primaries that can be > used for normal RGB, no problem, so I do not check for them. > No need to test for sRGB primaries

[FFmpeg-devel] [PATCH v3] lavc/aomdec: Allow RGB decoding

2021-06-05 Thread Valerii Zapodovnikov
Yes, RGB is signalled by Identity matrix if and only if XYZ is not in transfer. XYZ primaries are just normal primaries that can be used for normal RGB, no problem, so I do not check for them. No need to test for sRGB primaries (that is AVCOL_PRI_BT709), as ffplay does not know what that is (is not