Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
br::pucrio::telemidia::ginga::core::player::AVPlayer Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::player::AVPlayer:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::player::AVPlayer:
Collaboration graph
[legend]

Public Member Functions

 AVPlayer (GingaScreenID screenId, string mrl, bool hasVisual)
 
ISurface * getSurface ()
 
void finished ()
 
double getEndTime ()
 
bool getHasVisual ()
 
void getOriginalResolution (int *width, int *height)
 
double getTotalMediaTime ()
 
int64_t getVPts ()
 
void timeShift (string direction)
 
double getMediaTime ()
 
void setMediaTime (double pos)
 
void setStopTime (double pos)
 
double getStopTime ()
 
void setScope (string scope, short type=TYPE_PRESENTATION, double begin=-1, double end=-1, double outTransDur=-1)
 
bool play ()
 
void pause ()
 
void stop ()
 
void resume ()
 
virtual void setPropertyValue (string name, string value)
 
void addListener (IPlayerListener *listener)
 
void release ()
 
void setMrl (const char *mrl)
 
string getMrl ()
 
bool isPlaying ()
 
bool isRunning ()
 
void setAVPid (int aPid, int vPid)
 
bool setOutWindow (GingaWindowID windowId)
 
void setAlphaBlend (int x, int y, int w, int h)
 
void checkResize ()
 
- Public Member Functions inherited from br::pucrio::telemidia::ginga::core::system::thread::Thread
virtual void startThread ()
 
bool sleep (long int seconds)
 
bool mSleep (long int milliseconds)
 
void wakeUp ()
 
void lock ()
 
void unlock ()
 
void waitForUnlockCondition ()
 
bool unlockConditionSatisfied ()
 
- Public Member Functions inherited from br::pucrio::telemidia::ginga::core::player::Player
 Player (GingaScreenID screenId, string mrl)
 
virtual void flip ()
 
virtual void setMrl (string mrl, bool visible=true)
 
virtual void reset ()
 
virtual void rebase ()
 
virtual void setNotifyContentUpdate (bool notify)
 
void removeListener (IPlayerListener *listener)
 
void notifyPlayerListeners (short code, string parameter="", short type=TYPE_PRESENTATION, string value="")
 
virtual void setSurface (ISurface *surface)
 
double getMediaTime ()
 
virtual bool setKeyHandler (bool isHandler)
 
virtual void abort ()
 
virtual string getPropertyValue (string name)
 
virtual void setReferenceTimePlayer (IPlayer *player)
 
void addTimeReferPlayer (IPlayer *referPlayer)
 
void removeTimeReferPlayer (IPlayer *referPlayer)
 
void notifyReferPlayers (int transition)
 
void timebaseObjectTransitionCallback (int transition)
 
void setTimeBasePlayer (IPlayer *timeBasePlayer)
 
virtual bool hasPresented ()
 
void setPresented (bool presented)
 
bool isVisible ()
 
void setVisible (bool visible)
 
bool immediatelyStart ()
 
void setImmediatelyStart (bool immediatelyStartVal)
 
void forceNaturalEnd (bool forceIt)
 
bool isForcedNaturalEnd ()
 
virtual IPlayergetSelectedPlayer ()
 
virtual void setPlayerMap (map< string, IPlayer * > *objs)
 
virtual map< string, IPlayer * > * getPlayerMap ()
 
virtual IPlayergetPlayer (string objectId)
 
virtual void select (IPlayer *selObject)
 
virtual void setCurrentScope (string scopeId)
 

Static Public Member Functions

static void initializeAudio (int numArgs, char *args[])
 
static void releaseAudio ()
 
- Static Public Member Functions inherited from br::pucrio::telemidia::ginga::core::system::thread::Thread
static void mutexInit (pthread_mutex_t *mutex, bool recursive=false)
 
static void mutexDestroy (pthread_mutex_t *mutex)
 
static void mutexLock (pthread_mutex_t *mutex)
 
static void mutexUnlock (pthread_mutex_t *mutex)
 
static void condInit (pthread_cond_t *cond, const pthread_condattr_t *attr)
 
static void condDestroy (pthread_cond_t *cond)
 
static void condWait (pthread_cond_t *cond, pthread_mutex_t *mutex)
 
static void condSignal (pthread_cond_t *cond)
 
static void startNewThread (void *(*funcion)(void *), void *ptr)
 

Protected Attributes

bool running
 
bool buffered
 
bool hasVisual
 
float soundLevel
 
- Protected Attributes inherited from br::pucrio::telemidia::ginga::core::system::thread::Thread
bool isDeleting
 
pthread_mutex_t threadMutex
 
bool isThreadSleeping
 
pthread_mutex_t threadFlagMutex
 
pthread_cond_t threadFlagConditionVariable
 
bool isWaiting
 
pthread_mutex_t threadFlagMutexLockUntilSignal
 
pthread_cond_t threadFlagCVLockUntilSignal
 
- Protected Attributes inherited from br::pucrio::telemidia::ginga::core::player::Player
GingaScreenID myScreen
 
short status
 
string mrl
 
ISurface * surface
 
IWindow * outputWindow
 
double initTime
 
double elapsedTime
 
double elapsedPause
 
double pauseTime
 
set< IPlayer * > referredPlayers
 
IPlayertimeBasePlayer
 
bool presented
 
bool visible
 
bool immediatelyStartVar
 
bool forcedNaturalEnd
 
bool notifyContentUpdate
 
string scope
 
short scopeType
 
double scopeInitTime
 
double scopeEndTime
 
double outTransTime
 

Additional Inherited Members

- Static Public Attributes inherited from br::pucrio::telemidia::ginga::core::player::IPlayer
static const short PL_NOTIFY_START = 1
 
static const short PL_NOTIFY_PAUSE = 2
 
static const short PL_NOTIFY_RESUME = 3
 
static const short PL_NOTIFY_STOP = 4
 
static const short PL_NOTIFY_ABORT = 5
 
static const short PL_NOTIFY_NCLEDIT = 6
 
static const short PL_NOTIFY_UPDATECONTENT = 7
 
static const short PL_NOTIFY_OUTTRANS = 8
 
static const short TYPE_PRESENTATION = 10
 
static const short TYPE_ATTRIBUTION = 11
 
static const short TYPE_SIGNAL = 12
 
static const short TYPE_PASSIVEDEVICE = 13
 
static const short TYPE_SELECTION = 14
 
- Protected Member Functions inherited from br::pucrio::telemidia::ginga::core::player::Player
void checkScopeTime ()
 
- Static Protected Attributes inherited from br::pucrio::telemidia::ginga::core::player::Player
static const short NONE = 0
 
static const short PLAY = 1
 
static const short PAUSE = 2
 
static const short STOP = 3
 
static ILocalScreenManager * dm = NULL
 

The documentation for this class was generated from the following files: