Searched refs:bitrate_bps (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/opus/src/src/ |
D | opus_demo.c | 236 opus_int32 bitrate_bps=0; in main() local 324 bitrate_bps = (opus_int32)atol(argv[args]); in main() 490 sweep_min = bitrate_bps; in main() 536 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate_bps)); in main() 594 (long)sampling_rate, bitrate_bps*0.001, in main() 642 … while (newsize < sampling_rate/25 && bitrate_bps-fabs(sweep_bps) <= 3*12*sampling_rate/newsize) in main() 711 bitrate_bps += sweep_bps; in main() 714 if (bitrate_bps > sweep_max) in main() 716 else if (bitrate_bps < sweep_min) in main() 720 if (bitrate_bps<1000) in main() [all …]
|
D | opus_multistream_encoder.c | 78 opus_int32 bitrate_bps; member 420 st->bitrate_bps = OPUS_AUTO; in opus_multistream_encoder_init_impl() 612 if (st->bitrate_bps > st->layout.nb_channels*40000) in surround_rate_allocation() 615 stream_offset = st->bitrate_bps/st->layout.nb_channels/2; in surround_rate_allocation() 626 if (st->bitrate_bps==OPUS_AUTO) in surround_rate_allocation() 629 } else if (st->bitrate_bps==OPUS_BITRATE_MAX) in surround_rate_allocation() 643 …channel_rate = 256*(st->bitrate_bps-lfe_offset*nb_lfe-stream_offset*(nb_coupled+nb_uncoupled))/tot… in surround_rate_allocation() 717 st->variable_duration, channels, Fs, st->bitrate_bps, in opus_multistream_encode_native() 767 equiv_rate = st->bitrate_bps; in opus_multistream_encode_native() 981 st->bitrate_bps = value; in opus_multistream_encoder_ctl()
|
D | opus_encoder.c | 78 opus_int32 bitrate_bps; member 221 st->bitrate_bps = 3000+Fs*channels; in opus_encoder_init() 858 int variable_duration, int C, opus_int32 Fs, int bitrate_bps, in compute_frame_size() argument 865 LM = optimize_framesize(analysis_pcm, frame_size, C, Fs, bitrate_bps, in compute_frame_size() 1063 st->bitrate_bps = user_bitrate_to_bitrate(st, frame_size, max_data_bytes); in opus_encode_native() 1066 if (max_data_bytes<3 || st->bitrate_bps < 3*frame_rate*8 in opus_encode_native() 1067 || (frame_rate<50 && (max_data_bytes*frame_rate<300 || st->bitrate_bps < 2400))) in opus_encode_native() 1091 cbrBytes = IMIN( (st->bitrate_bps + 4*frame_rate)/(8*frame_rate) , max_data_bytes); in opus_encode_native() 1092 st->bitrate_bps = cbrBytes * (8*frame_rate); in opus_encode_native() 1098 equiv_rate = st->bitrate_bps - 60*(st->Fs/frame_size - 50); in opus_encode_native() [all …]
|
D | opus_private.h | 98 int variable_duration, int C, opus_int32 Fs, int bitrate_bps,
|
/external/chromium_org/third_party/opus/src/tests/ |
D | test_opus_encode.c | 132 opus_int32 bitrate_bps; in run_test1() local 333 bitrate_bps=512000; in run_test1() 350 opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate_bps)); in run_test1() 395 bitrate_bps=((fast_rand()%508000+4000)+bitrate_bps)>>1; in run_test1()
|