diff options
author | Luca Abeni <lucabe72@email.it> | 2006-07-20 12:13:57 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2006-07-20 12:13:57 +0000 |
commit | 94c4def23c3b212dd0f8fde902cecf47e5bee1c2 (patch) | |
tree | ba231cc7583e8f1a7b695517df31aa686034ac6a /libswscale/swscale-example.c | |
parent | 918a45917c4cab7f830c05d728f257a7c0ce2f34 (diff) | |
download | ffmpeg-94c4def23c3b212dd0f8fde902cecf47e5bee1c2.tar.gz |
Use libavutil in libswscale, and allow it to be built out of the mplayer tree
Originally committed as revision 19148 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale-example.c')
-rw-r--r-- | libswscale/swscale-example.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index f8e0ef4e8e..bda9aa351e 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -22,10 +22,8 @@ #include <inttypes.h> #include <stdarg.h> -#include "config.h" - #include "swscale.h" -#include "libvo/img_format.h" +#include "img_format.h" static int testFormat[]={ IMGFMT_YVU9, @@ -120,8 +118,8 @@ static void doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcForma if(ssdY>100 || ssdU>100 || ssdV>100){ printf(" %s %dx%d -> %s %4dx%4d flags=%2d SSD=%5lld,%5lld,%5lld\n", - vo_format_name(srcFormat), srcW, srcH, - vo_format_name(dstFormat), dstW, dstH, + sws_format_name(srcFormat), srcW, srcH, + sws_format_name(dstFormat), dstW, dstH, flags, ssdY, ssdU, ssdV); } @@ -163,8 +161,8 @@ static void selfTest(uint8_t *src[3], int stride[3], int w, int h){ if(!dstFormat) break; // if(!isSupportedOut(dstFormat)) continue; printf("%s -> %s\n", - vo_format_name(srcFormat), - vo_format_name(dstFormat)); + sws_format_name(srcFormat), + sws_format_name(dstFormat)); srcW= w; srcH= h; |