summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-09-19 02:40:58 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-09-19 02:40:58 +0000
commitab4359a489433aa212b981b9961be3a73eeaf082 (patch)
tree829e849b91e9204043edd5a848078d3c5cac399f /src/xine-engine/video_out.h
parent4562bf4231063f333ce38498b031a740b1ff811a (diff)
downloadxine-lib-ab4359a489433aa212b981b9961be3a73eeaf082.tar.gz
xine-lib-ab4359a489433aa212b981b9961be3a73eeaf082.tar.bz2
deinterlace update, not finished yet (weave looks broken).
changes to Xv driver to keep a list of the recent frames. (this is needed to support a lot of DScaler algorithms) the driver may not be the ideal place to have the recent frames list as we could give "not so recent" frames to deinterlace code if some are dropped at video_out.c. Though this is better than waste our time deinterlacing frames that will be dropped anyway... CVS patchset: 663 CVS date: 2001/09/19 02:40:58
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index cc9d7bb62..1ec2d6147 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.19 2001/09/16 15:21:13 miguelfreitas Exp $
+ * $Id: video_out.h,v 1.20 2001/09/19 02:40:58 miguelfreitas Exp $
*
*
* xine version of video_out.h
@@ -176,6 +176,12 @@ struct vo_instance_s {
#define VO_PROP_SOFT_DEINTERLACE 7
#define VO_NUM_PROPERTIES 8
+/* number of recent frames to keep in memory
+ these frames are needed by some deinterlace algorithms
+ FIXME: we need a method to flush the recent frames (new stream)
+*/
+#define VO_NUM_RECENT_FRAMES 2
+
/* image formats that can be supported by display drivers: */
#define IMGFMT_YV12 0x32315659
@@ -198,7 +204,7 @@ struct vo_instance_s {
/* video driver capabilities */
-/* driver copies image (i.e. converts it to
+/* driver copies image (i.e. converts it to
rgb buffers in the private fields of image buffer) */
#define VO_CAP_COPIES_IMAGE 0x00000001
@@ -227,7 +233,7 @@ struct vo_driver_s {
uint32_t (*get_capabilities) (vo_driver_t *this); /* for constants see above */
- /*
+ /*
* allocate an vo_frame_t struct,
* the driver must supply the copy, field and dispose functions
*/
@@ -317,7 +323,7 @@ vo_instance_t *vo_new_instance (vo_driver_t *driver, metronom_t *metronom) ;
* visual - driver specific info (e.g. Display*)
*
* return value: video_driver_t* in case of success,
- * NULL on failure (e.g. wrong interface version,
+ * NULL on failure (e.g. wrong interface version,
* wrong visual type...)
*
*