| Index: source/libvpx/test/md5_helper.h
|
| ===================================================================
|
| --- source/libvpx/test/md5_helper.h (revision 291857)
|
| +++ source/libvpx/test/md5_helper.h (working copy)
|
| @@ -28,7 +28,8 @@
|
| // plane, we never want to round down and thus skip a pixel so if
|
| // we are shifting by 1 (chroma_shift) we add 1 before doing the shift.
|
| // This works only for chroma_shift of 0 and 1.
|
| - const int bytes_per_sample = (img->fmt & VPX_IMG_FMT_HIGH) ? 2 : 1;
|
| + const int bytes_per_sample =
|
| + (img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1;
|
| const int h = plane ? (img->d_h + img->y_chroma_shift) >>
|
| img->y_chroma_shift : img->d_h;
|
| const int w = (plane ? (img->d_w + img->x_chroma_shift) >>
|
|
|