summaryrefslogtreecommitdiff
path: root/src/via_xvpriv.h
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2004-06-08 21:59:44 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2004-06-08 21:59:44 +0000
commit10322a1c976d9390549bedc10b3a6805a77910d6 (patch)
tree7365f7797ab69eff0964fb15e62ecfdda0db2fc2 /src/via_xvpriv.h
parentbb006a6536d1c4a3cabb01408d884a4fd92ed9d8 (diff)
Merged devel-branch-km400-xv providing KM400 Xv support
XV_AUTOPAINT_COLORKEY attribute added to Xv and XvMC. XV_HUE attribute with new scale in Xv and added in XvMC. XV_CONTRAST attribute with new scale in Xv and added in XvMC XV_SATURATION attribute with new scale in Xv and added in XvMC XV_BRIGHTNESS attribute with new scale in Xv and added in XvMC Note that the four last attributes are temporarily disabled until I've corrected VIA's completely broken formulas.
Diffstat (limited to 'src/via_xvpriv.h')
-rw-r--r--src/via_xvpriv.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/via_xvpriv.h b/src/via_xvpriv.h
index bc0d978..4ba9d7a 100644
--- a/src/via_xvpriv.h
+++ b/src/via_xvpriv.h
@@ -46,10 +46,10 @@
typedef struct {
unsigned char xv_portnum;
- unsigned char brightness;
- unsigned char saturation;
- unsigned char contrast;
- unsigned char hue;
+ int brightness;
+ int saturation;
+ int contrast;
+ int hue;
unsigned long dwEncoding;
RegionRec clip;
CARD32 colorKey;
@@ -58,6 +58,7 @@ typedef struct {
VIACapRec CapInfo;
CARD32 AudioMode;
int Volume;
+ Bool autoPaint;
/* Surface structure */
DDSURFACEDESC SurfaceDesc;
@@ -65,11 +66,8 @@ typedef struct {
/* file handle */
int nr;
- struct video_capability cap;
/* attributes */
- struct video_picture pict;
- struct video_audio audio;
int *input;
int *norm;