Home | History | Annotate | Download | only in test

Lines Matching refs:img1

127 static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) {
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->d_w + 1) >> 1;
141 const unsigned int height_uv = (img1->d_h + 1) >> 1;
143 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U],
149 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V],
157 void EncoderTest::MismatchHook(const vpx_image_t * /*img1*/,