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. git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30419 b3059339-0415-0410-9bf9-f77b7e298cf2
Showing
Please register or sign in to comment