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

Song, Ruiling ruiling.song at intel.com
Tue Jun 12 10:51:09 EEST 2018



> -----Original Message-----
> From: Song, Ruiling
> Sent: Wednesday, June 6, 2018 3:24 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Song, Ruiling <ruiling.song at intel.com>
> Subject: [PATCH v3 1/2] lavfi: add opencl tonemap filter.
> 
> 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
> 
> Signed-off-by: Ruiling Song <ruiling.song at intel.com>
> ---
> this version mainly address Mark's comments on v2.
> 
> Thanks!
> Ruiling
Ping? Any other comments on this version?

Thanks!
Ruiling


More information about the ffmpeg-devel mailing list