diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-26 01:03:31 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-26 01:03:31 +0000 |
commit | f7c890258f736dc45ae81e2097df6c9658e93606 (patch) | |
tree | eed0d30d99ebbdc649d7fb20329ec2911357b877 /src/xine-engine/video_out.h | |
parent | 1daacd9d5b53cac2671d2bd9c93a3daa629254ea (diff) | |
download | xine-lib-f7c890258f736dc45ae81e2097df6c9658e93606.tar.gz xine-lib-f7c890258f736dc45ae81e2097df6c9658e93606.tar.bz2 |
* new unscaled overlay feature (using XShape extension)
text subtitles may now be rendered at full screen resolution
* load xine fonts on demand - faster startup
note: support added to xv, xshm and vidix
CVS patchset: 5780
CVS date: 2003/11/26 01:03:31
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r-- | src/xine-engine/video_out.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 567f8ddfd..0f1e2db0e 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.102 2003/11/15 14:54:31 miguelfreitas Exp $ + * $Id: video_out.h,v 1.103 2003/11/26 01:03:32 miguelfreitas Exp $ * * * xine version of video_out.h @@ -254,7 +254,9 @@ struct xine_video_port_s { #define VO_PROP_MAX_NUM_FRAMES 11 #define VO_PROP_ZOOM_Y 13 #define VO_PROP_DISCARD_FRAMES 14 /* not used by drivers */ -#define VO_NUM_PROPERTIES 15 +#define VO_PROP_WINDOW_WIDTH 15 /* read-only */ +#define VO_PROP_WINDOW_HEIGHT 16 /* read-only */ +#define VO_NUM_PROPERTIES 17 /* number of colors in the overlay palette. Currently limited to 256 at most, because some alphablend functions use an 8-bit index into @@ -280,6 +282,7 @@ struct xine_video_port_s { #define VO_CAP_YUY2 0x00000002 /* driver can handle YUY2 pictures */ #define VO_CAP_XVMC_MOCOMP 0x00000004 /* driver can use XvMC motion compensation */ #define VO_CAP_XVMC_IDCT 0x00000008 /* driver can use XvMC idct acceleration */ +#define VO_CAP_UNSCALED_OVERLAY 0x00000010 /* driver can blend overlay at output resolution */ /* macroblock modes */ #define XINE_MACROBLOCK_INTRA 1 @@ -429,7 +432,7 @@ struct vo_overlay_s { 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 rgb_clut; /* true if clut was converted to rgb */ int clip_top; int clip_bottom; @@ -437,8 +440,8 @@ struct vo_overlay_s { int clip_right; uint32_t clip_color[OVL_PALETTE_SIZE]; uint8_t clip_trans[OVL_PALETTE_SIZE]; - int clip_rgb_clut; /* true if clut was converted to rgb*/ - + int clip_rgb_clut; /* true if clut was converted to rgb */ + int unscaled; /* true if it should be blended unscaled */ }; |