Home
last modified time | relevance | path

Searched refs:r2y (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_hqx.c58 static av_always_inline uint32_t rgb2yuv(const uint32_t *r2y, uint32_t c) in rgb2yuv() argument
60 return r2y[c & 0xffffff]; in rgb2yuv()
102 #define WDIFF(c1, c2) yuv_diff(rgb2yuv(r2y, c1), rgb2yuv(r2y, c2))
119 static av_always_inline uint32_t hq2x_interp_1x1(const uint32_t *r2y, int k, in hq2x_interp_1x1() argument
170 const uint32_t *r2y, int k, in hq3x_interp_2x1() argument
236 const uint32_t *r2y, int k, in hq4x_interp_2x2() argument
387 const uint32_t *r2y = td->rgbtoyuv; in hqx_filter() local
414 const uint32_t yuv1 = rgb2yuv(r2y, w[4]); in hqx_filter()
415 const int pattern = (w[4] != w[0] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[0]))) : 0) in hqx_filter()
416 | (w[4] != w[1] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[1]))) : 0) << 1 in hqx_filter()
[all …]
Dvf_xbr.c66 static uint32_t pixel_diff(uint32_t x, uint32_t y, const uint32_t *r2y) in pixel_diff() argument
73 uint32_t yuv1 = r2y[x & 0xffffff]; in pixel_diff()
74 uint32_t yuv2 = r2y[y & 0xffffff]; in pixel_diff()
89 #define df(A, B) pixel_diff(A, B, r2y)
219 const uint32_t *r2y = td->rgbtoyuv; in xbr_filter() local