Home
last modified time | relevance | path

Searched refs:av_clip_intp2 (Results 1 - 20 of 20) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Daptx.c447 reconstructed_sample = av_clip_intp2(reconstructed_difference + prediction->predicted_sample, 23); in aptx_prediction_filtering()
448 predictor = av_clip_intp2((MUL64(prediction->s_weight[0], prediction->previous_reconstructed_sample) in aptx_prediction_filtering()
460 prediction->predicted_difference = av_clip_intp2(predicted_difference >> 22, 23); in aptx_prediction_filtering()
461 prediction->predicted_sample = av_clip_intp2(predictor + prediction->predicted_difference, 23); in aptx_prediction_filtering()
H A Daptxenc.c52 *low_subband_output = av_clip_intp2(subbands[0] + subbands[1], 23); in aptx_qmf_polyphase_analysis()
53 *high_subband_output = av_clip_intp2(subbands[0] - subbands[1], 23); in aptx_qmf_polyphase_analysis()
125 dithered_sample = rshift64_clip24(MUL64(dither, interval) + ((int64_t)av_clip_intp2(mean + d, 23) << 32), 32); in aptx_quantize_difference()
147 int32_t diff = av_clip_intp2(subband_samples[subband] - channel->prediction[subband].predicted_sample, 23); in aptx_encode_channel()
H A Dg722dec.c115 rlow = av_clip_intp2((c->band[0].scale_factor * quantizer_table[ilow] >> 10) in g722_decode_frame()
121 rhigh = av_clip_intp2(dhigh + c->band[1].s_predictor, 14); in g722_decode_frame()
H A Dmotionpixels.c237 p.v = av_clip_intp2(p.v, 5); in mp_decode_line()
239 p.u = av_clip_intp2(p.u, 5); in mp_decode_line()
268 p.v = av_clip_intp2(p.v, 5); in mp_decode_frame_helper()
270 p.u = av_clip_intp2(p.u, 5); in mp_decode_frame_helper()
H A Ddcamath.h54 static inline int32_t clip23(int32_t a) { return av_clip_intp2(a, 23); } in clip23()
H A Daptx.h125 return av_clip_intp2(rshift##size(value, shift), 23); \
H A Dg722enc.c220 decoded = av_clip_intp2((cur_node->state.scale_factor * in g722_encode_trellis()
279 decoded = av_clip_intp2(dhigh + cur_node->state.s_predictor, 14); in g722_encode_trellis()
H A Dadxenc.c85 d = av_clip_intp2(ROUNDED_DIV(d, scale), 3); in adx_encode()
H A Dadpcm.c567 c->predictor = av_clip_intp2(predictor, 11); in adpcm_ima_oki_expand_nibble()
2105 prev = av_clip_intp2((prev + 0x20) >> 6, 21); in adpcm_decode_frame()
2250 c->status[0].predictor = av_clip_intp2(AV_RL32(avctx->extradata ), 18); in adpcm_flush()
2251 c->status[1].predictor = av_clip_intp2(AV_RL32(avctx->extradata + 4), 18); in adpcm_flush()
2257 c->status[0].predictor = av_clip_intp2(AV_RL32(avctx->extradata + 16), 18); in adpcm_flush()
2259 c->status[1].predictor = av_clip_intp2(AV_RL32(avctx->extradata + 4), 18); in adpcm_flush()
H A Dg726.c226 fa1 = av_clip_intp2((-c->a[0]*c->pk[0]*pk0)>>5, 8); in g726_decode()
H A Dhcadec.c293 av_clip_intp2(ch->hfr_scale[i] - ch->scale_factors[l], 6) ] * ch->imdct_in[l]; in reconstruct_hfr()
H A Dtakdec.c495 v = (av_clip_intp2(v >> filter_quant, 13) * (1 << dshift)) - (unsigned)*decoded; in decode_subframe()
657 v = av_clip_intp2(v >> 10, 13) * (1U << dshift) - *p1; in decorrelate()
H A Dhevc_mvs.c123 scale_factor = av_clip_intp2((tb * tx + 32) >> 6, 12); in mv_scale()
H A Dh264_direct.c57 return av_clip_intp2((tb * tx + 32) >> 6, 10); in get_scale_factor()
H A Dcfhdenc.c384 input[j] = av_clip_intp2(((input[j] * factor + 16384 * FFSIGN(input[j])) / 32768), 10); in quantize_band()
H A Dadpcmenc.c314 nibble = av_clip_intp2(nibble, 3) & 0x0F; in adpcm_ms_compress_sample()
H A Dvp9dsp_template.c1834 int f = av_clip_intp2(p1 - q1, BIT_DEPTH - 1), f1, f2; in loop_filter()
1835 f = av_clip_intp2(3 * (q0 - p0) + f, BIT_DEPTH - 1); in loop_filter()
1843 int f = av_clip_intp2(3 * (q0 - p0), BIT_DEPTH - 1), f1, f2; in loop_filter()
H A Dilbcdec.c1339 signal[i] = av_clip_intp2(tmp + 1024, 26) >> 11; in hp_output()
/third_party/ffmpeg/libavutil/arm/
H A Dintmath.h65 #define av_clip_intp2 av_clip_intp2_arm macro
/third_party/ffmpeg/libavutil/
H A Dcommon.h115 #ifndef av_clip_intp2
116 # define av_clip_intp2 av_clip_intp2_c macro

Completed in 25 milliseconds