diff options
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index acdb183f90..00e9dd5e2f 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -516,10 +516,11 @@ enum AVChromaLocation{ AVCHROMA_LOC_NB , ///< Not part of ABI }; +#if FF_API_FLAC_GLOBAL_OPTS /** * LPC analysis type */ -enum AVLPCType { +attribute_deprecated enum AVLPCType { AV_LPC_TYPE_DEFAULT = -1, ///< use the codec default LPC type AV_LPC_TYPE_NONE = 0, ///< do not use LPC prediction or use all zero coefficients AV_LPC_TYPE_FIXED = 1, ///< fixed LPC coefficients @@ -527,6 +528,7 @@ enum AVLPCType { AV_LPC_TYPE_CHOLESKY = 3, ///< Cholesky factorization AV_LPC_TYPE_NB , ///< Not part of ABI }; +#endif enum AVAudioServiceType { AV_AUDIO_SERVICE_TYPE_MAIN = 0, @@ -2514,42 +2516,53 @@ typedef struct AVCodecContext { #define FF_COMPRESSION_DEFAULT -1 /** - * LPC coefficient precision - used by FLAC encoder * - encoding: Set by user. * - decoding: unused */ - int lpc_coeff_precision; + int min_prediction_order; /** * - encoding: Set by user. * - decoding: unused */ - int min_prediction_order; + int max_prediction_order; +#if FF_API_FLAC_GLOBAL_OPTS /** + * @defgroup flac_opts FLAC options + * @deprecated Use FLAC encoder private options instead. + * @{ + */ + + /** + * LPC coefficient precision - used by FLAC encoder * - encoding: Set by user. * - decoding: unused */ - int max_prediction_order; + attribute_deprecated int lpc_coeff_precision; /** * search method for selecting prediction order * - encoding: Set by user. * - decoding: unused */ - int prediction_order_method; + attribute_deprecated int prediction_order_method; /** * - encoding: Set by user. * - decoding: unused */ - int min_partition_order; + attribute_deprecated int min_partition_order; /** * - encoding: Set by user. * - decoding: unused */ - int max_partition_order; + attribute_deprecated int max_partition_order; + /** + * @} + */ +#endif /** * GOP timecode frame start number, in non drop frame format @@ -2767,19 +2780,21 @@ typedef struct AVCodecContext { int log_level_offset; +#if FF_API_FLAC_GLOBAL_OPTS /** * Determines which LPC analysis algorithm to use. * - encoding: Set by user * - decoding: unused */ - enum AVLPCType lpc_type; + attribute_deprecated enum AVLPCType lpc_type; /** * Number of passes to use for Cholesky factorization during LPC analysis * - encoding: Set by user * - decoding: unused */ - int lpc_passes; + attribute_deprecated int lpc_passes; +#endif /** * Number of slices. |