Browse Source

lavc: remove disabled FF_API_INTER_THRESHOLD cruft

tags/n2.0
Anton Khirnov 12 years ago
parent
commit
2a11369523
3 changed files with 0 additions and 13 deletions
  1. +0
    -7
      libavcodec/avcodec.h
  2. +0
    -3
      libavcodec/options_table.h
  3. +0
    -3
      libavcodec/version.h

+ 0
- 7
libavcodec/avcodec.h View File

@@ -1557,13 +1557,6 @@ typedef struct AVCodecContext {
*/
int noise_reduction;

#if FF_API_INTER_THRESHOLD
/**
* @deprecated this field is unused
*/
attribute_deprecated int inter_threshold;
#endif

/**
* Motion estimation threshold below which no motion estimation is
* performed, but instead the user specified motion vectors are used.


+ 0
- 3
libavcodec/options_table.h View File

@@ -283,9 +283,6 @@ static const AVOption options[]={
{"lmax", "maximum Lagrange factor (VBR)", OFFSET(lmax), AV_OPT_TYPE_INT, {.i64 = 31*FF_QP2LAMBDA }, 0, INT_MAX, V|E},
{"nr", "noise reduction", OFFSET(noise_reduction), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E},
{"rc_init_occupancy", "number of bits which should be loaded into the rc buffer before decoding starts", OFFSET(rc_initial_buffer_occupancy), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E},
#if FF_API_INTER_THRESHOLD
{"inter_threshold", NULL, OFFSET(inter_threshold), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E},
#endif
{"flags2", NULL, OFFSET(flags2), AV_OPT_TYPE_FLAGS, {.i64 = DEFAULT}, 0, UINT_MAX, V|A|E|D, "flags2"},
{"error", NULL, OFFSET(error_rate), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E},
{"threads", NULL, OFFSET(thread_count), AV_OPT_TYPE_INT, {.i64 = 1 }, 0, INT_MAX, V|E|D, "threads"},


+ 0
- 3
libavcodec/version.h View File

@@ -49,9 +49,6 @@
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
#ifndef FF_API_INTER_THRESHOLD
#define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_SUB_ID
#define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55)
#endif


Loading…
Cancel
Save