Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dssim.c25 static const uint32_t kWeight[2 * VP8_SSIM_KERNEL + 1] = {
67 const int ymin = (yo - VP8_SSIM_KERNEL < 0) ? 0 : yo - VP8_SSIM_KERNEL; in SSIMGetClipped_C()
68 const int ymax = (yo + VP8_SSIM_KERNEL > H - 1) ? H - 1 in SSIMGetClipped_C()
69 : yo + VP8_SSIM_KERNEL; in SSIMGetClipped_C()
70 const int xmin = (xo - VP8_SSIM_KERNEL < 0) ? 0 : xo - VP8_SSIM_KERNEL; in SSIMGetClipped_C()
71 const int xmax = (xo + VP8_SSIM_KERNEL > W - 1) ? W - 1 in SSIMGetClipped_C()
72 : xo + VP8_SSIM_KERNEL; in SSIMGetClipped_C()
78 const uint32_t w = kWeight[VP8_SSIM_KERNEL + x - xo] in SSIMGetClipped_C()
79 * kWeight[VP8_SSIM_KERNEL + y - yo]; in SSIMGetClipped_C()
97 for (y = 0; y <= 2 * VP8_SSIM_KERNEL; ++y, src1 += stride1, src2 += stride2) { in SSIMGet_C()
[all …]
A Dssim_sse2.c132 assert(2 * VP8_SSIM_KERNEL + 1 == 7); in SSIMGet_SSE2()
A Ddsp.h344 #define VP8_SSIM_KERNEL 3 // total size of the kernel: 2 * VP8_SSIM_KERNEL + 1 macro
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dpicture_psnr_enc.c84 const int w0 = (w < VP8_SSIM_KERNEL) ? w : VP8_SSIM_KERNEL; in AccumulateSSIM()
85 const int w1 = w - VP8_SSIM_KERNEL - 1; in AccumulateSSIM()
86 const int h0 = (h < VP8_SSIM_KERNEL) ? h : VP8_SSIM_KERNEL; in AccumulateSSIM()
87 const int h1 = h - VP8_SSIM_KERNEL - 1; in AccumulateSSIM()
100 const int off1 = x - VP8_SSIM_KERNEL + (y - VP8_SSIM_KERNEL) * src_stride; in AccumulateSSIM()
101 const int off2 = x - VP8_SSIM_KERNEL + (y - VP8_SSIM_KERNEL) * ref_stride; in AccumulateSSIM()
A Dfilter_enc.c117 for (y = VP8_SSIM_KERNEL; y < 16 - VP8_SSIM_KERNEL; y++) { in GetMBSSIM()
118 for (x = VP8_SSIM_KERNEL; x < 16 - VP8_SSIM_KERNEL; x++) { in GetMBSSIM()

Completed in 7 milliseconds