av_get_pix_fmt

Return the pixel format corresponding to name.

If there is no pixel format with name name, then looks for a pixel format with the name corresponding to the native endian format of name. For example in a little-endian system, first looks for "gray16", then for "gray16le".

Finally if no pixel format has been found, returns AV_PIX_FMT_NONE.

extern (C) @nogc nothrow
av_get_pix_fmt
(
const(char)* name
)

Meta