Home
last modified time | relevance | path

Searched refs:img2 (Results 1 – 20 of 20) sorted by relevance

/external/libvpx/libvpx/test/
Dutil.h22 inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) { in compute_psnr() argument
23 assert((img1->fmt == img2->fmt) && in compute_psnr()
24 (img1->d_w == img2->d_w) && in compute_psnr()
25 (img1->d_h == img2->d_h)); in compute_psnr()
35 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j]; in compute_psnr()
Dencode_test_driver.cc144 const vpx_image_t *img2) { in compare_img() argument
145 bool match = (img1->fmt == img2->fmt) && in compare_img()
146 (img1->cs == img2->cs) && in compare_img()
147 (img1->d_w == img2->d_w) && in compare_img()
148 (img1->d_h == img2->d_h); in compare_img()
155 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img()
161 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
165 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
Derror_resilience_test.cc162 const vpx_image_t *img2) { in MismatchHook() argument
163 double mismatch_psnr = compute_psnr(img1, img2); in MismatchHook()
Dblockiness_test.cc32 const unsigned char *img2, int img2_pitch,
Dconsistency_test.cc31 uint8_t *img2, int img2_pitch,
Dencode_test_driver.h245 const vpx_image_t *img2);
Ddatarate_test.cc824 const vpx_image_t *img2) { in MismatchHook() argument
825 double mismatch_psnr = compute_psnr(img1, img2); in MismatchHook()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DActionSequenceTest.java36 Image img2; field in ActionSequenceTest
51 img2 = new Image(new TextureRegion(texture)); in create()
52 img2.setSize(100, 100); in create()
53 img2.setOrigin(50, 50); in create()
54 img2.setPosition(100, 100); in create()
62 stage.addActor(img2); in create()
66 img2.addAction(parallel(sequence(), moveBy(100, 0, 1))); in create()
DComplexActionTest.java56 final Image img2 = new Image(new TextureRegion(texture)); in create() local
57 img2.setSize(50, 50); in create()
58 img2.setOrigin(50, 50); in create()
59 img2.setPosition(150, 150); in create()
62 stage.addActor(img2); in create()
DETC1Test.java36 Texture img2; field in ETC1Test
59 img2 = new Texture("data/test.etc1"); in create()
72 batch.draw(img2, -100, 0); in render()
87 img2.dispose(); in dispose()
/external/clang/test/CodeGenOpenCL/
Dkernel-arg-info.cl17 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3) {
24 // ARGINFO: !{!"kernel_arg_name", !"img1", !"img2", !"img3"}
25 // NO-ARGINFO-NOT: !{!"kernel_arg_name", !"img1", !"img2", !"img3"}
49 kernel void foo5(read_only myImage img1, write_only image1d_t img2) {
54 // ARGINFO: !{!"kernel_arg_name", !"img1", !"img2"}
55 // NO-ARGINFO-NOT: !{!"kernel_arg_name", !"img1", !"img2"}
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/utils/
DIssueTest.java17 Texture img2; field in IssueTest
23 img2 = new Texture("data/issue/leaf.png"); in create()
31 batch.draw(img2, 512, 0); in render()
/external/libvpx/libvpx/vpx_dsp/
Dssim.c116 static double vpx_ssim2(const uint8_t *img1, const uint8_t *img2, in vpx_ssim2() argument
125 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vpx_ssim2()
127 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2); in vpx_ssim2()
137 static double vpx_highbd_ssim2(const uint8_t *img1, const uint8_t *img2, in vpx_highbd_ssim2() argument
146 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) { in vpx_highbd_ssim2()
149 CONVERT_TO_SHORTPTR(img2 + j), stride_img2, in vpx_highbd_ssim2()
286 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2, in ssimv_parms() argument
288 vpx_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, in ssimv_parms()
294 uint8_t *img2, int img2_pitch, in vpx_get_ssim_metrics() argument
309 img1 += img1_pitch * 4, img2 += img2_pitch * 4) { in vpx_get_ssim_metrics()
[all …]
Dssim.h63 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2,
/external/libvpx/libvpx/vp9/encoder/
Dvp9_blockiness.c116 const uint8_t *img2, int img2_pitch, in vp9_get_blockiness() argument
122 img2 += img2_pitch * 4) { in vp9_get_blockiness()
126 img2 + j, img2_pitch, 4); in vp9_get_blockiness()
128 img2 + j, img2_pitch, 4); in vp9_get_blockiness()
Dvp9_encoder.c4161 const uint8_t *img2, int img2_pitch,
/external/libvpx/libvpx/
Dvpxenc.c553 const vpx_image_t *const img2, in find_mismatch_high() argument
568 plane2 = (uint16_t*)img2->planes[VPX_PLANE_Y]; in find_mismatch_high()
570 stride2 = img2->stride[VPX_PLANE_Y]/2; in find_mismatch_high()
594 plane2 = (uint16_t*)img2->planes[VPX_PLANE_U]; in find_mismatch_high()
596 stride2 = img2->stride[VPX_PLANE_U]/2; in find_mismatch_high()
620 plane2 = (uint16_t*)img2->planes[VPX_PLANE_V]; in find_mismatch_high()
622 stride2 = img2->stride[VPX_PLANE_V]/2; in find_mismatch_high()
647 const vpx_image_t *const img2, in find_mismatch() argument
668 *(img2->planes[VPX_PLANE_Y] + in find_mismatch()
669 (i + k) * img2->stride[VPX_PLANE_Y] + j + l)) { in find_mismatch()
[all …]
/external/opencv/cxcore/src/
D_cxipp.h326 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/vulkan-validation-layers/layers/
Dcore_validation.h755 bool operator==(const ImageSubresourcePair &img1, const ImageSubresourcePair &img2) {
756 if (img1.image != img2.image || img1.hasSubresource != img2.hasSubresource)
759 …(img1.subresource.aspectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.s…
760 img1.subresource.arrayLayer == img2.subresource.arrayLayer);
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dscreen_finder_unittest.py276 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