[FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

Lauri Kasanen cand at gmx.com
Fri May 10 18:12:39 EEST 2019


On Fri, 10 May 2019 08:07:45 -0700
Philip Langdale <philipl at overt.org> wrote:

> On Fri, 10 May 2019 09:35:40 +0300
> Lauri Kasanen <cand at gmx.com> wrote:
>
> >
> > I'm having trouble making out what formats exactly isSemiPlanarYUV()
> > matches. Are you sure it's an equivalent check?
> >
>
> Well, the check's been in there for quite a while; that's not new.
>
> (isPlanarYUV(pix_fmt) && desc->comp[1].plane == desc->comp[2].plane);
>
> So, any planar yuv format where component 1 and component 2 are on the
> same plane. Except for semi planar formats, you expect either all
> components on the same plane (packed, so not planar) or every component
> on a separate plain (normal planar).

Yes, I understand that. I mean: can you list all formats that function
matches?

- Lauri


More information about the ffmpeg-devel mailing list