Data Structures | |
struct | vbi_char |
Attributed character. More... | |
struct | vbi_page |
Formatted Teletext or Closed Caption page. More... | |
Typedefs | |
typedef uint32_t | vbi_rgba |
Colormap entry: 0xAABBGGRR. libzvbi sets the alpha channel always to 0xFF. | |
typedef vbi_char | vbi_char |
Attributed character. | |
typedef vbi_page | vbi_page |
Formatted Teletext or Closed Caption page. | |
typedef vbi_font_descr | vbi_font_descr |
Opaque font descriptor. | |
Enumerations | |
enum | vbi_color { VBI_BLACK, VBI_RED, VBI_GREEN, VBI_YELLOW, VBI_BLUE, VBI_MAGENTA, VBI_CYAN, VBI_WHITE } |
Index into the vbi_page->color_map. More... | |
enum | vbi_opacity { VBI_TRANSPARENT_SPACE, VBI_TRANSPARENT_FULL, VBI_SEMI_TRANSPARENT, VBI_OPAQUE } |
Defines the opacity of a vbi_char and vbi_page border. More... | |
enum | vbi_size { VBI_NORMAL_SIZE, VBI_DOUBLE_WIDTH, VBI_DOUBLE_HEIGHT, VBI_DOUBLE_SIZE, VBI_OVER_TOP, VBI_OVER_BOTTOM, VBI_DOUBLE_HEIGHT2, VBI_DOUBLE_SIZE2 } |
Defines the size of a vbi_char in a vbi_page. More... | |
Functions | |
_vbi_inline vbi_bool | vbi_is_print (unsigned int unicode) |
_vbi_inline vbi_bool | vbi_is_gfx (unsigned int unicode) |
_vbi_inline vbi_bool | vbi_is_drcs (unsigned int unicode) |
|
Formatted Teletext or Closed Caption page. Clients can fetch pages from the respective cache using vbi_fetch_vt_page() or vbi_fetch_cc_page() for evaluation, display or output. Since the page may reference other objects in cache which are locked by the fetch functions, vbi_unref_page() must be called when done. Note this structure is large, some 10 KB. |
|
Index into the vbi_page->color_map. The enumerated color names refer to the Teletext and Closed Caption base palette of eight colors. Note however the color_map really has 40 entries for Teletext Level 2.5+, 32 of which are redefinable, the remaining eight are private colors of libzvbi e. g. for navigational information. So these symbols may not necessarily correspond to the respective color. |
|
Defines the opacity of a vbi_char and vbi_page border. Teletext Level 2.5 defines a special transparent color which permits unusual characters with transparent foreground, opaque background. For simplicity this type of opacity has been omitted. Also renderers shall rely on the opacity attribute and not attempt to interpret the color value as transparency indicator.
|
|
Defines the size of a vbi_char in a vbi_page. Double width or height characters expand into the next column right and/or next row below.
Scanning two rows left to right, you will find
|
|
|
|
|
|
|