diff options
-rw-r--r-- | include/media/hardware/HardwareAPI.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/hardware/HardwareAPI.h b/include/media/hardware/HardwareAPI.h index e369c0e..a682ab7 100644 --- a/include/media/hardware/HardwareAPI.h +++ b/include/media/hardware/HardwareAPI.h @@ -103,6 +103,12 @@ struct VideoGrallocMetadata { buffer_handle_t hHandle; }; +// Legacy name for VideoGrallocMetadata struct. +struct VideoDecoderOutputMetaData { + MetadataBufferType eType; // must be kMetadataBufferTypeGrallocSource + buffer_handle_t pHandle; +}; + struct VideoNativeMetadata { MetadataBufferType eType; // must be kMetadataBufferTypeANWBuffer struct ANativeWindowBuffer* pBuffer; |