[FFmpeg-devel] [PATCH 1/2] libavutil/libavfilter: opencl wrapper based on comments on 20130326

Wei Gao highgod0401 at gmail.com
Wed Mar 27 09:57:11 CET 2013


2013/3/27 Stefano Sabatini <stefasab at gmail.com>

> On date Tuesday 2013-03-26 18:55:05 +0800, Wei Gao encoded:
> >
>
> > + *@param ext_opencl_info    this is the extern OpenCL environment which
> the application program has created
> > + *@return  >=0 on success, a negative error value on failure
> > + */
> > +int av_opencl_init(const char *build_option, AVOpenCLExternalInfo
> *ext_opencl_info);
>
> It would be better to pass an AVDictionary here, so we can add more
> options (e.g. paths and security policy options) without breaking the
> API later. Or this could be done with a sort of per-component context,
> in a similar way with what is done for example with avcodec_open2()
> (where we pass all the options through an AVDictionary).
>
got what you mean, add a parameter char *av_dictionary, right?

> --
> FFmpeg = Fanciful and Fiendish MultiPurpose Exxagerate Genius
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list