OSDN Git Service

media: refine kMetadataBufferTypes
authorLajos Molnar <lajos@google.com>
Sat, 16 May 2015 03:31:57 +0000 (20:31 -0700)
committerLajos Molnar <lajos@google.com>
Sat, 30 May 2015 02:05:41 +0000 (19:05 -0700)
commit9f590df0b73d14e0c30e970098f2369403eb2617
tree2a953d5a67e8e67038604cefcd1985b12f2f00de
parent1c4537e2e80aa776a61517be8b1605e36432287a
media: refine kMetadataBufferTypes

- Fix kMetadataBufferTypeANWBuffer, so that it only relies on
system/core structures. This resolves potential linker issues if
the framework changes.
- Add fence to be passed with kMetadataBufferTypeANWBuffer.
- Add utility structures to access the metadata buffer layouts.

Related-bug: 19614055
Bug: 13222807
Bug: 12386081
Change-Id: I608958fd394b08cc3396bcbd5cdd350b87bc66f3
include/media/hardware/HardwareAPI.h
include/media/hardware/MetadataBufferType.h