[FFmpeg-devel] [PATCH] lavfi/scale: add scale opencl filter

Michael Niedermayer michaelni at gmx.at
Thu Jun 27 16:24:57 CEST 2013


On Wed, Jun 26, 2013 at 07:18:15PM +0800, Wei Gao wrote:
> 2013/6/26 Michael Niedermayer <michaelni at gmx.at>
> 
> > On Tue, Jun 25, 2013 at 09:55:45AM +0800, Wei Gao wrote:
> > > 2013/6/20 Michael Niedermayer <michaelni at gmx.at>
> > >
> > > > On Thu, Jun 20, 2013 at 09:58:55AM +0800, Wei Gao wrote:
> > > > > 2013/6/8 Michael Niedermayer <michaelni at gmx.at>
> > > > >
> > > > > > On Wed, May 29, 2013 at 04:55:47PM +0800, Wei Gao wrote:
> > > >
> >
> > >
> > > which flags should we test is better?
> >
> > bicubic and lanczos are popular scaler variants IIRC
> >
> Hi
> 
> Thanks for your reply, the attachment is the benchmark and md5 code

"
ffmpeg-area_asm.log:frame=  912 fps=212 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-area_opencl.log:frame=  912 fps=177 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-bicubic_asm.log:frame=  912 fps=166 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-bicubic_opencl.log:frame=  912 fps=163 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-bicublin_asm.log:frame=  912 fps=185 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-bicublin_opencl.log:frame=  912 fps=166 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-bilinear_asm.log:frame=  912 fps=205 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-bilinear_opencl.log:frame=  912 fps=172 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-default_asm.log:frame=  912 fps=166 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-default_opencl.log:frame=  912 fps=163 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-fast_bilinear_asm.log:frame=  912 fps=216 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-fast_bilinear_opencl.log:frame=  912 fps=181 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-neighbor_asm.log:frame=  912 fps=224 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-neighbor_opencl.log:frame=  912 fps=179 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-spline_asm.log:frame=  912 fps=104 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
ffmpeg-spline_opencl.log:frame=  912 fps=137 q=0.0 Lsize=       0kB time=00:00:38.03 bitrate=   0.0kbits/s
"

so basically, its not faster
and that is against single threaded swscale, which could be made to
use multiple threads

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130627/05497e71/attachment.asc>


More information about the ffmpeg-devel mailing list