Home
last modified time | relevance | path

Searched refs:frac_x (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmpegvideodsp.c66 int frac_x = src_x & (s - 1); in ff_gmc_c() local
76 ((src[index] * (s - frac_x) + in ff_gmc_c()
77 src[index + 1] * frac_x) * (s - frac_y) + in ff_gmc_c()
78 (src[index + stride] * (s - frac_x) + in ff_gmc_c()
79 src[index + stride + 1] * frac_x) * frac_y + in ff_gmc_c()
84 ((src[index] * (s - frac_x) + in ff_gmc_c()
85 src[index + 1] * frac_x) * s + in ff_gmc_c()
/third_party/ffmpeg/tests/
Drotozoom.c69 int frac_x = x & 0xFFFF; in ipol() local
75 int s0 = (((1 << 16) - frac_x) * s00 + frac_x * s01) >> 8; in ipol()
76 int s1 = (((1 << 16) - frac_x) * s10 + frac_x * s11) >> 8; in ipol()
/third_party/ffmpeg/libavfilter/
Dvf_rotate.c239 int frac_x = x&0xFFFF; in interpolate_bilinear8() local
250 int s0 = (((1<<16) - frac_x)*s00 + frac_x*s01); in interpolate_bilinear8()
251 int s1 = (((1<<16) - frac_x)*s10 + frac_x*s11); in interpolate_bilinear8()
269 int frac_x = x&0xFFFF; in interpolate_bilinear16() local
280 int s0 = (((1<<16) - frac_x)*s00 + frac_x*s01); in interpolate_bilinear16()
281 int s1 = (((1<<16) - frac_x)*s10 + frac_x*s11); in interpolate_bilinear16()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c852 nir_ssa_def *frac_x = nir_channel(b, frac_xy, 0); in blorp_nir_manual_blend_bilinear() local
854 return nir_flrp(b, nir_flrp(b, tex_data[0], tex_data[1], frac_x), in blorp_nir_manual_blend_bilinear()
855 nir_flrp(b, tex_data[2], tex_data[3], frac_x), in blorp_nir_manual_blend_bilinear()