[FFmpeg-devel] [RFC] Simplify swscale_internal.h:fmt_depth()
Sat Jan 16 19:59:00 CET 2010
Hi, I'm aware this patch introduces a slow-down, an idea would be to
initialize a ff_bits_per_pixel array during the init phase, and then
use a function of the kind:
static inline int fmt_depth(int fmt)
Would be that acceptable?
In this case can you suggest where to initialize stuff?
FFmpeg = Fantastic Fast Mystic Prodigious Esoteric Gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1392 bytes
Desc: not available
More information about the ffmpeg-devel