diff imgresample.c @ 4065:93163e2a2398 libavcodec

Do not use a fake libavcodec/swscale.h, but always use the real one (from libswscale) instead
author lucabe
date Mon, 23 Oct 2006 17:06:32 +0000
parents 207c22206d53
children 225d287b337f
line wrap: on
line diff
--- a/imgresample.c	Mon Oct 23 16:54:21 2006 +0000
+++ b/imgresample.c	Mon Oct 23 17:06:32 2006 +0000
@@ -47,6 +47,11 @@
 
 #define LINE_BUF_HEIGHT (NB_TAPS * 4)
 
+struct SwsContext {
+    struct ImgReSampleContext *resampling_ctx;
+    enum PixelFormat src_pix_fmt, dst_pix_fmt;
+};
+
 struct ImgReSampleContext {
     int iwidth, iheight, owidth, oheight;
     int topBand, bottomBand, leftBand, rightBand;