summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2015-04-28 19:07:40 +0530
committerThe Android Automerger <android-build@google.com>2015-05-05 13:10:32 -0700
commit4e091252cb061b97cbb4a214199c174dd26e453d (patch)
treeee7914d40fe6226b5c9e0e25d9e3b9e4f578eab1 /common
parentfab9a811d267f2c71bd031512e2a230cea1fb96f (diff)
downloadandroid_external_libavc-4e091252cb061b97cbb4a214199c174dd26e453d.tar.gz
android_external_libavc-4e091252cb061b97cbb4a214199c174dd26e453d.tar.bz2
android_external_libavc-4e091252cb061b97cbb4a214199c174dd26e453d.zip
Fixed few issues seen in CTS tests
Added support for encoding non-multiple of 16 dimensions Added support for encoding dimensions smaller than 64x64 Aligned coeff data to 4 byte boundary Bug: 20554276 Change-Id: I111093950f94698296d8499a2845cfe2db6c557b
Diffstat (limited to 'common')
-rwxr-xr-xcommon/ih264_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ih264_macros.h b/common/ih264_macros.h
index 6e4cb16..969012f 100755
--- a/common/ih264_macros.h
+++ b/common/ih264_macros.h
@@ -48,7 +48,7 @@
#define ALIGN16(x) ((((x) + 15) >> 4) << 4)
#define ALIGN8(x) ((((x) + 7) >> 3) << 3)
#define ALIGN4(x) ((((x) + 3) >> 2) << 2)
-
+#define ALIGN2(x) ((((x) + 1) >> 1) << 1)
/**
******************************************************************************