Revision 4e3945fd

View differences:

libavcodec/avcodec.h
2153 2153
     */
2154 2154
    int error_rate;
2155 2155

  
2156
#if FF_API_ANTIALIAS_ALGO
2156 2157
    /**
2157 2158
     * MP3 antialias algorithm, see FF_AA_* below.
2158 2159
     * - encoding: unused
2159 2160
     * - decoding: Set by user.
2160 2161
     */
2161
    int antialias_algo;
2162
    attribute_deprecated int antialias_algo;
2162 2163
#define FF_AA_AUTO    0
2163 2164
#define FF_AA_FASTINT 1 //not implemented yet
2164 2165
#define FF_AA_INT     2
2165 2166
#define FF_AA_FLOAT   3
2167
#endif
2168

  
2166 2169
    /**
2167 2170
     * quantizer noise shaping
2168 2171
     * - encoding: Set by user.
libavcodec/options.c
319 319
{"inter_threshold", NULL, OFFSET(inter_threshold), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E},
320 320
{"flags2", NULL, OFFSET(flags2), FF_OPT_TYPE_FLAGS, CODEC_FLAG2_FASTPSKIP|CODEC_FLAG2_BIT_RESERVOIR|CODEC_FLAG2_PSY|CODEC_FLAG2_MBTREE, 0, UINT_MAX, V|A|E|D, "flags2"},
321 321
{"error", NULL, OFFSET(error_rate), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E},
322
#if FF_API_ANTIALIAS_ALGO
322 323
{"antialias", "MP3 antialias algorithm", OFFSET(antialias_algo), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|D, "aa"},
324
#endif
323 325
{"auto", NULL, 0, FF_OPT_TYPE_CONST, FF_AA_AUTO, INT_MIN, INT_MAX, V|D, "aa"},
324 326
{"fastint", NULL, 0, FF_OPT_TYPE_CONST, FF_AA_FASTINT, INT_MIN, INT_MAX, V|D, "aa"},
325 327
{"int", NULL, 0, FF_OPT_TYPE_CONST, FF_AA_INT, INT_MIN, INT_MAX, V|D, "aa"},
libavcodec/version.h
80 80
#ifndef FF_API_MB_Q
81 81
#define FF_API_MB_Q             (LIBAVCODEC_VERSION_MAJOR < 53)
82 82
#endif
83
#ifndef FF_API_ANTIALIAS_ALGO
84
#define FF_API_ANTIALIAS_ALGO   (LIBAVCODEC_VERSION_MAJOR < 54)
85
#endif
83 86

  
84 87
#endif /* AVCODEC_VERSION_H */

Also available in: Unified diff