/external/libopus/celt/ |
D | rate.c | 338 rem = IMAX(left-(m->eBands[j]-m->eBands[start]),0); in interp_bits2pulses() 344 if (band_bits >= IMAX(thresh[j], alloc_floor+(1<<BITRES))) in interp_bits2pulses() 468 ebits[j] = IMAX(0, (bits[j] + offset + (den<<(BITRES-1)))); in interp_bits2pulses() 542 total = IMAX(total, 0); in compute_allocation() 570 thresh[j] = IMAX((C)<<BITRES, (3*(m->eBands[j+1]-m->eBands[j])<<LM<<BITRES)>>4); in compute_allocation() 592 bitsj = IMAX(0, bitsj + trim_offset[j]); in compute_allocation() 621 bits1j = IMAX(0, bits1j + trim_offset[j]); in compute_allocation() 623 bits2j = IMAX(0, bits2j + trim_offset[j]); in compute_allocation() 629 bits2j = IMAX(0,bits2j-bits1j); in compute_allocation()
|
D | celt_encoder.c | 401 for (i=IMAX(2,start);i<end-1;i++) in patch_transient_decision() 409 mean_diff = DIV32(mean_diff, C*(end-1-IMAX(2,start))); in patch_transient_decision() 830 trim_index = IMAX(0, IMIN(10, trim_index)); in alloc_trim_analysis() 1156 qg = IMAX(0, IMIN(7, qg)); in run_prefilter() 1164 st->prefilter_period=IMAX(st->prefilter_period, COMBFILTER_MINPERIOD); in run_prefilter() 1268 target = IMAX(target/4, surround_target); in compute_vbr() 1277 floor_depth = IMAX(floor_depth, target>>2); in compute_vbr() 1303 amount = MULT16_16_Q15(QCONST16(.0000031f, 30), IMAX(0, IMIN(32000, 96000-bitrate))); in compute_vbr() 1426 end = st->end = IMAX(1, mode->effEBands-tmp); in celt_encode_with_ec() 1468 nbCompressedBytes = IMAX(2, IMIN(nbCompressedBytes, in celt_encode_with_ec() [all …]
|
D | celt_decoder.c | 463 effEnd = IMAX(start, IMIN(end, mode->effEBands)); in celt_decode_lost() 589 … int shift = IMAX(0,2*celt_zlog2(celt_maxabs16(&exc[MAX_PERIOD-exc_length], exc_length))-20); in celt_decode_lost() 790 st->end = end = IMAX(1, mode->effEBands-2*(data0>>5)); 928 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width)); 945 dynalloc_logp = IMAX(2, dynalloc_logp-1); 1006 st->postfilter_period=IMAX(st->postfilter_period, COMBFILTER_MINPERIOD); 1007 st->postfilter_period_old=IMAX(st->postfilter_period_old, COMBFILTER_MINPERIOD);
|
D | quant_bands.c | 223 qi = IMAX(-1, qi); in quant_coarse_energy_impl() 236 qi = IMAX(-1, IMIN(qi, 1)); in quant_coarse_energy_impl()
|
D | arch.h | 77 #define IMAX(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum int value. */ macro
|
D | bands.c | 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() 1443 b = IMAX(0, IMIN(16383, IMIN(remaining_bits+1,pulses[i]+curr_balance))); in quant_all_bands() 1471 effective_lowband = IMAX(0, M*eBands[lowband_offset]-norm_offset-N); in quant_all_bands()
|
D | cwrs.c | 196 # define CELT_PVQ_U(_n,_k) (CELT_PVQ_U_ROW[IMIN(_n,_k)][IMAX(_n,_k)])
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_opcode_tmp.h | 157 OP12(IMAX)
|
/external/libopus/src/ |
D | opus_multistream_encoder.c | 809 rate[i] = IMAX(rate[i], 500); in rate_allocation() 920 max_data_bytes = IMIN(max_data_bytes, IMAX(smallest_packet, in opus_multistream_encode_native() 1015 curr_max -= IMAX(0,2*(st->layout.nb_streams-s-1)-1); in opus_multistream_encode_native()
|
D | analysis.c | 190 curr_lookahead = IMAX(curr_lookahead-10, 0); in tonality_get_info() 416 noise_floor = 5.7e-4f/(1<<(IMAX(0,lsb_depth-8))); in tonality_analysis()
|
D | opus_decoder.c | 333 …pcm_silk_size = (mode != MODE_CELT_ONLY && !celt_accum) ? IMAX(F10, frame_size)*st->channels : ALL… in opus_decode_frame() 352 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs); in opus_decode_frame()
|
D | opus_encoder.c | 871 short_alpha = Q15ONE - MULT16_16(25, Q15ONE)/IMAX(50,frame_rate); in compute_stereo_width() 1348 st->detected_bandwidth = IMAX(st->detected_bandwidth, min_detected_bandwidth); in opus_encode_native() 1626 st->silk_mode.bitRate = IMAX(1, st->silk_mode.bitRate-2000); in opus_encode_native() 1789 st->silk_mode.stereoWidth_Q14 = IMIN((1<<14),2*IMAX(0,equiv_rate-30000)); in opus_encode_native() 1825 redundancy_bytes = IMIN(257, IMAX(2, redundancy_bytes)); in opus_encode_native()
|
/external/speex/libspeex/ |
D | resample.c | 91 #define IMAX(a,b) ((a) > (b) ? (a) : (b)) macro
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_from_tgsi.cpp | 788 NV50_IR_OPCODE_CASE(IMAX, MAX); in translateOpcode()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi.cpp | 959 case4d(MAX, IMAX, UMAX, DMAX); in get_opcode()
|
/external/mesa3d/src/gallium/docs/source/ |
D | tgsi.rst | 1290 .. opcode:: IMAX - Maximum of Signed Integers
|