summaryrefslogtreecommitdiff
path: root/src/video_out/alphablend.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-09-24 19:08:26 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-09-24 19:08:26 +0000
commit37cc903c609ca656a71852e5f50731f0b43bdda0 (patch)
tree50d8c59540de4b6ef20b24acd784903764b99522 /src/video_out/alphablend.h
parent097426600056a112752e92eb1c13f0d6900f3907 (diff)
downloadxine-lib-37cc903c609ca656a71852e5f50731f0b43bdda0.tar.gz
xine-lib-37cc903c609ca656a71852e5f50731f0b43bdda0.tar.bz2
- rename all clip_top, clip_left, clip_color... to hili_xxxx. that
"clip" thing has caused too much confusion already since these variables define a highlight area. - add overlay offset support to video_out.c/alphablend/vo drivers - use overlay offset to implement proper croping of frames when vo driver doesn't support it - add clipping checks to alphablend to avoid buffer overflow, buffer "underflow" and wrapping. - increase vo api number - note: dxr3 support is incomplete about overlay offset CVS patchset: 7739 CVS date: 2005/09/24 19:08:26
Diffstat (limited to 'src/video_out/alphablend.h')
-rw-r--r--src/video_out/alphablend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_out/alphablend.h b/src/video_out/alphablend.h
index b49a902c3..e29ddf11d 100644
--- a/src/video_out/alphablend.h
+++ b/src/video_out/alphablend.h
@@ -32,6 +32,8 @@ typedef struct {
int buffer_size;
int disable_exact_blending;
+
+ int offset_x, offset_y;
} alphablend_t;
void _x_alphablend_init(alphablend_t *extra_data, xine_t *xine);
@@ -74,7 +76,7 @@ typedef struct {
unsigned size;
unsigned max_used;
uint32_t cluts[XX44_PALETTE_SIZE];
- /* cache palette entries for both colors and clip_colors */
+ /* cache palette entries for both colors and hili_colors */
int lookup_cache[OVL_PALETTE_SIZE*2];
} xx44_palette_t;