Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_decoder.c227 int redundancy_bytes = 0; in opus_decode_frame() local
400 redundancy_bytes = mode==MODE_HYBRID ? in opus_decode_frame()
403 len -= redundancy_bytes; in opus_decode_frame()
409 redundancy_bytes = 0; in opus_decode_frame()
413 dec.storage -= redundancy_bytes; in opus_decode_frame()
464 celt_decode_with_ec(celt_dec, data+len, redundancy_bytes, in opus_decode_frame()
517 celt_decode_with_ec(celt_dec, data+len, redundancy_bytes, redundant_audio, F5, NULL); in opus_decode_frame()
Dopus_encoder.c939 int redundancy_bytes = 0; /* Number of bytes to use for redundancy frame */ in opus_encode_native() local
1213redundancy_bytes = IMIN(257, max_data_bytes*(opus_int32)(st->Fs/200)/(frame_size+st->Fs/200)); in opus_encode_native()
1216 redundancy_bytes = IMIN(redundancy_bytes, st->bitrate_bps/1600); in opus_encode_native()
1420 …bytes_target = IMIN(max_data_bytes-redundancy_bytes, st->bitrate_bps * frame_size / (st->Fs * 8)) … in opus_encode_native()
1576 nBytes = IMIN(1275, max_data_bytes-1-redundancy_bytes); in opus_encode_native()
1717 nb_compr_bytes = max_data_bytes-1-redundancy_bytes; in opus_encode_native()
1782 redundancy_bytes = IMIN(max_redundancy, st->bitrate_bps/1600); in opus_encode_native()
1783 redundancy_bytes = IMIN(257, IMAX(2, redundancy_bytes)); in opus_encode_native()
1785 ec_enc_uint(&enc, redundancy_bytes-2, 256); in opus_encode_native()
1794 redundancy_bytes = 0; in opus_encode_native()
[all …]