[FFmpeg-devel] [PATCH 1/5] lavu/pixfmt: add Y210/AYUV/Y410 pixel formats

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Jun 27 21:40:16 EEST 2019

Am Do., 27. Juni 2019 um 16:28 Uhr schrieb Linjie Fu <linjie.fu at intel.com>:
> Previously, media driver provided planar format(like 420 8 bit), but
> for HEVC Range Extension (422/444 8/10 bit), the decoded image
> is produced in packed format.

(The question "why" and the answer "because Windows expects it"
come to mind.)

> Y210/AYUV/Y410 are packed formats which are needed in HEVC
> Rext decoding for both VAAPI and QSV:
>     - Y210: 422 10 BIT
>     - AYUV: 444  8 BIT
>     - Y410: 444 10 BIT

Could you explain the relation between an alpha channel and hevc?

Imo, for this patch to be acceptable, a conversion function in
libswscale is needed.

Thank you, Carl Eugen

More information about the ffmpeg-devel mailing list