OSDN Git Service

bug fix: configure input port buffer size
authorRam Mohan M <ram.mohan@ittiam.com>
Wed, 9 Aug 2017 06:41:23 +0000 (12:11 +0530)
committerPawin Vongmasa <pawin@google.com>
Tue, 15 Aug 2017 11:55:40 +0000 (04:55 -0700)
commit96743b42576bb508cd0820e9503a7d82003a682b
tree09aedeac7377d39cfead987a5f09b7b5ae304307
parentb417e4c605e768bdaf29cc17baacfc4877f257d8
bug fix: configure input port buffer size

In video decoders, size of a single input frame (elementary-stream)
is dependent on width, height, color format, profile settings, ...
Most of this information is part of sps, pps and requires parsing.
But as the max size of the stream is known ahead, use it to configure
the input buffer size requirements

Bug: 63875287
Bug: 63796949

Change-Id: Ib760c4f55b094260a0abd120f852dcf1899df4e0
media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp
media/omx/1.0/vts/functional/common/media_hidl_test_common.h
media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoDecTest.cpp