summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-07-24 12:57:29 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-07-24 12:57:29 +0000
commitf6518586f4ff96282aa83faa5f1e54b26c657705 (patch)
tree13e32900db3df007b8f022bd360727ed3a2c16e0 /src/xine-engine/video_out.h
parentaa41997f54697faf52e539ec27c78db60ed8561e (diff)
downloadxine-lib-f6518586f4ff96282aa83faa5f1e54b26c657705.tar.gz
xine-lib-f6518586f4ff96282aa83faa5f1e54b26c657705.tar.bz2
big xshm cleanup (free memory properly, set up yuv2rgb only when necessary, clean up field picture handling), gearing up for rc2
CVS patchset: 334 CVS date: 2001/07/24 12:57:29
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index b1f00f6c6..a17b30f67 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.13 2001/07/18 21:38:17 f1rmb Exp $
+ * $Id: video_out.h,v 1.14 2001/07/24 12:57:30 guenter Exp $
*
*
* xine version of video_out.h
@@ -111,10 +111,12 @@ struct vo_instance_s {
* ratio == aspect ration information
* format == FOURCC descriptor of image format
* duration == frame duration in 1/90000 sec
+ * flags == field/prediction flags
*/
vo_frame_t* (*get_frame) (vo_instance_t *this, uint32_t width,
uint32_t height, int ratio_code,
- int format, uint32_t duration);
+ int format, uint32_t duration,
+ int flags);
/* overlay stuff */
vo_overlay_t* (*get_overlay) (vo_instance_t *this);
@@ -172,6 +174,13 @@ struct vo_instance_s {
#define ASPECT_FULL 2 /* 4:3 */
#define ASPECT_DVB 3 /* 1:2 */
+/* get_frame flags */
+
+#define VO_TOP_FIELD 1
+#define VO_BOTTOM_FIELD 2
+#define VO_BOTH_FIELDS (VO_TOP_FIELD | VO_BOTTOM_FIELD)
+#define VO_PREDICTION_FLAG 4
+
/* video driver capabilities */
/* driver copies image (i.e. converts it to
@@ -216,7 +225,7 @@ struct vo_driver_s {
*/
void (*update_frame_format) (vo_driver_t *this, vo_frame_t *img,
uint32_t width, uint32_t height,
- int ratio_code, int format);
+ int ratio_code, int format, int flags);
/* display a given frame */
void (*display_frame) (vo_driver_t *this, vo_frame_t *vo_img);