Revision 23940f14 libavcodec/avcodec.h

View differences:

libavcodec/avcodec.h
30 30
#include "libavutil/avutil.h"
31 31

  
32 32
#define LIBAVCODEC_VERSION_MAJOR 52
33
#define LIBAVCODEC_VERSION_MINOR 82
33
#define LIBAVCODEC_VERSION_MINOR 83
34 34
#define LIBAVCODEC_VERSION_MICRO  0
35 35

  
36 36
#define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
......
526 526
    AVCHROMA_LOC_NB           , ///< Not part of ABI
527 527
};
528 528

  
529
/**
530
 * LPC analysis type
531
 */
532
enum AVLPCType {
533
    AV_LPC_TYPE_DEFAULT     = -1, ///< use the codec default LPC type
534
    AV_LPC_TYPE_NONE        =  0, ///< do not use LPC prediction or use all zero coefficients
535
    AV_LPC_TYPE_FIXED       =  1, ///< fixed LPC coefficients
536
    AV_LPC_TYPE_LEVINSON    =  2, ///< Levinson-Durbin recursion
537
    AV_LPC_TYPE_CHOLESKY    =  3, ///< Cholesky factorization
538
    AV_LPC_TYPE_NB              , ///< Not part of ABI
539
};
540

  
529 541
typedef struct RcOverride{
530 542
    int start_frame;
531 543
    int end_frame;
......
2413 2425
    int compression_level;
2414 2426
#define FF_COMPRESSION_DEFAULT -1
2415 2427

  
2428
#if LIBAVCODEC_VERSION_MAJOR < 53
2416 2429
    /**
2417 2430
     * Sets whether to use LPC mode - used by FLAC encoder.
2418 2431
     * - encoding: Set by user.
2419 2432
     * - decoding: unused
2433
     * @deprecated Deprecated in favor of lpc_type and lpc_passes.
2420 2434
     */
2421 2435
    int use_lpc;
2436
#endif
2422 2437

  
2423 2438
    /**
2424 2439
     * LPC coefficient precision - used by FLAC encoder
......
2672 2687
    float crf_max;
2673 2688

  
2674 2689
    int log_level_offset;
2690

  
2691
    /**
2692
     * Determines which LPC analysis algorithm to use.
2693
     * - encoding: Set by user
2694
     * - decoding: unused
2695
     */
2696
    enum AVLPCType lpc_type;
2697

  
2698
    /**
2699
     * Number of passes to use for Cholesky factorization during LPC analysis
2700
     * - encoding: Set by user
2701
     * - decoding: unused
2702
     */
2703
    int lpc_passes;
2675 2704
} AVCodecContext;
2676 2705

  
2677 2706
/**

Also available in: Unified diff