Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_encoder.c546 static opus_int32 user_bitrate_to_bitrate(OpusEncoder *st, int frame_size, int max_data_bytes) in user_bitrate_to_bitrate() argument
552 return max_data_bytes*8*st->Fs/frame_size; in user_bitrate_to_bitrate()
1019 static int compute_redundancy_bytes(opus_int32 max_data_bytes, opus_int32 bitrate_bps, int frame_ra… in compute_redundancy_bytes() argument
1036 available_bits = max_data_bytes*8 - 2*base_bits; in compute_redundancy_bytes()
1076 opus_int32 max_data_bytes; /* Max number of bytes we're allowed to use */ in opus_encode_native() local
1092 max_data_bytes = IMIN(1276, out_data_bytes); in opus_encode_native()
1095 if (frame_size <= 0 || max_data_bytes <= 0) in opus_encode_native()
1102 if (max_data_bytes==1 && st->Fs==(frame_size*10)) in opus_encode_native()
1206 st->bitrate_bps = user_bitrate_to_bitrate(st, frame_size, max_data_bytes); in opus_encode_native()
1215 cbrBytes = IMIN( (12*st->bitrate_bps/8 + frame_rate12/2)/frame_rate12, max_data_bytes); in opus_encode_native()
[all …]
Dopus_projection_encoder.c346 opus_int32 max_data_bytes) in opus_projection_encode() argument
350 max_data_bytes, 16, downmix_int, 0, get_mixing_matrix(st)); in opus_projection_encode()
357 opus_int32 max_data_bytes) in opus_projection_encode_float() argument
361 max_data_bytes, 16, downmix_float, 1, get_mixing_matrix(st)); in opus_projection_encode_float()
366 opus_int32 max_data_bytes) in opus_projection_encode_float() argument
370 max_data_bytes, 24, downmix_float, 1, get_mixing_matrix(st)); in opus_projection_encode_float()
Dopus_multistream_encoder.c808 opus_int32 max_data_bytes, in opus_multistream_encode_native() argument
859 if (max_data_bytes < smallest_packet) in opus_multistream_encode_native()
881 max_data_bytes = IMIN(max_data_bytes, 3*rate_sum/(3*8*Fs/frame_size)); in opus_multistream_encode_native()
884 max_data_bytes = IMIN(max_data_bytes, IMAX(smallest_packet, in opus_multistream_encode_native()
975 curr_max = max_data_bytes - tot_size; in opus_multistream_encode_native()
1005 …data, max_data_bytes-tot_size, s != st->layout.nb_streams-1, !vbr && s == st->layout.nb_streams-1); in opus_multistream_encode_native()
1067 opus_int32 max_data_bytes in opus_multistream_encode() argument
1071 pcm, frame_size, data, max_data_bytes, 16, downmix_int, 0, NULL); in opus_multistream_encode()
1080 opus_int32 max_data_bytes in opus_multistream_encode_float() argument
1084 pcm, frame_size, data, max_data_bytes, 16, downmix_float, 1, NULL); in opus_multistream_encode_float()
[all …]
Dopus_private.h182 opus_int32 max_data_bytes,
/external/libopus/include/
Dopus_projection.h260 opus_int32 max_data_bytes
306 opus_int32 max_data_bytes
Dopus_multistream.h382 opus_int32 max_data_bytes
427 opus_int32 max_data_bytes
Dopus.h268 opus_int32 max_data_bytes
309 opus_int32 max_data_bytes