Home
last modified time | relevance | path

Searched refs:band_type (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacenc_is.c70 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()
Daaccoder.c114 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()
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[w*16+g] == INTENSITY_BT2) { in set_special_band_scalefactors()
228 } else if (sce->band_type[w*16+g] == NOISE_BT) { in set_special_band_scalefactors()
429 sce->band_type[w*16+g] = 0; in search_for_quantizers_fast()
536 sce->band_type[w*16+g] = find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]); in search_for_quantizers_fast()
580 memcpy(sce->band_alt, sce->band_type, sizeof(sce->band_type)); in search_for_pns()
[all …]
Daacenc_pred.c37 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()
Daaccoder_trellis.h107 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()
180 sce->band_type[win*16 + start] = cb; in codebook_trellis_rate()
Don2avc.c70 uint8_t band_type[ON2AVC_MAX_BANDS]; member
116 int band = 0, i, band_type, run_len, run; in on2avc_decode_band_types() local
119 band_type = get_bits(gb, 4); in on2avc_decode_band_types()
130 c->band_type[i] = band_type; in on2avc_decode_band_types()
155 if (!c->band_type[band_off]) { in on2avc_decode_band_scales()
160 if (c->band_type[w2 * c->num_bands + b]) { in on2avc_decode_band_scales()
272 int band_type = c->band_type[band_idx + b]; in on2avc_read_channel_data() local
274 if (!band_type) { in on2avc_read_channel_data()
278 if (band_type < 9) in on2avc_read_channel_data()
279 on2avc_decode_quads(c, gb, coeff_ptr, band_size, band_type, in on2avc_read_channel_data()
[all …]
Daaccoder_twoloop.h562 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()
Daacenc.c314 int p = -1 + 2 * (cpe->ch[1].band_type[w*16+g] - 14); in apply_intensity_stereo()
348 || cpe->ch[0].band_type[w*16 + g] >= NOISE_BT in apply_mid_side_stereo()
349 || cpe->ch[1].band_type[w*16 + g] >= NOISE_BT) { in apply_mid_side_stereo()
392 if (sce->band_type[w*16 + i] == NOISE_BT) { in encode_scale_factors()
399 } else if (sce->band_type[w*16 + i] == INTENSITY_BT || in encode_scale_factors()
400 sce->band_type[w*16 + i] == INTENSITY_BT2) { in encode_scale_factors()
453 sce->band_type[w*16 + i], in encode_spectral_coeffs()
710 if (sce->band_type[w] > RESERVED_BT) in aac_encode_frame()
711 sce->band_type[w] = 0; in aac_encode_frame()
Daacdec_template.c1534 static int decode_band_types(AACContext *ac, enum BandType band_type[120], in decode_band_types()
1565 band_type [idx] = sect_band_type; in decode_band_types()
1586 enum BandType band_type[120], in decode_scalefactors()
1596 if (band_type[idx] == ZERO_BT) { in decode_scalefactors()
1599 } else if ((band_type[idx] == INTENSITY_BT) || in decode_scalefactors()
1600 (band_type[idx] == INTENSITY_BT2)) { in decode_scalefactors()
1616 } else if (band_type[idx] == NOISE_BT) { in decode_scalefactors()
1757 enum BandType band_type[120]) in decode_spectrum_and_dequant()
1772 const unsigned cbt_m1 = band_type[idx] - 1; in decode_spectrum_and_dequant()
2003 if (band_type[idx] != NOISE_BT && sf[idx]) { in decode_spectrum_and_dequant()
[all …]
Daacenc_ltp.c196 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()
Daac.h253 enum BandType band_type[128]; ///< band types member
Daacenc_utils.h210 if (!sce->zeroes[w*16+g] && sce->band_type[w*16+g] < RESERVED_BT) in ff_init_nextband_map()
Daacdec_fixed.c373 if (cce->ch[0].band_type[idx] != ZERO_BT) { in apply_dependent_coupling_fixed()
Daacdec.c231 if (cce->ch[0].band_type[idx] != ZERO_BT) { in apply_dependent_coupling()
/third_party/ffmpeg/libavcodec/mips/
Daaccoder_mips.c2392 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[w*16+g] != NOISE_BT)) { in search_for_ms_mips()
2469 if (!sce0->zeroes[w*16+g] && sce0->band_type[w*16+g] < RESERVED_BT) in search_for_ms_mips()
2471 … if (!sce1->zeroes[w*16+g] && !cpe->is_mask[w*16+g] && sce1->band_type[w*16+g] < RESERVED_BT) in search_for_ms_mips()