av_clip_uint8 2628 libavcodec/dsputil.c #define op_scale2(x) dst[x] = av_clip_uint8( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1)) av_clip_uint8 181 libavutil/common.h static inline av_const uint8_t av_clip_uint8(int a)