diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-12-05 15:43:14 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 10:09:15 +0100 |
commit | da5ba26b9e25f408e8d2f9428c9eca699f11a7db (patch) | |
tree | 493f05647cacfa6b0b1bd15725228d820e557ce2 | |
parent | cbebc3251bc2544b469e0dcb176bc04779d8866c (diff) | |
download | ffmpeg-da5ba26b9e25f408e8d2f9428c9eca699f11a7db.tar.gz |
lavc: Drop deprecated macroblock type symbols
Deprecated in 10/2013.
-rw-r--r-- | libavcodec/avcodec.h | 26 | ||||
-rw-r--r-- | libavcodec/mpegutils.h | 2 | ||||
-rw-r--r-- | libavcodec/version.h | 3 |
3 files changed, 0 insertions, 31 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 6311acf628..6fd76b5329 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1072,32 +1072,6 @@ typedef struct RcOverride{ #define CODEC_CAP_VARIABLE_FRAME_SIZE 0x10000 #endif /* FF_API_WITHOUT_PREFIX */ -#if FF_API_MB_TYPE -//The following defines may change, don't expect compatibility if you use them. -#define MB_TYPE_INTRA4x4 0x0001 -#define MB_TYPE_INTRA16x16 0x0002 //FIXME H.264-specific -#define MB_TYPE_INTRA_PCM 0x0004 //FIXME H.264-specific -#define MB_TYPE_16x16 0x0008 -#define MB_TYPE_16x8 0x0010 -#define MB_TYPE_8x16 0x0020 -#define MB_TYPE_8x8 0x0040 -#define MB_TYPE_INTERLACED 0x0080 -#define MB_TYPE_DIRECT2 0x0100 //FIXME -#define MB_TYPE_ACPRED 0x0200 -#define MB_TYPE_GMC 0x0400 -#define MB_TYPE_SKIP 0x0800 -#define MB_TYPE_P0L0 0x1000 -#define MB_TYPE_P1L0 0x2000 -#define MB_TYPE_P0L1 0x4000 -#define MB_TYPE_P1L1 0x8000 -#define MB_TYPE_L0 (MB_TYPE_P0L0 | MB_TYPE_P1L0) -#define MB_TYPE_L1 (MB_TYPE_P0L1 | MB_TYPE_P1L1) -#define MB_TYPE_L0L1 (MB_TYPE_L0 | MB_TYPE_L1) -#define MB_TYPE_QUANT 0x00010000 -#define MB_TYPE_CBP 0x00020000 -// Note bits 24-31 are reserved for codec specific use (H.264 ref0, MPEG-1 0mv, ...) -#endif - /** * Pan Scan area. * This specifies the area which should be displayed. diff --git a/libavcodec/mpegutils.h b/libavcodec/mpegutils.h index 60f971222e..960999c928 100644 --- a/libavcodec/mpegutils.h +++ b/libavcodec/mpegutils.h @@ -48,7 +48,6 @@ #define MAX_FCODE 7 /* MB types */ -#if !FF_API_MB_TYPE #define MB_TYPE_INTRA4x4 (1 << 0) #define MB_TYPE_INTRA16x16 (1 << 1) // FIXME H.264-specific #define MB_TYPE_INTRA_PCM (1 << 2) // FIXME H.264-specific @@ -70,7 +69,6 @@ #define MB_TYPE_L0L1 (MB_TYPE_L0 | MB_TYPE_L1) #define MB_TYPE_QUANT (1 << 16) #define MB_TYPE_CBP (1 << 17) -#endif #define MB_TYPE_INTRA MB_TYPE_INTRA4x4 // default mb_type if there is just one type diff --git a/libavcodec/version.h b/libavcodec/version.h index db14d7bf97..da2d5e5328 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -47,9 +47,6 @@ * the public API and may change, break or disappear at any time. */ -#ifndef FF_API_MB_TYPE -#define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 58) -#endif #ifndef FF_API_FAST_MALLOC #define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 58) #endif |