summaryrefslogtreecommitdiffstats
path: root/postproc/swscale.h
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-02 20:03:26 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-02 20:03:26 +0000
commit4fbb3164380b618f87c3b6e4d12e645a26e462b1 (patch)
treea5cfe667117d409da42c11a92fc0e05f1f65e1d1 /postproc/swscale.h
parente44b4b461f273ce6bc3af43045a255cd006d39b7 (diff)
downloadmpv-4fbb3164380b618f87c3b6e4d12e645a26e462b1.tar.bz2
mpv-4fbb3164380b618f87c3b6e4d12e645a26e462b1.tar.xz
horizontal up/downscale linear & cubic
-sws command line option (0 -> fast_bilinear, 1->bilinear, 2->bicubic) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3273 b3059339-0415-0410-9bf9-f77b7e298cf2
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.