Lines Matching refs:img1
110 static bool compare_img(const vpx_image_t *img1, in compare_img() argument
112 bool match = (img1->fmt == img2->fmt) && in compare_img()
113 (img1->d_w == img2->d_w) && in compare_img()
114 (img1->d_h == img2->d_h); in compare_img()
116 const unsigned int width_y = img1->d_w; in compare_img()
117 const unsigned int height_y = img1->d_h; in compare_img()
120 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img()
123 const unsigned int width_uv = (img1->d_w + 1) >> 1; in compare_img()
124 const unsigned int height_uv = (img1->d_h + 1) >> 1; in compare_img()
126 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
130 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V], in compare_img()
136 void EncoderTest::MismatchHook(const vpx_image_t *img1, in MismatchHook() argument