Home
last modified time | relevance | path

Searched refs:player (Results 1 – 25 of 255) sorted by relevance

1234567891011

/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dplay.c76 GstPlay *player; in START_TEST() local
78 player = gst_play_new (NULL); in START_TEST()
79 fail_unless (player != NULL); in START_TEST()
80 g_object_unref (player); in START_TEST()
87 GstPlay *player; in START_TEST() local
90 player = gst_play_new (NULL); in START_TEST()
92 fail_unless (player != NULL); in START_TEST()
94 gst_play_set_uri (player, "file:///path/to/a/file"); in START_TEST()
95 uri = gst_play_get_uri (player); in START_TEST()
100 g_object_unref (player); in START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/player/
Dgstplayer.h118 void gst_player_play (GstPlayer * player);
121 void gst_player_pause (GstPlayer * player);
124 void gst_player_stop (GstPlayer * player);
127 void gst_player_seek (GstPlayer * player,
131 void gst_player_set_rate (GstPlayer * player,
135 gdouble gst_player_get_rate (GstPlayer * player);
138 gchar * gst_player_get_uri (GstPlayer * player);
141 void gst_player_set_uri (GstPlayer * player,
145 gchar * gst_player_get_subtitle_uri (GstPlayer * player);
148 void gst_player_set_subtitle_uri (GstPlayer * player,
[all …]
Dgstplayer-wrapped-video-renderer.c42 GstPlayer *player; member
87 iface, GstPlay * player) in gst_player_wrapped_video_renderer_create_video_sink() argument
93 self->player); in gst_player_wrapped_video_renderer_create_video_sink()
106 GstPlayer * player) in gst_player_wrapped_video_renderer_new() argument
112 self->player = player; in gst_player_wrapped_video_renderer_new()
Dmeson.build13 'player.h',
14 'player-prelude.h',
25 install_headers(gstplayer_headers, subdir : 'gstreamer-' + api_version + '/gst/player/')
40 pkg_name = 'gstreamer-player-1.0'
45 name : 'gstreamer-player-1.0',
61 …'extra_args' : gir_init_section + ['-DGST_USE_UNSTABLE_API'] + ['--c-include=gst/player/player.h'],
/third_party/boost/libs/msm/doc/PDF/examples/
DSCSimple.cpp47 struct player : sc::state_machine< player, Empty > struct
60 struct Empty : sc::simple_state< Empty, player >
66 player, &player::open_drawer >,
68 player, &player::store_cd_info > > reactions;
71 struct Open : sc::simple_state< Open, player >
76 player, &player::close_drawer > reactions;
79 struct Stopped : sc::simple_state< Stopped, player >
85 player, &player::start_playback >,
87 player, &player::open_drawer >,
89 player, &player::stopped_again > > reactions;
[all …]
DSCComposite.cpp48 struct player : sc::state_machine< player, Empty > struct
61 struct Empty : sc::simple_state< Empty, player >
67 player, &player::open_drawer >,
69 player, &player::store_cd_info > > reactions;
72 struct Open : sc::simple_state< Open, player >
77 player, &player::close_drawer > reactions;
80 struct Stopped : sc::simple_state< Stopped, player >
86 player, &player::start_playback >,
88 player, &player::open_drawer >,
90 player, &player::stopped_again > > reactions;
[all …]
DFsmAsPtr.cpp113 player::player() in player() function in player
119 void player::do_play() in do_play()
123 void player::do_pause() in do_pause()
127 void player::do_open_close() in do_open_close()
131 void player::do_end_pause() in do_end_pause()
135 void player::do_stop() in do_stop()
139 void player::do_cd_detected() in do_cd_detected()
147 player p; in main()
DFsmAsPtr.hpp16 class player class
19 player();
20 virtual ~player(){} in ~player()
/third_party/boost/libs/msm/doc/HTML/examples/
DSCSimple.cpp47 struct player : sc::state_machine< player, Empty > struct
60 struct Empty : sc::simple_state< Empty, player >
66 player, &player::open_drawer >,
68 player, &player::store_cd_info > > reactions;
71 struct Open : sc::simple_state< Open, player >
76 player, &player::close_drawer > reactions;
79 struct Stopped : sc::simple_state< Stopped, player >
85 player, &player::start_playback >,
87 player, &player::open_drawer >,
89 player, &player::stopped_again > > reactions;
[all …]
DSCComposite.cpp48 struct player : sc::state_machine< player, Empty > struct
61 struct Empty : sc::simple_state< Empty, player >
67 player, &player::open_drawer >,
69 player, &player::store_cd_info > > reactions;
72 struct Open : sc::simple_state< Open, player >
77 player, &player::close_drawer > reactions;
80 struct Stopped : sc::simple_state< Stopped, player >
86 player, &player::start_playback >,
88 player, &player::open_drawer >,
90 player, &player::stopped_again > > reactions;
[all …]
DFsmAsPtr.cpp113 player::player() in player() function in player
119 void player::do_play() in do_play()
123 void player::do_pause() in do_pause()
127 void player::do_open_close() in do_open_close()
131 void player::do_end_pause() in do_end_pause()
135 void player::do_stop() in do_stop()
139 void player::do_cd_detected() in do_cd_detected()
147 player p; in main()
DFsmAsPtr.hpp16 class player class
19 player();
20 virtual ~player(){} in ~player()
/third_party/boost/libs/mpl/example/fsm/
Dplayer.cpp21 class player class
22 : public fsm::state_machine<player>
25 player() {} in player() function in player
34 typedef player self_t;
56 friend class fsm::state_machine<player>;
58 transition<stopped, play_event, playing, &player::do_play>
59 , transition<playing, stop_event, stopped, &player::do_stop>
60 , transition<playing, pause_event, paused, &player::do_pause>
61 , transition<paused, play_event, playing, &player::do_resume>
62 , transition<paused, stop_event, stopped, &player::do_stop>
[all …]
Dplayer1.cpp193 class player : public state_machine<player> class
220 friend class state_machine<player>;
221 typedef player p; // makes transition table cleaner
249 row<Stopped, play, Playing, &player::start_playback>
251 row<Paused, play, Playing, &player::resume_playback>
258 void player::start_playback(play const&){} in start_playback()
259 void player::open_drawer(open_close const&){} in open_drawer()
260 void player::close_drawer(open_close const&){} in close_drawer()
261 void player::store_cd_info(cd_detected const&){} in store_cd_info()
262 void player::stop_playback(stop const&){} in stop_playback()
[all …]
/third_party/boost/libs/coroutine/example/symmetric/
Ddice_game.cpp19 class player class
36 player( player const&);
37 player & operator=( player const&);
41 player * nxt;
45 player( int id_) : in player() function in player
47 coro( boost::bind( & player::run_, this, _1) ), in player()
57 player * first = new player( 1); in main()
58 player * p = first; in main()
61 p->nxt = new player( i); in main()
/third_party/gstreamer/gstplugins_bad/sys/bluez/
Dgstavrcputil.c41 BluezMediaPlayer1 *player; member
162 player_get_taglist (BluezMediaPlayer1 * player) in player_get_taglist() argument
167 track = bluez_media_player1_get_track (player); in player_get_taglist()
176 BluezMediaPlayer1 * player) in gst_avrcp_connection_set_player() argument
180 if (avrcp->player) in gst_avrcp_connection_set_player()
181 g_object_unref (avrcp->player); in gst_avrcp_connection_set_player()
183 if (!player) { in gst_avrcp_connection_set_player()
184 avrcp->player = NULL; in gst_avrcp_connection_set_player()
188 avrcp->player = g_object_ref (player); in gst_avrcp_connection_set_player()
190 g_signal_connect (player, "g-properties-changed", in gst_avrcp_connection_set_player()
[all …]
/third_party/gstreamer/gstplugins_base/tests/icles/playback/
Dtest4.c38 GstElement *player; in main() local
44 player = gst_element_factory_make ("playbin", "player"); in main()
45 g_assert (player); in main()
53 bus = gst_pipeline_get_bus (GST_PIPELINE (player)); in main()
59 g_object_set (G_OBJECT (player), "uri", argv[1], NULL); in main()
62 res = gst_element_set_state (player, GST_STATE_PLAYING); in main()
72 res = gst_element_set_state (player, GST_STATE_PAUSED); in main()
82 res = gst_element_set_state (player, GST_STATE_PLAYING); in main()
92 res = gst_element_set_state (player, GST_STATE_READY); in main()
102 res = gst_element_set_state (player, GST_STATE_PLAYING); in main()
Dtest7.c127 GstElement *player; in main() local
140 player = gst_element_factory_make ("playbin", "player"); in main()
141 g_assert (player); in main()
143 bus = gst_pipeline_get_bus (GST_PIPELINE (player)); in main()
151 player); in main()
153 g_object_set (G_OBJECT (player), "uri", argv[1], NULL); in main()
157 g_signal_connect (player, "about-to-finish", G_CALLBACK (about_to_finish_cb), in main()
160 res = gst_element_set_state (player, GST_STATE_PLAYING); in main()
166 g_timeout_add (UPDATE_INTERVAL, (GSourceFunc) update_scale, player); in main()
171 gst_element_set_state (player, GST_STATE_NULL); in main()
[all …]
Dtest3.c91 GstElement *player; in main() local
99 player = gst_element_factory_make ("playbin", "player"); in main()
100 g_assert (player); in main()
102 bus = gst_pipeline_get_bus (GST_PIPELINE (player)); in main()
109 g_object_set (G_OBJECT (player), "uri", argv[1], NULL); in main()
111 res = gst_element_set_state (player, GST_STATE_PLAYING); in main()
117 g_timeout_add (UPDATE_INTERVAL, (GSourceFunc) update_scale, player); in main()
122 gst_element_set_state (player, GST_STATE_NULL); in main()
123 gst_object_unref (player); in main()
Dtest2.c32 GstElement *player; in main() local
38 player = gst_element_factory_make ("playbin", "player"); in main()
39 g_assert (player); in main()
41 g_object_set (G_OBJECT (player), "uri", argv[1], NULL); in main()
44 bus = gst_pipeline_get_bus (GST_PIPELINE (player)); in main()
50 res = gst_element_set_state (player, GST_STATE_PLAYING); in main()
/third_party/skia/experimental/wasm-skp-debugger/tests/
Dmskp_playback.spec.js32 const player = Debugger.SkpFilePlayer(fileContents);
33 const bounds = player.getBounds();
40 const numFrames = player.getFrameCount();
43 let cmd = JSON.parse(player.jsonCommandList(surface));
47 player.drawTo(surface, cmd.commands.length);
51 player.changeFrame(1);
52 cmd = JSON.parse(player.jsonCommandList(surface));
55 player.drawTo(surface, 100);
Dstartup.spec.js29 const player = Debugger.SkpFilePlayer(fileContents);
31 player.drawTo(surface, 789); // number of commands in sample file
55 const player = Debugger.SkpFilePlayer(fileContents);
57 player.drawTo(surface, 789); // number of commands in sample file
/third_party/gstreamer/gstplugins_bad/ext/gme/
Dgstgme.c120 gme->player = NULL; in gst_gme_dec_init()
218 guint64 cur = gme_tell (gme->player) * GST_MSECOND; in gst_gme_dec_src_event()
306 (gint64) gme_tell (gme->player) * GST_MSECOND); in gst_gme_dec_src_query()
331 GST_BUFFER_TIMESTAMP (out) = gme_tell (gme->player) * GST_MSECOND; in gst_gme_play()
334 gme_err = gme_play (gme->player, NUM_SAMPLES * 2, (short *) map.data); in gst_gme_play()
345 gme_seek (gme->player, gme->seekpoint); in gst_gme_play()
365 if (gme_tell (gme->player) * GST_MSECOND > gme->total_duration) { in gst_gme_play()
396 gme_err = gme_open_data (map.data, map.size, &gme->player, 32000); in gme_setup()
400 if (gme_err || !gme->player) { in gme_setup()
401 if (gme->player) { in gme_setup()
[all …]
/third_party/skia/modules/audioplayer/
DSkAudioPlayer_mac.mm23 SkAudioPlayer_Mac(AVAudioPlayer* player, sk_sp<SkData> data)
24 : fPlayer(player)
67 sk_sp<SkData> fData; // we hold this onbehalf of the player's NSData
74 AVAudioPlayer* player = [[AVAudioPlayer alloc] initWithData:data error:nil];
77 if (player) {
78 return std::unique_ptr<SkAudioPlayer>(new SkAudioPlayer_Mac(player, std::move(src)));
/third_party/flutter/skia/experimental/wasm-skp-debugger/
Dhelper.js6 var player = new this.SkpDebugPlayer();
18 player.loadSkp(fileMemPtr, size);
21 return player;

1234567891011