On date Wednesday 2011-07-13 01:17:34 +0800, Fredrik Mellbin encoded: > This patch cleans up several macros consisting of PixelFormat lists > with simpler checks derived from av_pix_fmt_descriptors. > > --- > libswscale/swscale_internal.h | 168 +++------------------ > libswscale/utils.c | 326 > ++++++++++++++++++++++++++--------------- > 2 files changed, 231 insertions(+), 263 deletions(-)
Same consideration for the other patch. The same can be achieved by storing colorspace information into an internal array, and then accessing that array without "polluting" pixdesc while a proper design for dealing with colorspace is found. _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel