/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
H A D | util.h | 22 static double compute_psnr(const vpx_image_t *img1, argument 24 assert((img1->fmt == img2->fmt) && 25 (img1->d_w == img2->d_w) && 26 (img1->d_h == img2->d_h)); 28 const unsigned int width_y = img1->d_w; 29 const unsigned int height_y = img1->d_h; 35 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
|
H A D | encode_test_driver.cc | 110 static bool compare_img(const vpx_image_t *img1, argument 112 bool match = (img1->fmt == img2->fmt) && 113 (img1->d_w == img2->d_w) && 114 (img1->d_h == img2->d_h); 116 const unsigned int width_y = img1->d_w; 117 const unsigned int height_y = img1->d_h; 120 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], 123 const unsigned int width_uv = (img1->d_w + 1) >> 1; 124 const unsigned int height_uv = (img1 [all...] |
H A D | error_resilience_test.cc | 104 virtual void MismatchHook(const vpx_image_t *img1, argument 106 double mismatch_psnr = compute_psnr(img1, img2);
|
/external/libvpx/libvpx/test/ |
H A D | util.h | 22 static double compute_psnr(const vpx_image_t *img1, argument 24 assert((img1->fmt == img2->fmt) && 25 (img1->d_w == img2->d_w) && 26 (img1->d_h == img2->d_h)); 28 const unsigned int width_y = img1->d_w; 29 const unsigned int height_y = img1->d_h; 35 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
|
H A D | encode_test_driver.cc | 107 static bool compare_img(const vpx_image_t *img1, argument 109 bool match = (img1->fmt == img2->fmt) && 110 (img1->d_w == img2->d_w) && 111 (img1->d_h == img2->d_h); 113 const unsigned int width_y = img1->d_w; 114 const unsigned int height_y = img1->d_h; 117 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], 120 const unsigned int width_uv = (img1->d_w + 1) >> 1; 121 const unsigned int height_uv = (img1 133 MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) argument [all...] |
H A D | error_resilience_test.cc | 104 virtual void MismatchHook(const vpx_image_t *img1, argument 106 double mismatch_psnr = compute_psnr(img1, img2);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | ssim.c | 149 unsigned char *img1, 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/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_ssim.c | 79 double vp9_ssim2(uint8_t *img1, uint8_t *img2, int stride_img1, argument 87 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { 89 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
|
/external/chromium_org/ui/gfx/image/ |
H A D | image_unittest_util.cc | 81 bool IsEqual(const gfx::Image& img1, const gfx::Image& img2) { argument 82 img1.AsImageSkia().EnsureRepsForSupportedScales(); 84 std::vector<gfx::ImageSkiaRep> img1_reps = img1.AsImageSkia().image_reps();
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | ssim.c | 149 unsigned char *img1, 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 D | vp9_ssim.c | 79 double vp9_ssim2(uint8_t *img1, uint8_t *img2, int stride_img1, argument 87 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { 89 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
|
/external/chromium_org/third_party/libvpx/source/libvpx/ |
H A D | vpxenc.c | 484 static void find_mismatch_high(const vpx_image_t *const img1, argument 490 const uint32_t bsizey = bsize >> img1->y_chroma_shift; 491 const uint32_t bsizex = bsize >> img1->x_chroma_shift; 493 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; 495 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; 499 plane1 = (uint16_t*)img1 578 find_mismatch(const vpx_image_t *const img1, const vpx_image_t *const img2, int yloc[4], int uloc[4], int vloc[4]) argument 668 compare_img(const vpx_image_t *const img1, const vpx_image_t *const img2) argument [all...] |
/external/libvpx/libvpx/ |
H A D | vpxenc.c | 469 static void find_mismatch(const vpx_image_t *const img1, argument 473 const uint32_t bsizey = bsize >> img1->y_chroma_shift; 474 const uint32_t bsizex = bsize >> img1->x_chroma_shift; 476 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; 478 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; 482 for (i = 0, match = 1; match && i < img1 559 compare_img(const vpx_image_t *const img1, const vpx_image_t *const img2) argument [all...] |
/external/opencv/cv/src/ |
H A D | cvhaar.cpp | 956 CvMat img1, sum1, sqsum1, norm1, tilted1, mask1; local 964 img1 = cvMat( sz.height, sz.width, CV_8UC1, img_small->data.ptr ); 975 cvResize( img, &img1, CV_INTER_LINEAR ); 976 cvIntegral( &img1, &sum1, &sqsum1, _tilted );
|