Home
last modified time | relevance | path

Searched refs:img1 (Results 1 – 13 of 13) sorted by relevance

/external/libvpx/libvpx/test/
Dutil.h23 static double compute_psnr(const vpx_image_t *img1, in compute_psnr() argument
25 assert((img1->fmt == img2->fmt) && in compute_psnr()
26 (img1->d_w == img2->d_w) && in compute_psnr()
27 (img1->d_h == img2->d_h)); in compute_psnr()
29 const unsigned int width_y = img1->d_w; in compute_psnr()
30 const unsigned int height_y = img1->d_h; in compute_psnr()
36 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] - in compute_psnr()
Dencode_test_driver.cc107 static bool compare_img(const vpx_image_t *img1, in compare_img() argument
109 bool match = (img1->fmt == img2->fmt) && in compare_img()
110 (img1->d_w == img2->d_w) && in compare_img()
111 (img1->d_h == img2->d_h); in compare_img()
113 const unsigned int width_y = img1->d_w; in compare_img()
114 const unsigned int height_y = img1->d_h; in compare_img()
117 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img()
120 const unsigned int width_uv = (img1->d_w + 1) >> 1; in compare_img()
121 const unsigned int height_uv = (img1->d_h + 1) >> 1; in compare_img()
123 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
[all …]
Derror_resilience_test.cc103 virtual void MismatchHook(const vpx_image_t *img1, in MismatchHook() argument
105 double mismatch_psnr = compute_psnr(img1, img2); in MismatchHook()
Dencode_test_driver.h202 virtual void MismatchHook(const vpx_image_t *img1,
/external/libvpx/libvpx/
Dvpxenc.c912 static void find_mismatch(vpx_image_t *img1, vpx_image_t *img2, in find_mismatch() argument
915 const unsigned int bsizey = bsize >> img1->y_chroma_shift; in find_mismatch()
916 const unsigned int bsizex = bsize >> img1->x_chroma_shift; in find_mismatch()
917 const int c_w = (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in find_mismatch()
918 const int c_h = (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch()
922 for (i = 0, match = 1; match && i < img1->d_h; i += bsize) { in find_mismatch()
923 for (j = 0; match && j < img1->d_w; j += bsize) { in find_mismatch()
925 int si = mmin(i + bsize, img1->d_h) - i; in find_mismatch()
926 int sj = mmin(j + bsize, img1->d_w) - j; in find_mismatch()
929 if (*(img1->planes[VPX_PLANE_Y] + in find_mismatch()
[all …]
/external/clang/test/CodeGenOpenCL/
Dkernel-arg-info.cl14 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3) {
20 // CHECK: metadata !{metadata !"kernel_arg_name", metadata !"img1", metadata !"img2", metadata !"im…
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ssim.c84 double vp9_ssim2(uint8_t *img1, uint8_t *img2, int stride_img1, in vp9_ssim2() argument
92 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vp9_ssim2()
94 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2); in vp9_ssim2()
/external/opencv/cxcore/src/
D_cxipp.h325 ( const srctype* img1, int imgstep1, \
330 ( const srctype* img1, int imgstep1, \
335 ( const srctype* img1, int imgstep1, \
354 ( const srctype* img1, int imgstep1, \
359 ( const srctype* img1, int imgstep1, \
364 ( const srctype* img1, int imgstep1, \
386 ( const srctype* img1, int imgstep1, \
392 ( const srctype* img1, int imgstep1, \
398 ( const srctype* img1, int imgstep1, \
/external/libvpx/libvpx/vp8/encoder/
Dssim.c149 unsigned char *img1, in vp8_ssim2() argument
162 for(i=0; i < height-8; i+=4, img1 += stride_img1*4, img2 += stride_img2*4) in vp8_ssim2()
166 double v = ssim_8x8(img1+j, stride_img1, img2+j, stride_img2); in vp8_ssim2()
/external/chromium_org/chrome/common/extensions/api/extension_action/
Dpage_action_manifest_unittest.cc69 std::string img1("image1.png"); in TEST_F() local
77 ASSERT_EQ(img1, in TEST_F()
/external/chromium_org/ui/gfx/image/
Dimage_unittest_util.cc85 bool IsEqual(const gfx::Image& img1, const gfx::Image& img2) { in IsEqual() argument
86 std::vector<gfx::ImageSkiaRep> img1_reps = img1.AsImageSkia().image_reps(); in IsEqual()
/external/chromium/chrome/common/extensions/
Dextension_unittest.cc536 std::string img1("image1.png"); in TEST() local
543 icons->Set(0, Value::CreateStringValue(img1)); in TEST()
555 ASSERT_EQ(img1, (*action->icon_paths())[0]); in TEST()
/external/opencv/cv/src/
Dcvhaar.cpp956 CvMat img1, sum1, sqsum1, norm1, tilted1, mask1; in cvHaarDetectObjects() local
964 img1 = cvMat( sz.height, sz.width, CV_8UC1, img_small->data.ptr ); in cvHaarDetectObjects()
975 cvResize( img, &img1, CV_INTER_LINEAR ); in cvHaarDetectObjects()
976 cvIntegral( &img1, &sum1, &sqsum1, _tilted ); in cvHaarDetectObjects()