On Wed, Apr 2, 2014 at 12:11 AM, Janne Grunau <[email protected]> wrote:
> ---
> any ideas how to auto-generate this from pixfmt.h? or using pixel format
> descriptions.

Maybe adding a note at the bottom of the list?

>  libavutil/pixdesc.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
> index d0e6919..1b34fc9 100644
> --- a/libavutil/pixdesc.c
> +++ b/libavutil/pixdesc.c
> @@ -1651,6 +1651,9 @@ enum AVPixelFormat av_pix_fmt_swap_endianness(enum 
> AVPixelFormat pix_fmt)
>      PIX_FMT_SWAP_ENDIANNESS(YUVA444P16);
>
>      PIX_FMT_SWAP_ENDIANNESS(XYZ12);
> +    PIX_FMT_SWAP_ENDIANNESS(NV20);
> +    PIX_FMT_SWAP_ENDIANNESS(RGBA64);
> +    PIX_FMT_SWAP_ENDIANNESS(BGRA64);
>      default:
>          return AV_PIX_FMT_NONE;
>      }

LGTM

-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to