summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Thommeret <hftom@free.fr>2008-12-21 18:49:33 +0000
committerChristophe Thommeret <hftom@free.fr>2008-12-21 18:49:33 +0000
commitfa9e2c2f46c18cf16a0f6acbc75e671876c29d51 (patch)
tree00c98ec43b48ece837a85cff9011beea2b0e2e5f
parent32bb0368b6f1c860d20900da9b7a187ecc767502 (diff)
downloadxine-lib-fa9e2c2f46c18cf16a0f6acbc75e671876c29d51.tar.gz
xine-lib-fa9e2c2f46c18cf16a0f6acbc75e671876c29d51.tar.bz2
Chroma type.
-rw-r--r--src/xine-engine/accel_vdpau.h2
-rw-r--r--src/xine-engine/video_out.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/xine-engine/accel_vdpau.h b/src/xine-engine/accel_vdpau.h
index 73965abc2..e489408c5 100644
--- a/src/xine-engine/accel_vdpau.h
+++ b/src/xine-engine/accel_vdpau.h
@@ -42,12 +42,12 @@ typedef struct {
VdpDevice vdp_device;
VdpGetErrorString *vdp_get_error_string;
- VdpVideoSurfaceCreate *vdp_video_surface_create;
VdpDecoderCreate *vdp_decoder_create;
VdpDecoderDestroy *vdp_decoder_destroy;
VdpDecoderRender *vdp_decoder_render;
VdpVideoSurface surface;
+ VdpChromaType chroma;
} vdpau_accel_t;
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index b3903d4f8..17ddd660b 100644
--- a/src/xine-engine/video_out.h
+++ b/src/xine-engine/video_out.h
@@ -271,6 +271,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 */
@@ -280,8 +281,8 @@ 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 Nvidia VDPAU for H264 */
-#define VO_CAP_VDPAU_MPEG12 0x00000100 /* driver can use Nvidia VDPAU for mpeg1/2 */
+#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 */
/*