[FFmpeg-soc] some questions about swscale

Keiji Costantini lists at strites.net
Sat May 3 20:13:47 CEST 2008


I took a look at sequent files in libswscale directory:

Makefile
swscale.h
swscale.c
swscale_internal.h
swscale-example.c

During the project I am told to *not* read the file "yuv2rgb.c". If 
there are other files not to read, it would be nice to know that. For 
now, I'm checking that every file I open contains an LGPL header or the 
permission of utilization under LGPL (as swscale.c).

regarding "swscale-example.c" and "swscale_internal.h"
swscale-example.c includes swscale_internal.h which, according to 
Makefile, is not public. Could test function inside "swscale-example.c" 
be split from the file to have a clean "example" about using swscale 
(Just took about 1/2 hour to understand why it is there)?

regarding "swscale.c"
Should asm code be split in different files - for example to let 
Makefile manage arch / cpu features (such mmx,3dnow etc)?

-- 
Keiji Costantini



More information about the FFmpeg-soc mailing list