[FFmpeg-devel] [PATCH v4 2/2] avfilter: Add tonemap vaapi filter

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Sep 12 00:02:10 EEST 2019


Am Mi., 11. Sept. 2019 um 07:41 Uhr schrieb Zachary Zhou
<zachary.zhou at intel.com>:
>
> It supports ICL platform.
> H2H (HDR to HDR): P010 -> A2R10G10B10
> H2S (HDR to SDR): P010 -> ARGB

> +    if (ctx->hdr_type == HDR_VAAPI_H2H) {
> +        vpp_ctx->output_format = AV_PIX_FMT_A2R10G10B10;

I believe that even if you tell me that a conversion to planar on the
gpu is impossible (why?), a slow C conversion still makes the filter
more useful.

Carl Eugen


More information about the ffmpeg-devel mailing list