summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger_lists@hispeed.ch>2006-11-29 16:46:57 +0100
committerRoland Scheidegger <rscheidegger_lists@hispeed.ch>2006-11-29 16:46:57 +0100
commit9f5ea3981449f29ff204eb154166e8fc813205fa (patch)
treec4b1d13aab46ee52e97862e999633eac525a9d52 /src/radeon.h
parent35a5eaf5adf103ef57f8d4590dae25b0c50bd780 (diff)
radeon: bug #1462, predownscale to make HD video work.
Use the overlay scaler's predownscale capability to make videos with large horizontal resolution work if it exceeds the scaler buffer width. Make the scaler buffer width user-configurable since we don't know it for all chips, and using predownscaling may otherwise reduce quality even if it wouldn't be needed. This should fix bug #1462.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 7789a9a7..646b742e 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -142,6 +142,7 @@ typedef enum {
OPTION_TUNER_TYPE,
OPTION_RAGE_THEATRE_MICROC_PATH,
OPTION_RAGE_THEATRE_MICROC_TYPE,
+ OPTION_SCALER_WIDTH,
#endif
#ifdef RENDER
OPTION_RENDER_ACCEL,
@@ -739,6 +740,7 @@ typedef struct {
CARD8 input[5];
} MM_TABLE;
CARD16 video_decoder_type;
+ int overlay_scaler_buffer_width;
/* Render */
Bool RenderAccel;