/external/libaom/libaom/examples/ |
D | encoder_util.c | 24 const aom_image_t *const img2, int plane, in find_mismatch_plane() argument 28 const unsigned char *const p2 = img2->planes[plane]; in find_mismatch_plane() 29 const int p2_stride = img2->stride[plane] >> use_highbitdepth; in find_mismatch_plane() 40 assert(img1->d_w == img2->d_w && img1->d_h == img2->d_h); in find_mismatch_plane() 41 assert(img1->x_chroma_shift == img2->x_chroma_shift && in find_mismatch_plane() 42 img1->y_chroma_shift == img2->y_chroma_shift); in find_mismatch_plane() 44 if (img1->monochrome && img2->monochrome && plane) return; in find_mismatch_plane() 81 const aom_image_t *const img2, in find_mismatch_helper() argument 84 find_mismatch_plane(img1, img2, AOM_PLANE_Y, use_highbitdepth, yloc); in find_mismatch_helper() 85 find_mismatch_plane(img1, img2, AOM_PLANE_U, use_highbitdepth, uloc); in find_mismatch_helper() [all …]
|
D | encoder_util.h | 22 const aom_image_t *const img2, int yloc[4], 26 const aom_image_t *const img2, int yloc[4], int uloc[4], 31 const aom_image_t *const img2);
|
/external/libvpx/libvpx/test/ |
D | util.h | 24 inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) { in compute_psnr() argument 25 assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) && in compute_psnr() 26 (img1->d_h == img2->d_h)); in compute_psnr() 36 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j]; in compute_psnr()
|
D | encode_test_driver.cc | 128 static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) { in compare_img() argument 129 bool match = (img1->fmt == img2->fmt) && (img1->cs == img2->cs) && in compare_img() 130 (img1->d_w == img2->d_w) && (img1->d_h == img2->d_h); in compare_img() 139 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img() 147 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img() 153 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
|
/external/libaom/libaom/test/ |
D | util.h | 25 inline double compute_psnr(const aom_image_t *img1, const aom_image_t *img2) { in compute_psnr() argument 26 assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) && in compute_psnr() 27 (img1->d_h == img2->d_h)); in compute_psnr() 37 img2->planes[AOM_PLANE_Y][i * img2->stride[AOM_PLANE_Y] + j]; in compute_psnr()
|
D | encode_test_driver.cc | 135 static bool compare_img(const aom_image_t *img1, const aom_image_t *img2, in compare_img() argument 139 if (img1->fmt != img2->fmt || img1->cp != img2->cp || img1->tc != img2->tc || in compare_img() 140 img1->mc != img2->mc || img1->d_w != img2->d_w || in compare_img() 141 img1->d_h != img2->d_h || img1->monochrome != img2->monochrome) { in compare_img() 150 img2->planes[plane], img2->stride[plane], in compare_img()
|
D | error_resilience_test.cc | 208 virtual void MismatchHook(const aom_image_t *img1, const aom_image_t *img2) { in MismatchHook() argument 210 double mismatch_psnr = compute_psnr(img1, img2); in MismatchHook() 215 ::libaom_test::EncoderTest::MismatchHook(img1, img2); in MismatchHook()
|
/external/libvpx/libvpx/ |
D | tools_common.c | 551 int compare_img(const vpx_image_t *const img1, const vpx_image_t *const img2) { in compare_img() argument 559 match &= (img1->fmt == img2->fmt); in compare_img() 560 match &= (img1->d_w == img2->d_w); in compare_img() 561 match &= (img1->d_h == img2->d_h); in compare_img() 571 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img() 576 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img() 581 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img() 591 const vpx_image_t *const img2, int yloc[4], int uloc[4], in find_mismatch_high() argument 606 plane2 = (uint16_t *)img2->planes[VPX_PLANE_Y]; in find_mismatch_high() 608 stride2 = img2->stride[VPX_PLANE_Y] / 2; in find_mismatch_high() [all …]
|
D | tools_common.h | 169 int compare_img(const vpx_image_t *const img1, const vpx_image_t *const img2); 172 const vpx_image_t *const img2, int yloc[4], int uloc[4], 175 void find_mismatch(const vpx_image_t *const img1, const vpx_image_t *const img2,
|
/external/libaom/libaom/aom_dsp/ |
D | ssim.c | 126 static double aom_ssim2(const uint8_t *img1, const uint8_t *img2, in aom_ssim2() argument 135 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in aom_ssim2() 137 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2); in aom_ssim2() 146 static double aom_highbd_ssim2(const uint8_t *img1, const uint8_t *img2, in aom_highbd_ssim2() argument 155 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in aom_highbd_ssim2() 158 CONVERT_TO_SHORTPTR(img2 + j), stride_img2, bd, in aom_highbd_ssim2() 258 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2, in ssimv_parms() argument 260 aom_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, &sv->sum_s, &sv->sum_r, in ssimv_parms() 264 double aom_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2, in aom_get_ssim_metrics() argument 278 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) { in aom_get_ssim_metrics() [all …]
|
D | ssim.h | 67 double aom_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2,
|
/external/libvpx/libvpx/vpx_dsp/ |
D | ssim.c | 124 static double vpx_ssim2(const uint8_t *img1, const uint8_t *img2, in vpx_ssim2() argument 133 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vpx_ssim2() 135 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2); in vpx_ssim2() 145 static double vpx_highbd_ssim2(const uint8_t *img1, const uint8_t *img2, in vpx_highbd_ssim2() argument 154 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vpx_highbd_ssim2() 157 CONVERT_TO_SHORTPTR(img2 + j), stride_img2, bd, in vpx_highbd_ssim2() 265 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2, in ssimv_parms() argument 267 vpx_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, &sv->sum_s, &sv->sum_r, in ssimv_parms() 271 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2, in vpx_get_ssim_metrics() argument 285 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) { in vpx_get_ssim_metrics() [all …]
|
D | ssim.h | 65 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2,
|
/external/noto-fonts/scripts/ |
D | color_emoji_image_diff.py | 115 def similar_img(img1, img2): argument 117 if img1 is None and img2 is None: return True 118 if img1 is None or img2 is None: return False 119 if not img1.size == img2.size: return False 122 pixels2 = rgba_map.get(img2, img2.convert('L').getdata())
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_blockiness.c | 117 const uint8_t *img2, int img2_pitch, int width, in vp9_get_blockiness() argument 123 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) { in vp9_get_blockiness() 127 blockiness_vertical(img1 + j, img1_pitch, img2 + j, img2_pitch, 4); in vp9_get_blockiness() 128 blockiness += blockiness_horizontal(img1 + j, img1_pitch, img2 + j, in vp9_get_blockiness()
|
D | vp9_blockiness.h | 19 const uint8_t *img2, int img2_pitch, int width,
|
/external/libaom/libaom/av1/encoder/ |
D | blockiness.c | 124 const unsigned char *img2, int img2_pitch, int width, in av1_get_blockiness() argument 130 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) { in av1_get_blockiness() 134 blockiness_vertical(img1 + j, img1_pitch, img2 + j, img2_pitch, 4); in av1_get_blockiness() 135 blockiness += blockiness_horizontal(img1 + j, img1_pitch, img2 + j, in av1_get_blockiness()
|
/external/skia/tests/ |
D | MipMapTest.cpp | 240 auto img2 = builder.attachTo(img); in DEF_TEST() local 241 REPORTER_ASSERT(reporter, img.get() != img2.get()); in DEF_TEST() 242 REPORTER_ASSERT(reporter, img1.get() != img2.get()); in DEF_TEST() 243 REPORTER_ASSERT(reporter, img2->hasMipmaps()); in DEF_TEST() 252 auto img2 = builder.attachTo(img); in DEF_TEST() local 254 REPORTER_ASSERT(reporter, img.get() == img2.get()); in DEF_TEST()
|
/external/clang/test/CodeGenOpenCL/ |
D | kernel-arg-info.cl | 17 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3) { 52 kernel void foo5(myImage img1, write_only image1d_t img2) { 72 // ARGINFO: ![[MD25]] = !{!"img1", !"img2", !"img3"} 87 // ARGINFO: ![[MD54]] = !{!"img1", !"img2"}
|
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | kernel-arg-info.cl | 32 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3, read_wr… 67 kernel void foo5(myImage img1, write_only image1d_t img2) { 106 // ARGINFO: ![[MD25]] = !{!"img1", !"img2", !"img3", !"img4"} 121 // ARGINFO: ![[MD54]] = !{!"img1", !"img2"}
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_Image_unittest.cpp | 22 void CheckImageEq(CJBig2_Image* img1, CJBig2_Image* img2, int line) { in CheckImageEq() argument 23 EXPECT_EQ(img1->width(), img2->width()); in CheckImageEq() 24 EXPECT_EQ(img1->height(), img2->height()); in CheckImageEq() 27 EXPECT_EQ(img1->GetPixel(x, y), img2->GetPixel(x, y)) in CheckImageEq()
|
/external/libvpx/libvpx/tools/ |
D | tiny_ssim.c | 272 static double ssim2(const uint8_t *img1, const uint8_t *img2, int stride_img1, in ssim2() argument 280 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in ssim2() 282 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2); in ssim2() 292 static double highbd_ssim2(const uint8_t *img1, const uint8_t *img2, in highbd_ssim2() argument 301 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in highbd_ssim2() 305 CONVERT_TO_SHORTPTR(img2 + j), stride_img2, bd); in highbd_ssim2()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_impl.py | 3980 def _verify_compatible_image_shapes(img1, img2): argument 3998 shape2 = img2.get_shape().with_rank_at_least(3) 4009 shape1, shape2 = array_ops.shape_n([img1, img2]) 4156 img2, argument 4191 shape1, shape2 = array_ops.shape_n([img1, img2]) 4227 luminance, cs = _ssim_helper(img1, img2, reducer, max_val, compensation, k1, 4240 img2, argument 4304 with ops.name_scope(None, 'SSIM', [img1, img2]): 4307 img2 = ops.convert_to_tensor(img2, name='img2') 4309 _, _, checks = _verify_compatible_image_shapes(img1, img2) [all …]
|
D | image_ops_test.py | 5283 img2 = array_ops.placeholder(dtype=dtypes.float32) 5290 img1, img2) 5292 sess.run(checks, {img1: img1_np, img2: img2_np}) 5382 img2 = self._RandomImage((10, 8, 8, 1), 255) 5384 img2 = constant_op.constant(img2, dtypes.uint8) 5385 psnr_uint8 = image_ops.psnr(img1, img2, 255) 5387 img2 = image_ops.convert_image_dtype(img2, dtypes.float32) 5388 psnr_float32 = image_ops.psnr(img1, img2, 1.0) 5442 img1, img2 = zip(*itertools.combinations(img, 2)) 5444 img2 = np.concatenate(img2) [all …]
|
/external/python/cpython2/Demo/tkinter/ttk/ |
D | roundframe.py | 49 img2 = Tkinter.PhotoImage("frameBorder", data=""" variable
|