/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() 473 ebits[j] = IMAX(0, (bits[j] + offset + (den<<(BITRES-1)))); in interp_bits2pulses() 547 total = IMAX(total, 0); in clt_compute_allocation() 575 thresh[j] = IMAX((C)<<BITRES, (3*(m->eBands[j+1]-m->eBands[j])<<LM<<BITRES)>>4); in clt_compute_allocation() 597 bitsj = IMAX(0, bitsj + trim_offset[j]); in clt_compute_allocation() 626 bits1j = IMAX(0, bits1j + trim_offset[j]); in clt_compute_allocation() 628 bits2j = IMAX(0, bits2j + trim_offset[j]); in clt_compute_allocation() 634 bits2j = IMAX(0,bits2j-bits1j); in clt_compute_allocation()
|
D | celt_encoder.c | 435 for (i=IMAX(2,start);i<end-1;i++) in patch_transient_decision() 443 mean_diff = DIV32(mean_diff, C*(end-1-IMAX(2,start))); in patch_transient_decision() 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() 1261 qg = IMAX(0, IMIN(7, qg)); in run_prefilter() 1269 st->prefilter_period=IMAX(st->prefilter_period, COMBFILTER_MINPERIOD); in run_prefilter() 1372 target = IMAX(target/4, surround_target); in compute_vbr() 1381 floor_depth = IMAX(floor_depth, target>>2); in compute_vbr() 1397 amount = MULT16_16_Q15(QCONST16(.0000031f, 30), IMAX(0, IMIN(32000, 96000-bitrate))); in compute_vbr() 1528 end = st->end = IMAX(1, mode->effEBands-tmp); in celt_encode_with_ec() [all …]
|
D | celt_decoder.c | 545 effEnd = IMAX(start, IMIN(end, mode->effEBands)); in celt_decode_lost() 688 … int shift = IMAX(0,2*celt_zlog2(celt_maxabs16(&exc[MAX_PERIOD-exc_length], exc_length))-20); in celt_decode_lost() 893 st->end = end = IMAX(1, mode->effEBands-2*(data0>>5)); 1031 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width)); 1048 dynalloc_logp = IMAX(2, dynalloc_logp-1); 1110 st->postfilter_period=IMAX(st->postfilter_period, COMBFILTER_MINPERIOD); 1111 st->postfilter_period_old=IMAX(st->postfilter_period_old, COMBFILTER_MINPERIOD);
|
D | celt.c | 212 T0 = IMAX(T0, COMBFILTER_MINPERIOD); in comb_filter() 213 T1 = IMAX(T1, COMBFILTER_MINPERIOD); in comb_filter()
|
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 | bands.c | 768 down = IMIN(qn-1, IMAX(0, (itheta*(opus_int32)qn + bias)>>14)); in compute_theta() 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() 1506 b = IMAX(0, IMIN(16383, IMIN(remaining_bits+1,pulses[i]+curr_balance))); in quant_all_bands() 1541 effective_lowband = IMAX(0, M*eBands[lowband_offset]-norm_offset-N); in quant_all_bands()
|
D | arch.h | 102 #define IMAX(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum int value. */ macro
|
D | cwrs.c | 196 # define CELT_PVQ_U(_n,_k) (CELT_PVQ_U_ROW[IMIN(_n,_k)][IMAX(_n,_k)])
|
/external/libopus/src/ |
D | opus_multistream_encoder.c | 694 channel_offset = 40*IMAX(50, Fs/frame_size); in surround_rate_allocation() 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() 728 rate[i] = 2*channel_offset + IMAX(0, stream_offset+(channel_rate*coupled_ratio>>8)); in surround_rate_allocation() 730 rate[i] = channel_offset + IMAX(0, stream_offset + channel_rate); in surround_rate_allocation() 732 rate[i] = IMAX(0, lfe_offset+(channel_rate*lfe_ratio>>8)); in surround_rate_allocation() 793 rate[i] = IMAX(rate[i], 500); in rate_allocation() 884 max_data_bytes = IMIN(max_data_bytes, IMAX(smallest_packet, in opus_multistream_encode_native() 977 curr_max -= IMAX(0,2*(st->layout.nb_streams-s-1)-1); 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()
|
D | analysis.c | 280 info_out->bandwidth = IMAX(info_out->bandwidth, tonal->info[pos].bandwidth); in tonality_get_info() 292 info_out->bandwidth = IMAX(info_out->bandwidth, tonal->info[pos].bandwidth); in tonality_get_info() 741 noise_floor = 5.7e-4f/(1<<(IMAX(0,lsb_depth-8))); in tonality_analysis()
|
D | opus_encoder.c | 646 short_alpha = Q15ONE - MULT16_16(25, Q15ONE)/IMAX(50,frame_rate); in compute_stereo_width() 874 shift = IMAX(0, (celt_ilog2(sample_max) << 1) + max_shift - 28); in compute_frame_energy() 1223 max_data_bytes = IMAX(1, cbrBytes); in opus_encode_native() 1276 max_data_bytes = IMAX(max_data_bytes, ret); in opus_encode_native() 1543 st->detected_bandwidth = IMAX(st->detected_bandwidth, min_detected_bandwidth); in opus_encode_native() 2005 redundancy_bytes = IMIN(257, IMAX(2, redundancy_bytes)); in opus_encode_native()
|
D | opus_decoder.c | 356 …pcm_silk_size = (mode != MODE_CELT_ONLY && !celt_accum) ? IMAX(F10, frame_size)*st->channels : ALL… in opus_decode_frame() 375 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs); in opus_decode_frame()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_opcode_tmp.h | 129 OP12(IMAX)
|
D | tgsi_info_opcodes.h | 122 OPCODE(1, 2, COMP, IMAX)
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_opcode_tmp.h | 157 OP12(IMAX)
|
/external/speex/libspeexdsp/ |
D | resample.c | 92 #define IMAX(a,b) ((a) > (b) ? (a) : (b)) macro
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_from_tgsi.cpp | 871 NV50_IR_OPCODE_CASE(IMAX, MAX); in translateOpcode()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi.cpp | 702 case7(MAX, MAX, IMAX, UMAX, DMAX, I64MAX, U64MAX); in get_opcode()
|
/external/mesa3d/src/gallium/docs/source/ |
D | tgsi.rst | 1232 .. opcode:: IMAX - Maximum of Signed Integers
|