diff options
author | Stefan Holst <holstsn@users.sourceforge.net> | 2003-03-19 01:11:12 +0000 |
---|---|---|
committer | Stefan Holst <holstsn@users.sourceforge.net> | 2003-03-19 01:11:12 +0000 |
commit | 8b46aaa2a0460af4666c05089425d31dc516572c (patch) | |
tree | 9c62b36353178bb24af2ce130e273a13ccf4684f /include | |
parent | fb8ae277e77d84966a4dc81ff65a4b2c5cd95739 (diff) | |
download | xine-lib-8b46aaa2a0460af4666c05089425d31dc516572c.tar.gz xine-lib-8b46aaa2a0460af4666c05089425d31dc516572c.tar.bz2 |
fb_visual_t for fb video driver, enable frame_output_cb in that driver.
CVS patchset: 4448
CVS date: 2003/03/19 01:11:12
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index b11668626..b82108ed3 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -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: xine.h.in,v 1.66 2003/03/16 21:40:27 f1rmb Exp $ + * $Id: xine.h.in,v 1.67 2003/03/19 01:11:12 holstsn Exp $ * * public xine-lib (libxine) interface and documentation * @@ -948,6 +948,26 @@ typedef struct { } x11_visual_t; /* + * this is the visual data struct any fb gui + * may supply to the xine_open_video_driver call + * ("data" parameter) to get frame_output_cd calls + */ + +typedef struct { + + void (*frame_output_cb) (void *user_data, + int video_width, int video_height, + double video_pixel_aspect, + int *dest_x, int *dest_y, + int *dest_width, int *dest_height, + double *dest_pixel_aspect, + int *win_x, int *win_y); + + void *user_data; + +} fb_visual_t; + +/* * "type" constants for xine_gui_send_vo_data (...) */ |