Clip3 200 libde265/contextmodel.cc int preCtxState = Clip3(1,126, ((m*Clip3(0,51, SliceQPY))>>4)+n); Clip3 517 libde265/deblock.cc int Q_beta = Clip3(0,51, qP_L + beta_offset); Clip3 521 libde265/deblock.cc int Q_tc = Clip3(0,53, qP_L + 2*(bS-1) + tc_offset); Clip3 612 libde265/deblock.cc pnew[0] = Clip3(p0-2*tc,p0+2*tc, (p2 + 2*p1 + 2*p0 + 2*q0 + q1 +4)>>3); Clip3 613 libde265/deblock.cc pnew[1] = Clip3(p1-2*tc,p1+2*tc, (p2 + p1 + p0 + q0+2)>>2); Clip3 614 libde265/deblock.cc pnew[2] = Clip3(p2-2*tc,p2+2*tc, (2*p3 + 3*p2 + p1 + p0 + q0 + 4)>>3); Clip3 615 libde265/deblock.cc qnew[0] = Clip3(q0-2*tc,q0+2*tc, (p1+2*p0+2*q0+2*q1+q2+4)>>3); Clip3 616 libde265/deblock.cc qnew[1] = Clip3(q1-2*tc,q1+2*tc, (p0+q0+q1+q2+2)>>2); Clip3 617 libde265/deblock.cc qnew[2] = Clip3(q2-2*tc,q2+2*tc, (p0+q0+q1+3*q2+2*q3+4)>>3); Clip3 646 libde265/deblock.cc delta = Clip3(-tc,tc,delta); Clip3 666 libde265/deblock.cc int delta_p = Clip3(-(tc>>1), tc>>1, (((p2+p0+1)>>1)-p1+delta)>>1); Clip3 678 libde265/deblock.cc int delta_q = Clip3(-(tc>>1), tc>>1, (((q2+q0+1)>>1)-q1-delta)>>1); Clip3 829 libde265/deblock.cc int Q = Clip3(0,53, QP_C + 2*(bS-1) + tc_offset); Clip3 847 libde265/deblock.cc int delta = Clip3(-tc,tc, ((((q[0][k]-p[0][k])<<2)+p[1][k]-q[1][k]+4)>>3)); Clip3 863 libde265/deblock.cc int delta = Clip3(-tc,tc, ((((q[0][k]-p[0][k])<<2)+p[1][k]-q[1][k]+4)>>3)); Clip3 297 libde265/fallback-dct.cc g[i][c] = Clip3(-32768,32767, (sum+rndV)>>7); Clip3 328 libde265/fallback-dct.cc int out = Clip3(-32768,32767, (sum+rndH)>>postShift); Clip3 368 libde265/fallback-dct.cc g[i][c] = Clip3(-32768,32767, (sum+rndV)>>7); Clip3 399 libde265/fallback-dct.cc int out = Clip3(-32768,32767, (sum+rndH)>>postShift); Clip3 442 libde265/fallback-dct.cc g[c+4*i] = Clip3(-32768,32767, (sum+rnd1)>>shift1); Clip3 491 libde265/fallback-dct.cc g[i][c] = Clip3(CoeffMin,CoeffMax, (sum+rndV)>>7); Clip3 641 libde265/fallback-dct.cc g[c+i*nT] = Clip3(-32768,32767, (sum+rnd1)>>7); Clip3 791 libde265/fallback-dct.cc g[c+i*nT] = Clip3(CoeffMin,CoeffMax, (sum+rnd1)>>7); Clip3 88 libde265/motion.cc int xA = Clip3(0,w-1,x + xIntOffsL); Clip3 89 libde265/motion.cc int yA = Clip3(0,h-1,y + yIntOffsL); Clip3 101 libde265/motion.cc int xA = Clip3(0,w-1,x + xIntOffsL); Clip3 102 libde265/motion.cc int yA = Clip3(0,h-1,y + yIntOffsL); Clip3 146 libde265/motion.cc int xA = Clip3(0,w-1,x + xIntOffsL); Clip3 147 libde265/motion.cc int yA = Clip3(0,h-1,y + yIntOffsL); Clip3 215 libde265/motion.cc int xB = Clip3(0,wC-1,x + xIntOffsC); Clip3 216 libde265/motion.cc int yB = Clip3(0,hC-1,y + yIntOffsC); Clip3 242 libde265/motion.cc int xA = Clip3(0,wC-1,x + xIntOffsC); Clip3 243 libde265/motion.cc int yA = Clip3(0,hC-1,y + yIntOffsC); Clip3 1079 libde265/motion.cc int td = Clip3(-128,127, colDist); Clip3 1080 libde265/motion.cc int tb = Clip3(-128,127, currDist); Clip3 1088 libde265/motion.cc int distScaleFactor = Clip3(-4096,4095, (tb*tx+32)>>6); Clip3 1089 libde265/motion.cc out_mv->x = Clip3(-32768,32767, Clip3 1091 libde265/motion.cc out_mv->y = Clip3(-32768,32767, Clip3 174 libde265/sao.cc out_ptr[i] = Clip3(0,maxPixelValue, Clip3 228 libde265/sao.cc out_img[xC+i+(yC+j)*out_stride] = Clip3(0,maxPixelValue, Clip3 248 libde265/sao.cc out_img[xC+i+(yC+j)*out_stride] = Clip3(0,maxPixelValue, Clip3 221 libde265/slice.cc vlc = Clip3(-sps->WpOffsetHalfRangeC, Clip3 151 libde265/transform.cc int qPiCb = Clip3(-sps.QpBdOffset_C,57, QPY+pps.pic_cb_qp_offset + shdr->slice_cb_qp_offset + tctx->CuQpOffsetCb); Clip3 152 libde265/transform.cc int qPiCr = Clip3(-sps.QpBdOffset_C,57, QPY+pps.pic_cr_qp_offset + shdr->slice_cr_qp_offset + tctx->CuQpOffsetCr); Clip3 469 libde265/transform.cc currCoeff = Clip3(-32768,32767, Clip3 505 libde265/transform.cc currCoeff = Clip3(-32768,32767, Clip3 693 libde265/transform.cc out_coeff[blockPos] = Clip3(-32768, 32767, level); Clip3 722 libde265/transform.cc currCoeff = Clip3(-32768,32767,