Home
last modified time | relevance | path

Searched refs:MediaPlayerBase (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/include/media/stagefright/
DAudioPlayer.h47 AudioPlayer(const sp<MediaPlayerBase::AudioSink> &audioSink,
96 sp<MediaPlayerBase::AudioSink> mAudioSink;
106 MediaPlayerBase::AudioSink *audioSink,
108 MediaPlayerBase::AudioSink::cb_event_t event);
DUtils.h65 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta);
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp600 sp<MediaPlayerBase> p; in disconnect()
626 sp<MediaPlayerBase> MediaPlayerService::Client::createPlayer(player_type playerType) in createPlayer()
629 sp<MediaPlayerBase> p = mPlayer; in createPlayer()
647 const sp<MediaPlayerBase>& listener, in ServiceDeathNotifier()
659 sp<MediaPlayerBase> listener = mListener.promote(); in binderDied()
667 sp<MediaPlayerBase> MediaPlayerService::Client::setDataSource_pre( in setDataSource_pre()
673 sp<MediaPlayerBase> p = createPlayer(playerType); in setDataSource_pre()
698 const sp<MediaPlayerBase>& p, in setDataSource_post()
754 sp<MediaPlayerBase> p = setDataSource_pre(playerType); in setDataSource()
794 sp<MediaPlayerBase> p = setDataSource_pre(playerType); in setDataSource()
[all …]
DTestPlayerStub.h24 class MediaPlayerBase; // in media/MediaPlayerInterface.h variable
57 typedef MediaPlayerBase* (*NEW_PLAYER)();
58 typedef status_t (*DELETE_PLAYER)(MediaPlayerBase *);
124 MediaPlayerBase *mPlayer; // wrapped player
DMediaPlayerService.h73 class AudioOutput : public MediaPlayerBase::AudioSink
319 sp<MediaPlayerBase> createPlayer(player_type playerType);
332 sp<MediaPlayerBase> setDataSource_pre(player_type playerType);
333 void setDataSource_post(const sp<MediaPlayerBase>& p,
350 const sp<MediaPlayerBase>& listener,
358 wp<MediaPlayerBase> mListener;
373 sp<MediaPlayerBase> getPlayer() const { Mutex::Autolock lock(mLock); return mPlayer; } in getPlayer()
393 sp<MediaPlayerBase> mPlayer;
DMediaPlayerFactory.cpp128 sp<MediaPlayerBase> MediaPlayerFactory::createPlayer( in createPlayer()
133 sp<MediaPlayerBase> p; in createPlayer()
219 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) { in createPlayer()
237 virtual sp<MediaPlayerBase> createPlayer(pid_t /* pid */) { in createPlayer()
DMediaPlayerFactory.h50 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) = 0;
67 static sp<MediaPlayerBase> createPlayer(player_type playerType,
DTestPlayerStub.cpp34 using android::MediaPlayerBase;
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp31 using android::MediaPlayerBase;
50 class Player: public MediaPlayerBase
125 extern "C" android::MediaPlayerBase* newPlayer() in newPlayer()
131 extern "C" android::status_t deletePlayer(android::MediaPlayerBase *player) in deletePlayer()
/frameworks/av/include/media/
DMediaPlayerInterface.h73 class MediaPlayerBase : public RefBase
149 MediaPlayerBase() : mCookie(0), mNotify(0) {} in MediaPlayerBase() function
150 virtual ~MediaPlayerBase() {} in ~MediaPlayerBase()
224 virtual status_t setNextPlayer(const sp<MediaPlayerBase>& /* next */) { in setNextPlayer() argument
281 class MediaPlayerInterface : public MediaPlayerBase
292 class MediaPlayerHWInterface : public MediaPlayerBase
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h38 Renderer(const sp<MediaPlayerBase::AudioSink> &sink,
43 MediaPlayerBase::AudioSink *audioSink,
45 MediaPlayerBase::AudioSink::cb_event_t event);
137 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayer.h58 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
147 sp<MediaPlayerBase::AudioSink> mAudioSink;
DNuPlayerRenderer.cpp91 const sp<MediaPlayerBase::AudioSink> &sink, in Renderer()
730 MediaPlayerBase::AudioSink * /* audioSink */, in AudioSinkCallback()
734 MediaPlayerBase::AudioSink::cb_event_t event) { in AudioSinkCallback()
738 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER: in AudioSinkCallback()
744 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END: in AudioSinkCallback()
751 case MediaPlayerBase::AudioSink::CB_EVENT_TEAR_DOWN: in AudioSinkCallback()
DNuPlayer.cpp331 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) { in setAudioSink()
710 mAudioSink = static_cast<MediaPlayerBase::AudioSink *>(obj.get()); in onMessageReceived()
/frameworks/av/media/libstagefright/
DAudioPlayer.cpp40 const sp<MediaPlayerBase::AudioSink> &audioSink, in AudioPlayer()
425 MediaPlayerBase::AudioSink * /* audioSink */, in AudioSinkCallback()
427 MediaPlayerBase::AudioSink::cb_event_t event) { in AudioSinkCallback()
431 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER: in AudioSinkCallback()
434 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END: in AudioSinkCallback()
439 case MediaPlayerBase::AudioSink::CB_EVENT_TEAR_DOWN: in AudioSinkCallback()
DUtils.cpp1445 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, in sendMetaDataToHal()
/frameworks/av/cmds/stagefright/
Drecord.cpp303 sp<MediaPlayerBase::AudioSink> audioSink; in main()