summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/stream_mgr.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-01-03 16:41:19 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-01-03 16:41:19 +0000
commitb664f62e36b5f0ac296567e423816dab3811075d (patch)
tree7ca49c59d7332d7c1e51139efa12466b6730e511 /apps/plugins/mpegplayer/stream_mgr.h
parentf8fde296a63dd06efef5cf71c9fdb2c26c5a3fd6 (diff)
downloadrockbox-b664f62e36b5f0ac296567e423816dab3811075d.tar.gz
rockbox-b664f62e36b5f0ac296567e423816dab3811075d.zip
MPEGPlayer graphics mutation: Implement a more visible FPS display and remove the debugging info from it. Tweak thumbnailing and printing of unavailable frames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28960 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/stream_mgr.h')
-rw-r--r--apps/plugins/mpegplayer/stream_mgr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.h b/apps/plugins/mpegplayer/stream_mgr.h
index a07305a847..7dba9acc09 100644
--- a/apps/plugins/mpegplayer/stream_mgr.h
+++ b/apps/plugins/mpegplayer/stream_mgr.h
@@ -106,6 +106,9 @@ bool stream_show_vo(bool show);
106/* Set the visible section of video */ 106/* Set the visible section of video */
107void stream_vo_set_clip(const struct vo_rect *rc); 107void stream_vo_set_clip(const struct vo_rect *rc);
108 108
109/* Return current visible section of video */
110bool stream_vo_get_clip(struct vo_rect *rc);
111
109#ifndef HAVE_LCD_COLOR 112#ifndef HAVE_LCD_COLOR
110void stream_gray_show(bool show); 113void stream_gray_show(bool show);
111#endif 114#endif
@@ -149,6 +152,11 @@ static inline uint32_t stream_get_duration(void)
149static inline bool stream_can_seek(void) 152static inline bool stream_can_seek(void)
150 { return parser_can_seek(); } 153 { return parser_can_seek(); }
151 154
155static inline void stream_video_stats(struct video_output_stats *s)
156 { video_thread_get_stats(s); }
157
158bool stream_set_callback(long id, void * fn);
159
152/* Keep the disk spinning (for seeking and browsing) */ 160/* Keep the disk spinning (for seeking and browsing) */
153static inline void stream_keep_disk_active(void) 161static inline void stream_keep_disk_active(void)
154{ 162{