diff options
author | Andreas Huber <andih@google.com> | 2010-12-06 10:36:06 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-12-06 12:45:50 -0800 |
commit | 14acc736e336cbd6026df781d4f411e908831815 (patch) | |
tree | ed12a1452bb0e9a7bc9d9a3b4deb00458e90c852 /include/media/stagefright/foundation | |
parent | a44153c1a57202fb538659eb50706e60454d6273 (diff) | |
download | frameworks_av-14acc736e336cbd6026df781d4f411e908831815.zip frameworks_av-14acc736e336cbd6026df781d4f411e908831815.tar.gz frameworks_av-14acc736e336cbd6026df781d4f411e908831815.tar.bz2 |
API Support for both synchronous and queued commands, optionally associated metadata.
Change-Id: Idb90d64cb638942210c5822b3cba2f05b087d601
Diffstat (limited to 'include/media/stagefright/foundation')
-rw-r--r-- | include/media/stagefright/foundation/AMessage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/stagefright/foundation/AMessage.h b/include/media/stagefright/foundation/AMessage.h index c674cba..2fbdddc 100644 --- a/include/media/stagefright/foundation/AMessage.h +++ b/include/media/stagefright/foundation/AMessage.h @@ -26,10 +26,14 @@ namespace android { struct AString; +struct Parcel; struct AMessage : public RefBase { AMessage(uint32_t what = 0, ALooper::handler_id target = 0); + static sp<AMessage> FromParcel(const Parcel &parcel); + void writeToParcel(Parcel *parcel) const; + void setWhat(uint32_t what); uint32_t what() const; |