Searched defs:img1 (Results 1 - 15 of 15) sorted by relevance

/external/libvpx/libvpx/test/
H A Dutil.h22 inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) { argument
23 assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) &&
24 (img1->d_h == img2->d_h));
26 const unsigned int width_y = img1->d_w;
27 const unsigned int height_y = img1->d_h;
33 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
H A Dencode_test_driver.cc127 static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) { argument
128 bool match = (img1->fmt == img2->fmt) && (img1->cs == img2->cs) &&
129 (img1->d_w == img2->d_w) && (img1->d_h == img2->d_h);
131 const unsigned int width_y = img1->d_w;
132 const unsigned int height_y = img1->d_h;
135 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y],
140 const unsigned int width_uv = (img1
[all...]
H A Ddatarate_test.cc1171 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) { argument
1172 double mismatch_psnr = compute_psnr(img1, img2);
H A Derror_resilience_test.cc146 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) { argument
147 double mismatch_psnr = compute_psnr(img1, img2);
H A Dresize_test.cc461 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2) { argument
462 double mismatch_psnr = compute_psnr(img1, img2);
/external/skia/gm/
H A Dcgm.c68 sk_image_t* img1 = sk_image_new_from_encoded(data, NULL); local
71 if (img1) {
72 sk_canvas_draw_image(canvas, img1, W/2, H/2, NULL);
73 sk_image_unref(img1);
/external/skia/tests/
H A DPipeTest.cpp75 auto img1 = deserializer.readImage(data.get()); local
76 REPORTER_ASSERT(reporter, deep_equal(img.get(), img1.get()));
83 REPORTER_ASSERT(reporter, img1.get() == img2.get());
97 auto img1 = deserializer.readImage(data.get()); local
104 REPORTER_ASSERT(reporter, img1.get() == img2.get());
H A DImageTest.cpp1128 auto img1 = SkImage::MakeFromEncoded(data); local
1132 img1->readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_blockiness.c115 double vp9_get_blockiness(const uint8_t *img1, int img1_pitch, argument
122 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) {
126 blockiness_vertical(img1 + j, img1_pitch, img2 + j, img2_pitch, 4);
127 blockiness += blockiness_horizontal(img1 + j, img1_pitch, img2 + j,
/external/libvpx/libvpx/examples/
H A Dvp9cx_set_ref.c71 static int compare_img(const vpx_image_t *const img1, argument
73 uint32_t l_w = img1->d_w;
74 uint32_t c_w = (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift;
76 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift;
80 match &= (img1->fmt == img2->fmt);
81 match &= (img1
103 find_mismatch(const vpx_image_t *const img1, const vpx_image_t *const img2, int yloc[4], int uloc[4], int vloc[4]) argument
[all...]
/external/libvpx/libvpx/tools/
H A Dtiny_ssim.c67 double vp8_ssim2(unsigned char *img1, unsigned char *img2, int stride_img1, argument
75 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
77 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
/external/libvpx/libvpx/vpx_dsp/
H A Dssim.c124 static double vpx_ssim2(const uint8_t *img1, const uint8_t *img2, argument
133 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
135 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
145 static double vpx_highbd_ssim2(const uint8_t *img1, const uint8_t *img2, argument
154 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
156 double v = highbd_ssim_8x8(CONVERT_TO_SHORTPTR(img1 + j), stride_img1,
265 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2, argument
267 vpx_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, &sv->sum_s, &sv->sum_r,
271 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2, argument
285 i += 4, img1
[all...]
/external/libvpx/libvpx/
H A Dvpxenc.c588 static void find_mismatch_high(const vpx_image_t *const img1, argument
594 const uint32_t bsizey = bsize >> img1->y_chroma_shift;
595 const uint32_t bsizex = bsize >> img1->x_chroma_shift;
597 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift;
599 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift;
603 plane1 = (uint16_t *)img1
682 find_mismatch(const vpx_image_t *const img1, const vpx_image_t *const img2, int yloc[4], int uloc[4], int vloc[4]) argument
772 compare_img(const vpx_image_t *const img1, const vpx_image_t *const img2) argument
[all...]
/external/opencv/cv/src/
H A Dcvhaar.cpp956 CvMat img1, sum1, sqsum1, norm1, tilted1, mask1; local
964 img1 = cvMat( sz.height, sz.width, CV_8UC1, img_small->data.ptr );
975 cvResize( img, &img1, CV_INTER_LINEAR );
976 cvIntegral( &img1, &sum1, &sqsum1, _tilted );
/external/vulkan-validation-layers/layers/
H A Dcore_validation_types.h429 inline bool operator==(const ImageSubresourcePair &img1, const ImageSubresourcePair &img2) { argument
430 if (img1.image != img2.image || img1.hasSubresource != img2.hasSubresource)
432 return !img1.hasSubresource ||
433 (img1.subresource.aspectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.subresource.mipLevel &&
434 img1.subresource.arrayLayer == img2.subresource.arrayLayer);

Completed in 274 milliseconds