summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2015-04-28 19:07:40 +0530
committerHarish Mahendrakar <harish.mahendrakar@ittiam.com>2015-04-28 19:17:04 +0530
commitc72323e7234ceda6c2c5be5bc2622d87cd4fbaf5 (patch)
treeee7914d40fe6226b5c9e0e25d9e3b9e4f578eab1 /common
parentfab9a811d267f2c71bd031512e2a230cea1fb96f (diff)
downloadandroid_external_libavc-c72323e7234ceda6c2c5be5bc2622d87cd4fbaf5.tar.gz
android_external_libavc-c72323e7234ceda6c2c5be5bc2622d87cd4fbaf5.tar.bz2
android_external_libavc-c72323e7234ceda6c2c5be5bc2622d87cd4fbaf5.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 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)
/**
******************************************************************************