[FFmpeg-cvslog] lavc: remove disabled FF_API_SNOW cruft
Anton Khirnov
git at videolan.org
Wed Mar 13 12:01:27 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Feb 23 08:20:12 2013 +0100| [3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00] | committer: Anton Khirnov
lavc: remove disabled FF_API_SNOW cruft
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00
---
libavcodec/avcodec.h | 10 ----------
libavcodec/options_table.h | 3 ---
libavcodec/version.h | 3 ---
3 files changed, 16 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fc85979..84db6ca 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -154,9 +154,6 @@ enum AVCodecID {
AV_CODEC_ID_MSZH,
AV_CODEC_ID_ZLIB,
AV_CODEC_ID_QTRLE,
-#if FF_API_SNOW
- AV_CODEC_ID_SNOW,
-#endif
AV_CODEC_ID_TSCC,
AV_CODEC_ID_ULTI,
AV_CODEC_ID_QDRAW,
@@ -510,9 +507,6 @@ enum Motion_Est_ID {
ME_X1, ///< reserved for experiments
ME_HEX, ///< hexagon based search
ME_UMH, ///< uneven multi-hexagon search
-#if FF_API_SNOW
- ME_ITER, ///< iterative search
-#endif
ME_TESA, ///< transformed exhaustive search algorithm
};
@@ -1395,10 +1389,6 @@ typedef struct AVCodecContext {
#define FF_CMP_VSAD 8
#define FF_CMP_VSSE 9
#define FF_CMP_NSSE 10
-#if FF_API_SNOW
-#define FF_CMP_W53 11
-#define FF_CMP_W97 12
-#endif
#define FF_CMP_DCTMAX 13
#define FF_CMP_DCT264 14
#define FF_CMP_CHROMA 256
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index c10d2ce..5f4b4e4 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -83,9 +83,6 @@ static const AVOption options[]={
{"x1", "X1 motion estimation", 0, AV_OPT_TYPE_CONST, {.i64 = ME_X1 }, INT_MIN, INT_MAX, V|E, "me_method" },
{"hex", "hex motion estimation", 0, AV_OPT_TYPE_CONST, {.i64 = ME_HEX }, INT_MIN, INT_MAX, V|E, "me_method" },
{"umh", "umh motion estimation", 0, AV_OPT_TYPE_CONST, {.i64 = ME_UMH }, INT_MIN, INT_MAX, V|E, "me_method" },
-#if FF_API_SNOW
-{"iter", "iter motion estimation", 0, AV_OPT_TYPE_CONST, {.i64 = ME_ITER }, INT_MIN, INT_MAX, V|E, "me_method" },
-#endif
{"extradata_size", NULL, OFFSET(extradata_size), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX},
{"time_base", NULL, OFFSET(time_base), AV_OPT_TYPE_RATIONAL, {.dbl = 0}, INT_MIN, INT_MAX},
{"g", "set the group of picture (GOP) size", OFFSET(gop_size), AV_OPT_TYPE_INT, {.i64 = 12 }, INT_MIN, INT_MAX, V|E},
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 69b73d9..eeb7ab6 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -49,9 +49,6 @@
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
-#ifndef FF_API_SNOW
-#define FF_API_SNOW (LIBAVCODEC_VERSION_MAJOR < 55)
-#endif
#ifndef FF_API_IDCT
#define FF_API_IDCT (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
More information about the ffmpeg-cvslog
mailing list