summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2015-06-02 14:24:21 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-02 14:24:21 +0000
commitba46148fee9a84de924c3e27c973f7748baca02b (patch)
treee4f4485a34a9cc67a6b103e0419694f0f4b3c0ce /include
parentc75fd04d78dae93fa21e169f2b46626e6eae2145 (diff)
parenta8c2454d52d3c23bd53b4a172eff8e5f4af30168 (diff)
downloadframeworks_native-ba46148fee9a84de924c3e27c973f7748baca02b.zip
frameworks_native-ba46148fee9a84de924c3e27c973f7748baca02b.tar.gz
frameworks_native-ba46148fee9a84de924c3e27c973f7748baca02b.tar.bz2
am a8c2454d: fix build: media: add back legacy name for VideoGrallocMetadata
* commit 'a8c2454d52d3c23bd53b4a172eff8e5f4af30168': fix build: media: add back legacy name for VideoGrallocMetadata
Diffstat (limited to 'include')
-rw-r--r--include/media/hardware/HardwareAPI.h6
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;