Home
last modified time | relevance | path

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

/external/libvpx/libvpx/examples/
Dvp9cx_set_ref.c72 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/
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) && (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()
Dencode_test_driver.cc127 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()
Derror_resilience_test.cc146 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()
Dconsistency_test.cc30 uint8_t *img2, int img2_pitch, int width,
Dblockiness_test.cc30 const unsigned char *img2, int img2_pitch,
Dencode_test_driver.h234 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2);
Dresize_test.cc461 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()
Ddatarate_test.cc1171 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/
Dssim.c124 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 …]
Dssim.h65 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, 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()
Dvp9_encoder.c4784 const uint8_t *img2, int img2_pitch, int width,
/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) {
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/
Dvpxenc.c589 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/
DPipeTest.cpp82 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/vulkan-validation-layers/layers/
Dcore_validation_types.h429 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/python/cpython2/Demo/tkinter/ttk/
Droundframe.py49 img2 = Tkinter.PhotoImage("frameBorder", data=""" variable
/external/libvpx/libvpx/tools/
Dtiny_ssim.c67 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()