[libav-devel] [RFC/PATCH 02/11] qsvdec: list supported pixel formats

Luca Barbato lu_zero at gentoo.org
Wed Aug 12 15:25:45 CEST 2015

On 12/08/15 15:07, Anton Khirnov wrote:
> This is useful for detecting QSV-enabled decoders.
> ---
> This is rather hacky. Can anyone think of a better solution?

It is not hacky as long it is acceptable to have 1 pixel format for each
hwaccel. So it is fine for me now.

The flexible way is to add a callback that takes some kind of richer
descriptors such as the AVScale AVPixFormaton and return what among
those it accepts.


More information about the libav-devel mailing list