[FFmpeg-devel] [RFC PATCH] libavcodec/libopenjpeg: pix fmt selection change

Gautam Ramakrishnan gautamramk at gmail.com
Sun Jul 19 14:26:47 EEST 2020


On Sun, Jul 19, 2020 at 12:09 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
> Am Di., 9. Juni 2020 um 20:25 Uhr schrieb Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> >
> > Am Di., 9. Juni 2020 um 19:12 Uhr schrieb Gautam Ramakrishnan
> > <gautamramk at gmail.com>:
> > >
> > > On Tue, Jun 9, 2020 at 10:24 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> > > >
> > > > Am Di., 9. Juni 2020 um 14:07 Uhr schrieb <gautamramk at gmail.com>:
> > > > >
> > > > > From: Gautam Ramakrishnan <gautamramk at gmail.com>
> > > > >
> > > > > This patch makes selection of pix_fmt similar to
> > > > > that in the native decoder. This makes samples such
> > > > > as p0_05.j2k and p1_03.j2k decodable by libopenjpeg.
> > > >
> > > > Since both files are not YUVA420P, I am not sure if this
> > > > patch is a good idea, in any case, the commit message
> > > > mentioning the two files as reasons for this patch is wrong.
> > > >
> > > I am not sure what file format this is then.
> >
> > I failed to find out so far, possibly Bayer, CMYK seems less
> > likely to me.
>
> I believe it is YCCK, two components (CC, if I am right) are
> subsampled.
In that case, does this patch make sense. I kinda just tried to replicate
the native decoder



-- 
-------------
Gautam |


More information about the ffmpeg-devel mailing list