av_clip_intp2 160 libavcodec/adpcm.c c->status[0].predictor = av_clip_intp2(AV_RL32(avctx->extradata ), 18); av_clip_intp2 161 libavcodec/adpcm.c c->status[1].predictor = av_clip_intp2(AV_RL32(avctx->extradata + 4), 18); av_clip_intp2 166 libavcodec/adpcm.c c->status[0].predictor = av_clip_intp2(AV_RL32(avctx->extradata + 0), 18); av_clip_intp2 168 libavcodec/adpcm.c c->status[1].predictor = av_clip_intp2(AV_RL32(avctx->extradata + 8), 18); av_clip_intp2 435 libavcodec/adpcm.c c->predictor = av_clip_intp2(predictor, 11); av_clip_intp2 1918 libavcodec/adpcm.c prev = av_clip_intp2((prev + 0x20) >> 6, 21); av_clip_intp2 242 libavcodec/adpcmenc.c nibble = av_clip_intp2(nibble, 3) & 0x0F; av_clip_intp2 84 libavcodec/adxenc.c d = av_clip_intp2(ROUNDED_DIV(d, scale), 3); av_clip_intp2 446 libavcodec/aptx.c reconstructed_sample = av_clip_intp2(reconstructed_difference + prediction->predicted_sample, 23); av_clip_intp2 447 libavcodec/aptx.c predictor = av_clip_intp2((MUL64(prediction->s_weight[0], prediction->previous_reconstructed_sample) av_clip_intp2 459 libavcodec/aptx.c prediction->predicted_difference = av_clip_intp2(predicted_difference >> 22, 23); av_clip_intp2 460 libavcodec/aptx.c prediction->predicted_sample = av_clip_intp2(predictor + prediction->predicted_difference, 23); av_clip_intp2 126 libavcodec/aptx.h return av_clip_intp2(rshift##size(value, shift), 23); \ av_clip_intp2 47 libavcodec/aptxenc.c *low_subband_output = av_clip_intp2(subbands[0] + subbands[1], 23); av_clip_intp2 48 libavcodec/aptxenc.c *high_subband_output = av_clip_intp2(subbands[0] - subbands[1], 23); av_clip_intp2 120 libavcodec/aptxenc.c dithered_sample = rshift64_clip24(MUL64(dither, interval) + ((int64_t)av_clip_intp2(mean + d, 23) << 32), 32); av_clip_intp2 142 libavcodec/aptxenc.c int32_t diff = av_clip_intp2(subband_samples[subband] - channel->prediction[subband].predicted_sample, 23); av_clip_intp2 54 libavcodec/dcamath.h static inline int32_t clip23(int32_t a) { return av_clip_intp2(a, 23); } av_clip_intp2 115 libavcodec/g722dec.c rlow = av_clip_intp2((c->band[0].scale_factor * quantizer_table[ilow] >> 10) av_clip_intp2 121 libavcodec/g722dec.c rhigh = av_clip_intp2(dhigh + c->band[1].s_predictor, 14); av_clip_intp2 224 libavcodec/g722enc.c decoded = av_clip_intp2((cur_node->state.scale_factor * av_clip_intp2 283 libavcodec/g722enc.c decoded = av_clip_intp2(dhigh + cur_node->state.s_predictor, 14); av_clip_intp2 221 libavcodec/g726.c fa1 = av_clip_intp2((-c->a[0]*c->pk[0]*pk0)>>5, 8); av_clip_intp2 58 libavcodec/h264_direct.c return av_clip_intp2((tb * tx + 32) >> 6, 10); av_clip_intp2 122 libavcodec/hevc_mvs.c scale_factor = av_clip_intp2((tb * tx + 32) >> 6, 12); av_clip_intp2 1337 libavcodec/ilbcdec.c signal[i] = av_clip_intp2(tmp + 1024, 26) >> 11; av_clip_intp2 241 libavcodec/motionpixels.c p.v = av_clip_intp2(p.v, 5); av_clip_intp2 243 libavcodec/motionpixels.c p.u = av_clip_intp2(p.u, 5); av_clip_intp2 272 libavcodec/motionpixels.c p.v = av_clip_intp2(p.v, 5); av_clip_intp2 274 libavcodec/motionpixels.c p.u = av_clip_intp2(p.u, 5); av_clip_intp2 494 libavcodec/takdec.c v = (av_clip_intp2(v >> filter_quant, 13) * (1 << dshift)) - (unsigned)*decoded; av_clip_intp2 656 libavcodec/takdec.c v = av_clip_intp2(v >> 10, 13) * (1U << dshift) - *p1; av_clip_intp2 1834 libavcodec/vp9dsp_template.c int f = av_clip_intp2(p1 - q1, BIT_DEPTH - 1), f1, f2; av_clip_intp2 1835 libavcodec/vp9dsp_template.c f = av_clip_intp2(3 * (q0 - p0) + f, BIT_DEPTH - 1); av_clip_intp2 1843 libavcodec/vp9dsp_template.c int f = av_clip_intp2(3 * (q0 - p0), BIT_DEPTH - 1), f1, f2; av_clip_intp2 567 libavutil/common.h #ifndef av_clip_intp2