/external/libvpx/libvpx/examples/ |
D | vp9cx_set_ref.c | 72 const vpx_image_t *const img2) { in compare_img() argument 80 match &= (img1->fmt == img2->fmt); in compare_img() 81 match &= (img1->d_w == img2->d_w); in compare_img() 82 match &= (img1->d_h == img2->d_h); in compare_img() 86 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img() 91 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img() 96 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img() 104 const vpx_image_t *const img2, int yloc[4], in find_mismatch() argument 125 *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 126 (i + k) * img2->stride[VPX_PLANE_Y] + j + l)) { in find_mismatch() [all …]
|
/external/libvpx/libvpx/test/ |
D | util.h | 22 inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) { in compute_psnr() argument 23 assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) && in compute_psnr() 24 (img1->d_h == img2->d_h)); in compute_psnr() 34 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j]; in compute_psnr()
|
D | encode_test_driver.cc | 127 static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) { in compare_img() argument 128 bool match = (img1->fmt == img2->fmt) && (img1->cs == img2->cs) && in compare_img() 129 (img1->d_w == img2->d_w) && (img1->d_h == img2->d_h); in compare_img() 136 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img() 144 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img() 150 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
|
D | error_resilience_test.cc | 146 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) { in MismatchHook() argument 147 double mismatch_psnr = compute_psnr(img1, img2); in MismatchHook()
|
D | encode_test_driver.h | 234 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2);
|
D | blockiness_test.cc | 30 const unsigned char *img2, int img2_pitch,
|
D | consistency_test.cc | 30 uint8_t *img2, int img2_pitch, int width,
|
D | resize_test.cc | 461 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) { in MismatchHook() argument 462 double mismatch_psnr = compute_psnr(img1, img2); in MismatchHook()
|
D | datarate_test.cc | 1171 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) { in MismatchHook() argument 1172 double mismatch_psnr = compute_psnr(img1, img2); in MismatchHook()
|
/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/libvpx/libvpx/vp9/encoder/ |
D | vp9_blockiness.c | 116 const uint8_t *img2, int img2_pitch, int width, in vp9_get_blockiness() argument 122 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) { in vp9_get_blockiness() 126 blockiness_vertical(img1 + j, img1_pitch, img2 + j, img2_pitch, 4); in vp9_get_blockiness() 127 blockiness += blockiness_horizontal(img1 + j, img1_pitch, img2 + j, in vp9_get_blockiness()
|
D | vp9_encoder.c | 4784 const uint8_t *img2, int img2_pitch, int width,
|
/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/libvpx/libvpx/ |
D | vpxenc.c | 589 const vpx_image_t *const img2, int yloc[4], in find_mismatch_high() argument 604 plane2 = (uint16_t *)img2->planes[VPX_PLANE_Y]; in find_mismatch_high() 606 stride2 = img2->stride[VPX_PLANE_Y] / 2; in find_mismatch_high() 630 plane2 = (uint16_t *)img2->planes[VPX_PLANE_U]; in find_mismatch_high() 632 stride2 = img2->stride[VPX_PLANE_U] / 2; in find_mismatch_high() 656 plane2 = (uint16_t *)img2->planes[VPX_PLANE_V]; in find_mismatch_high() 658 stride2 = img2->stride[VPX_PLANE_V] / 2; in find_mismatch_high() 683 const vpx_image_t *const img2, int yloc[4], in find_mismatch() argument 704 *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 705 (i + k) * img2->stride[VPX_PLANE_Y] + j + l)) { in find_mismatch() [all …]
|
/external/skia/tests/ |
D | PipeTest.cpp | 82 auto img2 = deserializer.readImage(data.get()); in DEF_TEST() local 83 REPORTER_ASSERT(reporter, img1.get() == img2.get()); in DEF_TEST() 103 auto img2 = deserializer.readImage(data.get()); in DEF_TEST() local 104 REPORTER_ASSERT(reporter, img1.get() == img2.get()); in DEF_TEST()
|
/external/opencv/cxcore/src/ |
D | _cxipp.h | 326 const srctype* img2, int imgstep2, \ 331 const srctype* img2, int imgstep2, \ 336 const srctype* img2, int imgstep2, \ 355 const srctype* img2, int imgstep2, \ 360 const srctype* img2, int imgstep2, \ 365 const srctype* img2, int imgstep2, \ 387 const srctype* img2, int imgstep2, \ 393 const srctype* img2, int imgstep2, \ 399 const srctype* img2, int imgstep2, \
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | screen_finder_unittest.py | 276 img2 = np.zeros((3, 3), np.uint8) 277 img2[1][0] = 255 278 img2[1][1] = 255 279 img2[2][2] = 255 280 img2[2][1] = 255 281 sf._frame_edges = img2
|
/external/vulkan-validation-layers/layers/ |
D | core_validation_types.h | 429 inline bool operator==(const ImageSubresourcePair &img1, const ImageSubresourcePair &img2) { 430 if (img1.image != img2.image || img1.hasSubresource != img2.hasSubresource) 433 …(img1.subresource.aspectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.s… 434 img1.subresource.arrayLayer == img2.subresource.arrayLayer);
|
/external/libvpx/libvpx/tools/ |
D | tiny_ssim.c | 67 double vp8_ssim2(unsigned char *img1, unsigned char *img2, int stride_img1, in vp8_ssim2() argument 75 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vp8_ssim2() 77 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2); in vp8_ssim2()
|