diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2008-01-03 17:14:28 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2008-01-03 17:14:28 +0000 |
| commit | a5fc3f4df4bec2b6ae1c22fb83cf495f31773122 (patch) | |
| tree | ba78abac0ee9e5d564907d9e8bee4020d98cb9a8 /apps/plugins/mpegplayer/stream_mgr.h | |
| parent | d1cb32a93f26ef42ae864b911bbd425c49cc4109 (diff) | |
| download | rockbox-a5fc3f4df4bec2b6ae1c22fb83cf495f31773122.zip rockbox-a5fc3f4df4bec2b6ae1c22fb83cf495f31773122.tar.gz rockbox-a5fc3f4df4bec2b6ae1c22fb83cf495f31773122.tar.bz2 rockbox-a5fc3f4df4bec2b6ae1c22fb83cf495f31773122.tar.xz | |
Initial WVS for mpegplayer. Adjusts to the user's preferred font and uses FF/RW preferences set for playback. Picked a random color for the base WVS color but it could be configured. Some engine tweaks to accomodate it since certain nescessities are clearer now. Fix a clipped YUV output bug in the SIM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15991 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/stream_mgr.h')
| -rw-r--r-- | apps/plugins/mpegplayer/stream_mgr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.h b/apps/plugins/mpegplayer/stream_mgr.h index 63452ec..dd5d8ca 100644 --- a/apps/plugins/mpegplayer/stream_mgr.h +++ b/apps/plugins/mpegplayer/stream_mgr.h @@ -105,6 +105,9 @@ int stream_seek(uint32_t time, int whence); /* Show/Hide the video image at the current seekpoint */ bool stream_show_vo(bool show); +/* Set the visible section of video */ +void stream_vo_set_clip(const struct vo_rect *rc); + #ifndef HAVE_LCD_COLOR /* Set the gray overlay rectangle */ bool stream_set_gray_rect(const struct vo_rect *rc); @@ -114,12 +117,19 @@ void stream_gray_show(bool show); /* Display thumbnail of the current seekpoint */ bool stream_display_thumb(const struct vo_rect *rc); +/* Draw the frame at the current position */ +bool stream_draw_frame(bool no_prepare); + /* Return video dimensions */ bool stream_vo_get_size(struct vo_ext *sz); /* Returns the resume time in timestamp ticks */ uint32_t stream_get_resume_time(void); +/* Returns stream_get_time if no seek is pending or else the + last time give to seek */ +uint32_t stream_get_seek_time(uint32_t *start); + /* Return the absolute stream time in clock ticks - adjusted by * master clock stream via audio timestamps */ static inline uint32_t stream_get_time(void) |