/third_party/ffmpeg/libavcodec/ |
D | cfhddsp.c | 37 output[(2*0+0)*out_stride] = av_clip_uintp2_c(output[(2*0+0)*out_stride], clip); in filter() 42 output[(2*0+1)*out_stride] = av_clip_uintp2_c(output[(2*0+1)*out_stride], clip); in filter() 48 output[(2*i+0)*out_stride] = av_clip_uintp2_c(output[(2*i+0)*out_stride], clip); in filter() 53 output[(2*i+1)*out_stride] = av_clip_uintp2_c(output[(2*i+1)*out_stride], clip); in filter() 59 output[(2*i+0)*out_stride] = av_clip_uintp2_c(output[(2*i+0)*out_stride], clip); in filter() 64 output[(2*i+1)*out_stride] = av_clip_uintp2_c(output[(2*i+1)*out_stride], clip); in filter()
|
D | pixlet.c | 518 dstu[i] = av_clip_uintp2_c(add + srcu[i], depth) << shift; in postprocess_chroma() 519 dstv[i] = av_clip_uintp2_c(add + srcv[i], depth) << shift; in postprocess_chroma()
|
D | atrac9dec.c | 241 c->band_ext_data[j] = av_clip_uintp2_c(c->band_ext_data[j], len); in parse_band_ext()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_colortemperature.c | 174 gptr[x] = av_clip_uintp2_c(ng, depth); in temperature_slice16() 175 bptr[x] = av_clip_uintp2_c(nb, depth); in temperature_slice16() 176 rptr[x] = av_clip_uintp2_c(nr, depth); in temperature_slice16() 255 ptr[x * step + goffset] = av_clip_uintp2_c(ng, depth); in temperature_slice16p() 256 ptr[x * step + boffset] = av_clip_uintp2_c(nb, depth); in temperature_slice16p() 257 ptr[x * step + roffset] = av_clip_uintp2_c(nr, depth); in temperature_slice16p()
|
D | vf_colorcontrast.c | 185 gptr[x] = av_clip_uintp2_c(ng, depth); in colorcontrast_slice16() 186 bptr[x] = av_clip_uintp2_c(nb, depth); in colorcontrast_slice16() 187 rptr[x] = av_clip_uintp2_c(nr, depth); in colorcontrast_slice16() 289 ptr[x * step + goffset] = av_clip_uintp2_c(ng, depth); in colorcontrast_slice16p() 290 ptr[x * step + boffset] = av_clip_uintp2_c(nb, depth); in colorcontrast_slice16p() 291 ptr[x * step + roffset] = av_clip_uintp2_c(nr, depth); in colorcontrast_slice16p()
|
D | vf_vibrance.c | 157 gptr[x] = av_clip_uintp2_c(g * max, depth); in vibrance_slice16() 158 bptr[x] = av_clip_uintp2_c(b * max, depth); in vibrance_slice16() 159 rptr[x] = av_clip_uintp2_c(r * max, depth); in vibrance_slice16() 271 ptr[x * step + goffset] = av_clip_uintp2_c(g * max, depth); in vibrance_slice16p() 272 ptr[x * step + boffset] = av_clip_uintp2_c(b * max, depth); in vibrance_slice16p() 273 ptr[x * step + roffset] = av_clip_uintp2_c(r * max, depth); in vibrance_slice16p()
|
D | vf_colorbalance.c | 238 dstr[j] = av_clip_uintp2_c(lrintf(r * max), depth); in color_balance16_p() 239 dstg[j] = av_clip_uintp2_c(lrintf(g * max), depth); in color_balance16_p() 240 dstb[j] = av_clip_uintp2_c(lrintf(b * max), depth); in color_balance16_p() 347 dst[j + roffset] = av_clip_uintp2_c(lrintf(r * max), depth); in color_balance16() 348 dst[j + goffset] = av_clip_uintp2_c(lrintf(g * max), depth); in color_balance16() 349 dst[j + boffset] = av_clip_uintp2_c(lrintf(b * max), depth); in color_balance16()
|
D | vf_colorcorrect.c | 384 uptr[x] = av_clip_uintp2_c((nu + 0.5f) * max, depth); in colorcorrect_slice16() 385 vptr[x] = av_clip_uintp2_c((nv + 0.5f) * max, depth); in colorcorrect_slice16()
|
D | vf_estdif.c | 190 return av_clip_uintp2_c(( \ 210 return av_clip_uintp2_c(( \
|
D | vf_amplify.c | 142 #define CLIP16(x, depth) av_clip_uintp2_c(lrintf(x), depth)
|
D | vf_monochrome.c | 149 yptr[x] = av_clip_uintp2_c(lrintf(ny * max), depth); in monochrome_slice16()
|
D | vf_cas.c | 172 … dst[x] = av_clip_uintp2_c(((b + d + f + h) * weight + e) / (1.f + 4.f * weight), s->depth); in cas_slice16()
|
D | vf_shear.c | 206 dst[x] = av_clip_uintp2_c(lrintf(sum), depth); \
|
D | vf_dblur.c | 272 dst16[x] = av_clip_uintp2_c(lrintf(bptr[x]), s->depth); in filter_frame()
|
D | vf_limitdiff.c | 124 dst[x] = av_clip_uintp2_c(source[x] + diff * (thr2 - diff_ref) / (thr2 - thr1), depth); in limitdiff16()
|
D | vf_lenscorrection.c | 165 out[j] = av_clip_uintp2_c((sum + (1ULL << 47)) >> 48, depth); \
|
D | vf_varblur.c | 185 dst[x] = av_clip_uintp2_c(lrintf( \
|
D | vf_normalize.c | 372 out_val = av_clip_uintp2_c(out_val, s->depth); in normalize()
|
D | vf_lut2.c | 274 dst[x] = av_clip_uintp2_c(lut[(srcyy[x] << s->depthx) | srcxx[x]], odepth); \
|
D | vf_fftdnoiz.c | 178 dst[j] = av_clip_uintp2_c(lrintf(src[j].re / win[j]), depth); in export_row16()
|
D | vf_curves.c | 217 #define CLIP(v) (nbits == 8 ? av_clip_uint8(v) : av_clip_uintp2_c(v, nbits))
|
D | vf_nnedi.c | 506 dst[x] = av_clip_uintp2_c(src[x] * scale, depth); in write_words()
|
D | vf_bm3d.c | 686 dstp[j] = av_clip_uintp2_c(lrintf(sum_num / sum_den), depth); in do_output16()
|
D | vf_fillborders.c | 405 …return av_clip_uintp2_c(((fill * (1LL << depth) * pos / size) + (src * (1LL << depth) * (size - po… in lerp16()
|
/third_party/ffmpeg/libavutil/ |
D | common.h | 119 # define av_clip_uintp2 av_clip_uintp2_c 275 static av_always_inline av_const unsigned av_clip_uintp2_c(int a, int p) in av_clip_uintp2_c() function
|