#include <PlayerVideo.h>
|
| enum | PlayerState { SLEEPING = 1,
OCCURRING,
PAUSED
} |
| |
| enum | PlayerProperty {
PROP_UNKNOWN = 0,
PROP_BACKGROUND,
PROP_BALANCE,
PROP_BASS,
PROP_BOTTOM,
PROP_BOUNDS,
PROP_DEBUG,
PROP_DURATION,
PROP_EXPLICIT_DUR,
PROP_FOCUS_INDEX,
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_HEIGHT,
PROP_HORZ_ALIGN,
PROP_LEFT,
PROP_LOCATION,
PROP_MUTE,
PROP_RIGHT,
PROP_SIZE,
PROP_TOP,
PROP_TRANSPARENCY,
PROP_TREBLE,
PROP_VERT_ALIGN,
PROP_VISIBLE,
PROP_VOLUME,
PROP_WIDTH,
PROP_Z_INDEX
} |
| |
| Enumerator |
|---|
| PROP_UNKNOWN |
|
| PROP_BACKGROUND |
|
| PROP_BALANCE |
|
| PROP_BASS |
|
| PROP_BOTTOM |
|
| PROP_BOUNDS |
|
| PROP_DEBUG |
|
| PROP_DURATION |
|
| PROP_EXPLICIT_DUR |
|
| PROP_FOCUS_INDEX |
|
| 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_HEIGHT |
|
| PROP_HORZ_ALIGN |
|
| PROP_LEFT |
|
| PROP_LOCATION |
|
| PROP_MUTE |
|
| PROP_RIGHT |
|
| PROP_SIZE |
|
| PROP_TOP |
|
| PROP_TRANSPARENCY |
|
| PROP_TREBLE |
|
| PROP_VERT_ALIGN |
|
| PROP_VISIBLE |
|
| PROP_VOLUME |
|
| PROP_WIDTH |
|
| PROP_Z_INDEX |
|
| Enumerator |
|---|
| SLEEPING |
|
| OCCURRING |
|
| PAUSED |
|
| PlayerVideo::PlayerVideo |
( |
Formatter * |
formatter, |
|
|
const string & |
id, |
|
|
const string & |
uri |
|
) |
| |
References _audio, _callbacks, _playbin, _video, cb_Bus(), cb_NewSample(), ERROR, g_assert(), g_assert_nonnull(), g_free(), Player::resetProperties(), and unlikely.
| PlayerVideo::~PlayerVideo |
( |
| ) |
|
| gboolean PlayerVideo::cb_Bus |
( |
GstBus * |
bus, |
|
|
GstMessage * |
msg, |
|
|
PlayerVideo * |
player |
|
) |
| |
|
staticprivate |
| GstFlowReturn PlayerVideo::cb_NewSample |
( |
GstAppSink * |
, |
|
|
gpointer |
|
|
) |
| |
|
staticprivate |
| Player * Player::createPlayer |
( |
Formatter * |
formatter, |
|
|
const string & |
id, |
|
|
const string & |
uri, |
|
|
const string & |
mime |
|
) |
| |
|
staticinherited |
| bool PlayerVideo::doSetProperty |
( |
PlayerProperty |
, |
|
|
const string & |
, |
|
|
const string & |
|
|
) |
| |
|
overrideprotectedvirtual |
Reimplemented from Player.
References _audio, _prop, Player::_state, Player::doSetProperty(), parse_bool(), Player::PROP_BALANCE, Player::PROP_BASS, Player::PROP_FREEZE, Player::PROP_MUTE, Player::PROP_TREBLE, Player::PROP_VOLUME, Player::SLEEPING, and xstrtodorpercent().
| string Player::getCurrentFocus |
( |
| ) |
|
|
staticinherited |
| Time Player::getDuration |
( |
| ) |
|
|
inherited |
| bool PlayerVideo::getFreeze |
( |
| ) |
|
|
private |
| string Player::getProperty |
( |
const string & |
name | ) |
|
|
virtualinherited |
| void Player::getZ |
( |
int * |
z, |
|
|
int * |
zorder |
|
) |
| |
|
inherited |
| void Player::incTime |
( |
Time |
inc | ) |
|
|
inherited |
| bool Player::isFocused |
( |
| ) |
|
|
inherited |
| void PlayerVideo::pause |
( |
| ) |
|
|
overridevirtual |
| void PlayerVideo::redraw |
( |
cairo_t * |
cr | ) |
|
|
overridevirtual |
Reimplemented from Player.
References Player::_gltexture, Player::_opengl, _sample_flag, Player::_state, Player::_surface, _video, caps, GL::create_texture(), GL::delete_texture(), g_assert(), g_assert_nonnull(), Player::getEOS(), Player::redraw(), and Player::SLEEPING.
| void Player::resetProperties |
( |
| ) |
|
|
inherited |
| void Player::resetProperties |
( |
set< string > * |
props | ) |
|
|
inherited |
| void PlayerVideo::resume |
( |
| ) |
|
|
overridevirtual |
| void Player::schedulePropertyAnimation |
( |
const string & |
name, |
|
|
const string & |
from, |
|
|
const string & |
to, |
|
|
Time |
dur |
|
) |
| |
|
inherited |
| void Player::sendKeyEvent |
( |
const string & |
, |
|
|
bool |
|
|
) |
| |
|
virtualinherited |
| void Player::setCurrentFocus |
( |
const string & |
index | ) |
|
|
staticinherited |
| void Player::setDuration |
( |
Time |
duration | ) |
|
|
inherited |
| void Player::setEOS |
( |
bool |
eos | ) |
|
|
inherited |
| void Player::setProperty |
( |
const string & |
name, |
|
|
const string & |
value |
|
) |
| |
|
virtualinherited |
| void Player::setZ |
( |
int |
z, |
|
|
int |
zorder |
|
) |
| |
|
inherited |
| void PlayerVideo::start |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Player.
References _audio, _playbin, _prop, _sample_flag, Player::_state, _video, caps, g_assert(), g_assert_nonnull(), Player::OCCURRING, Player::setEOS(), Player::start(), TRACE, and unlikely.
| void PlayerVideo::stop |
( |
| ) |
|
|
overridevirtual |
| struct { ... } PlayerVideo::_audio |
| GstAppSinkCallbacks PlayerVideo::_callbacks |
|
private |
| GstElement* PlayerVideo::_playbin |
|
private |
| struct { ... } PlayerVideo::_prop |
| map<string, string> Player::_properties |
|
protectedinherited |
| int PlayerVideo::_sample_flag |
|
private |
Referenced by doSetProperty(), PlayerLua::doSetProperty(), pause(), PlayerLua::pause(), redraw(), PlayerLua::redraw(), PlayerSvg::reload(), resume(), PlayerLua::resume(), start(), PlayerLua::start(), stop(), and PlayerLua::stop().
| cairo_surface_t* Player::_surface |
|
protectedinherited |
| struct { ... } PlayerVideo::_video |
| double PlayerVideo::balance |
| GstElement* PlayerVideo::bin |
| GstElement* PlayerVideo::caps |
| GstElement* PlayerVideo::convert |
| GstElement* PlayerVideo::equalizer |
| string Player::focusIndex |
|
inherited |
| GstElement* PlayerVideo::pan |
| GstElement* PlayerVideo::sink |
| double PlayerVideo::treble |
| GstElement* PlayerVideo::volume |
| double PlayerVideo::volume |
The documentation for this class was generated from the following files: