Searched refs:redundancy_bytes (Results 1 – 2 of 2) sorted by relevance
/external/libopus/src/ |
D | opus_encoder.c | 1022 int redundancy_bytes; in compute_redundancy_bytes() local 1033 redundancy_bytes = redundancy_rate/1600; in compute_redundancy_bytes() 1038 redundancy_bytes = IMIN(redundancy_bytes, redundancy_bytes_cap); in compute_redundancy_bytes() 1040 if (redundancy_bytes > 4 + 8*channels) in compute_redundancy_bytes() 1041 redundancy_bytes = IMIN(257, redundancy_bytes); in compute_redundancy_bytes() 1043 redundancy_bytes = 0; in compute_redundancy_bytes() 1044 return redundancy_bytes; in compute_redundancy_bytes() 1062 int redundancy_bytes = 0; /* Number of bytes to use for redundancy frame */ in opus_encode_native() local 1615 …redundancy_bytes = compute_redundancy_bytes(max_data_bytes, st->bitrate_bps, frame_rate, st->strea… in opus_encode_native() 1616 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()
|