/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoderPassThrough.cpp | 39 const sp<AMessage> ¬ify) in DecoderPassThrough() 56 void NuPlayer::DecoderPassThrough::configure(const sp<AMessage> &format) { in configure() 57 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); in configure() 67 (new AMessage(kWhatFlush, id()))->post(); in signalFlush() 71 (new AMessage(kWhatResume, id()))->post(); in signalResume() 75 (new AMessage(kWhatShutdown, id()))->post(); in initiateShutdown() 79 const sp<AMessage> & /* targetFormat */) const { in supportsSeamlessFormatChange() 83 void NuPlayer::DecoderPassThrough::onConfigure(const sp<AMessage> &format) { in onConfigure() 93 sp<AMessage> notify = mNotify->dup(); in onConfigure() 99 bool NuPlayer::DecoderPassThrough::isStaleReply(const sp<AMessage> &msg) { in isStaleReply() [all …]
|
D | NuPlayerDecoder.h | 32 Decoder(const sp<AMessage> ¬ify, 35 virtual void configure(const sp<AMessage> &format); 39 virtual void signalFlush(const sp<AMessage> &format = NULL); 40 virtual void signalUpdateFormat(const sp<AMessage> &format); 44 virtual bool supportsSeamlessFormatChange(const sp<AMessage> &to) const; 60 virtual void onMessageReceived(const sp<AMessage> &msg); 74 sp<AMessage> mNotify; 77 sp<AMessage> mInputFormat; 78 sp<AMessage> mOutputFormat; 83 List<sp<AMessage> > mPendingInputMessages; [all …]
|
D | NuPlayerDecoderPassThrough.h | 28 DecoderPassThrough(const sp<AMessage> ¬ify); 30 virtual void configure(const sp<AMessage> &format); 37 bool supportsSeamlessFormatChange(const sp<AMessage> &to) const; 43 virtual void onMessageReceived(const sp<AMessage> &msg); 55 sp<AMessage> mNotify; 62 bool isStaleReply(const sp<AMessage> &msg); 64 void onConfigure(const sp<AMessage> &format); 66 void onInputBufferFilled(const sp<AMessage> &msg);
|
D | NuPlayer.cpp | 116 PostMessageAction(const sp<AMessage> &msg) in PostMessageAction() 125 sp<AMessage> mMessage; 190 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync() 192 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() 220 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync() 223 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() 257 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSourceAsync() 259 sp<AMessage> notify = new AMessage(kWhatSourceNotify, id()); in setDataSourceAsync() 276 (new AMessage(kWhatPrepare, id()))->post(); in prepareAsync() 281 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); in setVideoSurfaceTextureAsync() [all …]
|
D | GenericSource.cpp | 44 const sp<AMessage> ¬ify, in GenericSource() 124 sp<AMessage> dummy; in initFromDataSource() 241 sp<AMessage> msg = dupNotify(); in checkDrmStatus() 282 sp<AMessage> msg = new AMessage(kWhatPrepareAsync, id()); in prepareAsync() 334 (new AMessage(kWhatPrepareAsync, id()))->post(200000); in onPrepareAsync() 353 sp<AMessage> msg = new AMessage; in onPrepareAsync() 431 sp<AMessage> meta; in prefillCacheIfNecessary() 482 sp<AMessage> msg = new AMessage(kWhatStopWidevine, id()); in stop() 483 sp<AMessage> response; in stop() 524 sp<AMessage> msg = new AMessage(kWhatPollBuffering, id()); in schedulePollBuffering() [all …]
|
D | NuPlayer.h | 28 struct AMessage; 80 virtual void onMessageReceived(const sp<AMessage> &msg); 199 void openAudioSink(const sp<AMessage> &format, bool offloadOnly); 205 const sp<AMessage> &inputFormat, 206 const sp<AMessage> &outputFormat = NULL); 208 status_t feedDecoderInputData(bool audio, const sp<AMessage> &msg); 209 void renderBuffer(bool audio, const sp<AMessage> &msg); 219 bool audio, bool needShutdown, const sp<AMessage> &newFormat = NULL); 220 void updateDecoderFormatWithoutFlush(bool audio, const sp<AMessage> &format); 236 void onSourceNotify(const sp<AMessage> &msg); [all …]
|
D | HTTPLiveSource.cpp | 37 const sp<AMessage> ¬ify, in HTTPLiveSource() 84 sp<AMessage> notify = new AMessage(kWhatSessionNotify, id()); in prepareAsync() 100 sp<AMessage> NuPlayer::HTTPLiveSource::getFormat(bool audio) { in getFormat() 101 sp<AMessage> format; in getFormat() 134 sp<AMessage> NuPlayer::HTTPLiveSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 144 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, id()); in selectTrack() 160 void NuPlayer::HTTPLiveSource::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() 181 sp<AMessage> notify = dupNotify(); in onMessageReceived() 207 void NuPlayer::HTTPLiveSource::onSessionNotify(const sp<AMessage> &msg) { in onSessionNotify() 215 sp<AMessage> format = getFormat(false /* audio */); in onSessionNotify() [all …]
|
D | NuPlayerDecoder.cpp | 37 const sp<AMessage> ¬ify, in Decoder() 64 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() 78 void NuPlayer::Decoder::rememberCodecSpecificData(const sp<AMessage> &format) { in rememberCodecSpecificData() 91 void NuPlayer::Decoder::onConfigure(const sp<AMessage> &format) { in onConfigure() 198 sp<AMessage> reply = new AMessage(kWhatCodecNotify, id()); in requestCodecNotification() 204 bool NuPlayer::Decoder::isStaleReply(const sp<AMessage> &msg) { in isStaleReply() 214 void NuPlayer::Decoder::configure(const sp<AMessage> &format) { in configure() 215 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); in configure() 220 void NuPlayer::Decoder::signalUpdateFormat(const sp<AMessage> &format) { in signalUpdateFormat() 221 sp<AMessage> msg = new AMessage(kWhatUpdateFormat, id()); in signalUpdateFormat() [all …]
|
D | NuPlayerRenderer.h | 34 const sp<AMessage> ¬ify, 45 const sp<AMessage> ¬ifyConsumed); 76 const sp<AMessage> &format, 100 virtual void onMessageReceived(const sp<AMessage> &msg); 122 sp<AMessage> mNotifyConsumed; 131 sp<AMessage> mNotify; 198 void onQueueBuffer(const sp<AMessage> &msg); 199 void onQueueEOS(const sp<AMessage> &msg); 200 void onFlush(const sp<AMessage> &msg); 208 const sp<AMessage> &format, [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 39 AMessage::AMessage(uint32_t what, ALooper::handler_id target) in AMessage() function in android::AMessage 45 AMessage::~AMessage() { in ~AMessage() 49 void AMessage::setWhat(uint32_t what) { in setWhat() 53 uint32_t AMessage::what() const { in what() 57 void AMessage::setTarget(ALooper::handler_id handlerID) { in setTarget() 61 ALooper::handler_id AMessage::target() const { in target() 65 void AMessage::clear() { in clear() 75 void AMessage::freeItemValue(Item *item) { in freeItemValue() 128 inline size_t AMessage::findItemIndex(const char *name, size_t len) const { in findItemIndex() 158 void AMessage::Item::setName(const char *name, size_t len) { in setName() [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, id())); in start() 69 void MediaPuller::stopAsync(const sp<AMessage> ¬ify) { in stopAsync() 70 sp<AMessage> msg = new AMessage(kWhatStop, id()); in stopAsync() 76 (new AMessage(kWhatPause, id()))->post(); in pause() 80 (new AMessage(kWhatResume, id()))->post(); in resume() 83 void MediaPuller::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() 105 sp<AMessage> response = new AMessage; in onMessageReceived() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 161 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() 177 sp<AMessage> response = new AMessage; in PostReplyWithError() 230 mCodec->setNotificationMessage(new AMessage(kWhatCodecNotify, id())); in init() 232 sp<AMessage> msg = new AMessage(kWhatInit, id()); in init() 240 sp<AMessage> response; in init() 244 status_t MediaCodec::setCallback(const sp<AMessage> &callback) { in setCallback() 245 sp<AMessage> msg = new AMessage(kWhatSetCallback, id()); in setCallback() 248 sp<AMessage> response; in setCallback() 253 const sp<AMessage> &format, in configure() 257 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); in configure() [all …]
|
D | MediaCodecSource.cpp | 43 status_t start(const sp<MetaData> &meta, const sp<AMessage> ¬ify); 50 virtual void onMessageReceived(const sp<AMessage> &msg); 63 sp<AMessage> mNotify; 70 status_t postSynchronouslyAndReturnError(const sp<AMessage> &msg); 99 const sp<AMessage> &msg) { in postSynchronouslyAndReturnError() 100 sp<AMessage> response; in postSynchronouslyAndReturnError() 115 const sp<AMessage> ¬ify) { in start() 124 sp<AMessage> msg = new AMessage(kWhatStart, id()); in start() 140 (new AMessage(kWhatStop, id()))->post(); in stop() 144 (new AMessage(kWhatPause, id()))->post(); in pause() [all …]
|
/frameworks/wilhelm/src/android/ |
D | android_GenericPlayer.cpp | 139 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); in prepare() 147 sp<AMessage> msg = new AMessage(kWhatPlay, id()); in play() 154 sp<AMessage> msg = new AMessage(kWhatPause, id()); in pause() 161 (new AMessage(kWhatPause, id()))->post(); in stop() 174 sp<AMessage> msg = new AMessage(kWhatSeek, id()); in seek() 182 sp<AMessage> msg = new AMessage(kWhatLoop, id()); in loop() 190 sp<AMessage> msg = new AMessage(kWhatBuffUpdateThres, id()); in setBufferingUpdateThreshold() 211 (new AMessage(kWhatVolumeUpdate, id()))->post(); in setVolume() 219 sp<AMessage> msg = new AMessage(kWhatAttachAuxEffect, id()); in attachAuxEffect() 229 sp<AMessage> msg = new AMessage(kWhatSetAuxEffectSendLevel, id()); in setAuxEffectSendLevel() [all …]
|
D | android_GenericPlayer.h | 130 virtual void onMessageReceived(const sp<AMessage> &msg); 134 virtual void onNotify(const sp<AMessage> &msg); 137 virtual void onSeek(const sp<AMessage> &msg); 138 virtual void onLoop(const sp<AMessage> &msg); 141 virtual void onBufferingUpdate(const sp<AMessage> &msg); 142 virtual void onSetBufferingUpdateThreshold(const sp<AMessage> &msg); 143 virtual void onAttachAuxEffect(const sp<AMessage> &msg); 144 virtual void onSetAuxEffectSendLevel(const sp<AMessage> &msg); 145 void onSetPlayEvents(const sp<AMessage> &msg); 146 void onOneShot(const sp<AMessage> &msg);
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodec.h | 29 struct AMessage; 64 const sp<AMessage> &format, 69 status_t setCallback(const sp<AMessage> &callback); 125 status_t getOutputFormat(sp<AMessage> *format) const; 126 status_t getInputFormat(sp<AMessage> *format) const; 132 status_t getOutputFormat(size_t index, sp<AMessage> *format); 140 void requestActivityNotification(const sp<AMessage> ¬ify); 144 status_t setParameters(const sp<AMessage> ¶ms); 148 virtual void onMessageReceived(const sp<AMessage> &msg); 215 sp<AMessage> mNotify; [all …]
|
D | ACodec.h | 40 virtual void setNotificationMessage(const sp<AMessage> &msg); 42 void initiateSetup(const sp<AMessage> &msg); 44 virtual void initiateAllocateComponent(const sp<AMessage> &msg); 45 virtual void initiateConfigureComponent(const sp<AMessage> &msg); 53 virtual void signalSetParameters(const sp<AMessage> &msg); 58 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() 162 sp<AMessage> mNotify; 183 sp<AMessage> mInputFormat; 184 sp<AMessage> mOutputFormat; 190 List<sp<AMessage> > mDeferredQueue; [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 | 111 const sp<AMessage> ¬ify, 172 sp<AMessage> notify = new AMessage('biny', id()); in connect() 175 sp<AMessage> reply = new AMessage('conn', id()); in connect() 183 sp<AMessage> notify = new AMessage('biny', id()); in loadSDP() 186 sp<AMessage> reply = new AMessage('sdpl', id()); in loadSDP() 213 (new AMessage('abor', id()))->post(); in disconnect() 217 sp<AMessage> msg = new AMessage('seek', id()); in seek() 228 sp<AMessage> msg = new AMessage('paus', id()); in pause() 235 sp<AMessage> msg = new AMessage('resu', id()); in resume() 439 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 48 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() 62 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); in setDataSource() 64 sp<AMessage> response; in setDataSource() 69 sp<AMessage> msg = new AMessage(kWhatSetSurface, id()); in setSurface() 79 sp<AMessage> response; in setSurface() 84 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); in prepare() 85 sp<AMessage> response; in prepare() 90 sp<AMessage> msg = new AMessage(kWhatStart, id()); in start() 91 sp<AMessage> response; in start() 96 sp<AMessage> msg = new AMessage(kWhatStop, id()); in stop() [all …]
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveSession.h | 43 const sp<AMessage> ¬ify, 61 status_t getStreamFormat(StreamType stream, sp<AMessage> *format); 74 sp<AMessage> getTrackInfo(size_t trackIndex) const; 95 virtual void onMessageReceived(const sp<AMessage> &msg); 151 sp<AMessage> mNotify; 195 sp<AMessage> mContinuation; 196 sp<AMessage> mSeekReply; 209 sp<AMessage> mSwitchDownMonitor; 215 void onConnect(const sp<AMessage> &msg); 216 status_t onSeek(const sp<AMessage> &msg); [all …]
|
D | PlaylistFetcher.h | 50 const sp<AMessage> ¬ify, 71 void resumeUntilAsync(const sp<AMessage> ¶ms); 79 virtual void onMessageReceived(const sp<AMessage> &msg); 104 sp<AMessage> mNotify; 105 sp<AMessage> mStartTimeUsNotify; 120 sp<AMessage> mStopParams; // message containing the latest timestamps we should fetch. 185 status_t onStart(const sp<AMessage> &msg); 187 void onStop(const sp<AMessage> &msg); 192 status_t onResumeUntil(const sp<AMessage> &msg); 201 const sp<ABuffer> &buffer, const sp<AMessage> &itemMeta); [all …]
|
D | M3UParser.h | 39 sp<AMessage> meta(); 42 bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL); 47 sp<AMessage> getTrackInfo(size_t index) const; 60 sp<AMessage> mMeta; 72 sp<AMessage> mMeta; 82 const AString &line, sp<AMessage> *meta, const char *key); 85 const AString &line, sp<AMessage> *meta, const char *key); 88 const AString &line, sp<AMessage> *meta) const; 91 const AString &line, sp<AMessage> *meta, const AString &baseURI);
|
/frameworks/av/media/ndk/ |
D | NdkMediaFormat.cpp | 37 sp<AMessage> mFormat; 48 mData->mFormat = *((sp<AMessage>*)data); in AMediaFormat_fromMsg() 53 *((sp<AMessage>*)dest) = mData->mFormat; in AMediaFormat_getFormat() 63 sp<AMessage> msg = new AMessage(); in AMediaFormat_new() 77 sp<AMessage> f = mData->mFormat; in AMediaFormat_toString() 84 AMessage::Type t; in AMediaFormat_toString() 89 case AMessage::kTypeInt32: in AMediaFormat_toString() 96 case AMessage::kTypeInt64: in AMediaFormat_toString() 103 case AMessage::kTypeSize: in AMediaFormat_toString() 110 case AMessage::kTypeFloat: in AMediaFormat_toString() [all …]
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ANetworkSession.h | 30 struct AMessage; 41 const char *host, unsigned port, const sp<AMessage> ¬ify, 46 const sp<AMessage> ¬ify, int32_t *sessionID); 49 unsigned localPort, const sp<AMessage> ¬ify, int32_t *sessionID); 55 const sp<AMessage> ¬ify, 64 const sp<AMessage> ¬ify, int32_t *sessionID); 71 const sp<AMessage> ¬ify, 122 const sp<AMessage> ¬ify,
|