Home
last modified time | relevance | path

Searched refs:lsb_depth (Results 1 – 7 of 7) sorted by relevance

/external/libopus/src/
Dopus_encoder.c85 int lsb_depth; member
251 st->lsb_depth = 24; in opus_encoder_init()
847 static int is_digital_silence(const opus_val16* pcm, int frame_size, int channels, int lsb_depth) in is_digital_silence() argument
858 (void)lsb_depth; in is_digital_silence()
860 silence = (sample_max <= (opus_val16) 1 / (1 << lsb_depth)); in is_digital_silence()
954 int lsb_depth, in encode_multiframe_packet() argument
1010 tmp_data+i*bytes_per_frame, bytes_per_frame, lsb_depth, NULL, 0, 0, 0, 0, in encode_multiframe_packet()
1075 unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, in opus_encode_native() argument
1140 lsb_depth = IMIN(lsb_depth, st->lsb_depth); in opus_encode_native()
1151 if (is_digital_silence(pcm, frame_size, st->channels, lsb_depth)) in opus_encode_native()
[all …]
Danalysis.h111 int lsb_depth, downmix_func downmix, AnalysisInfo *analysis_info);
Dopus_private.h96 unsigned char *data, opus_int32 out_data_bytes, int lsb_depth,
Danalysis.c315 …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
633 noise_floor = 5.7e-4f/(1<<(IMAX(0,lsb_depth-8))); in tonality_analysis()
913 int lsb_depth, downmix_func downmix, AnalysisInfo *analysis_info) in run_analysis() argument
927 …is(analysis, celt_mode, analysis_pcm, IMIN(Fs/50, pcm_len), offset, c1, c2, C, lsb_depth, downmix); in run_analysis()
Dopus_multistream_encoder.c895 int lsb_depth, in opus_multistream_encode_native() argument
1073 len = opus_encode_native(enc, buf, frame_size, tmp_data, curr_max, lsb_depth, in opus_multistream_encode_native()
/external/libopus/tests/
Dtest_opus_encode.c231 int lsb_depth = RAND_SAMPLE(lsb_depths); in fuzz_encoder_settings() local
246 pkt_loss, lsb_depth, pred_disabled, dtx, frame_size_ms_x2); in fuzz_encoder_settings()
257 if(opus_encoder_ctl(enc, OPUS_SET_LSB_DEPTH(lsb_depth)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
/external/libopus/celt/
Dcelt_encoder.c75 int lsb_depth; member
193 st->lsb_depth=24; in opus_custom_encoder_init_arch()
965 int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, in dynalloc_analysis() argument
985 +QCONST16(.5f,DB_SHIFT)+SHL16(9-lsb_depth,DB_SHIFT)-SHL16(eMeans[i],6) in dynalloc_analysis()
1562 silence = (sample_max <= (opus_val16)1/(1<<st->lsb_depth)); in celt_encode_with_ec()
1907 st->lsb_depth, mode->logN, isTransient, st->vbr, st->constrained_vbr, in celt_encode_with_ec()
2421 st->lsb_depth=value; in opus_custom_encoder_ctl()
2427 *value=st->lsb_depth; in opus_custom_encoder_ctl()