Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dsbc.c85 int bitneed[2][8], loudness, max_bitneed, bitcount, slicecount, bitslice; in ff_sbc_calculate_bits() local
92 bitneed[ch][sb] = frame->scale_factor[ch][sb]; in ff_sbc_calculate_bits()
93 if (bitneed[ch][sb] > max_bitneed) in ff_sbc_calculate_bits()
94 max_bitneed = bitneed[ch][sb]; in ff_sbc_calculate_bits()
99 bitneed[ch][sb] = -5; in ff_sbc_calculate_bits()
106 bitneed[ch][sb] = loudness / 2; in ff_sbc_calculate_bits()
108 bitneed[ch][sb] = loudness; in ff_sbc_calculate_bits()
110 if (bitneed[ch][sb] > max_bitneed) in ff_sbc_calculate_bits()
111 max_bitneed = bitneed[ch][sb]; in ff_sbc_calculate_bits()
123 if ((bitneed[ch][sb] > bitslice + 1) && (bitneed[ch][sb] < bitslice + 16)) in ff_sbc_calculate_bits()
[all …]