Lines Matching defs:DCALbrDecoder
58 typedef struct DCALbrDecoder { struct
59 AVCodecContext *avctx;
60 GetBitContext gb;
62 int sample_rate; ///< Sample rate of LBR audio
63 int ch_mask; ///< LBR speaker mask
64 int flags; ///< Flags for LBR decoder initialization
65 int bit_rate_orig; ///< Original bit rate
66 int bit_rate_scaled; ///< Scaled bit rate
68 int nchannels; ///< Number of fullband channels to decode
69 int nchannels_total; ///< Total number of fullband channels
70 int freq_range; ///< Frequency range of LBR audio
71 int band_limit; ///< Band limit factor
72 int limited_rate; ///< Band limited sample rate
73 int limited_range; ///< Band limited frequency range
74 int res_profile; ///< Resolution profile
75 int nsubbands; ///< Number of encoded subbands
76 int g3_avg_only_start_sb; ///< Subband index where grid 3 scale factors end
77 int min_mono_subband; ///< Subband index where mono encoding starts
78 int max_mono_subband; ///< Subband index where mono encoding ends
80 int framenum; ///< Lower 5 bits of current frame number
81 int lbr_rand; ///< Seed for subband randomization
82 int warned; ///< Flags for warning suppression
84 uint8_t quant_levels[DCA_LBR_CHANNELS / 2][DCA_LBR_SUBBANDS]; ///< Quantization levels
85 uint8_t sb_indices[DCA_LBR_SUBBANDS]; ///< Subband reordering indices
87 …DCA_LBR_CHANNELS / 2][DCA_LBR_SUBBANDS]; ///< Right channel inversion or mid/side decoding flags
88 …DCA_LBR_CHANNELS / 2][DCA_LBR_SUBBANDS]; ///< Flags indicating if left/right channel are swapped
89 uint32_t ch_pres[DCA_LBR_CHANNELS]; ///< Subband allocation flags
91 uint8_t grid_1_scf[DCA_LBR_CHANNELS][12][8]; ///< Grid 1 scale factors
92 uint8_t grid_2_scf[DCA_LBR_CHANNELS][3][64]; ///< Grid 2 scale factors
94 int8_t grid_3_avg[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS - 4]; ///< Grid 3 average values
95 int8_t grid_3_scf[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS - 4][8]; ///< Grid 3 scale factors
96 uint32_t grid_3_pres[DCA_LBR_CHANNELS]; ///< Grid 3 scale factors presence flags
98 …igh_res_scf[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS][8]; ///< High-frequency resolution scale factors
100 …int8_t part_stereo[DCA_LBR_CHANNELS][DCA_LBR_SUBBANDS / 4][5]; ///< Partial stereo coefficients
101 uint8_t part_stereo_pres; ///< Partial stereo coefficients presence flags
103 float lpc_coeff[2][DCA_LBR_CHANNELS][3][2][8]; ///< Predictor coefficients
127 } DCALbrDecoder; argument