Use av_get_bits_per_pixel() for computing the bits per pixel of the
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 24 Jan 2010 12:55:05 +0000 (12:55 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 24 Jan 2010 12:55:05 +0000 (12:55 +0000)
commit30b6147521a3b2a9df4a4094ccee65a5fd8bc18f
treef3435c0c3c7df45cd01b8b4889d37f8259793dcb
parent59398ea9c0ffb22dc1038fba2d3aa72a414ab615
Use av_get_bits_per_pixel() for computing the bits per pixel of the
source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.

Originally committed as revision 30419 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/utils.c
libswscale/yuv2rgb.c