From 37cc903c609ca656a71852e5f50731f0b43bdda0 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 24 Sep 2005 19:08:26 +0000 Subject: - 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 --- src/video_out/alphablend.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/video_out/alphablend.h') 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; -- cgit v1.2.3