ginga 1.0
The Ginga iTV middleware
Loading...
Searching...
No Matches
ginga::PlayerSigGen Class Reference
Inheritance diagram for ginga::PlayerSigGen:
Collaboration diagram for ginga::PlayerSigGen:

Public Member Functions

 PlayerSigGen (Formatter *, Media *)
 
void start () override
 
void stop () override
 
void pause () override
 
void resume () override
 
void redraw (cairo_t *) override
 
- Public Member Functions inherited from ginga::Player
 Player (Formatter *, Media *)
 
State getState ()
 
void getZ (int *, int *)
 
bool isFocused ()
 
Time getTime ()
 
void incTime (Time)
 
Time getDuration ()
 
void setDuration (Time)
 
bool getEOS ()
 
void setEOS (bool)
 
virtual string getProperty (const string &)
 
virtual void setProperty (const string &, const string &)
 
void resetProperties ()
 
void resetProperties (set< string > *)
 
void schedulePropertyAnimation (const string &, const string &, const string &, Time)
 
virtual void reload ()
 
virtual void sendKeyEvent (const string &, bool)
 
virtual void sendPresentationEvent (const string &, const string &)
 

Protected Member Functions

bool doSetProperty (Property, const string &, const string &) override
 

Static Private Member Functions

static gboolean cb_Bus (GstBus *, GstMessage *, PlayerSigGen *)
 
static GstFlowReturn cb_NewSample (GstAppSink *, gpointer)
 

Private Attributes

GstElement * _pipeline
 
struct { 
 
   GstElement *   src 
 
   GstElement *   convert 
 
   GstElement *   tee 
 
   GstElement *   audioQueue 
 
   GstElement *   audioSink 
 
   GstElement *   videoQueue 
 
   GstElement *   videoScope 
 
   GstElement *   videoConvert 
 
   GstElement *   videoSink 
 
   GstPad *   teeAudioPad 
 
   GstPad *   queueAudioPad 
 
   GstPad *   teeVideoPad 
 
   GstPad *   queueVideoPad 
 
_audio 
 
int _sample_flag
 
GstAppSinkCallbacks _callbacks
 
struct { 
 
   double   freq 
 
   int   wave 
 
   double   volume 
 
_prop 
 

Additional Inherited Members

- Public Types inherited from ginga::Player
enum  State { SLEEPING = 1 , OCCURRING , PAUSED }
 
enum  Property {
  PROP_UNKNOWN = 0 , PROP_BACKGROUND , PROP_BALANCE , PROP_BASS ,
  PROP_BOTTOM , PROP_BOUNDS , PROP_DEBUG , PROP_DURATION ,
  PROP_EXPLICIT_DUR , PROP_FOCUS_INDEX , PROP_FOCUS_BORDER_COLOR , PROP_FOCUS_BORDER_WIDTH ,
  PROP_FOCUS_BORDER_TRANSPARENCY , PROP_SEL_BORDER_COLOR , PROP_FONT_BG_COLOR , PROP_FONT_COLOR ,
  PROP_FONT_FAMILY , PROP_FONT_SIZE , PROP_FONT_STYLE , PROP_FONT_VARIANT ,
  PROP_FONT_WEIGHT , PROP_FREEZE , PROP_FREQ , PROP_HEIGHT ,
  PROP_HORZ_ALIGN , PROP_LEFT , PROP_LOCATION , PROP_MUTE ,
  PROP_RIGHT , PROP_SIZE , PROP_SPEED , PROP_TIME ,
  PROP_TOP , PROP_TRANSPARENCY , PROP_TREBLE , PROP_TYPE ,
  PROP_URI , PROP_VERT_ALIGN , PROP_VISIBLE , PROP_VOLUME ,
  PROP_WAVE , PROP_WIDTH , PROP_Z_INDEX , PROP_Z_ORDER ,
  PROP_REMOTE_PLAYER_BASE_URL
}
 
- Static Public Member Functions inherited from ginga::Player
static string getCurrentFocus ()
 
static void setCurrentFocus (const string &)
 
static Property getPlayerProperty (const string &, string *)
 
static bool getMimeForURI (const string &, string *)
 
static PlayercreatePlayer (Formatter *, Media *, const string &, const string &type="")
 
- Protected Attributes inherited from ginga::Player
Formatter_formatter
 
Media_media
 
string _id
 
State _state
 
Time _time
 
bool _eos
 
cairo_surface_t * _surface
 
bool _opengl
 
guint _gltexture
 
bool _dirty
 
PlayerAnimator_animator
 
list< int > _crop
 
map< string, string > _properties
 
struct { 
 
   Color   bgColor 
 
   Rect   rect 
 
   Time   duration 
 
   bool   debug 
 
   bool   visible 
 
   guint8   alpha 
 
   int   zindex 
 
   int   zorder 
 
   string   focusIndex 
 
   Color   focusBorderColor 
 
   int   focusBorderWidth 
 
   guint8   focusBorderTransparency 
 
   Color   selBorderColor 
 
   string   type 
 
   string   uri 
 
_prop 
 

Member Function Documentation

◆ doSetProperty()

bool ginga::PlayerSigGen::doSetProperty ( Property code,
const string & name,
const string & value )
overrideprotectedvirtual

Reimplemented from ginga::Player.

◆ pause()

void ginga::PlayerSigGen::pause ( )
overridevirtual

Reimplemented from ginga::Player.

◆ redraw()

void ginga::PlayerSigGen::redraw ( cairo_t * cr)
overridevirtual

Reimplemented from ginga::Player.

◆ resume()

void ginga::PlayerSigGen::resume ( )
overridevirtual

Reimplemented from ginga::Player.

◆ start()

void ginga::PlayerSigGen::start ( )
overridevirtual

Reimplemented from ginga::Player.

◆ stop()

void ginga::PlayerSigGen::stop ( )
overridevirtual

Reimplemented from ginga::Player.


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