diff options
author | Lajos Molnar <lajos@google.com> | 2013-05-03 13:20:53 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2013-06-21 12:05:39 -0700 |
commit | 07d93d197ab41e60f91954592f6ffcd35ed757a0 (patch) | |
tree | 37d3e05a1bc478d091f442997a872db57d9e7490 /include/media | |
parent | ae772278fe52335b730442f3d86307787dea807e (diff) | |
download | frameworks_native-07d93d197ab41e60f91954592f6ffcd35ed757a0.tar.gz frameworks_native-07d93d197ab41e60f91954592f6ffcd35ed757a0.tar.bz2 frameworks_native-07d93d197ab41e60f91954592f6ffcd35ed757a0.zip |
media/hardware/HardwareAPI.h: Added metadata struct used by video decoder
This is the metadata layout when used by the video decoder.
Change-Id: I3497305ad23b3fc4e1e8eaaea7b0890bc1ffd5ad
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 7093648
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/hardware/HardwareAPI.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/media/hardware/HardwareAPI.h b/include/media/hardware/HardwareAPI.h index cc43bf691..fc0f070ef 100644 --- a/include/media/hardware/HardwareAPI.h +++ b/include/media/hardware/HardwareAPI.h @@ -19,6 +19,7 @@ #define HARDWARE_API_H_ #include <OMXPluginBase.h> +#include <MetadataBufferType.h> #include <system/window.h> #include <utils/RefBase.h> @@ -73,6 +74,13 @@ struct StoreMetaDataInBuffersParams { OMX_BOOL bStoreMetaData; }; +// Meta data buffer layout used to transport output frames to the decoder for +// dynamic buffer handling. +struct VideoDecoderOutputMetaData { + MetadataBufferType eType; + buffer_handle_t pHandle; +}; + // A pointer to this struct is passed to OMX_SetParameter when the extension // index for the 'OMX.google.android.index.useAndroidNativeBuffer' extension is // given. This call will only be performed if a prior call was made with the |