diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-01-03 16:41:19 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-01-03 16:41:19 +0000 |
| commit | b664f62e36b5f0ac296567e423816dab3811075d (patch) | |
| tree | 7ca49c59d7332d7c1e51139efa12466b6730e511 /apps/plugins/mpegplayer/stream_mgr.h | |
| parent | f8fde296a63dd06efef5cf71c9fdb2c26c5a3fd6 (diff) | |
| download | rockbox-b664f62e36b5f0ac296567e423816dab3811075d.zip rockbox-b664f62e36b5f0ac296567e423816dab3811075d.tar.gz rockbox-b664f62e36b5f0ac296567e423816dab3811075d.tar.bz2 rockbox-b664f62e36b5f0ac296567e423816dab3811075d.tar.xz | |
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.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.h b/apps/plugins/mpegplayer/stream_mgr.h index a07305a..7dba9ac 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); /* Set the visible section of video */ void stream_vo_set_clip(const struct vo_rect *rc); +/* Return current visible section of video */ +bool stream_vo_get_clip(struct vo_rect *rc); + #ifndef HAVE_LCD_COLOR void stream_gray_show(bool show); #endif @@ -149,6 +152,11 @@ static inline uint32_t stream_get_duration(void) static inline bool stream_can_seek(void) { return parser_can_seek(); } +static inline void stream_video_stats(struct video_output_stats *s) + { video_thread_get_stats(s); } + +bool stream_set_callback(long id, void * fn); + /* Keep the disk spinning (for seeking and browsing) */ static inline void stream_keep_disk_active(void) { |