Home
last modified time | relevance | path

Searched refs:sum_r (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dssim.c21 unsigned long *sum_r, in vp8_ssim_parms_16x16_c() argument
33 *sum_r += r[j]; in vp8_ssim_parms_16x16_c()
47 unsigned long *sum_r, in vp8_ssim_parms_8x8_c() argument
59 *sum_r += r[j]; in vp8_ssim_parms_8x8_c()
73 unsigned long sum_r, in similarity() argument
87 ssim_n = (2*sum_s*sum_r+ c1)*((int64_t) 2*count*sum_sxr- in similarity()
88 (int64_t) 2*sum_s*sum_r+c2); in similarity()
90 ssim_d = (sum_s*sum_s +sum_r*sum_r+c1)* in similarity()
92 (int64_t)count*sum_sq_r-(int64_t) sum_r*sum_r +c2) ; in similarity()
99 unsigned long sum_s=0,sum_r=0,sum_sq_s=0,sum_sq_r=0,sum_sxr=0; in ssim_16x16() local
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ssim.c15 int rp, unsigned long *sum_s, unsigned long *sum_r, in vp9_ssim_parms_16x16_c() argument
22 *sum_r += r[j]; in vp9_ssim_parms_16x16_c()
30 unsigned long *sum_s, unsigned long *sum_r, in vp9_ssim_parms_8x8_c() argument
37 *sum_r += r[j]; in vp9_ssim_parms_8x8_c()
48 static double similarity(unsigned long sum_s, unsigned long sum_r, in similarity() argument
58 ssim_n = (2 * sum_s * sum_r + c1) * ((int64_t) 2 * count * sum_sxr - in similarity()
59 (int64_t) 2 * sum_s * sum_r + c2); in similarity()
61 ssim_d = (sum_s * sum_s + sum_r * sum_r + c1) * in similarity()
63 (int64_t)count * sum_sq_r - (int64_t) sum_r * sum_r + c2); in similarity()
69 unsigned long sum_s = 0, sum_r = 0, sum_sq_s = 0, sum_sq_r = 0, sum_sxr = 0; in ssim_16x16() local
[all …]
/external/chromium_org/media/base/simd/
Dconvert_rgb_to_yuv_sse2.cc92 sum_r += r; \
103 int sum_r = 0; in ConvertRGBToYUV_V2H2() local
112 *u_buf++ = RGBToU(sum_r, sum_g, sum_b, 2); in ConvertRGBToYUV_V2H2()
113 *v_buf++ = RGBToV(sum_r, sum_g, sum_b, 2); in ConvertRGBToYUV_V2H2()
124 int sum_r = 0; in ConvertRGBToYUV_V2H1() local
129 *u_buf++ = RGBToU(sum_r, sum_g, sum_b, 1); in ConvertRGBToYUV_V2H1()
130 *v_buf++ = RGBToV(sum_r, sum_g, sum_b, 1); in ConvertRGBToYUV_V2H1()
139 int sum_r = 0; in ConvertRGBToYUV_V1H2() local
144 *u_buf++ = RGBToU(sum_r, sum_g, sum_b, 1); in ConvertRGBToYUV_V1H2()
145 *v_buf++ = RGBToV(sum_r, sum_g, sum_b, 1); in ConvertRGBToYUV_V1H2()
[all …]
/external/libvpx/libvpx/vp8/encoder/x86/
Dssim_opt.asm13 ; tabulate_ssim - sums sum_s,sum_r,sum_sq_s,sum_sq_r, sum_sxr
16 paddusw xmm14, xmm4 ; sum_r
53 ; unsigned long *sum_r,
171 pxor xmm14,xmm14 ;sum_r
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_ssim_opt.asm13 ; tabulate_ssim - sums sum_s,sum_r,sum_sq_s,sum_sq_r, sum_sxr
16 paddusw xmm14, xmm4 ; sum_r
53 ; unsigned long *sum_r,
171 pxor xmm14,xmm14 ;sum_r
/external/libvpx/libvpx/vp8/common/
Dvariance.h83 unsigned long *sum_r,
/external/opencv/cv/src/
Dcvsmooth.cpp1117 float sum_b = 0, sum_g = 0, sum_r = 0, wsum = 0; in icvBilateralFiltering_8u() local
1125 sum_b += b*w; sum_g += g*w; sum_r += r*w; in icvBilateralFiltering_8u()
1131 r0 = cvRound(sum_r*wsum); in icvBilateralFiltering_8u()
1262 float sum_b = 0, sum_g = 0, sum_r = 0, wsum = 0; in icvBilateralFiltering_32f() local
1272 sum_b += b*w; sum_g += g*w; sum_r += r*w; in icvBilateralFiltering_32f()
1278 r0 = sum_r*wsum; in icvBilateralFiltering_32f()