diff options
author | Andy Hung <hunga@google.com> | 2014-05-02 11:05:04 -0700 |
---|---|---|
committer | Andy Hung <hunga@google.com> | 2014-05-14 16:43:03 -0700 |
commit | 609b815a3131d22da38b2f452faa9f89daad4039 (patch) | |
tree | 16645cc8f518457029ff97cbcdc837599846a076 /include | |
parent | 021cf9634ab09c0753a40b7c9ef4ba603be5c3da (diff) | |
download | frameworks_av-609b815a3131d22da38b2f452faa9f89daad4039.zip frameworks_av-609b815a3131d22da38b2f452faa9f89daad4039.tar.gz frameworks_av-609b815a3131d22da38b2f452faa9f89daad4039.tar.bz2 |
Update OMX messages for 64 bit
Change node_id and buffer_id to uint32_t.
Ensure IOMX messages are fixed size.
Remove 64 bit compile warnings in associated files.
Change-Id: Icdbef00aca575e5dc502ebb52e3ce7d0d7883203
Signed-off-by: Andy Hung <hunga@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/IOMX.h | 4 | ||||
-rw-r--r-- | include/media/stagefright/MediaCodec.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h index 176f72d..dd13fea 100644 --- a/include/media/IOMX.h +++ b/include/media/IOMX.h @@ -38,8 +38,8 @@ class IOMX : public IInterface { public: DECLARE_META_INTERFACE(OMX); - typedef void *buffer_id; - typedef void *node_id; + typedef uint32_t buffer_id; + typedef uint32_t node_id; // Given a node_id and the calling process' pid, returns true iff // the implementation of the OMX interface lives in the same diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h index 39e57de..a1e32c9 100644 --- a/include/media/stagefright/MediaCodec.h +++ b/include/media/stagefright/MediaCodec.h @@ -185,7 +185,7 @@ private: }; struct BufferInfo { - void *mBufferID; + uint32_t mBufferID; sp<ABuffer> mData; sp<ABuffer> mEncryptedData; sp<AMessage> mNotify; |