Home
last modified time | relevance | path

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

12

/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.c681 curr0 = IMIN(cost0, cost1 + lambda); in tf_analysis()
682 curr1 = IMIN(cost0 + lambda, cost1); in tf_analysis()
686 cost0 = IMIN(cost0, cost1); in tf_analysis()
870 trim_index = IMAX(0, IMIN(10, trim_index)); in alloc_trim_analysis()
1028 int shift = IMIN(5, IMAX(0, -(int)floor(.5f + smr))); in dynalloc_analysis()
1118 for (i=start;i<IMIN(LEAK_BANDS, end);i++) in dynalloc_analysis()
1261 qg = IMAX(0, IMIN(7, qg)); in run_prefilter()
1318 coded_bins += eBands[IMIN(intensity, coded_bands)]<<LM; in compute_vbr()
1333 coded_stereo_bands = IMIN(intensity, coded_bands); in compute_vbr()
1382 target = IMIN(target, floor_depth); 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()
1505 curr_balance = celt_sudiv(balance, IMIN(3, codedBands-i)); in quant_all_bands()
1506 b = IMAX(0, IMIN(16383, IMIN(remaining_bits+1,pulses[i]+curr_balance))); in quant_all_bands()
Darch.h101 #define IMIN(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum int value. */ macro
Dcwrs.c196 # define CELT_PVQ_U(_n,_k) (CELT_PVQ_U_ROW[IMIN(_n,_k)][IMAX(_n,_k)])
Dcelt_decoder.c545 effEnd = IMAX(start, IMIN(end, mode->effEBands)); in celt_decode_lost()
609 exc_length = IMIN(2*pitch_index, MAX_PERIOD); in celt_decode_lost()
1031 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width));
/external/libopus/src/
Danalysis.c378 for (i=0;i<IMIN(tonal->count-1, 15);i++) in tonality_get_info()
469 alpha = 1.f/IMIN(10, 1+tonal->count); in tonality_analysis()
470 alphaE = 1.f/IMIN(25, 1+tonal->count); in tonality_analysis()
472 alphaE2 = 1.f/IMIN(100, 1+tonal->count); in tonality_analysis()
490 IMIN(len, ANALYSIS_BUF_SIZE-tonal->mem_fill), offset, c1, c2, C, tonal->Fs); in tonality_analysis()
714 info->leak_boost[b] = IMIN(255, (int)floor(.5 + 64.f*boost)); in tonality_analysis()
855 tonal->count = IMIN(tonal->count+1, ANALYSIS_COUNT_MAX); in tonality_analysis()
927 analysis_frame_size = IMIN((DETECT_SIZE-5)*Fs/50, analysis_frame_size); in run_analysis()
932 …tonality_analysis(analysis, celt_mode, analysis_pcm, IMIN(Fs/50, pcm_len), offset, c1, c2, C, lsb_… in run_analysis()
Dopus_decoder.c265 frame_size = IMIN(frame_size, st->Fs/25*3); in opus_decode_frame()
271 frame_size = IMIN(frame_size, st->frame_size); in opus_decode_frame()
298 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0); in opus_decode_frame()
344 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()
513 int celt_frame_size = IMIN(F20, frame_size); in opus_decode_frame()
768 frame_size = IMIN(frame_size, nb_samples); in opus_decode_float()
806 frame_size = IMIN(frame_size, nb_samples); in opus_decode()
Dopus_encoder.c970 repacketize_len = IMIN(cbr_bytes, out_data_bytes); in encode_multiframe_packet()
972 bytes_per_frame = IMIN(1276, 1+(repacketize_len-max_header_bytes)/nb_frames); in encode_multiframe_packet()
1057 redundancy_bytes = IMIN(redundancy_bytes, redundancy_bytes_cap); in compute_redundancy_bytes()
1060 redundancy_bytes = IMIN(257, redundancy_bytes); in compute_redundancy_bytes()
1109 max_data_bytes = IMIN(1276, out_data_bytes); in opus_encode_native()
1132 lsb_depth = IMIN(lsb_depth, st->lsb_depth); in opus_encode_native()
1220 cbrBytes = IMIN( (12*st->bitrate_bps/8 + frame_rate12/2)/frame_rate12, max_data_bytes); in opus_encode_native()
1307 voice_est = IMIN(voice_est, 115); in opus_encode_native()
1510 st->bandwidth = IMIN(st->bandwidth, OPUS_BANDWIDTH_WIDEBAND); in opus_encode_native()
1544 st->bandwidth = IMIN(st->bandwidth, st->detected_bandwidth); in opus_encode_native()
[all …]
Dopus_multistream_encoder.c245 freq_size = IMIN(960, frame_size); in surround_analysis()
708 lfe_offset = IMIN(bitrate/20, 3000) + 15*IMAX(50, Fs/frame_size); in surround_rate_allocation()
713 stream_offset = IMAX(0, IMIN(20000, stream_offset)); in surround_rate_allocation()
881 max_data_bytes = IMIN(max_data_bytes, 3*rate_sum/(3*8*Fs/frame_size)); in opus_multistream_encode_native()
884 max_data_bytes = IMIN(max_data_bytes, IMAX(smallest_packet, in opus_multistream_encode_native()
981 curr_max = IMIN(curr_max,MS_FRAME_TMP); in opus_multistream_encode_native()
1135 value = IMIN(300000*st->layout.nb_channels, IMAX(500*st->layout.nb_channels, value)); in opus_multistream_encoder_ctl_va_list()
Dopus_multistream_decoder.c207 frame_size = IMIN(frame_size, Fs/25*3); in opus_multistream_decode_native()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_opcode_tmp.h130 OP12(IMIN)
Dtgsi_info_opcodes.h123 OPCODE(1, 2, COMP, IMIN)
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_opcode_tmp.h158 OP12(IMIN)
/external/speex/libspeexdsp/
Dresample.c93 #define IMIN(a,b) ((a) < (b) ? (a) : (b)) macro
1091 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.cpp872 NV50_IR_OPCODE_CASE(IMIN, MIN); in translateOpcode()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp703 case7(MIN, MIN, IMIN, UMIN, DMIN, I64MIN, U64MIN); in get_opcode()
/external/mesa3d/src/gallium/docs/source/
Dtgsi.rst1258 .. opcode:: IMIN - Minimum of Signed Integers
/external/cldr/tools/java/org/unicode/cldr/util/data/
DApproximateWidth.txt616 12010..12011; 2; # CUNEIFORM SIGN AB TIMES IGI GUNU..CUNEIFORM SIGN AB TIMES IMIN
2012 12153..1215E; 4; # CUNEIFORM SIGN IMIN..CUNEIFORM SIGN KA TIMES BAR
/external/cldr/common/uca/
Dallkeys_DUCET.txt7364 12442 ; [.15E8.0020.0002.12442] # CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A
7365 12443 ; [.15E8.0020.0002.12443] # CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B
21692 12011 ; [.3B7F.0020.0002.12011] # CUNEIFORM SIGN AB TIMES IMIN
22014 12153 ; [.3CC1.0020.0002.12153] # CUNEIFORM SIGN IMIN
Dallkeys_CLDR.txt9867 12442 ; [.1C8C.0020.0002] # CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A
9868 12443 ; [.1C8C.0020.0002] # CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B
27726 12011 ; [.4DDA.0020.0002] # CUNEIFORM SIGN AB TIMES IMIN
28048 12153 ; [.4F1C.0020.0002] # CUNEIFORM SIGN IMIN
/external/cldr/tools/java/org/unicode/cldr/draft/
DCategories.txt17780 12011 Lo Sign CUNEIFORM SIGN AB TIMES IMIN
18102 12153 Lo Sign CUNEIFORM SIGN IMIN
18708 12442 Nl Number CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN A
18709 12443 Nl Number CUNEIFORM NUMERIC SIGN SEVEN VARIANT FORM IMIN B

12