/external/libopus/celt/ |
laplace.c | 78 di = IMIN(val - i, ndi_max - 1); 80 fs = IMIN(LAPLACE_MINP, 32768-fl); 131 celt_assert(fm<IMIN(fl+fs,32768)); 132 ec_dec_update(dec, fl, IMIN(fl+fs,32768), 32768);
|
rate.c | 178 LM0=IMIN(i,1); 199 qb = IMIN((num+(den>>1))/den, 57); 214 qb = IMIN((num+(den>>1))/den, (N==2?64:61)); 231 qb = IMIN((num+(den>>1))/den, MAX_FINE_BITS); 283 psum += IMIN(tmp, cap[j]); 309 tmp = IMIN(tmp, cap[j]); 392 *intensity = IMIN(*intensity, codedBands); 423 int tmp = (int)IMIN(left, m->eBands[j+1]-m->eBands[j]); 475 ebits[j] = IMIN(ebits[j], MAX_FINE_BITS); 499 extra_fine = IMIN(excess>>(stereo+BITRES),MAX_FINE_BITS-ebits[j]) [all...] |
celt_encoder.c | 349 id = IMAX(0,IMIN(127,MULT16_32_Q15(tmp[i],norm))); /* Do not round to nearest */ 351 id = IMAX(0,IMIN(127,(int)floor(64*norm*tmp[i]))); /* Do not round to nearest */ 649 curr0 = IMIN(cost0, cost1 + lambda); 650 curr1 = IMIN(cost0 + lambda, cost1); 654 cost0 = IMIN(cost0, cost1); [all...] |
quant_bands.c | 221 qi = IMIN(1, qi); 226 qi = IMIN(qi, 0); 230 pi = 2*IMIN(i,20); 236 qi = IMAX(-1, IMIN(qi, 1)); 241 qi = IMIN(0, qi); 464 pi = 2*IMIN(i,20);
|
bands.c | 625 qb = IMIN(b-pulse_cap-(4<<BITRES), (b+N2*offset)/N2); 627 qb = IMIN(8<<BITRES, qb); 950 delta = IMIN(0, delta + (N<<BITRES>>(5-LM))); 952 mbits = IMAX(0, IMIN(b, (b-delta)/2)); [all...] |
arch.h | 79 #define IMIN(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum int value. */
|
celt_decoder.c | 384 effEnd = IMAX(start, IMIN(end, mode->effEBands)); 429 bound = IMIN(bound, N/downsample); 507 exc_length = IMIN(2*pitch_index, MAX_PERIOD); 857 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width)); 933 bound = IMIN(bound, N/st->downsample); [all...] |
cwrs.c | 196 # define CELT_PVQ_U(_n,_k) (CELT_PVQ_U_ROW[IMIN(_n,_k)][IMAX(_n,_k)])
|
/external/libopus/src/ |
opus_encoder.c | 528 M = IMIN(maxM, (1<<LM)+1); 685 N=IMIN(len/subframe, MAX_DYNAMIC_FRAMESIZE); 712 N=IMIN(MAX_DYNAMIC_FRAMESIZE, N+2); 810 new_size = IMIN(3*Fs/50, (Fs/400)<<(variable_duration-OPUS_FRAMESIZE_2_5_MS)); 964 max_data_bytes = IMIN(1276, out_data_bytes); 983 lsb_depth = IMIN(lsb_depth, st->lsb_depth); 1059 cbrBytes = IMIN( (st->bitrate_bps + 4*frame_rate)/(8*frame_rate) , max_data_bytes); [all...] |
analysis.c | 228 alpha = 1.f/IMIN(20, 1+tonal->count); 229 alphaE = 1.f/IMIN(50, 1+tonal->count); 230 alphaE2 = 1.f/IMIN(1000, 1+tonal->count); 237 downmix(x, &tonal->inmem[tonal->mem_fill], IMIN(len, ANALYSIS_BUF_SIZE-tonal->mem_fill), offset, c1, c2, C); 583 tonal->music_confidence_count = IMIN(tonal->music_confidence_count, 500); 590 tonal->speech_confidence_count = IMIN(tonal->speech_confidence_count, 500); 629 analysis_frame_size = IMIN((DETECT_SIZE-5)*Fs/100, analysis_frame_size); 634 tonality_analysis(analysis, NULL, celt_mode, analysis_pcm, IMIN(480, pcm_len), offset, c1, c2, C, lsb_depth, downmix);
|
opus_decoder.c | 247 frame_size = IMIN(frame_size, st->Fs/25*3); 253 frame_size = IMIN(frame_size, st->frame_size); 278 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0); 316 opus_decode_frame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), 0); 453 opus_decode_frame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), 0); 474 int celt_frame_size = IMIN(F20, frame_size);
|
opus_multistream_decoder.c | 206 frame_size = IMIN(frame_size, Fs/25*3);
|
opus_multistream_encoder.c | 760 max_data_bytes = IMIN(max_data_bytes, 3*st->bitrate_bps/(3*8*Fs/frame_size)); 848 curr_max = IMIN(curr_max,MS_FRAME_TMP); [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_opcode_tmp.h | 147 OP12(IMIN)
|
/external/speex/libspeex/ |
resample.c | 92 #define IMIN(a,b) ((a) < (b) ? (a) : (b)) [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/ |
sm4_to_tgsi.cpp | 500 OP2(IMIN);
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_from_tgsi.cpp | 525 NV50_IR_OPCODE_CASE(IMIN, MIN); [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_glsl_to_tgsi.cpp | 662 case3(MIN, IMIN, UMIN); [all...] |