av_clip_uint16 193 libavcodec/vc1dec.c alpha = av_clip_uint16(sd->coefs[1][6]); av_clip_uint16 1307 libavcodec/vorbisdec.c floor1_Y_final[i] = av_clip_uint16(val - lowroom + predicted); av_clip_uint16 1309 libavcodec/vorbisdec.c floor1_Y_final[i] = av_clip_uint16(predicted - val + highroom - 1); av_clip_uint16 1313 libavcodec/vorbisdec.c floor1_Y_final[i] = av_clip_uint16(predicted - (val + 1) / 2); av_clip_uint16 1315 libavcodec/vorbisdec.c floor1_Y_final[i] = av_clip_uint16(predicted + val / 2); av_clip_uint16 1320 libavcodec/vorbisdec.c floor1_Y_final[i] = av_clip_uint16(predicted); av_clip_uint16 340 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, av_clip_uint16(A + B - 32768), 16) av_clip_uint16 344 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, av_clip_uint16((A - 32768) * B / 8192. + 32768), 16) av_clip_uint16 348 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, av_clip_uint16(32768 + A - B), 16) av_clip_uint16 357 libavfilter/vf_blend.c DEFINE_BLEND16(divide, av_clip_uint16(B == 0 ? 65535 : 65535 * A / B), 16) av_clip_uint16 370 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,av_clip_uint16((B < 32768) ? B + 2 * A - 65535 : B + 2 * (A - 32768)), 16) av_clip_uint16 354 libavfilter/vf_colorchannelmixer.c dst[j + roffset] = av_clip_uint16(s->lut[R][R][rin] + av_clip_uint16 358 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint16(s->lut[G][R][rin] + av_clip_uint16 362 libavfilter/vf_colorchannelmixer.c dst[j + boffset] = av_clip_uint16(s->lut[B][R][rin] + av_clip_uint16 367 libavfilter/vf_colorchannelmixer.c dst[j + aoffset] = av_clip_uint16(s->lut[A][R][rin] + av_clip_uint16 164 libavfilter/vf_colorlevels.c dst[x + offset] = av_clip_uint16((src[x + offset] - imin) * coeff + omin); av_clip_uint16 486 libavfilter/vf_fade.c s->factor = av_clip_uint16(s->factor); av_clip_uint16 155 libavfilter/vf_removegrain.c const int c1 = av_clip_uint16((FFABS(c - cli1) << 1) + d1); av_clip_uint16 156 libavfilter/vf_removegrain.c const int c2 = av_clip_uint16((FFABS(c - cli2) << 1) + d2); av_clip_uint16 157 libavfilter/vf_removegrain.c const int c3 = av_clip_uint16((FFABS(c - cli3) << 1) + d3); av_clip_uint16 158 libavfilter/vf_removegrain.c const int c4 = av_clip_uint16((FFABS(c - cli4) << 1) + d4); av_clip_uint16 219 libavfilter/vf_removegrain.c const int c1 = av_clip_uint16(FFABS(c - cli1) + (d1 << 1)); av_clip_uint16 220 libavfilter/vf_removegrain.c const int c2 = av_clip_uint16(FFABS(c - cli2) + (d2 << 1)); av_clip_uint16 221 libavfilter/vf_removegrain.c const int c3 = av_clip_uint16(FFABS(c - cli3) + (d3 << 1)); av_clip_uint16 222 libavfilter/vf_removegrain.c const int c4 = av_clip_uint16(FFABS(c - cli4) + (d4 << 1)); av_clip_uint16 88 libavformat/gif.c gif->duration = av_clip_uint16(new->pts - prev->pts); av_clip_uint16 558 libavutil/common.h #ifndef av_clip_uint16 av_clip_uint16 972 libswscale/input.c dst[i] = av_clip_uint16(lrintf(65535.0f * rdpx(src[3] + i))); av_clip_uint16 987 libswscale/input.c int g = av_clip_uint16(lrintf(65535.0f * rdpx(src[0] + i))); av_clip_uint16 988 libswscale/input.c int b = av_clip_uint16(lrintf(65535.0f * rdpx(src[1] + i))); av_clip_uint16 989 libswscale/input.c int r = av_clip_uint16(lrintf(65535.0f * rdpx(src[2] + i))); av_clip_uint16 1006 libswscale/input.c int g = av_clip_uint16(lrintf(65535.0f * rdpx(src[0] + i))); av_clip_uint16 1007 libswscale/input.c int b = av_clip_uint16(lrintf(65535.0f * rdpx(src[1] + i))); av_clip_uint16 1008 libswscale/input.c int r = av_clip_uint16(lrintf(65535.0f * rdpx(src[2] + i))); av_clip_uint16 1024 libswscale/input.c dst[i] = av_clip_uint16(lrintf(65535.0f * src[i])); av_clip_uint16 1036 libswscale/input.c dst[i] = av_clip_uint16(lrintf(65535.0f * av_int2float(av_bswap32(src[i])))); av_clip_uint16 915 libswscale/output.c Y = av_clip_uint16(Y); av_clip_uint16 924 libswscale/output.c A = av_clip_uint16(A); av_clip_uint16 952 libswscale/output.c Y = av_clip_uint16(Y); av_clip_uint16 956 libswscale/output.c A = av_clip_uint16(A); av_clip_uint16 977 libswscale/output.c Y = av_clip_uint16(Y); av_clip_uint16 982 libswscale/output.c A = av_clip_uint16(A);