Home
last modified time | relevance | path

Searched refs:IMIN (Results 1 – 22 of 22) 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()
392 *intensity = IMIN(*intensity, codedBands); in interp_bits2pulses()
423 int tmp = (int)IMIN(left, m->eBands[j+1]-m->eBands[j]); in interp_bits2pulses()
476 ebits[j] = IMIN(ebits[j], MAX_FINE_BITS); in interp_bits2pulses()
500 extra_fine = IMIN(excess>>(stereo+BITRES),MAX_FINE_BITS-ebits[j]); in interp_bits2pulses()
[all …]
Dcelt_encoder.c649 curr0 = IMIN(cost0, cost1 + lambda); in tf_analysis()
650 curr1 = IMIN(cost0 + lambda, cost1); in tf_analysis()
654 cost0 = IMIN(cost0, cost1); in tf_analysis()
830 trim_index = IMAX(0, IMIN(10, trim_index)); in alloc_trim_analysis()
1156 qg = IMAX(0, IMIN(7, qg)); in run_prefilter()
1213 coded_bins += eBands[IMIN(intensity, coded_bands)]<<LM; in compute_vbr()
1228 coded_stereo_bands = IMIN(intensity, coded_bands); in compute_vbr()
1278 target = IMIN(target, floor_depth); in compute_vbr()
1303 amount = MULT16_16_Q15(QCONST16(.0000031f, 30), IMAX(0, IMIN(32000, 96000-bitrate))); in compute_vbr()
1309 target = IMIN(2*base_target, target); 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()
464 pi = 2*IMIN(i,20); in unquant_coarse_energy()
Dbands.c207 bound = IMIN(bound, N/downsample); in denormalise_bands()
634 qb = IMIN(b-pulse_cap-(4<<BITRES), qb); in compute_qn()
636 qb = IMIN(8<<BITRES, qb); in compute_qn()
961 delta = IMIN(0, delta + (N<<BITRES>>(5-LM))); in quant_partition()
963 mbits = IMAX(0, IMIN(b, (b-delta)/2)); in quant_partition()
1308 mbits = IMAX(0, IMIN(b, (b-delta)/2)); in quant_band_stereo()
1442 curr_balance = celt_sudiv(balance, IMIN(3, codedBands-i)); in quant_all_bands()
1443 b = IMAX(0, IMIN(16383, IMIN(remaining_bits+1,pulses[i]+curr_balance))); in quant_all_bands()
Darch.h76 #define IMIN(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum int value. */ macro
Dcelt_decoder.c463 effEnd = IMAX(start, IMIN(end, mode->effEBands)); in celt_decode_lost()
567 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost()
928 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.c241 alpha = 1.f/IMIN(20, 1+tonal->count); in tonality_analysis()
242 alphaE = 1.f/IMIN(50, 1+tonal->count); in tonality_analysis()
243 alphaE2 = 1.f/IMIN(1000, 1+tonal->count); in tonality_analysis()
250 …downmix(x, &tonal->inmem[tonal->mem_fill], IMIN(len, ANALYSIS_BUF_SIZE-tonal->mem_fill), offset, c… in tonality_analysis()
612 tonal->music_confidence_count = IMIN(tonal->music_confidence_count, 500); in tonality_analysis()
619 tonal->speech_confidence_count = IMIN(tonal->speech_confidence_count, 500); in tonality_analysis()
656 analysis_frame_size = IMIN((DETECT_SIZE-5)*Fs/100, analysis_frame_size); in run_analysis()
661 …tonality_analysis(analysis, celt_mode, analysis_pcm, IMIN(480, pcm_len), offset, c1, c2, C, lsb_de… in run_analysis()
Dopus_encoder.c534 M = IMIN(maxM, (1<<LM)+1); in transient_boost()
692 N=IMIN(len/subframe, MAX_DYNAMIC_FRAMESIZE); in optimize_framesize()
719 N=IMIN(MAX_DYNAMIC_FRAMESIZE, N+2); in optimize_framesize()
817 new_size = IMIN(3*Fs/50, (Fs/400)<<(variable_duration-OPUS_FRAMESIZE_2_5_MS)); in frame_size_select()
979 max_data_bytes = IMIN(1276, out_data_bytes); in opus_encode_native()
998 lsb_depth = IMIN(lsb_depth, st->lsb_depth); in opus_encode_native()
1058 cbrBytes = IMIN( (3*st->bitrate_bps/8 + frame_rate3/2)/frame_rate3, max_data_bytes); in opus_encode_native()
1105 voice_est = IMIN(voice_est, 115); in opus_encode_native()
1241 … redundancy_bytes = IMIN(257, max_data_bytes*(opus_int32)(st->Fs/200)/(frame_size+st->Fs/200)); in opus_encode_native()
1244 redundancy_bytes = IMIN(redundancy_bytes, st->bitrate_bps/1600); in opus_encode_native()
[all …]
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_multistream_encoder.c917 max_data_bytes = IMIN(max_data_bytes, 3*rate_sum/(3*8*Fs/frame_size)); in opus_multistream_encode_native()
920 max_data_bytes = IMIN(max_data_bytes, IMAX(smallest_packet, in opus_multistream_encode_native()
1016 curr_max = IMIN(curr_max,MS_FRAME_TMP); in opus_multistream_encode_native()
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
1031 for (fact=2;fact<=IMIN(st->num_rate, st->den_rate);fact++) in speex_resampler_set_rate_frac()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp789 NV50_IR_OPCODE_CASE(IMIN, MIN); in translateOpcode()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp960 case4d(MIN, IMIN, UMIN, DMIN); in get_opcode()
/external/mesa3d/src/gallium/docs/source/
Dtgsi.rst1316 .. opcode:: IMIN - Minimum of Signed Integers
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/unicode/
DUnicodeData.txt20310 12011;CUNEIFORM SIGN AB TIMES IMIN;Lo;0;L;;;;;N;;;;;
20632 12153;CUNEIFORM SIGN IMIN;Lo;0;L;;;;;N;;;;;
21281 12442;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;Nl;0;L;;;;7;N;;;;;
21282 12443;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;Nl;0;L;;;;7;N;;;;;
/external/icu/icu4c/source/data/unidata/
DUnicodeData.txt20310 12011;CUNEIFORM SIGN AB TIMES IMIN;Lo;0;L;;;;;N;;;;;
20632 12153;CUNEIFORM SIGN IMIN;Lo;0;L;;;;;N;;;;;
21281 12442;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;Nl;0;L;;;;7;N;;;;;
21282 12443;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;Nl;0;L;;;;7;N;;;;;
Dppucd.txt24654 cp;12011;na=CUNEIFORM SIGN AB TIMES IMIN
24976 cp;12153;na=CUNEIFORM SIGN IMIN
25632 cp;12442;na=CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;nv=7
25633 cp;12443;na=CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;nv=7
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DUnicodeData.txt20310 12011;CUNEIFORM SIGN AB TIMES IMIN;Lo;0;L;;;;;N;;;;;
20632 12153;CUNEIFORM SIGN IMIN;Lo;0;L;;;;;N;;;;;
21281 12442;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A;Nl;0;L;;;;7;N;;;;;
21282 12443;CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B;Nl;0;L;;;;7;N;;;;;