Home
last modified time | relevance | path

Searched refs:VP8_SSIM_KERNEL (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/enc/
Dpicture_psnr_enc.c79 const int w0 = (w < VP8_SSIM_KERNEL) ? w : VP8_SSIM_KERNEL; in AccumulateSSIM()
80 const int w1 = w - VP8_SSIM_KERNEL - 1; in AccumulateSSIM()
81 const int h0 = (h < VP8_SSIM_KERNEL) ? h : VP8_SSIM_KERNEL; in AccumulateSSIM()
82 const int h1 = h - VP8_SSIM_KERNEL - 1; in AccumulateSSIM()
95 const int off1 = x - VP8_SSIM_KERNEL + (y - VP8_SSIM_KERNEL) * src_stride; in AccumulateSSIM()
96 const int off2 = x - VP8_SSIM_KERNEL + (y - VP8_SSIM_KERNEL) * ref_stride; in AccumulateSSIM()
Dfilter_enc.c115 for (y = VP8_SSIM_KERNEL; y < 16 - VP8_SSIM_KERNEL; y++) { in GetMBSSIM()
116 for (x = VP8_SSIM_KERNEL; x < 16 - VP8_SSIM_KERNEL; x++) { in GetMBSSIM()
/external/webp/src/dsp/
Denc.c697 static const uint32_t kWeight[2 * VP8_SSIM_KERNEL + 1] = {
739 const int ymin = (yo - VP8_SSIM_KERNEL < 0) ? 0 : yo - VP8_SSIM_KERNEL; in SSIMGetClipped_C()
740 const int ymax = (yo + VP8_SSIM_KERNEL > H - 1) ? H - 1 in SSIMGetClipped_C()
741 : yo + VP8_SSIM_KERNEL; in SSIMGetClipped_C()
742 const int xmin = (xo - VP8_SSIM_KERNEL < 0) ? 0 : xo - VP8_SSIM_KERNEL; in SSIMGetClipped_C()
743 const int xmax = (xo + VP8_SSIM_KERNEL > W - 1) ? W - 1 in SSIMGetClipped_C()
744 : xo + VP8_SSIM_KERNEL; in SSIMGetClipped_C()
750 const uint32_t w = kWeight[VP8_SSIM_KERNEL + x - xo] in SSIMGetClipped_C()
751 * kWeight[VP8_SSIM_KERNEL + y - yo]; in SSIMGetClipped_C()
769 for (y = 0; y <= 2 * VP8_SSIM_KERNEL; ++y, src1 += stride1, src2 += stride2) { in SSIMGet_C()
[all …]
Ddsp.h264 #define VP8_SSIM_KERNEL 3 // total size of the kernel: 2 * VP8_SSIM_KERNEL + 1 macro
Denc_sse2.c1456 assert(2 * VP8_SSIM_KERNEL + 1 == 7); in SSIMGet_SSE2()