[FFmpeg-devel] Added - HW accelerated H.264 and HEVC encoding for AMD GPUs based on AMF SDK

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Oct 28 22:18:32 EEST 2017


2017-10-27 20:09 GMT+02:00 mmironov <mikhail.mironov at amd.com>:
> +const enum AVPixelFormat ff_amf_pix_fmts[] = {
> +    AV_PIX_FMT_NV12,

> +    AV_PIX_FMT_BGRA,
> +    AV_PIX_FMT_ARGB,
> +    AV_PIX_FMT_RGBA,

This is wrong, your encoders do not convert transparency
information, there are 32 rgb formats without alpha channel.

> +    { AV_PIX_FMT_NV12,       AMF_SURFACE_NV12 },
> +    { AV_PIX_FMT_D3D11,      AMF_SURFACE_NV12 },

Just curious: Can you explain this in simple words?

I will try not to comment on the headers you sent, Carl Eugen


More information about the ffmpeg-devel mailing list