Home
last modified time | relevance | path

Searched refs:AMessage (Results 1 – 25 of 263) sorted by relevance

1234567891011

/aosp12/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderBase.cpp36 mStats(new AMessage), in DecoderBase()
51 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse()
66 sp<AMessage> msg = new AMessage(kWhatConfigure, this); in configure()
81 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); in setParameters()
87 sp<AMessage> msg = new AMessage(kWhatSetRenderer, this); in setRenderer()
93 sp<AMessage> msg = new AMessage(kWhatPause, this); in pause()
95 sp<AMessage> response; in pause()
104 sp<AMessage> msg = new AMessage(kWhatResume, this); in signalResume()
122 sp<AMessage> msg = new AMessage(kWhatRequestInputBuffers, this); in onRequestInputBuffers()
132 sp<AMessage> format; in onMessageReceived()
[all …]
H A DNuPlayerDecoder.h29 Decoder(const sp<AMessage> &notify,
37 virtual sp<AMessage> getStats();
49 virtual void onConfigure(const sp<AMessage> &format);
76 sp<AMessage> mInputFormat;
77 sp<AMessage> mOutputFormat;
81 List<sp<AMessage> > mPendingInputMessages;
128 bool isStaleReply(const sp<AMessage> &msg);
131 status_t fetchInputData(sp<AMessage> &reply);
132 bool onInputBufferFetched(const sp<AMessage> &msg);
133 void onRenderBuffer(const sp<AMessage> &msg);
[all …]
H A DNuPlayer.cpp600 sp<AMessage> response = new AMessage; in onMessageReceived()
623 sp<AMessage> response = new AMessage; in onMessageReceived()
668 sp<AMessage> response = new AMessage; in onMessageReceived()
700 sp<AMessage> response = new AMessage; in onMessageReceived()
752 sp<AMessage> response = new AMessage; in onMessageReceived()
931 sp<AMessage> response = new AMessage; in onMessageReceived()
954 sp<AMessage> response = new AMessage; in onMessageReceived()
980 sp<AMessage> response = new AMessage; in onMessageReceived()
1000 sp<AMessage> response = new AMessage; in onMessageReceived()
2022 sp<AMessage> params = new AMessage(); in instantiateDecoder()
[all …]
H A DNuPlayerRenderer.cpp186 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); in queueBuffer()
197 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); in queueEOS()
273 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
339 sp<AMessage> msg = new AMessage(kWhatFlush, this); in flush()
484 sp<AMessage> meta = new AMessage; in changeAudioFormat()
519 sp<AMessage> response = new AMessage; in onMessageReceived()
537 sp<AMessage> response = new AMessage; in onMessageReceived()
687 sp<AMessage> response = new AMessage; in onMessageReceived()
699 sp<AMessage> response = new AMessage; in onMessageReceived()
716 sp<AMessage> response = new AMessage; in onMessageReceived()
[all …]
H A DNuPlayerDecoderBase.h34 explicit DecoderBase(const sp<AMessage> &notify);
36 void configure(const sp<AMessage> &format);
38 void setParameters(const sp<AMessage> &params);
50 virtual sp<AMessage> getStats() { in getStats()
74 virtual void onMessageReceived(const sp<AMessage> &msg);
76 virtual void onConfigure(const sp<AMessage> &format) = 0;
77 virtual void onSetParameters(const sp<AMessage> &params) = 0;
87 sp<AMessage> mNotify;
90 sp<AMessage> mStats;
H A DHTTPLiveSource.cpp42 const sp<AMessage> &notify, in HTTPLiveSource()
111 sp<AMessage> notify = new AMessage(kWhatSessionNotify, this); in prepareAsync()
150 sp<AMessage> format; in getFormat()
152 format = new AMessage(); in getFormat()
229 sp<AMessage> msg = new AMessage(what, this); in selectTrack()
263 sp<AMessage> notify = dupNotify(); in pollForRawData()
384 sp<AMessage> reply; in onSessionNotify()
387 sp<AMessage> notify = dupNotify(); in onSessionNotify()
398 sp<AMessage> notify = dupNotify(); in onSessionNotify()
406 sp<AMessage> notify = dupNotify(); in onSessionNotify()
[all …]
H A DNuPlayerRenderer.h42 const sp<AMessage> &notify,
53 const sp<AMessage> &notifyConsumed);
78 const sp<AMessage> &format,
88 const sp<AMessage> &format,
93 const sp<AMessage> &notify);
144 sp<AMessage> mMeta;
145 sp<AMessage> mNotifyConsumed;
155 sp<AMessage> mNotify;
261 void onFlush(const sp<AMessage> &msg);
278 const sp<AMessage> &format,
[all …]
H A DNuPlayerDecoder.cpp128 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this); in setVideoSurface()
131 sp<AMessage> response; in setVideoSurface()
267 sp<AMessage> response = new AMessage; in onMessageReceived()
382 sp<AMessage> reply = new AMessage(kWhatCodecNotify, this); in onConfigure()
459 sp<AMessage> codecParams = new AMessage(); in onSetParameters()
574 sp<AMessage> msg = new AMessage(); in doRequestBuffers()
611 sp<AMessage> msg = new AMessage(kWhatDrmReleaseCrypto, this); in releaseCrypto()
636 sp<AMessage> response = new AMessage; in onReleaseCrypto()
687 sp<AMessage> msg = new AMessage(); in handleAnInputBuffer()
762 sp<AMessage> reply = new AMessage(kWhatRenderBuffer, this); in handleAnOutputBuffer()
[all …]
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A DACodec.h256 sp<AMessage> mConfigFormat;
257 sp<AMessage> mInputFormat;
258 sp<AMessage> mOutputFormat;
380 sp<AMessage> &outputformat, sp<AMessage> &inputformat);
414 const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
429 sp<AMessage> &outputFormat, sp<AMessage> &inputFormat);
457 OMX_U32 portIndex, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat);
531 const sp<AMessage> &msg, bool inConfigure, sp<AMessage> &outputFormat);
538 status_t setupHEVCEncoderParameters(const sp<AMessage> &msg, sp<AMessage> &outputFormat);
539 status_t setupVPXEncoderParameters(const sp<AMessage> &msg, sp<AMessage> &outputFormat);
[all …]
H A DMediaCodec.h47 struct AMessage;
119 const sp<AMessage> &format,
125 const sp<AMessage> &format,
187 const sp<AMessage> &tunings,
202 const sp<AMessage> &tunings,
432 sp<AMessage> mOutputFormat;
433 sp<AMessage> mInputFormat;
434 sp<AMessage> mCallback;
452 sp<AMessage> mConfigureMsg;
491 sp<AMessage> mActivityNotify;
[all …]
H A DUtils.h31 struct AMessage;
33 const MetaDataBase *meta, sp<AMessage> *format);
35 const sp<MetaData> &meta, sp<AMessage> *format);
37 const sp<AMessage> &format, sp<MetaData> &meta);
64 sp<AMessage> mMeta;
66 explicit HLSTime(const sp<AMessage> &meta = NULL);
74 void writeToAMessage(const sp<AMessage> &msg, const AudioPlaybackRate &rate);
75 void readFromAMessage(const sp<AMessage> &msg, AudioPlaybackRate *rate /* nonnull */);
77 void writeToAMessage(const sp<AMessage> &msg, const AVSyncSettings &sync, float videoFpsHint);
81 void writeToAMessage(const sp<AMessage> &msg, const BufferingSettings &buffering);
[all …]
H A DMediaFilter.h31 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
43 virtual void signalSetParameters(const sp<AMessage> &msg);
46 virtual void onMessageReceived(const sp<AMessage> &msg);
104 sp<AMessage> mInputFormat;
105 sp<AMessage> mOutputFormat;
131 void onAllocateComponent(const sp<AMessage> &msg);
132 void onConfigureComponent(const sp<AMessage> &msg);
134 void onInputBufferFilled(const sp<AMessage> &msg);
135 void onOutputBufferDrained(const sp<AMessage> &msg);
136 void onShutdown(const sp<AMessage> &msg);
[all …]
/aosp12/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp55 AMessage::AMessage(void) in AMessage() function in android::AMessage
60 AMessage::AMessage(uint32_t what, const sp<const AHandler> &handler) in AMessage() function in android::AMessage
65 AMessage::~AMessage() { in ~AMessage()
195 AMessage::Item *AMessage::allocateItem(const char *name) { in allocateItem()
214 const AMessage::Item *AMessage::findItem( in findItem()
480 sp<AMessage> AMessage::dup() const { in dup()
666 sp<AMessage> msg = new AMessage(); in FromParcel()
741 sp<AMessage> subMsg = AMessage::FromParcel( in FromParcel()
830 sp<AMessage> AMessage::changesFrom(const sp<const AMessage> &other, bool deep) const { in changesFrom()
835 sp<AMessage> diff = new AMessage; in changesFrom()
[all …]
/aosp12/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp139 sp<AMessage> msg = new AMessage(kWhatPrepare, this); in prepare()
147 sp<AMessage> msg = new AMessage(kWhatPlay, this); in play()
154 sp<AMessage> msg = new AMessage(kWhatPause, this); in pause()
174 sp<AMessage> msg = new AMessage(kWhatSeek, this); in seek()
182 sp<AMessage> msg = new AMessage(kWhatLoop, this); in loop()
190 sp<AMessage> msg = new AMessage(kWhatBuffUpdateThres, this); in setBufferingUpdateThreshold()
219 sp<AMessage> msg = new AMessage(kWhatAttachAuxEffect, this); in attachAuxEffect()
260 sp<AMessage> msg = new AMessage(kWhatSetPlayEvents, this); in setPlayEvents()
288 sp<AMessage> msg = new AMessage(kWhatNotif, this); in notify()
301 sp<AMessage> msg = new AMessage(kWhatNotif, this); in notify()
[all …]
H A Dandroid_GenericPlayer.h131 virtual void onMessageReceived(const sp<AMessage> &msg);
135 virtual void onNotify(const sp<AMessage> &msg);
138 virtual void onSeek(const sp<AMessage> &msg);
139 virtual void onLoop(const sp<AMessage> &msg);
142 virtual void onBufferingUpdate(const sp<AMessage> &msg);
143 virtual void onSetBufferingUpdateThreshold(const sp<AMessage> &msg);
144 virtual void onAttachAuxEffect(const sp<AMessage> &msg);
145 virtual void onSetAuxEffectSendLevel(const sp<AMessage> &msg);
146 void onSetPlayEvents(const sp<AMessage> &msg);
147 void onOneShot(const sp<AMessage> &msg);
/aosp12/frameworks/av/media/libstagefright/
H A DMediaCodecSource.cpp248 sp<AMessage> response = new AMessage; in onMessageReceived()
265 sp<AMessage> response = new AMessage; in onMessageReceived()
275 sp<AMessage> response = new AMessage; in onMessageReceived()
437 sp<AMessage> params = new AMessage; in setEncodingBitrate()
696 sp<AMessage> params = new AMessage; in resume()
838 sp<AMessage> params = new AMessage; in onStart()
873 sp<AMessage> params = new AMessage; in onPause()
1037 sp<AMessage> response = new AMessage; in onMessageReceived()
1142 sp<AMessage> response = new AMessage; in onMessageReceived()
1164 sp<AMessage> response = new AMessage; in onMessageReceived()
[all …]
H A DMediaCodec.cpp1312 sp<AMessage> response = new AMessage; in PostReplyWithError()
2197 sp<AMessage> response = new AMessage; in onReleaseCrypto()
2908 sp<AMessage> response = new AMessage; in handleDequeueInputBuffer()
2925 sp<AMessage> response = new AMessage; in handleDequeueOutputBuffer()
3640 sp<AMessage> format = new AMessage; in onMessageReceived()
3689 sp<AMessage> response = new AMessage; in onMessageReceived()
4372 sp<AMessage> response = new AMessage; in onMessageReceived()
4403 sp<AMessage> response = new AMessage; in onMessageReceived()
4414 sp<AMessage> response = new AMessage; in onMessageReceived()
5041 sp<AMessage> data = new AMessage; in onReleaseOutputBuffer()
[all …]
/aosp12/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp49 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse()
84 sp<AMessage> msg = new AMessage(kWhatPrepare, this); in prepare()
90 sp<AMessage> msg = new AMessage(kWhatStart, this); in start()
96 sp<AMessage> msg = new AMessage(kWhatStop, this); in stop()
102 sp<AMessage> msg = new AMessage(kWhatReset, this); in reset()
122 sp<AMessage> response = new AMessage; in onMessageReceived()
143 sp<AMessage> response = new AMessage; in onMessageReceived()
165 sp<AMessage> response = new AMessage; in onMessageReceived()
198 sp<AMessage> response = new AMessage; in onMessageReceived()
221 sp<AMessage> response = new AMessage; in onMessageReceived()
[all …]
/aosp12/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAMessage.h43 friend struct AMessage;
46 sp<AMessage> mReply;
53 bool retrieveReply(sp<AMessage> *reply) { in retrieveReply()
61 status_t setReply(const sp<AMessage> &reply);
64 struct AMessage : public RefBase { struct
65 AMessage();
162 sp<AMessage> dup() const;
165 void extend(const sp<AMessage> &other);
174 sp<AMessage> changesFrom(const sp<const AMessage> &other, bool deep = false) const;
279 virtual ~AMessage();
[all …]
/aosp12/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h192 sp<AMessage> notify = new AMessage('biny', this); in connect()
195 sp<AMessage> reply = new AMessage('conn', this); in connect()
203 sp<AMessage> notify = new AMessage('biny', this); in loadSDP()
206 sp<AMessage> reply = new AMessage('sdpl', this); in loadSDP()
237 sp<AMessage> msg = new AMessage('seek', this); in seek()
244 sp<AMessage> msg = new AMessage('see1', this); in continueSeekAfterPause()
254 sp<AMessage> msg = new AMessage('paus', this); in pause()
261 sp<AMessage> msg = new AMessage('resu', this); in resume()
1428 sp<AMessage> msg = new AMessage('aliv', this); in postKeepAlive()
1444 sp<AMessage> check = new AMessage('chek', this); in postAccessUnitTimeoutCheck()
[all …]
H A DARTSPConnection.h38 void connect(const char *url, const sp<AMessage> &reply);
39 void disconnect(const sp<AMessage> &reply);
41 void sendRequest(const char *request, const sp<AMessage> &reply);
43 void observeBinaryData(const sp<AMessage> &reply);
53 virtual void onMessageReceived(const sp<AMessage> &msg);
93 KeyedVector<int32_t, sp<AMessage> > mPendingRequests;
95 sp<AMessage> mObserveBinaryMessage;
99 void onConnect(const sp<AMessage> &msg);
100 void onDisconnect(const sp<AMessage> &msg);
101 void onCompleteConnection(const sp<AMessage> &msg);
[all …]
/aosp12/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp48 BufferChannel(const sp<AMessage> &in, const sp<AMessage> &out) in BufferChannel()
143 sp<AMessage> mInputBufferFilled;
144 sp<AMessage> mOutputBufferDrained;
204 (new AMessage(kWhatStart, this))->post(); in initiateStart()
208 sp<AMessage> msg = new AMessage(kWhatShutdown, this); in initiateShutdown()
227 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); in signalSetParameters()
394 sp<AMessage> reply = new AMessage(kWhatInputBufferFilled, this); in postFillThisBuffer()
407 sp<AMessage> reply = new AMessage(kWhatOutputBufferDrained, this); in postDrainThisBuffer()
565 mInputFormat = new AMessage(); in onConfigureComponent()
574 mOutputFormat = new AMessage(); in onConfigureComponent()
[all …]
/aosp12/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.h58 const sp<AMessage> &notify,
81 void resumeUntilAsync(const sp<AMessage> &params);
91 virtual void onMessageReceived(const sp<AMessage> &msg);
117 sp<AMessage> mNotify;
118 sp<AMessage> mStartTimeUsNotify;
183 sp<AMessage> mSampleAesKeyItem;
221 status_t onStart(const sp<AMessage> &msg);
223 void onStop(const sp<AMessage> &msg);
231 sp<AMessage> &itemMeta,
236 status_t onResumeUntil(const sp<AMessage> &msg);
[all …]
/aosp12/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.h69 const sp<AMessage> &extra,
81 sp<AMessage> getLatestEnqueuedMeta();
82 sp<AMessage> getLatestDequeuedMeta();
83 sp<AMessage> getMetaAfterLastDequeued(int64_t delayUs);
85 void trimBuffersAfterMeta(const sp<AMessage> &meta);
86 sp<AMessage> trimBuffersBeforeMeta(const sp<AMessage> &meta);
122 sp<AMessage> mLatestEnqueuedMeta;
123 sp<AMessage> mLatestDequeuedMeta;
/aosp12/frameworks/av/media/libmedia/include/media/
H A DMediaCodecBuffer.h30 struct AMessage;
38 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer);
57 sp<AMessage> meta();
58 sp<AMessage> format();
60 void setFormat(const sp<AMessage> &format);
95 const sp<AMessage> mMeta;
96 sp<AMessage> mFormat;

1234567891011