/external/libvpx/libvpx/vp8/encoder/ |
ssim.c | 21 unsigned long *sum_r, 33 *sum_r += r[j]; 47 unsigned long *sum_r, 59 *sum_r += r[j]; 73 unsigned long sum_r, 87 ssim_n = (2*sum_s*sum_r+ c1)*((int64_t) 2*count*sum_sxr- 88 (int64_t) 2*sum_s*sum_r+c2); 90 ssim_d = (sum_s*sum_s +sum_r*sum_r+c1)* 92 (int64_t)count*sum_sq_r-(int64_t) sum_r*sum_r +c2) 99 unsigned long sum_s=0,sum_r=0,sum_sq_s=0,sum_sq_r=0,sum_sxr=0; local 105 unsigned long sum_s=0,sum_r=0,sum_sq_s=0,sum_sq_r=0,sum_sxr=0; local 114 unsigned long sum_s=0,sum_r=0,sum_sq_s=0,sum_sq_r=0,sum_sxr=0; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_ssim.c | 15 int rp, unsigned long *sum_s, unsigned long *sum_r, 22 *sum_r += r[j]; 30 unsigned long *sum_s, unsigned long *sum_r, 37 *sum_r += r[j]; 48 static double similarity(unsigned long sum_s, unsigned long sum_r, 58 ssim_n = (2 * sum_s * sum_r + c1) * ((int64_t) 2 * count * sum_sxr - 59 (int64_t) 2 * sum_s * sum_r + c2); 61 ssim_d = (sum_s * sum_s + sum_r * sum_r + c1) * 63 (int64_t)count * sum_sq_r - (int64_t) sum_r * sum_r + c2) 69 unsigned long sum_s = 0, sum_r = 0, sum_sq_s = 0, sum_sq_r = 0, sum_sxr = 0; local 75 unsigned long sum_s = 0, sum_r = 0, sum_sq_s = 0, sum_sq_r = 0, sum_sxr = 0; local [all...] |
/external/chromium_org/media/base/simd/ |
convert_rgb_to_yuv_sse2.cc | 79 sum_r += r; \ 90 int sum_r = 0; local 99 *u_buf++ = RGBToU(sum_r, sum_g, sum_b, 2); 100 *v_buf++ = RGBToV(sum_r, sum_g, sum_b, 2); 111 int sum_r = 0; local 116 *u_buf++ = RGBToU(sum_r, sum_g, sum_b, 1); 117 *v_buf++ = RGBToV(sum_r, sum_g, sum_b, 1); 126 int sum_r = 0; local 131 *u_buf++ = RGBToU(sum_r, sum_g, sum_b, 1); 132 *v_buf++ = RGBToV(sum_r, sum_g, sum_b, 1) 141 int sum_r = 0; local [all...] |
/packages/apps/Gallery2/jni/filters/ |
wbalance.c | 38 int sum_r = 0,sum_g=0,sum_b=0; local 44 sum_r += r; 74 if ((tmp_r > sum_r/20) && (tmp_r < sum_r/5)) {
|