OSDN Git Service

IOMX: Add prepareForAdaptivePlayback method
authorLajos Molnar <lajos@google.com>
Thu, 2 May 2013 23:30:48 +0000 (16:30 -0700)
committerLajos Molnar <lajos@google.com>
Thu, 3 Oct 2013 16:12:45 +0000 (16:12 +0000)
commit56ce726019f700a95ce5b45beebceadae4836e30
tree4ad17b9ec996277e80861895fb1b20f2dc408b9d
parenta306ee6bc1aef463f8984be26b8a4214490b6c55
IOMX: Add prepareForAdaptivePlayback method

prepareForAdaptivePlayback is the fallback mechanism to support
seamless resolution change for devices that do not support dynamic
output buffers.  It is up to the codecs to handle this appropriately,
but codecs that do not handle dynamic output buffers would
request enough buffers up to the requested size in this method
to avoid port reconfiguration on resolution changes.

Change-Id: I58d4aa8ef1359ea3472735bbe9140c3132039b3d
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10192531
Related-to-bug: 7093648
include/media/IOMX.h
media/libmedia/IOMX.cpp
media/libstagefright/OMXClient.cpp
media/libstagefright/include/OMX.h
media/libstagefright/include/OMXNodeInstance.h
media/libstagefright/omx/OMX.cpp
media/libstagefright/omx/OMXNodeInstance.cpp