summaryrefslogtreecommitdiffstats
path: root/common/ih264_macros.h
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2015-04-28 19:07:40 +0530
committerLajos Molnar <lajos@google.com>2015-05-05 17:45:29 +0000
commit3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5 (patch)
treeee7914d40fe6226b5c9e0e25d9e3b9e4f578eab1 /common/ih264_macros.h
parentfab9a811d267f2c71bd031512e2a230cea1fb96f (diff)
downloadandroid_external_libavc-3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5.tar.gz
android_external_libavc-3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5.tar.bz2
android_external_libavc-3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5.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/ih264_macros.h')
-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)
/**
******************************************************************************