aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGu, Wangyi <wangyi.gu@intel.com>2015-07-16 14:10:33 +0800
committerPatrick Tjin <pattjin@google.com>2015-07-17 12:54:02 -0700
commit68942cfbb4d52185ea162f336a94d8bab263d366 (patch)
tree08ff054848c34d3ca580cfef968741e98fceccc4
parentbaa033a1fcf511bd575c94cbd8a839c4c87a699e (diff)
downloadandroid_hardware_intel_common_omx-components-68942cfbb4d52185ea162f336a94d8bab263d366.tar.gz
android_hardware_intel_common_omx-components-68942cfbb4d52185ea162f336a94d8bab263d366.tar.bz2
android_hardware_intel_common_omx-components-68942cfbb4d52185ea162f336a94d8bab263d366.zip
align the yv12 stride to 128bit for vp9 hybrid
Bug: 19197299 need align with gralloc change Change-Id: Ief1c2e960b0e2d3c8566bf32032e7050ed0a6e5c Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com>
-rw-r--r--videocodec/OMXVideoDecoderVP9Hybrid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/videocodec/OMXVideoDecoderVP9Hybrid.cpp b/videocodec/OMXVideoDecoderVP9Hybrid.cpp
index ce7f988..1360ca2 100644
--- a/videocodec/OMXVideoDecoderVP9Hybrid.cpp
+++ b/videocodec/OMXVideoDecoderVP9Hybrid.cpp
@@ -25,7 +25,7 @@
#include <hardware/gralloc.h>
#include <system/graphics.h>
-#define VP9_YV12_ALIGN (64-1)
+#define VP9_YV12_ALIGN (128-1)
static const char* VP9_MIME_TYPE = "video/x-vnd.on2.vp9";
OMXVideoDecoderVP9Hybrid::OMXVideoDecoderVP9Hybrid() {