Home
last modified time | relevance | path

Searched refs:IMIN (Results 1 – 23 of 23) sorted by relevance

/external/libopus/celt/
Dlaplace.c78 di = IMIN(val - i, ndi_max - 1); in ec_laplace_encode()
80 fs = IMIN(LAPLACE_MINP, 32768-fl); in ec_laplace_encode()
131 celt_assert(fm<IMIN(fl+fs,32768)); in ec_laplace_decode()
132 ec_dec_update(dec, fl, IMIN(fl+fs,32768), 32768); in ec_laplace_decode()
Drate.c178 LM0=IMIN(i,1); in compute_pulse_cache()
199 qb = IMIN((num+(den>>1))/den, 57); in compute_pulse_cache()
214 qb = IMIN((num+(den>>1))/den, (N==2?64:61)); in compute_pulse_cache()
231 qb = IMIN((num+(den>>1))/den, MAX_FINE_BITS); in compute_pulse_cache()
283 psum += IMIN(tmp, cap[j]); in interp_bits2pulses()
309 tmp = IMIN(tmp, cap[j]); in interp_bits2pulses()
397 *intensity = IMIN(*intensity, codedBands); in interp_bits2pulses()
428 int tmp = (int)IMIN(left, m->eBands[j+1]-m->eBands[j]); in interp_bits2pulses()
481 ebits[j] = IMIN(ebits[j], MAX_FINE_BITS); in interp_bits2pulses()
505 extra_fine = IMIN(excess>>(stereo+BITRES),MAX_FINE_BITS-ebits[j]); in interp_bits2pulses()
[all …]
Dcelt_encoder.c675 curr0 = IMIN(cost0, cost1 + lambda); in tf_analysis()
676 curr1 = IMIN(cost0 + lambda, cost1); in tf_analysis()
680 cost0 = IMIN(cost0, cost1); in tf_analysis()
864 trim_index = IMAX(0, IMIN(10, trim_index)); in alloc_trim_analysis()
1067 for (i=start;i<IMIN(LEAK_BANDS, end);i++) in dynalloc_analysis()
1202 qg = IMAX(0, IMIN(7, qg)); in run_prefilter()
1259 coded_bins += eBands[IMIN(intensity, coded_bands)]<<LM; in compute_vbr()
1274 coded_stereo_bands = IMIN(intensity, coded_bands); in compute_vbr()
1323 target = IMIN(target, floor_depth); in compute_vbr()
1338 amount = MULT16_16_Q15(QCONST16(.0000031f, 30), IMAX(0, IMIN(32000, 96000-bitrate))); in compute_vbr()
[all …]
Dquant_bands.c221 qi = IMIN(1, qi); in quant_coarse_energy_impl()
226 qi = IMIN(qi, 0); in quant_coarse_energy_impl()
230 pi = 2*IMIN(i,20); in quant_coarse_energy_impl()
236 qi = IMAX(-1, IMIN(qi, 1)); in quant_coarse_energy_impl()
241 qi = IMIN(0, qi); in quant_coarse_energy_impl()
465 pi = 2*IMIN(i,20); in unquant_coarse_energy()
Dbands.c208 bound = IMIN(bound, N/downsample); in denormalise_bands()
659 qb = IMIN(b-pulse_cap-(4<<BITRES), qb); in compute_qn()
661 qb = IMIN(8<<BITRES, qb); in compute_qn()
768 down = IMIN(qn-1, IMAX(0, (itheta*(opus_int32)qn + bias)>>14)); in compute_theta()
1009 delta = IMIN(0, delta + (N<<BITRES>>(5-LM))); in quant_partition()
1011 mbits = IMAX(0, IMIN(b, (b-delta)/2)); in quant_partition()
1336 mbits = IMAX(0, IMIN(b, (b-delta)/2)); in quant_band_stereo()
1504 curr_balance = celt_sudiv(balance, IMIN(3, codedBands-i)); in quant_all_bands()
1505 b = IMAX(0, IMIN(16383, IMIN(remaining_bits+1,pulses[i]+curr_balance))); in quant_all_bands()
Darch.h84 #define IMIN(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum int value. */ macro
Dcelt_decoder.c513 effEnd = IMAX(start, IMIN(end, mode->effEBands)); in celt_decode_lost()
636 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost()
999 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width));
Dcwrs.c196 # define CELT_PVQ_U(_n,_k) (CELT_PVQ_U_ROW[IMIN(_n,_k)][IMAX(_n,_k)])
/external/libopus/src/
Danalysis.c357 alpha = 1.f/IMIN(10, 1+tonal->count); in tonality_analysis()
358 alphaE = 1.f/IMIN(25, 1+tonal->count); in tonality_analysis()
359 alphaE2 = 1.f/IMIN(500, 1+tonal->count); in tonality_analysis()
382 IMIN(len, ANALYSIS_BUF_SIZE-tonal->mem_fill), offset, c1, c2, C, tonal->Fs); in tonality_analysis()
606 info->leak_boost[b] = IMIN(255, (int)floor(.5 + 64.f*boost)); in tonality_analysis()
726 tonal->count = IMIN(tonal->count+1, ANALYSIS_COUNT_MAX); in tonality_analysis()
884 tonal->music_confidence_count = IMIN(tonal->music_confidence_count, 500); in tonality_analysis()
891 tonal->speech_confidence_count = IMIN(tonal->speech_confidence_count, 500); in tonality_analysis()
922 analysis_frame_size = IMIN((DETECT_SIZE-5)*Fs/50, analysis_frame_size); in run_analysis()
927 …tonality_analysis(analysis, celt_mode, analysis_pcm, IMIN(Fs/50, pcm_len), offset, c1, c2, C, lsb_… in run_analysis()
Dopus_decoder.c244 frame_size = IMIN(frame_size, st->Fs/25*3); in opus_decode_frame()
250 frame_size = IMIN(frame_size, st->frame_size); in opus_decode_frame()
275 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0); in opus_decode_frame()
321 opus_decode_frame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), 0); in opus_decode_frame()
464 opus_decode_frame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), 0); in opus_decode_frame()
485 int celt_frame_size = IMIN(F20, frame_size); in opus_decode_frame()
739 frame_size = IMIN(frame_size, nb_samples); in opus_decode_float()
776 frame_size = IMIN(frame_size, nb_samples); in opus_decode()
Dopus_encoder.c978 repacketize_len = IMIN(cbr_bytes, out_data_bytes); in encode_multiframe_packet()
980 bytes_per_frame = IMIN(1276, 1+(repacketize_len-max_header_bytes)/nb_frames); in encode_multiframe_packet()
1065 redundancy_bytes = IMIN(redundancy_bytes, redundancy_bytes_cap); in compute_redundancy_bytes()
1068 redundancy_bytes = IMIN(257, redundancy_bytes); in compute_redundancy_bytes()
1117 max_data_bytes = IMIN(1276, out_data_bytes); in opus_encode_native()
1140 lsb_depth = IMIN(lsb_depth, st->lsb_depth); in opus_encode_native()
1219 cbrBytes = IMIN( (12*st->bitrate_bps/8 + frame_rate12/2)/frame_rate12, max_data_bytes); in opus_encode_native()
1306 voice_est = IMIN(voice_est, 115); in opus_encode_native()
1505 st->bandwidth = IMIN(st->bandwidth, OPUS_BANDWIDTH_WIDEBAND); in opus_encode_native()
1539 st->bandwidth = IMIN(st->bandwidth, st->detected_bandwidth); in opus_encode_native()
[all …]
Dopus_multistream_encoder.c276 freq_size = IMIN(960, frame_size); in surround_analysis()
747 lfe_offset = IMIN(bitrate/20, 3000) + 15*IMAX(50, Fs/frame_size); in surround_rate_allocation()
752 stream_offset = IMAX(0, IMIN(20000, stream_offset)); in surround_rate_allocation()
966 max_data_bytes = IMIN(max_data_bytes, 3*rate_sum/(3*8*Fs/frame_size)); in opus_multistream_encode_native()
969 max_data_bytes = IMIN(max_data_bytes, IMAX(smallest_packet, in opus_multistream_encode_native()
1068 curr_max = IMIN(curr_max,MS_FRAME_TMP); in opus_multistream_encode_native()
1220 value = IMIN(300000*st->layout.nb_channels, IMAX(500*st->layout.nb_channels, value)); in opus_multistream_encoder_ctl()
Dopus_multistream_decoder.c206 frame_size = IMIN(frame_size, Fs/25*3); in opus_multistream_decode_native()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_opcode_tmp.h158 OP12(IMIN)
/external/speex/libspeex/
Dresample.c92 #define IMIN(a,b) ((a) < (b) ? (a) : (b)) macro
1029 for (fact=2;fact<=IMIN(st->num_rate, st->den_rate);fact++) in speex_resampler_set_rate_frac()
/external/libopus/tests/
Dtest_opus_encode.c237 force_channel = IMIN(force_channel, num_channels); in fuzz_encoder_settings()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp789 NV50_IR_OPCODE_CASE(IMIN, MIN); in translateOpcode()
/external/mesa3d/src/gallium/docs/source/
Dtgsi.rst1316 .. opcode:: IMIN - Minimum of Signed Integers
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp960 case4d(MIN, IMIN, UMIN, DMIN); in get_opcode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/unicode/
DUnicodeData.txt20576 12011;CUNEIFORM SIGN AB TIMES IMIN;Lo;0;L;;;;;N;;;;;
20898 12153;CUNEIFORM SIGN IMIN;Lo;0;L;;;;;N;;;;;
21547 12442;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;Nl;0;L;;;;7;N;;;;;
21548 12443;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;Nl;0;L;;;;7;N;;;;;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DUnicodeData.txt20576 12011;CUNEIFORM SIGN AB TIMES IMIN;Lo;0;L;;;;;N;;;;;
20898 12153;CUNEIFORM SIGN IMIN;Lo;0;L;;;;;N;;;;;
21547 12442;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;Nl;0;L;;;;7;N;;;;;
21548 12443;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;Nl;0;L;;;;7;N;;;;;
/external/icu/icu4c/source/data/unidata/
DUnicodeData.txt20576 12011;CUNEIFORM SIGN AB TIMES IMIN;Lo;0;L;;;;;N;;;;;
20898 12153;CUNEIFORM SIGN IMIN;Lo;0;L;;;;;N;;;;;
21547 12442;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;Nl;0;L;;;;7;N;;;;;
21548 12443;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;Nl;0;L;;;;7;N;;;;;
Dppucd.txt25436 cp;12011;na=CUNEIFORM SIGN AB TIMES IMIN
25758 cp;12153;na=CUNEIFORM SIGN IMIN
26414 cp;12442;na=CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;nv=7
26415 cp;12443;na=CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;nv=7