On 02/04/2012 12:46 PM, Ronald S. Bultje wrote:
> New macro, isPackedRGB and isPlanarRGB.
> 
> #define isPlanarRGB(x) ((av_pix_fmt_descriptors[x].flags &
> (PIX_FMT_PLANAR | PIX_FMT_RGB)) == (PIX_FMT_PLANAR | PIX_FMT_RGB))
> #define isPackedRGB(x) ((av_pix_fmt_descriptors[x].flags &
> (PIX_FMT_PLANAR | PIX_FMT_RGB)) == PIX_FMT_RGB)

Indeed... new patch incoming.

This raises the question... if we have flags... why are there big
lists of pix_fmts in that header at all?

- Derek

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

Reply via email to