Commit 3671e629 authored by hkuang's avatar hkuang
Browse files

Fix the vpxenc mismatch problem due to seperate

the boarder size for encoder and decoder.

Change-Id: I7291a9e06035d1533202d7a75ab40abfc1131342
parent a1d8918f
...@@ -833,8 +833,8 @@ static int compare_img(vpx_image_t *img1, vpx_image_t *img2) ...@@ -833,8 +833,8 @@ static int compare_img(vpx_image_t *img1, vpx_image_t *img2)
unsigned int i; unsigned int i;
match &= (img1->fmt == img2->fmt); match &= (img1->fmt == img2->fmt);
match &= (img1->w == img2->w); match &= (img1->d_w == img2->d_w);
match &= (img1->h == img2->h); match &= (img1->d_h == img2->d_h);
for (i = 0; i < img1->d_h; i++) for (i = 0; i < img1->d_h; i++)
match &= (memcmp(img1->planes[VPX_PLANE_Y]+i*img1->stride[VPX_PLANE_Y], match &= (memcmp(img1->planes[VPX_PLANE_Y]+i*img1->stride[VPX_PLANE_Y],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment