/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoderBase.cpp | 32 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> ¬ify) 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> ¶ms) { 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 …]
|
D | NuPlayerDecoder.h | 29 Decoder(const sp<AMessage> ¬ify, 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> ¶ms); 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 …]
|
D | NuPlayer.cpp | 140 explicit PostMessageAction(const sp<AMessage> &msg) in PostMessageAction() 149 sp<AMessage> mMessage; 223 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync() 225 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() 254 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync() 257 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() 299 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync() 301 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() 322 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); in setDataSourceAsync() 323 sp<AMessage> notify = new AMessage(kWhatSourceNotify, this); in setDataSourceAsync() [all …]
|
D | NuPlayerDecoderBase.h | 34 explicit DecoderBase(const sp<AMessage> ¬ify); 36 void configure(const sp<AMessage> &format); 38 void setParameters(const sp<AMessage> ¶ms); 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> ¶ms) = 0; 87 sp<AMessage> mNotify; 90 sp<AMessage> mStats;
|
D | GenericSource.cpp | 52 const sp<AMessage> ¬ify, in GenericSource() 339 sp<AMessage> msg = new AMessage(kWhatPrepareAsync, this); in prepareAsync() 431 sp<AMessage> msg = new AMessage; in onPrepareAsync() 515 (new AMessage(kWhatStart, this))->post(); in start() 529 (new AMessage(kWhatResume, this))->post(); in resume() 554 void NuPlayer::GenericSource::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() 686 sp<AMessage> response = new AMessage; in onMessageReceived() 697 sp<AMessage> response = new AMessage; in onMessageReceived() 716 const sp<AMessage>& msg) { in fetchTextData() 740 sp<AMessage> msg2 = new AMessage(sendWhat, this); in fetchTextData() [all …]
|
D | NuPlayerRenderer.h | 39 const sp<AMessage> ¬ify, 50 const sp<AMessage> ¬ifyConsumed); 75 const sp<AMessage> &format, 85 const sp<AMessage> &format, 90 const sp<AMessage> ¬ify); 111 virtual void onMessageReceived(const sp<AMessage> &msg); 141 sp<AMessage> mMeta; 142 sp<AMessage> mNotifyConsumed; 152 sp<AMessage> mNotify; 250 void onQueueBuffer(const sp<AMessage> &msg); [all …]
|
D | NuPlayerRenderer.cpp | 92 const sp<AMessage> ¬ify, in Renderer() 161 const sp<AMessage> ¬ifyConsumed) { in queueBuffer() 162 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); in queueBuffer() 173 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); in queueEOS() 181 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); in setPlaybackSettings() 183 sp<AMessage> response; in setPlaybackSettings() 216 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); in getPlaybackSettings() 217 sp<AMessage> response; in getPlaybackSettings() 249 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); in setSyncSettings() 251 sp<AMessage> response; in setSyncSettings() [all …]
|
D | HTTPLiveSource.cpp | 43 const sp<AMessage> ¬ify, in HTTPLiveSource() 130 sp<AMessage> notify = new AMessage(kWhatSessionNotify, this); in prepareAsync() 159 sp<AMessage> NuPlayer::HTTPLiveSource::getFormat(bool audio) { in getFormat() 169 sp<AMessage> format; in getFormat() 171 format = new AMessage(); in getFormat() 202 sp<AMessage> NuPlayer::HTTPLiveSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 248 sp<AMessage> msg = new AMessage(what, this); in selectTrack() 269 const sp<AMessage> &msg, int32_t currentGeneration, in pollForRawData() 282 sp<AMessage> notify = dupNotify(); in pollForRawData() 311 void NuPlayer::HTTPLiveSource::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | ACodec.h | 65 void initiateSetup(const sp<AMessage> &msg); 68 virtual void initiateAllocateComponent(const sp<AMessage> &msg); 69 virtual void initiateConfigureComponent(const sp<AMessage> &msg); 84 virtual void signalSetParameters(const sp<AMessage> &msg); 89 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() 254 sp<AMessage> mConfigFormat; 255 sp<AMessage> mInputFormat; 256 sp<AMessage> mOutputFormat; 260 sp<AMessage> mBaseOutputFormat; 267 List<sp<AMessage> > mDeferredQueue; [all …]
|
D | Utils.h | 46 struct AMessage; 48 const sp<MetaData> &meta, sp<AMessage> *format); 50 const sp<AMessage> &format, sp<MetaData> &meta); 77 sp<AMessage> mMeta; 79 explicit HLSTime(const sp<AMessage> &meta = NULL); 87 void writeToAMessage(const sp<AMessage> &msg, const AudioPlaybackRate &rate); 88 void readFromAMessage(const sp<AMessage> &msg, AudioPlaybackRate *rate /* nonnull */); 90 void writeToAMessage(const sp<AMessage> &msg, const AVSyncSettings &sync, float videoFpsHint); 92 const sp<AMessage> &msg, AVSyncSettings *sync /* nonnull */, float *videoFps /* nonnull */); 94 void writeToAMessage(const sp<AMessage> &msg, const BufferingSettings &buffering); [all …]
|
D | MediaCodec.h | 36 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> ¬ify); 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> ¬ify); 191 status_t setParameters(const sp<AMessage> ¶ms); [all …]
|
D | MediaFilter.h | 33 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 …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 41 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() 151 inline size_t AMessage::findItemIndex(const char *name, size_t len) const { in findItemIndex() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 223 explicit BufferCallback(const sp<AMessage> ¬ify); 231 const sp<AMessage> mNotify; 234 BufferCallback::BufferCallback(const sp<AMessage> ¬ify) in BufferCallback() 239 sp<AMessage> notify(mNotify->dup()); in onInputBufferAvailable() 248 sp<AMessage> notify(mNotify->dup()); in onOutputBufferAvailable() 257 explicit CodecCallback(const sp<AMessage> ¬ify); 268 const sp<AMessage> &inputFormat, const sp<AMessage> &outputFormat) override; 270 const sp<AMessage> &inputFormat, 271 const sp<AMessage> &outputFormat, 275 const sp<AMessage> &inputFormat, [all …]
|
D | MediaCodecSource.cpp | 52 status_t start(const sp<MetaData> &meta, const sp<AMessage> ¬ify); 61 virtual void onMessageReceived(const sp<AMessage> &msg); 72 sp<AMessage> mNotify; 95 status_t postSynchronouslyAndReturnError(const sp<AMessage> &msg); 149 const sp<AMessage> &msg) { in postSynchronouslyAndReturnError() 150 sp<AMessage> response; in postSynchronouslyAndReturnError() 164 status_t MediaCodecSource::Puller::start(const sp<MetaData> &meta, const sp<AMessage> ¬ify) { in start() 173 sp<AMessage> msg = new AMessage(kWhatStart, this); in start() 201 sp<AMessage> msg = new AMessage(kWhatStop, this); in stopSource() 216 (new AMessage(kWhatPull, this))->post(); in schedulePull() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | MediaPuller.cpp | 33 const sp<MediaSource> &source, const sp<AMessage> ¬ify) in MediaPuller() 50 const sp<AMessage> &msg) { in postSynchronouslyAndReturnError() 51 sp<AMessage> response; in postSynchronouslyAndReturnError() 66 return postSynchronouslyAndReturnError(new AMessage(kWhatStart, this)); in start() 69 void MediaPuller::stopAsync(const sp<AMessage> ¬ify) { in stopAsync() 70 sp<AMessage> msg = new AMessage(kWhatStop, this); in stopAsync() 76 (new AMessage(kWhatPause, this))->post(); in pause() 80 (new AMessage(kWhatResume, this))->post(); in resume() 83 void MediaPuller::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() 105 sp<AMessage> response = new AMessage; in onMessageReceived() [all …]
|
/frameworks/wilhelm/src/android/ |
D | android_GenericPlayer.cpp | 139 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/include/foundation/ |
D | AMessage.h | 40 friend struct AMessage; 43 sp<AMessage> mReply; 50 bool retrieveReply(sp<AMessage> *reply) { in retrieveReply() 58 status_t setReply(const sp<AMessage> &reply); 61 struct AMessage : public RefBase { struct 62 AMessage(); 63 AMessage(uint32_t what, const sp<const AHandler> &handler); 82 static sp<AMessage> FromParcel(const Parcel &parcel, 107 void setMessage(const char *name, const sp<AMessage> &obj); 124 bool findMessage(const char *name, sp<AMessage> *obj) const; [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.h | 38 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 …]
|
D | MyHandler.h | 117 const sp<AMessage> ¬ify, 178 sp<AMessage> notify = new AMessage('biny', this); in connect() 181 sp<AMessage> reply = new AMessage('conn', this); in connect() 189 sp<AMessage> notify = new AMessage('biny', this); in loadSDP() 192 sp<AMessage> reply = new AMessage('sdpl', this); in loadSDP() 219 (new AMessage('abor', this))->post(); in disconnect() 223 sp<AMessage> msg = new AMessage('seek', this); in seek() 230 sp<AMessage> msg = new AMessage('see1', this); in continueSeekAfterPause() 240 sp<AMessage> msg = new AMessage('paus', this); in pause() 247 sp<AMessage> msg = new AMessage('resu', this); in resume() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 49 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/media/libmedia/include/media/ |
D | MediaCodecBuffer.h | 28 struct AMessage; 36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer); 58 sp<AMessage> meta(); 59 sp<AMessage> format(); 61 void setFormat(const sp<AMessage> &format); 66 const sp<AMessage> mMeta; 67 sp<AMessage> mFormat;
|
/frameworks/av/include/media/ |
D | MediaCodecBuffer.h | 28 struct AMessage; 36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer); 58 sp<AMessage> meta(); 59 sp<AMessage> format(); 61 void setFormat(const sp<AMessage> &format); 66 const sp<AMessage> mMeta; 67 sp<AMessage> mFormat;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.h | 69 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;
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.h | 58 const sp<AMessage> ¬ify, 81 void resumeUntilAsync(const sp<AMessage> ¶ms); 91 virtual void onMessageReceived(const sp<AMessage> &msg); 117 sp<AMessage> mNotify; 118 sp<AMessage> mStartTimeUsNotify; 136 sp<AMessage> mStopParams; // message containing the latest timestamps we should fetch. 182 sp<AMessage> mSampleAesKeyItem; 220 status_t onStart(const sp<AMessage> &msg); 222 void onStop(const sp<AMessage> &msg); 230 sp<AMessage> &itemMeta, [all …]
|