[FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.

Song, Ruiling ruiling.song at intel.com
Thu Jun 21 03:53:31 EEST 2018



> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of
> Moritz Barsnick
> Sent: Wednesday, June 20, 2018 7:32 PM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.
> 
> On Tue, Jun 19, 2018 at 09:57:31 +0800, Ruiling Song wrote:
> > As I didn't receive any other comment on v3, this version only fix the comment
> from Michael.
> > And also include some little change to leverage CL_SET_KERNEL_ARG() macro.
> 
> Could you kindly add some documentation to doc/filters.texi, at least
> describing the filter's options?
> 
> > This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping.
> >
> > An example command to use this filter with vaapi codecs:
> > FFMPEG -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device \
> > opencl=ocl at va -hwaccel vaapi -hwaccel_device va -hwaccel_output_format \
> > vaapi -i INPUT -filter_hw_device ocl -filter_complex \
> > '[0:v]hwmap,tonemap_opencl=t=bt2020:tonemap=linear:format=p010[x1]; \
> > [x1]hwmap=derive_device=vaapi:reverse=1' -c:v hevc_vaapi -profile 2
> OUTPUT
> 
> This could also go into the documentation.

Yes, thanks. Although I am not quite good at English writing, I will try to add some document and send out for review.

Thanks!
Ruiling
> 
> Thanks,
> Moritz
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list