summaryrefslogtreecommitdiffstats
path: root/libvo/vo_svga.c
diff options
context:
space:
mode:
authorse7encode <se7encode@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-24 12:21:42 +0000
committerse7encode <se7encode@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-24 12:21:42 +0000
commitecb65d7c2a2d19a588e47ba32ca4b92e1670c5f7 (patch)
tree32bc9d245abb09aae391c40cdf772bc62d464d5c /libvo/vo_svga.c
parent4ff11b99495e63895791171a82694ed51d62448c (diff)
downloadmpv-ecb65d7c2a2d19a588e47ba32ca4b92e1670c5f7.tar.bz2
mpv-ecb65d7c2a2d19a588e47ba32ca4b92e1670c5f7.tar.xz
*** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@618 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_svga.c')
-rw-r--r--libvo/vo_svga.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index e7938cb00e..812acf61e5 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -22,6 +22,7 @@
#include "mmx.h"
#include "sub.h"
+#include "osd.h"
extern void rgb15to16_mmx(char* s0,char* d0,int count);
extern int vo_dbpp;
@@ -178,8 +179,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width,
} else {
bpp = 32;
bpp_conv = 1;
- if (verbose)
- printf("vo_svga: BPP conversion 24->32\n");
+ printf("vo_svga: BPP conversion 24->32\n");
}
break;
case 16: if (!(bpp_avail & BPP_16)) {
@@ -196,8 +196,7 @@ static uint32_t init(uint32_t width, uint32_t height, uint32_t d_width,
} else {
bpp = 16;
bpp_conv = 1;
- if (verbose)
- printf("vo_svga: BPP conversion 15->16\n");
+ printf("vo_svga: BPP conversion 15->16\n");
}
break;
}
@@ -420,8 +419,6 @@ static const vo_info_t* get_info(void) {
return (&vo_info);
}
-#include "osd.h"
-
static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
unsigned char *srca, int stride) {
switch (bpp) {
@@ -485,7 +482,8 @@ static uint32_t draw_frame(uint8_t *src[]) {
src[0] = bppbuf;
}
gl_putbox(x_pos, y_pos, maxw, maxh, src[0]);
- return 0;
+
+ return (0);
}
static uint32_t draw_slice(uint8_t *image[], int stride[],
@@ -502,7 +500,8 @@ static uint32_t draw_slice(uint8_t *image[], int stride[],
src = scalebuf;
}
gl_putbox((int)(x * scaling) + x_pos, (int)(y * scaling) + y_pos, sw, sh, src);
- return 0;
+
+ return (0);
}
static void flip_page(void) {
@@ -542,4 +541,4 @@ static void uninit(void) {
free(modelist);
}
}
-
+ \ No newline at end of file