summaryrefslogtreecommitdiff
path: root/postproc/swscale.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2001-12-02 20:03:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2001-12-02 20:03:26 +0000
commit077ea8a7f462b132765adfdcf53b898a6034d99b (patch)
tree4288f0da243d494c60e3f6c29bf3d7d38acbd7f6 /postproc/swscale.h
parentaf91b8b3c854fdfc34bc81dfd20faa439fe667e9 (diff)
horizontal up/downscale linear & cubic
-sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic) Originally committed as revision 3273 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale.h')
-rw-r--r--postproc/swscale.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/postproc/swscale.h b/postproc/swscale.h
index 7e104f7dc0..2c75a9007c 100644
--- a/postproc/swscale.h
+++ b/postproc/swscale.h
@@ -1,4 +1,8 @@
+#define SWS_FAST_BILINEAR 0
+#define SWS_BILINEAR 1
+#define SWS_BICUBIC 2
+
// *** bilinear scaling and yuv->rgb & yuv->yuv conversion of yv12 slices:
// *** Note: it's called multiple times while decoding a frame, first time y==0
// *** Designed to upscale, but may work for downscale too.