History

lavc: remove FF_API_MB_Q cruft

Anton Khirnov committed 15 years ago

Commit 6deae831 parent 694c1423 files · +0 −23Browse files

Unified · Split

3 files
  1. libavcodec/avcodec.h +0 −16
  2. libavcodec/options.c +0 −4
  3. libavcodec/version.h +0 −3
libavcodec/avcodec.h+0−16
@@ -1768,22 +1768,6 @@ typedef struct AVCodecContext { · 1767 unmodified lines
17681768 */
17691769 uint64_t error[4];
17701770
1771−#if FF_API_MB_Q
1772− /**
1773− * minimum MB quantizer
1774− * - encoding: unused
1775− * - decoding: unused
1776− */
1777− attribute_deprecated int mb_qmin;
1778−
1779− /**
1780− * maximum MB quantizer
1781− * - encoding: unused
1782− * - decoding: unused
1783− */
1784− attribute_deprecated int mb_qmax;
1785−#endif
1786−
17871771 /**
17881772 * motion estimation comparison function
17891773 * - encoding: Set by user.
libavcodec/options.c+0−4
@@ -247,10 +247,6 @@ static const AVOption options[]={ · 246 unmodified lines
247247 {"pf", "forward predicted MVs of P-frames", 0, FF_OPT_TYPE_CONST, FF_DEBUG_VIS_MV_P_FOR, INT_MIN, INT_MAX, V|D, "debug_mv"},
248248 {"bf", "forward predicted MVs of B-frames", 0, FF_OPT_TYPE_CONST, FF_DEBUG_VIS_MV_B_FOR, INT_MIN, INT_MAX, V|D, "debug_mv"},
249249 {"bb", "backward predicted MVs of B-frames", 0, FF_OPT_TYPE_CONST, FF_DEBUG_VIS_MV_B_BACK, INT_MIN, INT_MAX, V|D, "debug_mv"},
250−#if FF_API_MB_Q
251−{"mb_qmin", "obsolete, use qmin", OFFSET(mb_qmin), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E},
252−{"mb_qmax", "obsolete, use qmax", OFFSET(mb_qmax), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E},
253−#endif
254250 {"cmp", "full pel me compare function", OFFSET(me_cmp), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E, "cmp_func"},
255251 {"subcmp", "sub pel me compare function", OFFSET(me_sub_cmp), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E, "cmp_func"},
256252 {"mbcmp", "macroblock compare function", OFFSET(mb_cmp), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E, "cmp_func"},
libavcodec/version.h+0−3
@@ -47,9 +47,6 @@ · 46 unmodified lines
4747 #ifndef FF_API_OLD_AUDIOCONVERT
4848 #define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 54)
4949 #endif
50−#ifndef FF_API_MB_Q
51−#define FF_API_MB_Q (LIBAVCODEC_VERSION_MAJOR < 53)
52−#endif
5350 #ifndef FF_API_ANTIALIAS_ALGO
5451 #define FF_API_ANTIALIAS_ALGO (LIBAVCODEC_VERSION_MAJOR < 54)
5552 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t