/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 47 const sp<AMessage> &msg, sp<AMessage> *response) { 48 status_t err = msg->postAndAwaitResponse(response); 61 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local 62 msg->setString("path", path); 64 return PostAndAwaitResponse(msg, &response); 68 sp<AMessage> msg = new AMessage(kWhatSetSurface, id()); local 75 msg->setObject( 79 return PostAndAwaitResponse(msg, &response); 83 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); local 85 return PostAndAwaitResponse(msg, 46 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 89 sp<AMessage> msg = new AMessage(kWhatStart, id()); local 95 sp<AMessage> msg = new AMessage(kWhatStop, id()); local 101 sp<AMessage> msg = new AMessage(kWhatReset, id()); local 106 onMessageReceived(const sp<AMessage> &msg) argument 381 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, id()); local [all...] |
H A D | sf2.cpp | 65 virtual void onMessageReceived(const sp<AMessage> &msg) { argument 66 switch (msg->what()) { 168 CHECK(msg->findInt32("what", &what)); 171 onFillThisBuffer(msg); 178 onDrainThisBuffer(msg); 271 sp<AMessage> msg = new AMessage; local 272 msg->setString("mime", mime); 279 msg->setInt32("width", width); 280 msg->setInt32("height", height); 288 msg 417 onFillThisBuffer(const sp<AMessage> &msg) argument 531 onDrainThisBuffer(const sp<AMessage> &msg) argument [all...] |
H A D | stream.cpp | 268 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) { argument 271 if (msg == MEDIA_ERROR || msg == MEDIA_PLAYBACK_COMPLETE) {
|
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 68 int msg, int ext1, int ext2, const Parcel *obj); 191 void sendEvent(int msg, int ext1=0, int ext2=0, argument 194 if (mNotify) mNotify(mCookie, msg, ext1, ext2, obj);
|
H A D | SoundPool.h | 38 SoundPoolEvent(int msg, int arg1=0, int arg2=0) : argument 39 mMsg(msg), mArg1(arg1), mArg2(arg2) {}
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaWriter.h | 57 void notify(int msg, int ext1, int ext2) { argument 59 mListener->notify(msg, ext1, ext2);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AHandlerReflector.h | 32 virtual void onMessageReceived(const sp<AMessage> &msg) { argument 35 target->onMessageReceived(msg);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 1636 void PreviewPlayer::notifyListener_l(int msg, int ext1, int ext2) { argument 1641 listener->sendEvent(msg, ext1, ext2);
|
H A D | VideoEditorPreviewController.cpp | 1154 void* cookie, int msg, int ext1, int ext2) 1161 switch (msg) { 1298 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2); 1153 notify( void* cookie, int msg, int ext1, int ext2) argument
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4PSW_DebugTrace.c | 39 * M4OSA_Char* cond, char* msg, M4OSA_ERR err) 46 * @param msg (IN): the error message 56 M4OSA_Char* msg, 68 printf("Error: %li, on %s: %s\n",err,cond,msg); 70 printf("Error: %li, on %s: %s Line %lu in: %s\n",err,cond,msg,line,file); 52 M4OSA_DebugTrace(M4OSA_Int32 line, M4OSA_Char* file, M4OSA_Int32 level, M4OSA_Char* cond, M4OSA_Char* msg, M4OSA_ERR err) argument
|
/frameworks/av/media/libmedia/ |
H A D | IHDCP.cpp | 42 int msg, int ext1, int ext2, const Parcel *obj) { 45 data.writeInt32(msg); 120 int msg = data.readInt32(); local 132 notify(msg, ext1, ext2, &obj); 41 notify( int msg, int ext1, int ext2, const Parcel *obj) argument
|
H A D | IMediaPlayerClient.cpp | 38 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) argument 42 data.writeInt32(msg); 62 int msg = data.readInt32(); local 70 notify(msg, ext1, ext2, &obj);
|
H A D | IMediaRecorderClient.cpp | 38 virtual void notify(int msg, int ext1, int ext2) argument 42 data.writeInt32(msg); 59 int msg = data.readInt32(); local 62 notify(msg, ext1, ext2);
|
H A D | IOMX.cpp | 756 virtual void onMessage(const omx_message &msg) { argument 759 data.write(&msg, sizeof(msg)); 774 omx_message msg; local 775 data.read(&msg, sizeof(msg)); 778 onMessage(msg);
|
H A D | IStreamSource.cpp | 155 Command cmd, bool synchronous, const sp<AMessage> &msg) { 161 if (msg != NULL) { 163 msg->writeToParcel(&data); 194 sp<AMessage> msg; local 197 msg = AMessage::FromParcel(data); 200 issueCommand(cmd, synchronous, msg); 154 issueCommand( Command cmd, bool synchronous, const sp<AMessage> &msg) argument
|
H A D | SoundPoolThread.cpp | 25 void SoundPoolThread::write(SoundPoolMsg msg) { argument 33 mMsgQueue.push(msg); 43 SoundPoolMsg msg = mMsgQueue[0]; local 46 return msg; 84 SoundPoolMsg msg = read(); local 85 ALOGV("Got message m=%d, mData=%d", msg.mMessageType, msg.mData); 86 switch (msg.mMessageType) { 91 doLoadSample(msg.mData); 95 msg [all...] |
H A D | mediaplayer.cpp | 659 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument 661 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2); 679 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) { 680 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2); 685 switch (msg) { 753 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2); 764 listener->notify(msg, ext1, ext2, obj);
|
H A D | mediarecorder.cpp | 659 void MediaRecorder::notify(int msg, int ext1, int ext2) argument 661 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2); 671 listener->notify(msg, ext1, ext2);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | HDCP.cpp | 114 void HDCP::ObserveWrapper(void *me, int msg, int ext1, int ext2) { argument 115 static_cast<HDCP *>(me)->observe(msg, ext1, ext2); 118 void HDCP::observe(int msg, int ext1, int ext2) { argument 122 mObserver->notify(msg, ext1, ext2, NULL /* obj */);
|
H A D | MediaPlayerService.cpp | 1066 void* cookie, int msg, int ext1, int ext2, const Parcel *obj) 1077 if (msg == MEDIA_PLAYBACK_COMPLETE && client->mNextClient != NULL) { 1085 if (MEDIA_INFO == msg && 1099 ALOGV("[%d] notify (%p, %d, %d, %d)", client->mConnId, cookie, msg, ext1, ext2); 1100 c->notify(msg, ext1, ext2, obj); 1843 void* cookie, int msg, int ext1, int ext2, const Parcel *obj) 1845 ALOGV("notify(%p, %d, %d, %d)", cookie, msg, ext1, ext2); 1849 switch (msg) 1065 notify( void* cookie, int msg, int ext1, int ext2, const Parcel *obj) argument 1842 notify( void* cookie, int msg, int ext1, int ext2, const Parcel *obj) argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 89 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local 94 msg->setObject("source", new MP4Source(source)); 96 msg->setObject("source", new StreamingSource(source)); 99 msg->post(); 120 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local 131 msg->setObject("source", source); 132 msg->post(); 136 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local 139 msg->setObject("source", source); 140 msg 144 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); local 152 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, id()); local 174 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local 199 onMessageReceived(const sp<AMessage> &msg) argument 725 sp<AMessage> msg = new AMessage(kWhatScanSources, id()); local 770 feedDecoderInputData(bool audio, const sp<AMessage> &msg) argument 887 renderBuffer(bool audio, const sp<AMessage> &msg) argument 933 notifyListener(int msg, int ext1, int ext2) argument 995 sp<AMessage> msg = new AMessage; local 1019 sp<AMessage> msg = new AMessage(kWhatPollDuration, id()); local [all...] |
H A D | NuPlayerDecoder.cpp | 84 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) { argument 85 switch (msg->what()) { 89 CHECK(msg->findInt32("what", &what)); 92 onFillThisBuffer(msg); 95 notify->setMessage("codec-request", msg); 107 void NuPlayer::Decoder::onFillThisBuffer(const sp<AMessage> &msg) { argument 109 CHECK(msg->findMessage("reply", &reply)); 113 CHECK(msg->findBuffer("buffer", &outBuffer)); 128 notify->setMessage("codec-request", msg);
|
H A D | NuPlayerDriver.cpp | 351 void NuPlayerDriver::notifyListener(int msg, int ext1, int ext2) { argument 352 if (msg == MEDIA_PLAYBACK_COMPLETE || msg == MEDIA_ERROR) { 356 sendEvent(msg, ext1, ext2);
|
H A D | NuPlayerRenderer.cpp | 62 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, id()); local 63 msg->setInt32("audio", static_cast<int32_t>(audio)); 64 msg->setBuffer("buffer", buffer); 65 msg->setMessage("notifyConsumed", notifyConsumed); 66 msg->post(); 72 sp<AMessage> msg = new AMessage(kWhatQueueEOS, id()); local 73 msg->setInt32("audio", static_cast<int32_t>(audio)); 74 msg->setInt32("finalResult", finalResult); 75 msg->post(); 90 sp<AMessage> msg local 111 onMessageReceived(const sp<AMessage> &msg) argument 212 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, id()); local 318 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, id()); local 413 onQueueBuffer(const sp<AMessage> &msg) argument 499 onQueueEOS(const sp<AMessage> &msg) argument 523 onFlush(const sp<AMessage> &msg) argument 578 dropBufferWhileFlushing( bool audio, const sp<AMessage> &msg) argument [all...] |
H A D | RTSPSource.cpp | 89 sp<AMessage> msg = new AMessage(kWhatDisconnect, mReflector->id()); local 92 msg->postAndAwaitResponse(&dummy); 196 sp<AMessage> msg = new AMessage(kWhatPerformSeek, mReflector->id()); local 197 msg->setInt32("generation", ++mSeekGeneration); 198 msg->setInt64("timeUs", seekTimeUs); 199 msg->post(200000ll); 217 void NuPlayer::RTSPSource::onMessageReceived(const sp<AMessage> &msg) { argument 218 if (msg->what() == kWhatDisconnect) { 220 CHECK(msg->senderAwaitsResponse(&replyID)); 225 } else if (msg 461 onDisconnected(const sp<AMessage> &msg) argument [all...] |