Home
last modified time | relevance | path

Searched refs:smr (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmpegaudioenc_template.c493 static void psycho_acoustic_model(MpegAudioContext *s, short smr[SBLIMIT]) in psycho_acoustic_model() argument
498 smr[i] = (int)(fixed_smr[i] * 10); in psycho_acoustic_model()
507 /* Try to maximize the smr while using a number of bits inferior to
517 short smr[MPA_MAX_CHANNELS][SBLIMIT]; in compute_bit_allocation() local
521 memcpy(smr, smr1, s->nb_channels * sizeof(short) * SBLIMIT); in compute_bit_allocation()
551 if (smr[ch][i] > max_smr && subband_status[ch][i] != SB_NOMORE) { in compute_bit_allocation()
552 max_smr = smr[ch][i]; in compute_bit_allocation()
586 /* decrease smr by the resolution we added */ in compute_bit_allocation()
587 smr[max_ch][max_sb] = smr1[max_ch][max_sb] - quant_snr[alloc[b]]; in compute_bit_allocation()
747 short smr[MPA_MAX_CHANNEL in MPA_encode_frame() local
[all...]

Completed in 2 milliseconds