summaryrefslogtreecommitdiff
path: root/include/xine
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-11-20 03:46:10 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-11-20 03:46:10 +0000
commitc7355d9282de0d6b3d5d1923ffe06bf1587393a9 (patch)
tree6f26f93dd9c8b8a1dca260c097b647612933e312 /include/xine
parentfd7db10fedd5d3b7952c4785bec11c2692090cfb (diff)
parent34e3074e5efa935f2022d870842517d4e0d445c4 (diff)
downloadxine-lib-c7355d9282de0d6b3d5d1923ffe06bf1587393a9.tar.gz
xine-lib-c7355d9282de0d6b3d5d1923ffe06bf1587393a9.tar.bz2
Merge from 1.1; merge vdpau (with adjustments for 1.2).
--HG-- rename : include/xine.h.in => include/xine.h rename : src/xine-engine/osd.h => include/xine/osd.h rename : src/xine-engine/video_out.h => include/xine/video_out.h rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c rename : src/libvdpau/Makefile.am => src/video_dec/libvdpau/Makefile.am rename : src/libvdpau/bits_reader.h => src/video_dec/libvdpau/bits_reader.h rename : src/libvdpau/dpb.c => src/video_dec/libvdpau/dpb.c rename : src/libvdpau/dpb.h => src/video_dec/libvdpau/dpb.h rename : src/libvdpau/h264_parser.c => src/video_dec/libvdpau/h264_parser.c rename : src/libvdpau/h264_parser.h => src/video_dec/libvdpau/h264_parser.h rename : src/libvdpau/nal.c => src/video_dec/libvdpau/nal.c rename : src/libvdpau/nal.h => src/video_dec/libvdpau/nal.h rename : src/libvdpau/vdpau_h264.c => src/video_dec/libvdpau/vdpau_h264.c rename : src/libvdpau/vdpau_mpeg12.c => src/video_dec/libvdpau/vdpau_mpeg12.c rename : src/libvdpau/vdpau_vc1.c => src/video_dec/libvdpau/vdpau_vc1.c
Diffstat (limited to 'include/xine')
-rw-r--r--include/xine/video_out.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/xine/video_out.h b/include/xine/video_out.h
index d152ddec4..4809ce719 100644
--- a/include/xine/video_out.h
+++ b/include/xine/video_out.h
@@ -154,6 +154,9 @@ struct vo_frame_s {
/* displacement for overlays */
int overlay_offset_x, overlay_offset_y;
+
+ /* pointer to the next frame in display order, used by some vo deint */
+ struct vo_frame_s *future_frame;
/*
* that part is used only by video_out.c for frame management
@@ -255,7 +258,9 @@ struct xine_video_port_s {
#define VO_PROP_OUTPUT_HEIGHT 20 /* read-only */
#define VO_PROP_OUTPUT_XOFFSET 21 /* read-only */
#define VO_PROP_OUTPUT_YOFFSET 22 /* read-only */
-#define VO_NUM_PROPERTIES 23
+#define VO_PROP_SHARPNESS 24
+#define VO_PROP_NOISE_REDUCTION 25
+#define VO_NUM_PROPERTIES 26
/* number of colors in the overlay palette. Currently limited to 256
at most, because some alphablend functions use an 8-bit index into
@@ -277,6 +282,7 @@ struct xine_video_port_s {
#define VO_PAN_SCAN_FLAG 4
#define VO_INTERLACED_FLAG 8
#define VO_NEW_SEQUENCE_FLAG 16 /* set after MPEG2 Sequence Header Code (used by XvMC) */
+#define VO_CHROMA_422 32 /* used by VDPAU, default is chroma_420 */
/* video driver capabilities */
#define VO_CAP_YV12 0x00000001 /* driver can handle YUV 4:2:0 pictures */
@@ -286,6 +292,9 @@ struct xine_video_port_s {
#define VO_CAP_UNSCALED_OVERLAY 0x00000010 /* driver can blend overlay at output resolution */
#define VO_CAP_CROP 0x00000020 /* driver can crop */
#define VO_CAP_XXMC 0x00000040 /* driver can use extended XvMC */
+#define VO_CAP_VDPAU_H264 0x00000080 /* driver can use VDPAU for H264 */
+#define VO_CAP_VDPAU_MPEG12 0x00000100 /* driver can use VDPAU for mpeg1/2 */
+#define VO_CAP_VDPAU_VC1 0x00000200 /* driver can use VDPAU for mpeg1/2 */
#define VO_CAP_HUE 0x00010000
#define VO_CAP_SATURATION 0x00020000
#define VO_CAP_CONTRAST 0x00040000
@@ -298,6 +307,7 @@ struct xine_video_port_s {
#define VO_CAP_ARGB_LAYER_OVERLAY 0x02000000 /* driver supports true color overlay */
#define VO_CAP_VIDEO_WINDOW_OVERLAY 0x04000000 /* driver can scale video to an area within overlay */
+
/*
* vo_driver_s contains the functions every display driver
* has to implement. The vo_new_port function (see below)
@@ -468,7 +478,6 @@ struct vo_overlay_s {
int unscaled; /* true if it should be blended unscaled */
-
argb_layer_t *argb_layer;
};