[FFmpeg-devel] [OPENCL] a idea to get a better performance of the OPENCL video filter

weixuan wang batmanwwx at gmail.com
Thu Jun 27 02:25:08 CEST 2013


thank you for your help!

in my opinion, i want to make the filter can automatic judge whether using
the OPENCL share buffer. i just want to know if i can use the data[5] of
the avframe as the pointer which can restore the OPENCL share buffer. if
the community confirm it, i will implement a patch with my design.





2013/6/27 Timothy Gu <timothygu99 at gmail.com>

> On Jun 26, 2013 1:52 AM, "weixuan wang" <batmanwwx at gmail.com> wrote:
> >
> > Would it be an alternative to only have one
> > opencl filter that supports unsharp, deshake
> > and all future features?
> > yes, it will be an alternative to the all of the filters which supports
> the
> > OPENCL.
> >
>
> I guess you didn't understand Carl's question. He was asking whether having
> only ONE "opencl" filter for everything is reasonable. Something like this:
> -vf 'opencl=unsharp:otheropt'.
>
> > Or will all filters really be implemented very
> > similar to the existing filters (with identical
> > options) so that it makes perfectly sense to
> > have them in one source file together with the
> > existing filters and as the same filter for
> > the users?
> > yes, it will be  implemented very similar to the existing filters, but
> only
> > the filters which supports the OPENCL need this function to improve their
> > performance.
>
> Same here. Carl probably means having separated filters.
> (unsharp=opts,delogo=opts)
>
> Timothy
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list