diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-09-12 19:50:41 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-09-12 19:50:41 +0000 |
commit | 131676c0f80f073a2f6cd9d4660fe58affb55f46 (patch) | |
tree | 5a9f44803dc7e5361f0aa5e72e5b927fb11f5577 /src/xine-engine/video_out.h | |
parent | 351db40c64b02835f48bb299295c49deac775997 (diff) | |
download | xine-lib-131676c0f80f073a2f6cd9d4660fe58affb55f46.tar.gz xine-lib-131676c0f80f073a2f6cd9d4660fe58affb55f46.tar.bz2 |
adding still picture support (needed to implement menus) based on Rich's work
CVS patchset: 625
CVS date: 2001/09/12 19:50:41
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r-- | src/xine-engine/video_out.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 03c68a7ca..2f14a5e9c 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.h,v 1.17 2001/08/17 15:54:31 ehasenle Exp $ + * $Id: video_out.h,v 1.18 2001/09/12 19:50:41 guenter Exp $ * * * xine version of video_out.h @@ -64,6 +64,10 @@ struct vo_frame_s { uint8_t *base[3]; int nType; /* I, B or P frame */ + /* additional information to be able to duplicate frames: */ + int width, height; + int ratio, format, duration; + int bDisplayLock, bDecoderLock, bDriverLock; pthread_mutex_t mutex; /* so the various locks will be serialized */ @@ -124,6 +128,8 @@ struct vo_instance_s { uint32_t height, int ratio_code, int format, uint32_t duration, int flags); + + vo_frame_t* (*get_last_frame) (vo_instance_t *this); /* overlay stuff */ void (*register_ovl_src) (vo_instance_t *this, ovl_src_t *ovl_src); @@ -144,6 +150,8 @@ struct vo_instance_s { img_buf_fifo_t *free_img_buf_queue; img_buf_fifo_t *display_img_buf_queue; + vo_frame_t *last_frame; + int video_loop_running; pthread_t video_thread; |