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

Fu, Linjie linjie.fu at intel.com
Tue Jan 14 09:25:38 EET 2020


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Carl Eugen Hoyos
> Sent: Tuesday, January 14, 2020 12:42
> 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 14.01.2020 um 04:20 schrieb Fu, Linjie <linjie.fu at intel.com>:
> >
> > Zitierten Inhalt anzeigen
> >> -----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.
> 
> But does the driver also exist on big-endian hardware? And was your
> conversion routine tested on big-endian hardware?

As far as I know from media-driver, there is no support on big-endian hardware,
hence no testing for big endian conversion locally. To avoid any uncertainty, we
can hold the big-endian support unless it's demanded someday.




More information about the ffmpeg-devel mailing list