Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0077db94 authored by Lajos Molnar's avatar Lajos Molnar Committed by Android (Google) Code Review
Browse files

Merge "media/hardware/HardwareAPI.h: Added metadata struct used by video decoder"

parents 9a90aa90 07d93d19
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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