From b664f62e36b5f0ac296567e423816dab3811075d Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 3 Jan 2011 16:41:19 +0000 Subject: 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 --- apps/plugins/mpegplayer/stream_mgr.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins/mpegplayer/stream_mgr.h') 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); /* 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) { -- cgit v1.2.3