Searched defs:img2 (Results 1 - 7 of 7) sorted by relevance

/external/libvpx/libvpx/test/
H A Dutil.h24 const vpx_image_t *img2) {
25 assert((img1->fmt == img2->fmt) &&
26 (img1->d_w == img2->d_w) &&
27 (img1->d_h == img2->d_h));
37 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j];
23 compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) argument
H A Dencode_test_driver.cc108 const vpx_image_t *img2) {
109 bool match = (img1->fmt == img2->fmt) &&
110 (img1->d_w == img2->d_w) &&
111 (img1->d_h == img2->d_h);
118 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y],
124 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U],
128 img2->planes[VPX_PLANE_V] + i * img2
107 compare_img(const vpx_image_t *img1, const vpx_image_t *img2) argument
133 MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) argument
[all...]
H A Derror_resilience_test.cc104 const vpx_image_t *img2) {
105 double mismatch_psnr = compute_psnr(img1, img2);
103 MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) argument
/external/chromium_org/ui/gfx/image/
H A Dimage_unittest_util.cc85 bool IsEqual(const gfx::Image& img1, const gfx::Image& img2) { argument
87 gfx::ImageSkia image_skia2 = img2.AsImageSkia();
/external/libvpx/libvpx/vp8/encoder/
H A Dssim.c150 unsigned char *img2,
162 for(i=0; i < height-8; i+=4, img1 += stride_img1*4, img2 += stride_img2*4)
166 double v = ssim_8x8(img1+j, stride_img1, img2+j, stride_img2);
147 vp8_ssim2( unsigned char *img1, unsigned char *img2, int stride_img1, int stride_img2, int width, int height ) argument
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_ssim.c84 double vp9_ssim2(uint8_t *img1, uint8_t *img2, int stride_img1, argument
92 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
94 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
/external/libvpx/libvpx/
H A Dvpxenc.c912 static void find_mismatch(vpx_image_t *img1, vpx_image_t *img2, argument
931 *(img2->planes[VPX_PLANE_Y] +
932 (i + k) * img2->stride[VPX_PLANE_Y] + j + l)) {
937 yloc[3] = *(img2->planes[VPX_PLANE_Y] +
938 (i + k) * img2->stride[VPX_PLANE_Y] + j + l);
956 *(img2->planes[VPX_PLANE_U] +
957 (i + k) * img2->stride[VPX_PLANE_U] + j + l)) {
962 uloc[3] = *(img2->planes[VPX_PLANE_U] +
963 (i + k) * img2->stride[VPX_PLANE_V] + j + l);
980 *(img2
996 compare_img(vpx_image_t *img1, vpx_image_t *img2) argument
[all...]

Completed in 136 milliseconds