diff options
author | Christian Vogler <cvogler@users.sourceforge.net> | 2002-01-08 16:47:56 +0000 |
---|---|---|
committer | Christian Vogler <cvogler@users.sourceforge.net> | 2002-01-08 16:47:56 +0000 |
commit | 9d0cd30a2d05db1e72dbbefa305024afcd34a0fc (patch) | |
tree | 4433bf6e6f8f1d36c041e3a6d8a9e81f44c9c430 /src/xine-engine/video_out.h | |
parent | 5672c3abb1afcbcacd2a1f618ab850f5838add2a (diff) | |
download | xine-lib-9d0cd30a2d05db1e72dbbefa305024afcd34a0fc.tar.gz xine-lib-9d0cd30a2d05db1e72dbbefa305024afcd34a0fc.tar.bz2 |
increase palette size of overlays to 256 colors
allow multiple text colors in osd text rendering
CVS patchset: 1376
CVS date: 2002/01/08 16:47:56
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r-- | src/xine-engine/video_out.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 69b808970..569b054d1 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.h,v 1.33 2001/12/24 00:45:03 guenter Exp $ + * $Id: video_out.h,v 1.34 2002/01/08 16:47:57 cvogler Exp $ * * * xine version of video_out.h @@ -195,6 +195,10 @@ struct vo_instance_s { #define VO_ZOOM_MAX 400 #define VO_ZOOM_MIN -85 +/* number of colors in the overlay palette. Currently limited to 256 + at most, because some alphablend functions use an 8-bit index into + the palette. This should probably be classified as a bug. */ +#define OVL_PALETTE_SIZE 256 /* number of recent frames to keep in memory these frames are needed by some deinterlace algorithms @@ -316,8 +320,8 @@ struct vo_overlay_s { int width; /* width of subpicture area */ int height; /* height of subpicture area */ - uint32_t color[16]; /* color lookup table */ - uint8_t trans[16]; /* mixer key table */ + uint32_t color[OVL_PALETTE_SIZE]; /* color lookup table */ + uint8_t trans[OVL_PALETTE_SIZE]; /* mixer key table */ int rgb_clut; /* true if clut was converted to rgb*/ int clip_top; |