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.
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.