Lines Matching defs:Controller

2  * Controller.cpp - Media Player for the Haiku Operating System
12 #include "Controller.h"
44 #define B_TRANSLATION_CONTEXT "MediaPlayer-Controller"
86 // #pragma mark - Controller::Listener
89 Controller::Listener::Listener() {}
90 Controller::Listener::~Listener() {}
91 void Controller::Listener::FileFinished() {}
92 void Controller::Listener::FileChanged(PlaylistItem* item, status_t result) {}
93 void Controller::Listener::VideoTrackChanged(int32) {}
94 void Controller::Listener::AudioTrackChanged(int32) {}
95 void Controller::Listener::SubTitleTrackChanged(int32) {}
96 void Controller::Listener::VideoStatsChanged() {}
97 void Controller::Listener::AudioStatsChanged() {}
98 void Controller::Listener::PlaybackStateChanged(uint32) {}
99 void Controller::Listener::PositionChanged(float) {}
100 void Controller::Listener::SeekHandled(int64 seekFrame) {}
101 void Controller::Listener::VolumeChanged(float) {}
102 void Controller::Listener::MutedChanged(bool) {}
105 // #pragma mark - Controller
113 Controller::Controller()
149 Controller::~Controller()
160 Controller::MessageReceived(BMessage* message)
190 Controller::Duration()
197 Controller::CreateVideoTarget()
204 Controller::CreateVideoSupplier()
211 Controller::CreateAudioSupplier()
221 Controller::SetToAsync(const PlaylistItemRef& item)
242 Controller::SetTo(const PlaylistItemRef& item)
296 printf("Controller::SetTo: InitCheck failed\n");
311 printf("Controller::SetTo: no audio or video tracks found or "
371 Controller::PlayerActivated(bool active)
400 Controller::GetSize(int *width, int *height, int* _widthAspect,
437 Controller::AudioTrackCount()
448 Controller::VideoTrackCount()
459 Controller::SubTitleTrackCount()
470 Controller::SelectAudioTrack(int n)
497 Controller::CurrentAudioTrack()
509 Controller::AudioTrackChannelCount()
520 Controller::SelectVideoTrack(int n)
538 printf("Controller::SelectVideoTrack(%d) - invalid video frame rate: %.1f\n",
554 Controller::CurrentVideoTrack()
566 Controller::SelectSubTitleTrack(int n)
591 Controller::CurrentSubTitleTrack()
603 Controller::SubTitleTrackName(int n)
623 Controller::Stop()
625 //printf("Controller::Stop\n");
637 Controller::Play()
639 //printf("Controller::Play\n");
649 Controller::Pause()
651 // printf("Controller::Pause\n");
662 Controller::TogglePlaying()
664 // printf("Controller::TogglePlaying\n");
677 Controller::PlaybackState()
686 Controller::TimeDuration()
695 Controller::TimePosition()
704 Controller::SaveState(bool reset)
720 Controller::RestoreState()
760 Controller::SetVolume(float value)
762 // printf("Controller::SetVolume %.4f\n", value);
780 Controller::VolumeUp()
788 Controller::VolumeDown()
796 Controller::ToggleMute()
812 Controller::Volume()
821 Controller::SetPosition(float value)
830 Controller::SetFramePosition(int64 value)
866 Controller::SetTimePosition(bigtime_t value)
878 Controller::HasFile()
886 Controller::GetFileFormatInfo(media_file_format* fileFormat)
896 Controller::GetCopyright(BString* copyright)
906 Controller::GetLocation(BString* location)
917 Controller::GetName(BString* name)
928 Controller::GetEncodedVideoFormat(media_format* format)
938 Controller::GetVideoCodecInfo(media_codec_info* info)
948 Controller::GetEncodedAudioFormat(media_format* format)
958 Controller::GetAudioCodecInfo(media_codec_info* info)
968 Controller::GetMetaData(BMessage* metaData)
978 Controller::GetVideoMetaData(int32 index, BMessage* metaData)
988 Controller::GetAudioMetaData(int32 index, BMessage* metaData)
1001 Controller::SetVideoView(VideoView *view)
1010 Controller::IsOverlayActive()
1023 Controller::AddListener(Listener* listener)
1034 Controller::RemoveListener(Listener* listener)
1046 Controller::_AdoptGlobalSettings()
1061 Controller::_PlaybackState(int32 playingMode) const
1083 Controller::_TimePosition() const
1104 Controller::_FrameDuration() const
1119 Controller::_NotifyFileChanged(PlaylistItem* item, status_t result) const
1131 Controller::_NotifyFileFinished() const
1143 Controller::_NotifyVideoTrackChanged(int32 index) const
1155 Controller::_NotifyAudioTrackChanged(int32 index) const
1167 Controller::_NotifySubTitleTrackChanged(int32 index) const
1179 Controller::_NotifyVideoStatsChanged() const
1191 Controller::_NotifyAudioStatsChanged() const
1203 Controller::_NotifyPlaybackStateChanged(uint32 state) const
1215 Controller::_NotifyPositionChanged(float position) const
1227 Controller::_NotifySeekHandled(int64 seekFrame) const
1239 Controller::_NotifyVolumeChanged(float volume) const
1251 Controller::_NotifyMutedChanged(bool muted) const
1263 Controller::NotifyPlayModeChanged(int32 mode) const
1273 Controller::NotifyLoopModeChanged(int32 mode) const
1279 Controller::NotifyLoopingEnabledChanged(bool enabled) const
1285 Controller::NotifyVideoBoundsChanged(BRect bounds) const
1291 Controller::NotifyFPSChanged(float fps) const
1297 Controller::NotifyCurrentFrameChanged(int64 frame) const
1314 Controller::NotifySpeedChanged(float speed) const
1320 Controller::NotifyFrameDropped() const
1322 // printf("Controller::NotifyFrameDropped()\n");
1327 Controller::NotifyStopFrameReached() const
1336 Controller::NotifySeekHandled(int64 seekedFrame) const