Searched refs:variable_duration (Results 1 – 5 of 5) sorted by relevance
/external/libopus/src/ |
D | opus_demo.c | 268 int variable_duration=OPUS_FRAMESIZE_ARG; in main() local 413 variable_duration = OPUS_FRAMESIZE_VARIABLE; in main() 543 opus_encoder_ctl(enc, OPUS_SET_EXPERT_FRAME_DURATION(variable_duration)); in main() 602 if (variable_duration!=OPUS_FRAMESIZE_VARIABLE) in main() 605 variable_duration = OPUS_FRAMESIZE_2_5_MS; in main() 607 variable_duration = OPUS_FRAMESIZE_5_MS; in main() 609 variable_duration = OPUS_FRAMESIZE_10_MS; in main() 611 variable_duration = OPUS_FRAMESIZE_20_MS; in main() 613 variable_duration = OPUS_FRAMESIZE_40_MS; in main() 615 variable_duration = OPUS_FRAMESIZE_60_MS; in main() [all …]
|
D | opus_private.h | 93 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs); 96 int variable_duration, int C, opus_int32 Fs, int bitrate_bps,
|
D | opus_encoder.c | 78 int variable_duration; member 234 st->variable_duration = OPUS_FRAMESIZE_ARG; in opus_encoder_init() 807 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs) in frame_size_select() argument 812 if (variable_duration == OPUS_FRAMESIZE_ARG) in frame_size_select() 814 else if (variable_duration == OPUS_FRAMESIZE_VARIABLE) in frame_size_select() 816 else if (variable_duration >= OPUS_FRAMESIZE_2_5_MS && variable_duration <= OPUS_FRAMESIZE_60_MS) in frame_size_select() 817 new_size = IMIN(3*Fs/50, (Fs/400)<<(variable_duration-OPUS_FRAMESIZE_2_5_MS)); in frame_size_select() 829 int variable_duration, int C, opus_int32 Fs, int bitrate_bps, in compute_frame_size() argument 837 if (variable_duration == OPUS_FRAMESIZE_VARIABLE && frame_size >= Fs/200) in compute_frame_size() 854 frame_size = frame_size_select(frame_size, variable_duration, Fs); in compute_frame_size() [all …]
|
D | opus_multistream_encoder.c | 87 int variable_duration; member 456 st->variable_duration = OPUS_FRAMESIZE_ARG; in opus_multistream_encoder_init_impl() 711 if (st->variable_duration==OPUS_FRAMESIZE_VARIABLE && frame_size != Fs/50) in surround_rate_allocation() 769 if (st->variable_duration==OPUS_FRAMESIZE_VARIABLE && frame_size != Fs/50) in ambisonics_rate_allocation() 870 st->variable_duration, channels, Fs, st->bitrate_bps, in opus_multistream_encode_native() 1300 st->variable_duration = value; in opus_multistream_encoder_ctl() 1310 *value = st->variable_duration; in opus_multistream_encoder_ctl()
|
/external/libopus/celt/ |
D | celt_encoder.c | 76 int variable_duration; member 1196 int variable_duration, int lfe, int has_surround_mask, opus_val16 surround_masking, in compute_vbr() argument 1240 tf_calibration = variable_duration==OPUS_FRAMESIZE_VARIABLE ? in compute_vbr() 1562 …&& st->complexity >= 5 && !(st->consec_transient && LM!=3 && st->variable_duration==OPUS_FRAMESIZE… in celt_encode_with_ec() 1930 st->variable_duration, st->lfe, st->energy_mask!=NULL, surround_masking, in celt_encode_with_ec() 2327 st->variable_duration = value; in opus_custom_encoder_ctl()
|