/external/libopus/src/ |
D | opus_private.h | 138 int is_digital_silence(const opus_val16* pcm, int frame_size, int channels, int lsb_depth); 145 unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, 183 int lsb_depth,
|
D | analysis.c | 429 static int is_digital_silence32(const opus_val32* pcm, int frame_size, int channels, int lsb_depth) in is_digital_silence32() argument 439 (void)lsb_depth; in is_digital_silence32() 443 …gital_silence32(pcm, frame_size, channels, lsb_depth) is_digital_silence(pcm, frame_size, channels… argument 446 …lt_mode, const void *x, int len, int offset, int c1, int c2, int C, int lsb_depth, downmix_func do… in tonality_analysis() argument 530 is_silence = is_digital_silence32(tonal->inmem, ANALYSIS_BUF_SIZE, 1, lsb_depth); in tonality_analysis() 780 noise_floor = 5.7e-4f/(1<<(IMAX(0,lsb_depth-8))); in tonality_analysis() 957 int lsb_depth, downmix_func downmix, AnalysisInfo *analysis_info) in run_analysis() argument 971 …is(analysis, celt_mode, analysis_pcm, IMIN(Fs/50, pcm_len), offset, c1, c2, C, lsb_depth, downmix); in run_analysis()
|
D | opus_encoder.c | 85 int lsb_depth; member 251 st->lsb_depth = 24; in opus_encoder_init() 840 int is_digital_silence(const opus_val16* pcm, int frame_size, int channels, int lsb_depth) in is_digital_silence() argument 851 (void)lsb_depth; in is_digital_silence() 853 silence = (sample_max <= (opus_val16) 1 / (1 << lsb_depth)); in is_digital_silence() 927 int lsb_depth, in encode_multiframe_packet() argument 983 tmp_data+i*bytes_per_frame, bytes_per_frame, lsb_depth, NULL, 0, 0, 0, 0, in encode_multiframe_packet() 1048 unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, in opus_encode_native() argument 1115 lsb_depth = IMIN(lsb_depth, st->lsb_depth); in opus_encode_native() 1126 is_silence = is_digital_silence(pcm, frame_size, st->channels, lsb_depth); in opus_encode_native() [all …]
|
D | analysis.h | 101 int lsb_depth, downmix_func downmix, AnalysisInfo *analysis_info);
|
D | opus_multistream_encoder.c | 809 int lsb_depth, in opus_multistream_encode_native() argument 986 len = opus_encode_native(enc, buf, frame_size, tmp_data, curr_max, lsb_depth, in opus_multistream_encode_native()
|
/external/libopus/tests/ |
D | test_opus_encode.c | 232 int lsb_depth = RAND_SAMPLE(lsb_depths); in fuzz_encoder_settings() local 249 if(opus_encoder_ctl(enc, OPUS_SET_LSB_DEPTH(lsb_depth)) != OPUS_OK) test_failed(); in fuzz_encoder_settings() 262 pkt_loss, lsb_depth, pred_disabled, dtx, frame_size_ms_x2); in fuzz_encoder_settings()
|
/external/libopus/celt/ |
D | celt_encoder.c | 75 int lsb_depth; member 193 st->lsb_depth=24; in opus_custom_encoder_init_arch() 971 int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, in dynalloc_analysis() argument 992 +QCONST16(.5f,DB_SHIFT)+SHL16(9-lsb_depth,DB_SHIFT)-SHL16(eMeans[i],6) in dynalloc_analysis() 1624 silence = (sample_max <= (opus_val16)1/(1<<st->lsb_depth)); in celt_encode_with_ec() 1880 st->lsb_depth, mode->logN, isTransient, st->vbr, st->constrained_vbr, in celt_encode_with_ec() 2491 st->lsb_depth=value; in opus_custom_encoder_ctl() 2497 *value=st->lsb_depth; in opus_custom_encoder_ctl()
|