[FFmpeg-devel] Swscale Cleanup preview
Luca Barbato
lu_zero
Wed Jan 19 01:11:40 CET 2011
This is the initial part of the cleanup, I'm publishing it so you
can already have a look.
The next steps will be related to thin the code duplication, change
the init functions and mold the rest so it could be more in line with
what we have in libavcodec for arch specific sections.
Luca Barbato (7):
Thin rgb2rgb a little part 1 of many
Factorize FAST_BGR2YV12
Move away x86 specific code from rgb2rgb part 1
Untemplatize C code part 1
Switch x86_reg to int for the C code
Move away x86 specific code from rgb2rgb part 2
Split swscale_template.c
libswscale/Makefile | 7 +-
libswscale/ppc/swscale_template.c | 903 +++++++++++
libswscale/rgb2rgb.c | 163 +--
libswscale/rgb2rgb_template.c | 2209 ++-------------------------
libswscale/swscale.c | 10 +-
libswscale/swscale_functions.c | 67 +
libswscale/swscale_template.c | 2194 --------------------------
libswscale/x86/rgb2rgb.c | 150 ++
libswscale/x86/rgb2rgb_template.c | 2944 +++++++++++++++++++++++++++++++++++
libswscale/x86/swscale_template.c | 3043 +++++++++++++++++++++++++++++++++++++
10 files changed, 7223 insertions(+), 4467 deletions(-)
More information about the ffmpeg-devel
mailing list