annotate libvo/osd.h @ 23510:a6c619ee9d30

Teletext support for tv:// (v4l and v4l2 only) modified patch from Otvos Attila oattila at chello dot hu Module uses zvbi library for all low-level VBI operations (like I/O with vbi device, converting vbi pages into usefull vbi_page stuctures, rendering them into RGB32 images). All teletext related stuff (except properties, slave commands and rendering osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented in tvi_vbi.c New properties: teletext_page - switching between pages teletext_mode - switch between on/off/opaque/transparent modes teletext_format - (currently read-only) allows to get format info (black/white,gray,text) teletext_half_page - trivial zooming (displaying top/bottom half of teletext page) New slave commands: teletext_add_dec - user interface for jumping to any page by editing page number interactively teletext_go_link - goes though links, specified on current page
author voroshil
date Sun, 10 Jun 2007 00:06:12 +0000
parents f580a7755ac5
children 3f0d00abc073
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
615
pontscho
parents:
diff changeset
1
pontscho
parents:
diff changeset
2 #ifndef __MPLAYER_OSD_H
pontscho
parents:
diff changeset
3 #define __MPLAYER_OSD_H
pontscho
parents:
diff changeset
4
pontscho
parents:
diff changeset
5 // Generic alpha renderers for all YUV modes and RGB depths.
pontscho
parents:
diff changeset
6 // These are "reference implementations", should be optimized later (MMX, etc)
pontscho
parents:
diff changeset
7
17566
f580a7755ac5 Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents: 12516
diff changeset
8 extern void vo_draw_alpha_init(void); // build tables
947
76fd9463b9d3 FAST_OSD option to disable font outline antialiasing
arpi_esp
parents: 615
diff changeset
9
615
pontscho
parents:
diff changeset
10 extern void vo_draw_alpha_yv12(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
pontscho
parents:
diff changeset
11 extern void vo_draw_alpha_yuy2(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
12516
6f7b5123ac56 draw alpha for uyvy
nplourde
parents: 1088
diff changeset
12 extern void vo_draw_alpha_uyvy(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
615
pontscho
parents:
diff changeset
13 extern void vo_draw_alpha_rgb24(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
pontscho
parents:
diff changeset
14 extern void vo_draw_alpha_rgb32(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
pontscho
parents:
diff changeset
15 extern void vo_draw_alpha_rgb15(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
pontscho
parents:
diff changeset
16 extern void vo_draw_alpha_rgb16(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride);
pontscho
parents:
diff changeset
17
1088
f558888661ca newline at the end of the file
szabii
parents: 947
diff changeset
18 #endif
f558888661ca newline at the end of the file
szabii
parents: 947
diff changeset
19