Home
last modified time | relevance | path

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

12345678910

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2DecoderBase.cpp32 NuPlayer2::DecoderBase::DecoderBase(const sp<AMessage> &notify) in DecoderBase()
36 mStats(new AMessage), in DecoderBase()
53 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse()
67 void NuPlayer2::DecoderBase::configure(const sp<AMessage> &format) { in configure()
68 sp<AMessage> msg = new AMessage(kWhatConfigure, this); in configure()
82 void NuPlayer2::DecoderBase::setParameters(const sp<AMessage> &params) { in setParameters()
83 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); in setParameters()
89 sp<AMessage> msg = new AMessage(kWhatSetRenderer, this); in setRenderer()
95 sp<AMessage> msg = new AMessage(kWhatPause, this); in pause()
97 sp<AMessage> response; in pause()
[all …]
DNuPlayer2Decoder.h32 Decoder(const sp<AMessage> &notify,
40 virtual sp<AMessage> getStats() const;
50 virtual void onMessageReceived(const sp<AMessage> &msg);
52 virtual void onConfigure(const sp<AMessage> &format);
53 virtual void onSetParameters(const sp<AMessage> &params);
82 List<sp<AMessage> > mPendingInputMessages;
125 void handleOutputFormatChange(const sp<AMessage> &format);
128 bool isStaleReply(const sp<AMessage> &msg);
131 status_t fetchInputData(sp<AMessage> &reply);
132 bool onInputBufferFetched(const sp<AMessage> &msg);
[all …]
DNuPlayer2.cpp176 explicit PostMessageAction(const sp<AMessage> &msg) in PostMessageAction()
185 sp<AMessage> mMessage;
277 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in createNuPlayer2Source()
398 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
420 sp<AMessage> msg = new AMessage(kWhatPrepareNextDataSource, this); in prepareNextDataSourceAsync()
429 sp<AMessage> msg = new AMessage(kWhatPlayNextDataSource, this); in playNextDataSource()
436 sp<AMessage> msg = new AMessage(kWhatGetBufferingSettings, this); in getBufferingSettings()
437 sp<AMessage> response; in getBufferingSettings()
449 sp<AMessage> msg = new AMessage(kWhatSetBufferingSettings, this); in setBufferingSettings()
451 sp<AMessage> response; in setBufferingSettings()
[all …]
DNuPlayer2DecoderBase.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() const { 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;
DNuPlayer2Renderer.cpp92 const sp<AMessage> &notify, in Renderer()
162 const sp<AMessage> &notifyConsumed) { in queueBuffer()
163 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); in queueBuffer()
174 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); in queueEOS()
182 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings()
184 sp<AMessage> response; in setPlaybackSettings()
217 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings()
218 sp<AMessage> response; in getPlaybackSettings()
250 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
252 sp<AMessage> response; in setSyncSettings()
[all …]
DNuPlayer2Renderer.h40 const sp<AMessage> &notify,
51 const sp<AMessage> &notifyConsumed);
76 const sp<AMessage> &format,
86 const sp<AMessage> &format,
91 const sp<AMessage> &notify);
112 virtual void onMessageReceived(const sp<AMessage> &msg);
142 sp<AMessage> mMeta;
143 sp<AMessage> mNotifyConsumed;
153 sp<AMessage> mNotify;
252 void onQueueBuffer(const sp<AMessage> &msg);
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderBase.cpp32 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> &notify) in DecoderBase()
36 mStats(new AMessage), in DecoderBase()
51 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse()
65 void NuPlayer::DecoderBase::configure(const sp<AMessage> &format) { in configure()
66 sp<AMessage> msg = new AMessage(kWhatConfigure, this); in configure()
80 void NuPlayer::DecoderBase::setParameters(const sp<AMessage> &params) { in setParameters()
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()
[all …]
DNuPlayerDecoder.h29 Decoder(const sp<AMessage> &notify,
37 virtual sp<AMessage> getStats() const;
47 virtual void onMessageReceived(const sp<AMessage> &msg);
49 virtual void onConfigure(const sp<AMessage> &format);
50 virtual void onSetParameters(const sp<AMessage> &params);
76 sp<AMessage> mInputFormat;
77 sp<AMessage> mOutputFormat;
81 List<sp<AMessage> > mPendingInputMessages;
124 void handleOutputFormatChange(const sp<AMessage> &format);
128 bool isStaleReply(const sp<AMessage> &msg);
[all …]
DNuPlayer.cpp141 explicit PostMessageAction(const sp<AMessage> &msg) in PostMessageAction()
150 sp<AMessage> mMessage;
226 sp<AMessage> notify = new AMessage(kWhatMediaClockNotify, this); in init()
231 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
233 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
262 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
265 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
307 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
309 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync()
330 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync()
[all …]
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() const { 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;
DNuPlayerRenderer.cpp93 const sp<AMessage> &notify, in Renderer()
163 const sp<AMessage> &notifyConsumed) { in queueBuffer()
164 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); in queueBuffer()
175 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); in queueEOS()
183 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings()
185 sp<AMessage> response; in setPlaybackSettings()
218 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings()
219 sp<AMessage> response; in getPlaybackSettings()
251 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings()
253 sp<AMessage> response; in setSyncSettings()
[all …]
DNuPlayerRenderer.h40 const sp<AMessage> &notify,
51 const sp<AMessage> &notifyConsumed);
76 const sp<AMessage> &format,
86 const sp<AMessage> &format,
91 const sp<AMessage> &notify);
112 virtual void onMessageReceived(const sp<AMessage> &msg);
142 sp<AMessage> mMeta;
143 sp<AMessage> mNotifyConsumed;
153 sp<AMessage> mNotify;
252 void onQueueBuffer(const sp<AMessage> &msg);
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h54 void initiateSetup(const sp<AMessage> &msg);
57 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
58 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
74 virtual void signalSetParameters(const sp<AMessage> &msg);
79 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
239 sp<AMessage> mConfigFormat;
240 sp<AMessage> mInputFormat;
241 sp<AMessage> mOutputFormat;
245 sp<AMessage> mBaseOutputFormat;
252 List<sp<AMessage> > mDeferredQueue;
[all …]
DUtils.h31 struct AMessage;
33 const sp<MetaData> &meta, sp<AMessage> *format);
35 const sp<AMessage> &format, sp<MetaData> &meta);
62 sp<AMessage> mMeta;
64 explicit HLSTime(const sp<AMessage> &meta = NULL);
72 void writeToAMessage(const sp<AMessage> &msg, const AudioPlaybackRate &rate);
73 void readFromAMessage(const sp<AMessage> &msg, AudioPlaybackRate *rate /* nonnull */);
75 void writeToAMessage(const sp<AMessage> &msg, const AVSyncSettings &sync, float videoFpsHint);
77 const sp<AMessage> &msg, AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */);
79 void writeToAMessage(const sp<AMessage> &msg, const BufferingSettings &buffering);
[all …]
DMediaFilter.h33 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
34 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
45 virtual void signalSetParameters(const sp<AMessage> &msg);
48 virtual void onMessageReceived(const sp<AMessage> &msg);
104 sp<AMessage> mInputFormat;
105 sp<AMessage> mOutputFormat;
132 void onAllocateComponent(const sp<AMessage> &msg);
133 void onConfigureComponent(const sp<AMessage> &msg);
135 void onInputBufferFilled(const sp<AMessage> &msg);
136 void onOutputBufferDrained(const sp<AMessage> &msg);
[all …]
DMediaCodec.h36 struct AMessage;
93 const sp<AMessage> &format,
99 const sp<AMessage> &format,
107 status_t setCallback(const sp<AMessage> &callback);
109 status_t setOnFrameRenderedNotification(const sp<AMessage> &notify);
168 status_t getOutputFormat(sp<AMessage> *format) const;
169 status_t getInputFormat(sp<AMessage> *format) const;
175 status_t getOutputFormat(size_t index, sp<AMessage> *format);
185 void requestActivityNotification(const sp<AMessage> &notify);
193 status_t setParameters(const sp<AMessage> &params);
[all …]
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp41 status_t AReplyToken::setReply(const sp<AMessage> &reply) { in setReply()
52 AMessage::AMessage(void) in AMessage() function in android::AMessage
58 AMessage::AMessage(uint32_t what, const sp<const AHandler> &handler) in AMessage() function in android::AMessage
64 AMessage::~AMessage() { in ~AMessage()
68 void AMessage::setWhat(uint32_t what) { in setWhat()
72 uint32_t AMessage::what() const { in what()
76 void AMessage::setTarget(const sp<const AHandler> &handler) { in setTarget()
88 void AMessage::clear() { in clear()
98 void AMessage::freeItemValue(Item *item) { in freeItemValue()
152 inline size_t AMessage::findItemIndex(const char *name, size_t len) const { in findItemIndex()
[all …]
/frameworks/wilhelm/src/android/
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()
161 (new AMessage(kWhatPause, this))->post(); in stop()
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()
211 (new AMessage(kWhatVolumeUpdate, this))->post(); in setVolume()
219 sp<AMessage> msg = new AMessage(kWhatAttachAuxEffect, this); in attachAuxEffect()
229 sp<AMessage> msg = new AMessage(kWhatSetAuxEffectSendLevel, this); in setAuxEffectSendLevel()
[all …]
/frameworks/av/media/libstagefright/
DMediaCodec.cpp255 explicit BufferCallback(const sp<AMessage> &notify);
263 const sp<AMessage> mNotify;
266 BufferCallback::BufferCallback(const sp<AMessage> &notify) in BufferCallback()
271 sp<AMessage> notify(mNotify->dup()); in onInputBufferAvailable()
280 sp<AMessage> notify(mNotify->dup()); in onOutputBufferAvailable()
289 explicit CodecCallback(const sp<AMessage> &notify);
300 const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) override;
302 const sp<AMessage> &inputFormat,
303 const sp<AMessage> &outputFormat,
307 const sp<AMessage> &inputFormat,
[all …]
DMediaCodecSource.cpp56 status_t start(const sp<MetaData> &meta, const sp<AMessage> &notify);
65 virtual void onMessageReceived(const sp<AMessage> &msg);
77 sp<AMessage> mNotify;
100 status_t postSynchronouslyAndReturnError(const sp<AMessage> &msg);
154 const sp<AMessage> &msg) { in postSynchronouslyAndReturnError()
155 sp<AMessage> response; in postSynchronouslyAndReturnError()
170 sp<AMessage> msg = new AMessage(kWhatSetStopTimeUs, this); in setStopTimeUs()
175 status_t MediaCodecSource::Puller::start(const sp<MetaData> &meta, const sp<AMessage> &notify) { in start()
184 sp<AMessage> msg = new AMessage(kWhatStart, this); in start()
212 sp<AMessage> msg = new AMessage(kWhatStop, this); in stopSource()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h41 friend struct AMessage;
44 sp<AMessage> mReply;
51 bool retrieveReply(sp<AMessage> *reply) { in retrieveReply()
59 status_t setReply(const sp<AMessage> &reply);
62 struct AMessage : public RefBase { struct
63 AMessage();
64 AMessage(uint32_t what, const sp<const AHandler> &handler);
83 static sp<AMessage> FromParcel(const Parcel &parcel,
108 void setMessage(const char *name, const sp<AMessage> &obj);
125 bool findMessage(const char *name, sp<AMessage> *obj) const;
[all …]
/frameworks/av/media/libstagefright/rtsp/
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);
51 virtual void onMessageReceived(const sp<AMessage> &msg);
90 KeyedVector<int32_t, sp<AMessage> > mPendingRequests;
92 sp<AMessage> mObserveBinaryMessage;
96 void onConnect(const sp<AMessage> &msg);
97 void onDisconnect(const sp<AMessage> &msg);
98 void onCompleteConnection(const sp<AMessage> &msg);
[all …]
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp49 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse()
63 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSource()
65 sp<AMessage> response; in setDataSource()
70 sp<AMessage> msg = new AMessage(kWhatSetSurface, this); in setSurface()
79 sp<AMessage> response; in setSurface()
84 sp<AMessage> msg = new AMessage(kWhatPrepare, this); in prepare()
85 sp<AMessage> response; in prepare()
90 sp<AMessage> msg = new AMessage(kWhatStart, this); in start()
91 sp<AMessage> response; in start()
96 sp<AMessage> msg = new AMessage(kWhatStop, this); in stop()
[all …]
/frameworks/av/include/media/
DMediaCodecBuffer.h28 struct AMessage;
36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer);
55 sp<AMessage> meta();
56 sp<AMessage> format();
58 void setFormat(const sp<AMessage> &format);
63 const sp<AMessage> mMeta;
64 sp<AMessage> mFormat;
/frameworks/av/media/libmedia/include/media/
DMediaCodecBuffer.h28 struct AMessage;
36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer);
55 sp<AMessage> meta();
56 sp<AMessage> format();
58 void setFormat(const sp<AMessage> &format);
63 const sp<AMessage> mMeta;
64 sp<AMessage> mFormat;

12345678910