Searched refs:yuv1 (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | vf_hqx.c | 63 static av_always_inline int yuv_diff(uint32_t yuv1, uint32_t yuv2) in yuv_diff() argument 70 return ABSDIFF(yuv1 & YMASK, yuv2 & YMASK) > (48 << 16) || in yuv_diff() 71 ABSDIFF(yuv1 & UMASK, yuv2 & UMASK) > ( 7 << 8) || in yuv_diff() 72 ABSDIFF(yuv1 & VMASK, yuv2 & VMASK) > ( 6 << 0); in yuv_diff() 414 const uint32_t yuv1 = rgb2yuv(r2y, w[4]); in hqx_filter() local 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() 417 | (w[4] != w[2] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[2]))) : 0) << 2 in hqx_filter() 418 | (w[4] != w[3] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[3]))) : 0) << 3 in hqx_filter() 419 | (w[4] != w[5] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[5]))) : 0) << 4 in hqx_filter() [all …]
|
D | colorspacedsp_template.c | 60 const pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in fn() local 87 int u = yuv1[x] - uv_offset, v = yuv2[x] - uv_offset; in fn() 122 yuv1 += yuv_stride[1] / sizeof(pixel); in fn() 136 pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in fn() local 183 yuv1[x] = av_clip_pixel(uv_offset + in fn() 194 yuv1 += yuv_stride[1] / sizeof(pixel); in fn() 215 pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in fn() local 302 yuv1[x] = av_clip_pixel(uv_offset + (u >> sh)); in fn() 322 yuv1 += yuv_stride[1] / sizeof(pixel); in fn()
|
D | vf_xbr.c | 74 uint32_t yuv1 = r2y[x & 0xffffff]; in pixel_diff() local 77 return (ABSDIFF(yuv1 & YMASK, yuv2 & YMASK) >> 16) + in pixel_diff() 78 (ABSDIFF(yuv1 & UMASK, yuv2 & UMASK) >> 8) + in pixel_diff() 79 ABSDIFF(yuv1 & VMASK, yuv2 & VMASK); in pixel_diff()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | filter_enc.c | 112 static double GetMBSSIM(const uint8_t* yuv1, const uint8_t* yuv2) { in GetMBSSIM() argument 119 sum += VP8SSIMGetClipped(yuv1 + Y_OFF_ENC, BPS, yuv2 + Y_OFF_ENC, BPS, in GetMBSSIM() 125 sum += VP8SSIMGetClipped(yuv1 + U_OFF_ENC, BPS, yuv2 + U_OFF_ENC, BPS, in GetMBSSIM() 127 sum += VP8SSIMGetClipped(yuv1 + V_OFF_ENC, BPS, yuv2 + V_OFF_ENC, BPS, in GetMBSSIM()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | filter_enc.c | 112 static double GetMBSSIM(const uint8_t* yuv1, const uint8_t* yuv2) { in GetMBSSIM() argument 119 sum += VP8SSIMGetClipped(yuv1 + Y_OFF_ENC, BPS, yuv2 + Y_OFF_ENC, BPS, in GetMBSSIM() 125 sum += VP8SSIMGetClipped(yuv1 + U_OFF_ENC, BPS, yuv2 + U_OFF_ENC, BPS, in GetMBSSIM() 127 sum += VP8SSIMGetClipped(yuv1 + V_OFF_ENC, BPS, yuv2 + V_OFF_ENC, BPS, in GetMBSSIM()
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/shaders/ |
D | rgb_to_yuy2.frag | 46 vec3 yuv1 = color_convert_texel (texel1.rgb, matrices); 49 yuv.x = yuv1.x; 50 yuv.yz = (yuv1.yz + yuv2.yz) * 0.5;
|
D | rgb_to_nv12.frag | 42 vec3 yuv1 = color_convert_texel (texel.rgb, matrices); 44 vec3 yuv = vec3(yuv1.x, yuv2.y, yuv2.z);
|