Revision 5371803d

View differences:

libavcodec/psymodel.h
26 26

  
27 27
/** maximum possible number of bands */
28 28
#define PSY_MAX_BANDS 128
29
/** maximum number of channels */
30
#define PSY_MAX_CHANS 20
29 31

  
30 32
/**
31 33
 * single band psychoacoustic information
......
62 64
    int     *num_bands;               ///< number of scalefactor bands for possible frame sizes
63 65
    int num_lens;                     ///< number of scalefactor band sets
64 66

  
67
    float pe[PSY_MAX_CHANS];          ///< total PE for each channel in the frame
68

  
69
    struct {
70
        int size;                     ///< size of the bitresevoir in bits
71
        int bits;                     ///< number of bits used in the bitresevoir
72
    } bitres;
73

  
65 74
    void* model_priv_data;            ///< psychoacoustic model implementation private data
66 75
} FFPsyContext;
67 76

  

Also available in: Unified diff