vdec: report width/height as stride/slice-height for BUFFER_COPY
authorLajos Molnar <lajos@google.com>
Wed, 8 Apr 2015 19:25:31 +0000 (21:25 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Tue, 30 Jun 2015 05:32:53 +0000 (22:32 -0700)
commit55e460f7eec294f08e5510329d504f73c093ad0f
tree530ea44133f4685d4ee706119d5e07a71ccf8ca3
parent8bcd4d0f3a8db12b2759f6553e30b912436c2d5f
vdec: report width/height as stride/slice-height for BUFFER_COPY

This is a workaround for bytebuffer mode, as decoder actually uses width
and height as stride and slice height for the output buffer.  Changing
only at getParam as the internal value may be used elsewhere.

Backported-from: hardware/samsung_slsi/exynos5

Change-Id: I9360dd5c17cc3f1be206cad65c440cae7d260b5f
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
component/video/dec/Exynos_OMX_VdecControl.c