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

Wei Gao highgod0401 at gmail.com
Thu Jun 20 03:58:55 CEST 2013


2013/6/8 Michael Niedermayer <michaelni at gmx.at>

> On Wed, May 29, 2013 at 04:55:47PM +0800, Wei Gao wrote:
>
> >
>
>
>
> >  libavfilter/opencl_allkernels.c  |    2
>
> >  libavfilter/vf_scale.c           |   30 +-
>
> >  libswscale/Makefile              |    2
>
> >  libswscale/scale_opencl_kernel.h |  531
> +++++++++++++++++++++++++++++++++++++++
>
> >  libswscale/swscale_internal.h    |   32 ++
>
> >  libswscale/swscale_opencl.c      |  328 ++++++++++++++++++++++++
>
> >  libswscale/swscale_opencl.h      |   43 +++
>
> >  7 files changed, 964 insertions(+), 4 deletions(-)
>
> > bf60e224a4cfa8167ce952f940670013c025d4ee
>  0001-lavfi-scale-add-scale-opencl-filter.patch
>
> > From cbe06e650a42b3e4bf9abe2226b9c61602d12617 Mon Sep 17 00:00:00 2001
>
> > From: highgod0401 <highgod0401 at gmail.com>
>
> > Date: Wed, 29 May 2013 16:53:32 +0800
>
> > Subject: [PATCH] lavfi/scale: add scale opencl filter
>
>
>
> why does adding opencl support to swscale need changes to
>
> libavfilter ?
>
>
>
> Also can you post benchmark results?
>
> how much speed is gained by this and is there a quality difference
>
> to the software based swscale
>
> Hi,
Sorry for the late reply, we are so busy these days.
Our benchmark is as follows, and we found that ourout put is the same as
the C code but differrent from the asm output, the attachment is the
benchmark for C code, ASM, and OpenCL, including the md5 code

CPU:AMD Phenom(tm) II X6 1055T Processor x6
GPU:Graphic Card: AMD Radeon HD 6800 Series

And we will submit the patch later

thanks
Best regards


>
> [...]
>
> --
>
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
>
>
> Avoid a single point of failure, be that a person or equipment.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
-------------- next part --------------
MD5=6eeb9b530a5b6c48866dea79a68b0419
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-20130614-153314.log
Type: application/octet-stream
Size: 28418 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130620/b09400ea/attachment.obj>
-------------- next part --------------
MD5=4922015133ad03548fafb76acda3cabe
-------------- next part --------------
MD5=6eeb9b530a5b6c48866dea79a68b0419
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-20130614-152523.log
Type: application/octet-stream
Size: 13414 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130620/b09400ea/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-20130614-152625.log
Type: application/octet-stream
Size: 8225 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130620/b09400ea/attachment-0002.obj>


More information about the ffmpeg-devel mailing list