[FFmpeg-devel] [PATCH 2/8] swscale: Add swscale input support for Y210

Fu, Linjie linjie.fu at intel.com
Tue Jan 14 05:20:11 EET 2020


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Carl Eugen Hoyos
> Sent: Monday, January 13, 2020 00:40
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 2/8] swscale: Add swscale input support
> for Y210
> 
> Am So., 29. Dez. 2019 um 17:40 Uhr schrieb Linjie Fu <linjie.fu at intel.com>:
> >
> > Add swscale input support for Y210, output support and fate
> > test could be added later if there is requirement for software
> > CSC to this packed format.
> >
> > Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> > ---
> format_entries[AV_PIX_FMT_NB] = {
> >      [AV_PIX_FMT_YUVA444P12LE] = { 1, 1 },
> >      [AV_PIX_FMT_NV24]        = { 1, 1 },
> >      [AV_PIX_FMT_NV42]        = { 1, 1 },
> > +    [AV_PIX_FMT_Y210BE]      = { 1, 0 },
> > +    [AV_PIX_FMT_Y210LE]      = { 1, 0 },
> 
> Am I correct that this functions only work on LE because the vaapi drivers
> only exist for LE?

The only output from VAAPI driver is Y210LE. Y210BE is not available for
the hardware.(swscale input support for BE is identical to LE, and should also work)

The Y210BE definition and software scale support could be hold currently and maybe
add later if there is a requirement.

Will update a new version.
Thanks.





More information about the ffmpeg-devel mailing list