OSDN Git Service

msm: vidc: Fix decoder output buffer size issue
authorPraneeth Paladugu <ppaladug@codeaurora.org>
Wed, 13 Apr 2016 04:30:51 +0000 (21:30 -0700)
committerPraneeth Paladugu <ppaladug@codeaurora.org>
Thu, 4 Aug 2016 21:22:03 +0000 (14:22 -0700)
commit5703768add07ebfc1843a8c0e801cca002bf3d63
tree6e6b2ef3e18ddc494347f41433749b8a2732f0c6
parent059df41e860f67a9ba59ff4af2c95d754d6e4a28
msm: vidc: Fix decoder output buffer size issue

Decoder YUV buffer size should be derived based on current
resolution using Venus MACROS. This the only size that
clients are aware of. Using the size from FW will make
buffer sizes mismatches and unnecessary failures.

By not using buffer size from Venus, driver can avoid
unnecessary buffer requirement calls. This will reduce the
start-up latency.

CRs-Fixed: 1011881
Change-Id: I90762967e8b7888a775ce4771b6cdb08528b6513
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
drivers/media/platform/msm/vidc/msm_vdec.c