Remove code duplication in sws_rgb2rgb_init.
The lists of assignments of all rgbxtoy variants are removed from sws_rgb2rgb_init and replaced by a single list inside the template file. This way, multiple lists are generated by the preprocessor and each list gets its own initialization function. Those are called from the main sws_rgb2rgb_init function, if applicable. git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@22978 b3059339-0415-0410-9bf9-f77b7e298cf2
Showing
Please register or sign in to comment