Modules | |
Search | |
Search the Teletext page cache. | |
Functions | |
void | vbi_unref_page (vbi_page *pg) |
int | vbi_is_cached (vbi_decoder *, int pgno, int subno) |
int | vbi_cache_hi_subno (vbi_decoder *vbi, int pgno) |
vbi_bool | vbi_fetch_cc_page (vbi_decoder *vbi, vbi_page *pg, vbi_pgno pgno, vbi_bool reset) |
vbi_bool | vbi_fetch_vt_page (vbi_decoder *vbi, vbi_page *pg, vbi_pgno pgno, vbi_subno subno, vbi_wst_level max_level, int display_rows, vbi_bool navigation) |
int | vbi_page_title (vbi_decoder *vbi, int pgno, int subno, char *buf) |
void vbi_unref_page | ( | vbi_page * | pg | ) |
pg | Previously fetched vbi_page. |
int vbi_is_cached | ( | vbi_decoder * | vbi, | |
int | pgno, | |||
int | subno | |||
) |
vbi | ||
pgno | ||
subno |
TRUE
if the given page is cached. int vbi_cache_hi_subno | ( | vbi_decoder * | vbi, | |
int | pgno | |||
) |
vbi | ||
pgno |
vbi | Initialized vbi decoding context. | |
pg | Place to store the formatted page. | |
pgno | Page number 1 ... 8 of the page to fetch, see vbi_pgno. | |
reset | TRUE resets the vbi_page dirty fields in cache after fetching. Pass FALSE only if you plan to call this function again to update other displays. |
VBI_EVENT_CAPTION
event to be notified about pending changes (in case of "roll-up" mode that is with each new word received) and the vbi_page->dirty fields will mark the lines actually in need of updates, to speed up rendering.Although safe to do, this function is not supposed to be called from an event handler, since rendering may block decoding for extended periods of time.
FALSE
if some error occured. vbi_bool vbi_fetch_vt_page | ( | vbi_decoder * | vbi, | |
vbi_page * | pg, | |||
vbi_pgno | pgno, | |||
vbi_subno | subno, | |||
vbi_wst_level | max_level, | |||
int | display_rows, | |||
vbi_bool | navigation | |||
) |
vbi | Initialized vbi_decoder context. | |
pg | Place to store the formatted page. | |
pgno | Page number of the page to fetch, see vbi_pgno. | |
subno | Subpage number to fetch (optional VBI_ANY_SUBNO ). | |
max_level | Format the page at this Teletext implementation level. | |
display_rows | Number of rows to format, between 1 ... 25. | |
navigation | Analyse the page and add navigation links, including TOP and FLOF. |
Although safe to do, this function is not supposed to be called from an event handler since rendering may block decoding for extended periods of time.
FALSE
if the page is not cached or could not be formatted for other reasons, for instance is a data page not intended for display. Level 2.5/3.5 pages which could not be formatted e. g. due to referencing data pages not in cache are formatted at a lower level. int vbi_page_title | ( | vbi_decoder * | vbi, | |
int | pgno, | |||
int | subno, | |||
char * | buf | |||
) |
vbi | Initialized vbi decoding context. | |
pgno | Page number, see vbi_pgno. | |
subno | Subpage number. | |
buf | Place to store the title, Latin-1 format, at least 41 characters including the terminating zero. |
TRUE
if a title has been found.