Lines Matching refs:redundancy_bytes
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()
1624 …bytes_target = IMIN(max_data_bytes-redundancy_bytes, st->bitrate_bps * frame_size / (st->Fs * 8)) … in opus_encode_native()
1789 if (redundancy && redundancy_bytes >= 2) in opus_encode_native()
1792 st->silk_mode.maxBits -= redundancy_bytes*8 + 1; in opus_encode_native()
1879 …redundancy_bytes = compute_redundancy_bytes(max_data_bytes, st->bitrate_bps, frame_rate, st->strea… in opus_encode_native()
1880 redundancy = (redundancy_bytes != 0); in opus_encode_native()
2004 redundancy_bytes = IMIN(max_redundancy, redundancy_bytes); in opus_encode_native()
2005 redundancy_bytes = IMIN(257, IMAX(2, redundancy_bytes)); in opus_encode_native()
2007 ec_enc_uint(&enc, redundancy_bytes-2, 256); in opus_encode_native()
2016 redundancy_bytes = 0; in opus_encode_native()
2026 nb_compr_bytes = (max_data_bytes-1)-redundancy_bytes; in opus_encode_native()
2048 … = celt_encode_with_ec(celt_enc, pcm_buf, st->Fs/200, data+nb_compr_bytes, redundancy_bytes, NULL); in opus_encode_native()
2087 OPUS_MOVE(data+ret, data+nb_compr_bytes, redundancy_bytes); in opus_encode_native()
2088 nb_compr_bytes = nb_compr_bytes+redundancy_bytes; in opus_encode_native()
2117 …c(celt_enc, pcm_buf+st->channels*(frame_size-N2), N2, data+nb_compr_bytes, redundancy_bytes, NULL); in opus_encode_native()
2181 ret += 1+redundancy_bytes; in opus_encode_native()