Home
last modified time | relevance | path

Searched refs:av_clip_uintp2_c (Results 1 – 25 of 25) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dcfhddsp.c37 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()
Dpixlet.c518 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()
Datrac9dec.c241 c->band_ext_data[j] = av_clip_uintp2_c(c->band_ext_data[j], len); in parse_band_ext()
/third_party/ffmpeg/libavfilter/
Dvf_colortemperature.c174 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()
Dvf_colorcontrast.c185 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()
Dvf_vibrance.c157 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()
Dvf_colorbalance.c238 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()
Dvf_colorcorrect.c384 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()
Dvf_estdif.c190 return av_clip_uintp2_c(( \
210 return av_clip_uintp2_c(( \
Dvf_amplify.c142 #define CLIP16(x, depth) av_clip_uintp2_c(lrintf(x), depth)
Dvf_monochrome.c149 yptr[x] = av_clip_uintp2_c(lrintf(ny * max), depth); in monochrome_slice16()
Dvf_cas.c172 … dst[x] = av_clip_uintp2_c(((b + d + f + h) * weight + e) / (1.f + 4.f * weight), s->depth); in cas_slice16()
Dvf_shear.c206 dst[x] = av_clip_uintp2_c(lrintf(sum), depth); \
Dvf_dblur.c272 dst16[x] = av_clip_uintp2_c(lrintf(bptr[x]), s->depth); in filter_frame()
Dvf_limitdiff.c124 dst[x] = av_clip_uintp2_c(source[x] + diff * (thr2 - diff_ref) / (thr2 - thr1), depth); in limitdiff16()
Dvf_lenscorrection.c165 out[j] = av_clip_uintp2_c((sum + (1ULL << 47)) >> 48, depth); \
Dvf_varblur.c185 dst[x] = av_clip_uintp2_c(lrintf( \
Dvf_normalize.c372 out_val = av_clip_uintp2_c(out_val, s->depth); in normalize()
Dvf_lut2.c274 dst[x] = av_clip_uintp2_c(lut[(srcyy[x] << s->depthx) | srcxx[x]], odepth); \
Dvf_fftdnoiz.c178 dst[j] = av_clip_uintp2_c(lrintf(src[j].re / win[j]), depth); in export_row16()
Dvf_curves.c217 #define CLIP(v) (nbits == 8 ? av_clip_uint8(v) : av_clip_uintp2_c(v, nbits))
Dvf_nnedi.c506 dst[x] = av_clip_uintp2_c(src[x] * scale, depth); in write_words()
Dvf_bm3d.c686 dstp[j] = av_clip_uintp2_c(lrintf(sum_num / sum_den), depth); in do_output16()
Dvf_fillborders.c405 …return av_clip_uintp2_c(((fill * (1LL << depth) * pos / size) + (src * (1LL << depth) * (size - po… in lerp16()
/third_party/ffmpeg/libavutil/
Dcommon.h119 # 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