av_clip_uintp2 164 libavcodec/aaccoder.c int c = av_clip_uintp2(quant(t, Q), 13); av_clip_uintp2 194 libavcodec/aaccoder.c int coef = av_clip_uintp2(quant(fabsf(in[i+j]), Q), 13); av_clip_uintp2 128 libavcodec/ac3dsp.c int address = av_clip_uintp2((psd[bin] - m) >> 5, 6); av_clip_uintp2 584 libavcodec/adpcmenc.c c->status[i].step_index = av_clip_uintp2(c->status[i].step_index, 6); av_clip_uintp2 67 libavcodec/bit_depth_template.c # define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH) av_clip_uintp2 68 libavcodec/bit_depth_template.c # define CLIP(a) av_clip_uintp2(a, BIT_DEPTH) av_clip_uintp2 94 libavcodec/cavs.c alpha = alpha_tab[av_clip_uintp2(qp_avg + h->alpha_offset, 6)]; \ av_clip_uintp2 95 libavcodec/cavs.c beta = beta_tab[av_clip_uintp2(qp_avg + h->beta_offset, 6)]; \ av_clip_uintp2 96 libavcodec/cavs.c tc = tc_tab[av_clip_uintp2(qp_avg + h->alpha_offset, 6)]; av_clip_uintp2 90 libavcodec/cngenc.c qdbov = av_clip_uintp2(-floor(dbov), 7); av_clip_uintp2 421 libavcodec/cook.c exp_idx = av_clip_uintp2((i - quant_index_table[index] + bias) / 2, 3); av_clip_uintp2 432 libavcodec/cook.c exp_idx = av_clip_uintp2((bias - quant_index_table[i]) / 2, 3); av_clip_uintp2 151 libavcodec/hevc.c s->sh.luma_log2_weight_denom = av_clip_uintp2(luma_log2_weight_denom, 3); av_clip_uintp2 154 libavcodec/hevc.c s->sh.chroma_log2_weight_denom = av_clip_uintp2(s->sh.luma_log2_weight_denom + delta, 3); av_clip_uintp2 649 libavcodec/ivi_common.c quant = av_clip_uintp2(quant, 5); av_clip_uintp2 235 libavcodec/motionpixels.c p.y = av_clip_uintp2(p.y, 5); av_clip_uintp2 267 libavcodec/motionpixels.c p.y = av_clip_uintp2(p.y, 5); av_clip_uintp2 1912 libavcodec/opus_celt.c b = av_clip_uintp2(FFMIN(s->remaining2 + 1, s->pulses[i] + curr_balance), 14); av_clip_uintp2 1080 libavcodec/opus_silk.c nlsf[i] = av_clip_uintp2(value, 15); av_clip_uintp2 1291 libavcodec/opus_silk.c log_gain = av_clip_uintp2(FFMAX((delta_gain<<1) - 16, av_clip_uintp2 898 libavcodec/vc1_block.c mquant = av_clip_uintp2(mquant, 5); av_clip_uintp2 324 libavcodec/vp8.c s->qmat[i].luma_qmul[0] = vp8_dc_qlookup[av_clip_uintp2(base_qi + ydc_delta, 7)]; av_clip_uintp2 325 libavcodec/vp8.c s->qmat[i].luma_qmul[1] = vp8_ac_qlookup[av_clip_uintp2(base_qi, 7)]; av_clip_uintp2 326 libavcodec/vp8.c s->qmat[i].luma_dc_qmul[0] = vp8_dc_qlookup[av_clip_uintp2(base_qi + y2dc_delta, 7)] * 2; av_clip_uintp2 328 libavcodec/vp8.c s->qmat[i].luma_dc_qmul[1] = vp8_ac_qlookup[av_clip_uintp2(base_qi + y2ac_delta, 7)] * 101581 >> 16; av_clip_uintp2 329 libavcodec/vp8.c s->qmat[i].chroma_qmul[0] = vp8_dc_qlookup[av_clip_uintp2(base_qi + uvdc_delta, 7)]; av_clip_uintp2 330 libavcodec/vp8.c s->qmat[i].chroma_qmul[1] = vp8_ac_qlookup[av_clip_uintp2(base_qi + uvac_delta, 7)]; av_clip_uintp2 2045 libavcodec/vp8.c filter_level = av_clip_uintp2(filter_level, 6); av_clip_uintp2 672 libavcodec/vp9.c qydc = av_clip_uintp2(qyac + s->ydc_qdelta, 8); av_clip_uintp2 673 libavcodec/vp9.c quvdc = av_clip_uintp2(qyac + s->uvdc_qdelta, 8); av_clip_uintp2 674 libavcodec/vp9.c quvac = av_clip_uintp2(qyac + s->uvac_qdelta, 8); av_clip_uintp2 675 libavcodec/vp9.c qyac = av_clip_uintp2(qyac, 8); av_clip_uintp2 693 libavcodec/vp9.c av_clip_uintp2(lflvl + (s->lf_delta.ref[0] << sh), 6); av_clip_uintp2 696 libavcodec/vp9.c av_clip_uintp2(lflvl + ((s->lf_delta.ref[j] + av_clip_uintp2 699 libavcodec/vp9.c av_clip_uintp2(lflvl + ((s->lf_delta.ref[j] + av_clip_uintp2 98 libavformat/flacenc.c padding = av_clip_uintp2(padding, 24); av_clip_uintp2 466 libavutil/common.h #ifndef av_clip_uintp2 av_clip_uintp2 187 libswscale/output.c AV_WB16(pos, av_clip_uintp2(val >> shift, output_bits)); \ av_clip_uintp2 189 libswscale/output.c AV_WL16(pos, av_clip_uintp2(val >> shift, output_bits)); \ av_clip_uintp2 744 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 745 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 746 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 747 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14); av_clip_uintp2 748 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 749 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 750 libswscale/output.c output_pixel(&dest[6], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 751 libswscale/output.c output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14); av_clip_uintp2 799 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 800 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 801 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 802 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14); av_clip_uintp2 803 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 804 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 805 libswscale/output.c output_pixel(&dest[6], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 806 libswscale/output.c output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14); av_clip_uintp2 848 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 849 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 850 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 851 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14); av_clip_uintp2 852 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 853 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 854 libswscale/output.c output_pixel(&dest[6], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 855 libswscale/output.c output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14); av_clip_uintp2 887 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 888 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 889 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 890 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(A1 , 30) >> 14); av_clip_uintp2 891 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 892 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 893 libswscale/output.c output_pixel(&dest[6], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 894 libswscale/output.c output_pixel(&dest[7], av_clip_uintp2(A2 , 30) >> 14); av_clip_uintp2 949 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 950 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 951 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 952 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 953 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 954 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 991 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 992 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 993 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 994 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 995 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 996 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 1029 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 1030 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 1031 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 1032 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 1033 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 1034 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 1057 libswscale/output.c output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14); av_clip_uintp2 1058 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); av_clip_uintp2 1059 libswscale/output.c output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14); av_clip_uintp2 1060 libswscale/output.c output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14); av_clip_uintp2 1061 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); av_clip_uintp2 1062 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14); av_clip_uintp2 1475 libswscale/output.c R = av_clip_uintp2(R, 30); av_clip_uintp2 1476 libswscale/output.c G = av_clip_uintp2(G, 30); av_clip_uintp2 1477 libswscale/output.c B = av_clip_uintp2(B, 30); av_clip_uintp2 1552 libswscale/output.c r = av_clip_uintp2(r, 3); av_clip_uintp2 1553 libswscale/output.c g = av_clip_uintp2(g, 3); av_clip_uintp2 1554 libswscale/output.c b = av_clip_uintp2(b, 2); av_clip_uintp2 1559 libswscale/output.c r = av_clip_uintp2(r, 1); av_clip_uintp2 1560 libswscale/output.c g = av_clip_uintp2(g, 2); av_clip_uintp2 1561 libswscale/output.c b = av_clip_uintp2(b, 1); av_clip_uintp2 1571 libswscale/output.c r = av_clip_uintp2(r, 3); av_clip_uintp2 1572 libswscale/output.c g = av_clip_uintp2(g, 3); av_clip_uintp2 1573 libswscale/output.c b = av_clip_uintp2(b, 2); av_clip_uintp2 1578 libswscale/output.c r = av_clip_uintp2(r, 1); av_clip_uintp2 1579 libswscale/output.c g = av_clip_uintp2(g, 2); av_clip_uintp2 1580 libswscale/output.c b = av_clip_uintp2(b, 1); av_clip_uintp2 1827 libswscale/output.c R = av_clip_uintp2(R, 30); av_clip_uintp2 1828 libswscale/output.c G = av_clip_uintp2(G, 30); av_clip_uintp2 1829 libswscale/output.c B = av_clip_uintp2(B, 30); av_clip_uintp2 808 libswscale/swscale.c r = av_clip_uintp2(r, 12); av_clip_uintp2 809 libswscale/swscale.c g = av_clip_uintp2(g, 12); av_clip_uintp2 810 libswscale/swscale.c b = av_clip_uintp2(b, 12); av_clip_uintp2 864 libswscale/swscale.c x = av_clip_uintp2(x, 12); av_clip_uintp2 865 libswscale/swscale.c y = av_clip_uintp2(y, 12); av_clip_uintp2 866 libswscale/swscale.c z = av_clip_uintp2(z, 12);