diff options
author | Peter de Rivaz <peter.derivaz@gmail.com> | 2014-10-16 14:36:07 +0100 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2014-10-17 17:04:37 -0700 |
commit | 73ae6e495c7b232f3812e27818ef0f5125406654 (patch) | |
tree | 0542e2be75d16a5d6a5371a1f7362157756dd8e6 /vp9/common/vp9_rtcd_defs.pl | |
parent | 8101e82a1bbb5dfeaf9014c90f310337592e402a (diff) | |
download | libvpx-73ae6e495c7b232f3812e27818ef0f5125406654.tar libvpx-73ae6e495c7b232f3812e27818ef0f5125406654.tar.gz libvpx-73ae6e495c7b232f3812e27818ef0f5125406654.tar.bz2 libvpx-73ae6e495c7b232f3812e27818ef0f5125406654.zip |
Add highbitdepth function for vp9_avg_8x8
Cherry-picked from https://gerrit.chromium.org/gerrit/#/c/71914/
(a92f987a6b7819ae5c62a429e126e1c26bdb1b71) on highbitdepth branch.
Change-Id: I6903e4e4cb57d90590725c8a1c64c23da7ae65e8
Diffstat (limited to 'vp9/common/vp9_rtcd_defs.pl')
-rw-r--r-- | vp9/common/vp9_rtcd_defs.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl index de389e7af..d15ddec73 100644 --- a/vp9/common/vp9_rtcd_defs.pl +++ b/vp9/common/vp9_rtcd_defs.pl @@ -1114,6 +1114,11 @@ specialize qw/vp9_get_mb_ss/, "$sse2_x86inc"; add_proto qw/unsigned int vp9_avg_8x8/, "const uint8_t *, int p"; specialize qw/vp9_avg_8x8 sse2/; +if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { + add_proto qw/unsigned int vp9_highbd_avg_8x8/, "const uint8_t *, int p"; + specialize qw/vp9_highbd_avg_8x8/; +} + # ENCODEMB INVOKE add_proto qw/void vp9_subtract_block/, "int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride"; |