Searched refs:redundancy_bytes (Results 1 – 2 of 2) sorted by relevance
/external/libopus/src/ |
D | opus_encoder.c | 1041 int redundancy_bytes; in compute_redundancy_bytes() local 1052 redundancy_bytes = redundancy_rate/1600; in compute_redundancy_bytes() 1057 redundancy_bytes = IMIN(redundancy_bytes, redundancy_bytes_cap); in compute_redundancy_bytes() 1059 if (redundancy_bytes > 4 + 8*channels) in compute_redundancy_bytes() 1060 redundancy_bytes = IMIN(257, redundancy_bytes); in compute_redundancy_bytes() 1062 redundancy_bytes = 0; in compute_redundancy_bytes() 1063 return redundancy_bytes; in compute_redundancy_bytes() 1081 int redundancy_bytes = 0; /* Number of bytes to use for redundancy frame */ in opus_encode_native() local 1618 …redundancy_bytes = compute_redundancy_bytes(max_data_bytes, st->bitrate_bps, frame_rate, st->strea… in opus_encode_native() 1619 if (redundancy_bytes == 0) in opus_encode_native() [all …]
|
D | opus_decoder.c | 244 int redundancy_bytes = 0; in opus_decode_frame() local 434 redundancy_bytes = mode==MODE_HYBRID ? in opus_decode_frame() 437 len -= redundancy_bytes; in opus_decode_frame() 443 redundancy_bytes = 0; in opus_decode_frame() 447 dec.storage -= redundancy_bytes; in opus_decode_frame() 503 celt_decode_with_ec(celt_dec, data+len, redundancy_bytes, in opus_decode_frame() 559 celt_decode_with_ec(celt_dec, data+len, redundancy_bytes, redundant_audio, F5, NULL, 0); in opus_decode_frame()
|