Searched defs:img1 (Results 1 - 10 of 10) 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) &&
24 (img1->d_w == img2->d_w) &&
25 (img1->d_h == img2->d_h));
27 const unsigned int width_y = img1->d_w;
28 const unsigned int height_y = img1->d_h;
34 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
H A Dencode_test_driver.cc143 static bool compare_img(const vpx_image_t *img1, argument
145 bool match = (img1->fmt == img2->fmt) &&
146 (img1->cs == img2->cs) &&
147 (img1->d_w == img2->d_w) &&
148 (img1->d_h == img2->d_h);
150 const unsigned int width_y = img1->d_w;
151 const unsigned int height_y = img1->d_h;
154 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y],
157 const unsigned int width_uv = (img1
[all...]
H A Ddatarate_test.cc823 virtual void MismatchHook(const vpx_image_t *img1, argument
825 double mismatch_psnr = compute_psnr(img1, img2);
H A Derror_resilience_test.cc161 virtual void MismatchHook(const vpx_image_t *img1, argument
163 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/libvpx/libvpx/vp9/encoder/
H A Dvp9_blockiness.c115 double vp9_get_blockiness(const uint8_t *img1, int img1_pitch, argument
121 for (i = 0; i < height; i += 4, img1 += img1_pitch * 4,
125 blockiness += blockiness_vertical(img1 + j, img1_pitch,
127 blockiness += blockiness_horizontal(img1 + j, img1_pitch,
/external/libvpx/libvpx/vpx_dsp/
H A Dssim.c116 static double vpx_ssim2(const uint8_t *img1, const uint8_t *img2, argument
125 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
127 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
137 static double vpx_highbd_ssim2(const uint8_t *img1, const uint8_t *img2, argument
146 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
148 double v = highbd_ssim_8x8(CONVERT_TO_SHORTPTR(img1 + j), stride_img1,
286 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2, argument
288 vpx_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch,
293 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, argument
309 img1
[all...]
/external/libvpx/libvpx/
H A Dvpxenc.c552 static void find_mismatch_high(const vpx_image_t *const img1, argument
558 const uint32_t bsizey = bsize >> img1->y_chroma_shift;
559 const uint32_t bsizex = bsize >> img1->x_chroma_shift;
561 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift;
563 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift;
567 plane1 = (uint16_t*)img1
646 find_mismatch(const vpx_image_t *const img1, const vpx_image_t *const img2, int yloc[4], int uloc[4], int vloc[4]) argument
736 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.h755 bool operator==(const ImageSubresourcePair &img1, const ImageSubresourcePair &img2) { argument
756 if (img1.image != img2.image || img1.hasSubresource != img2.hasSubresource)
758 return !img1.hasSubresource ||
759 (img1.subresource.aspectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.subresource.mipLevel &&
760 img1.subresource.arrayLayer == img2.subresource.arrayLayer);

Completed in 592 milliseconds