[FFmpeg-devel] [PATCH 2/9] swscale: Add swscale input support for Y210LE

Fu, Linjie linjie.fu at intel.com
Sun Jan 19 11:28:10 EET 2020


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Carl Eugen Hoyos
> Sent: Thursday, January 16, 2020 19:38
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 2/9] swscale: Add swscale input support
> for Y210LE
> 
> Am Do., 16. Jan. 2020 um 07:49 Uhr schrieb Fu, Linjie <linjie.fu at intel.com>:
> >
> > > -----Original Message-----
> > > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > > Carl Eugen Hoyos
> > > Sent: Thursday, January 16, 2020 02:30
> > > To: FFmpeg development discussions and patches <ffmpeg-
> > > devel at ffmpeg.org>
> > > Subject: Re: [FFmpeg-devel] [PATCH 2/9] swscale: Add swscale input
> support
> > > for Y210LE
> > >
> > > Am Mi., 15. Jan. 2020 um 07:59 Uhr schrieb Linjie Fu <linjie.fu at intel.com>:
> > > >
> > > > Add swscale input support for Y210LE, output support and fate
> > > > test could be added later if there is requirement for software
> > > > CSC to this packed format.
> > >
> > > Please confirm that this works as expected on big-endian hardware.
> > >
> > If I understood correctly,  the concern is whether it works for Y210 software
> scale
> > on big-endian hardware, and whether it would break fate.
> 
> Exactly.
> Just confirm (either in the commit message or via mail) that you tested it.

Hi,

All fate tests passed on big-endian environment(ppc 64) except for the known dnn breaks.

(finally figured out to get access to a Power 8 with RHEL 7.2 ppc64, and
Configure ffmpeg with  --arch=ppc --enable-altivec --samples=fate-suite)

# lscpu
Architecture:          ppc64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Big Endian

The swscale works for y210le. (-pix_fmt y210le -i input.yuv ... -pix_fmt p010le)

And for y210(-pix_fmt y210 -i input.yuv), since we didn't declare the capability of  y210be,
it is not able to convert to other format as expected.

If there are more tests needed, please help to comment, thanks.




More information about the ffmpeg-devel mailing list