diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-24 17:04:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-24 17:04:20 +0000 |
commit | 516b1f82acddab37d1df2c9d917779f0125423b0 (patch) | |
tree | c5df1954a68e3623609da62e012ebde1a5e26148 /postproc/swscale-example.c | |
parent | 8c0ff5d5c28df0cda89f31cda2df2fcdf8fd85bb (diff) | |
download | ffmpeg-516b1f82acddab37d1df2c9d917779f0125423b0.tar.gz |
removing sws - global verbose var dependancy
removing sws - cpudetect dependancy (note rgb2rgb still needs it)
moving mplayer specific stuff from swscale.c -> vf_scale.c
Originally committed as revision 9976 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale-example.c')
-rw-r--r-- | postproc/swscale-example.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/postproc/swscale-example.c b/postproc/swscale-example.c index f83fe0ce07..58c43758cb 100644 --- a/postproc/swscale-example.c +++ b/postproc/swscale-example.c @@ -24,7 +24,6 @@ #include "swscale.h" #include "../libvo/img_format.h" -#include "../cpudetect.h" static int testFormat[]={ IMGFMT_YVU9, @@ -142,7 +141,6 @@ void mp_msg_c( int x, const char *format, ... ){ va_end(va); } -int verbose=0; //FIXME void fast_memcpy(void *a, void *b, int s){ //FIXME memcpy(a, b, s); } @@ -188,7 +186,6 @@ int main(int argc, char **argv){ int stride[3]={W, W, W}; int x, y; struct SwsContext *sws; - GetCpuCaps(&gCpuCaps); sws= sws_getContext(W/12, H/12, IMGFMT_BGR32, W, H, IMGFMT_YV12, 2, NULL, NULL); @@ -201,4 +198,6 @@ int main(int argc, char **argv){ sws_scale(sws, rgb_src, rgb_stride, 0, H , src, stride); asm volatile ("emms\n\t"); selfTest(src, stride, W, H); + + return 123; } |