summaryrefslogtreecommitdiff
path: root/libavcodec/imgresample.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2006-10-23 17:06:32 +0000
committerLuca Abeni <lucabe72@email.it>2006-10-23 17:06:32 +0000
commita163ed1aaae3d15ad59ca176f5f468a5e883c2cb (patch)
tree65b1b1a133ae0e461048b553419c5745a0731f94 /libavcodec/imgresample.c
parent755073fe3c0238aab282851f54cf9ffcf84065dc (diff)
Do not use a fake libavcodec/swscale.h, but always use the real one
(from libswscale) instead Originally committed as revision 6777 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgresample.c')
-rw-r--r--libavcodec/imgresample.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c
index e294dbc2a6..84336ef590 100644
--- a/libavcodec/imgresample.c
+++ b/libavcodec/imgresample.c
@@ -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;