/third_party/ffmpeg/libavcodec/ |
H A D | aacenc_is.c | 70 sce0->band_type[w*16+g], in ff_aac_is_encoding_err() 75 sce1->band_type[w*16+g], in ff_aac_is_encoding_err() 116 cpe->ch[0].band_type[w*16+g] != NOISE_BT && !cpe->ch[0].zeroes[w*16+g] && in ff_aac_search_for_is() 117 cpe->ch[1].band_type[w*16+g] != NOISE_BT && !cpe->ch[1].zeroes[w*16+g] && in ff_aac_search_for_is() 141 cpe->ch[1].band_type[w*16+g] = (best->phase > 0) ? INTENSITY_BT : INTENSITY_BT2; in ff_aac_search_for_is() 142 if (prev_is && prev_bt != cpe->ch[1].band_type[w*16+g]) { in ff_aac_search_for_is() 145 cpe->ch[1].band_type[w*16+g] = (best->phase > 0) ? INTENSITY_BT2 : INTENSITY_BT; in ff_aac_search_for_is() 147 prev_bt = cpe->ch[1].band_type[w*16+g]; in ff_aac_search_for_is() 151 if (!sce1->zeroes[w*16+g] && sce1->band_type[w*16+g] < RESERVED_BT) in ff_aac_search_for_is()
|
H A D | aaccoder.c | 114 if (cb >= 12 && sce->band_type[win*16+swb] < aac_cb_out_map[cb] || in encode_window_bands_info() 115 cb < aac_cb_in_map[sce->band_type[win*16+swb]] && sce->band_type[win*16+swb] > aac_cb_out_map[cb]) { in encode_window_bands_info() 174 //XXX: memset when band_type is also uint8_t in encode_window_bands_info() 176 sce->band_type[win*16 + start] = cb; in encode_window_bands_info() 206 if (sce->band_type[w*16+g] == INTENSITY_BT || sce->band_type[w*16+g] == INTENSITY_BT2) { in set_special_band_scalefactors() 209 } else if (sce->band_type[w*16+g] == NOISE_BT) { in set_special_band_scalefactors() 226 if (sce->band_type[w*16+g] == INTENSITY_BT || sce->band_type[ in set_special_band_scalefactors() [all...] |
H A D | aacenc_pred.c | 37 sce->band_type[sfb] = sce->band_alt[sfb];\ 255 memcpy(sce->band_alt, sce->band_type, sizeof(sce->band_type)); in ff_aac_search_for_pred() 260 const int cb_n = sce->zeroes[sfb] ? 0 : sce->band_type[sfb]; in ff_aac_search_for_pred() 268 (s->cur_channel && sce->band_type[sfb] >= INTENSITY_BT2) || in ff_aac_search_for_pred() 269 sce->band_type[sfb] == NOISE_BT) in ff_aac_search_for_pred() 311 sce->band_type[sfb] = cb_p; in ff_aac_search_for_pred()
|
H A D | aaccoder_trellis.h | 107 int startcb = sce->band_type[win*16+swb]; in codebook_trellis_rate() 119 if (cb >= 12 && sce->band_type[win*16+swb] != aac_cb_out_map[cb]) { in codebook_trellis_rate() 178 //XXX: memset when band_type is also uint8_t in codebook_trellis_rate() 180 sce->band_type[win*16 + start] = cb; in codebook_trellis_rate()
|
H A D | on2avc.c | 71 uint8_t band_type[ON2AVC_MAX_BANDS]; member 117 int band = 0, i, band_type, run_len, run; in on2avc_decode_band_types() local 120 band_type = get_bits(gb, 4); in on2avc_decode_band_types() 131 c->band_type[i] = band_type; in on2avc_decode_band_types() 156 if (!c->band_type[band_off]) { in on2avc_decode_band_scales() 161 if (c->band_type[w2 * c->num_bands + b]) { in on2avc_decode_band_scales() 273 int band_type = c->band_type[band_idx + b]; in on2avc_read_channel_data() local 275 if (!band_type) { in on2avc_read_channel_data() [all...] |
H A D | aaccoder_twoloop.h | 562 sce->band_type[w*16+g] = 0; in search_for_quantizers_twoloop() 701 sce->band_type[w*16+g] = find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]); in search_for_quantizers_twoloop() 716 sce->band_type[w*16+g] = find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]); in search_for_quantizers_twoloop() 735 sce->band_type[w*16+g] = find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]); in search_for_quantizers_twoloop() 736 if (sce->band_type[w*16+g] <= 0) { in search_for_quantizers_twoloop() 739 sce->band_type[w*16+g] = 1; in search_for_quantizers_twoloop() 742 sce->band_type[w*16+g] = 0; in search_for_quantizers_twoloop() 746 sce->band_type[w*16+g] = 0; in search_for_quantizers_twoloop()
|
H A D | aacdec_template.c | 1544 * @param band_type array of the used band type 1549 static int decode_band_types(AACContext *ac, enum BandType band_type[120], in decode_band_types() argument 1580 band_type [idx] = sect_band_type; in decode_band_types() 1592 * @param band_type array of the used band type 1601 enum BandType band_type[120], in decode_scalefactors() 1611 if (band_type[idx] == ZERO_BT) { in decode_scalefactors() 1614 } else if ((band_type[idx] == INTENSITY_BT) || in decode_scalefactors() 1615 (band_type[idx] == INTENSITY_BT2)) { in decode_scalefactors() 1631 } else if (band_type[idx] == NOISE_BT) { in decode_scalefactors() 1764 * @param band_type arra 1598 decode_scalefactors(AACContext *ac, INTFLOAT sf[120], GetBitContext *gb, unsigned int global_gain, IndividualChannelStream *ics, enum BandType band_type[120], int band_type_run_end[120]) decode_scalefactors() argument 1768 decode_spectrum_and_dequant(AACContext *ac, INTFLOAT coef[1024], GetBitContext *gb, const INTFLOAT sf[120], int pulse_present, const Pulse *pulse, const IndividualChannelStream *ics, enum BandType band_type[120]) decode_spectrum_and_dequant() argument [all...] |
H A D | aacenc_ltp.c | 196 sce->sf_idx[(w+w2)*16+g], sce->band_type[(w+w2)*16+g], in ff_aac_search_for_ltp() 200 sce->band_type[(w+w2)*16+g], in ff_aac_search_for_ltp()
|
H A D | aacenc.c | 317 int p = -1 + 2 * (cpe->ch[1].band_type[w*16+g] - 14); in apply_intensity_stereo() 351 || cpe->ch[0].band_type[w*16 + g] >= NOISE_BT in apply_mid_side_stereo() 352 || cpe->ch[1].band_type[w*16 + g] >= NOISE_BT) { in apply_mid_side_stereo() 395 if (sce->band_type[w*16 + i] == NOISE_BT) { in encode_scale_factors() 402 } else if (sce->band_type[w*16 + i] == INTENSITY_BT || in encode_scale_factors() 403 sce->band_type[w*16 + i] == INTENSITY_BT2) { in encode_scale_factors() 456 sce->band_type[w*16 + i], in encode_spectral_coeffs() 713 if (sce->band_type[w] > RESERVED_BT) in aac_encode_frame() 714 sce->band_type[w] = 0; in aac_encode_frame()
|
H A D | aac.h | 253 enum BandType band_type[128]; ///< band types member
|
H A D | aacenc_utils.h | 210 if (!sce->zeroes[w*16+g] && sce->band_type[w*16+g] < RESERVED_BT) in ff_init_nextband_map()
|
H A D | aacdec.c | 230 if (cce->ch[0].band_type[idx] != ZERO_BT) { in apply_dependent_coupling()
|
H A D | aacdec_fixed.c | 372 if (cce->ch[0].band_type[idx] != ZERO_BT) { in apply_dependent_coupling_fixed()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | aaccoder_mips.c | 2392 if (sce0->band_type[w*16+g] != NOISE_BT && sce1->band_type[w*16+g] != NOISE_BT in search_for_ms_mips() 2426 sce0->band_type[w*16+g], in search_for_ms_mips() 2432 sce1->band_type[w*16+g], in search_for_ms_mips() 2453 if (sce0->band_type[w*16+g] != NOISE_BT && sce1->band_type[w*16+g] != NOISE_BT) { in search_for_ms_mips() 2456 sce0->band_type[w*16+g] = midcb; in search_for_ms_mips() 2457 sce1->band_type[w*16+g] = sidcb; in search_for_ms_mips() 2458 } else if ((sce0->band_type[w*16+g] != NOISE_BT) ^ (sce1->band_type[ in search_for_ms_mips() [all...] |