summaryrefslogtreecommitdiff
path: root/test/md5_helper.h
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2014-08-26 12:35:15 -0700
committerDeb Mukherjee <debargha@google.com>2014-09-02 14:37:10 -0700
commit5acfafb18e1720abfc0dc5baafce8e1a1b292b14 (patch)
treea89c5e2e79283e58a613b98dc3d7b3434ba6affe /test/md5_helper.h
parent72037944df611abccac02c225e20adc9479200db (diff)
downloadlibvpx-5acfafb18e1720abfc0dc5baafce8e1a1b292b14.tar
libvpx-5acfafb18e1720abfc0dc5baafce8e1a1b292b14.tar.gz
libvpx-5acfafb18e1720abfc0dc5baafce8e1a1b292b14.tar.bz2
libvpx-5acfafb18e1720abfc0dc5baafce8e1a1b292b14.zip
Adds config opt for highbitdepth + misc. vpx
Adds config parameter vp9_highbitdepth, to support highbitdepth profiles. Also includes most vpx level high bit-depth functions. However encode/decode in the highbitdepth profiles will not work until the rest of the code is in place. Change-Id: I34c53b253c38873611057a6cbc89a1361b8985a6
Diffstat (limited to 'test/md5_helper.h')
-rw-r--r--test/md5_helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/md5_helper.h b/test/md5_helper.h
index dc9558267..1db712b4e 100644
--- a/test/md5_helper.h
+++ b/test/md5_helper.h
@@ -28,7 +28,8 @@ class MD5 {
// 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) >>