![]() |
DVBCore
20.3.0
DVBCore Documentation
|
Header file - EBU Teletext driver. More...
#include "techtype.h"
Go to the source code of this file.
Classes | |
struct | s_ebutt_font |
Typedefs | |
typedef enum e_ebutt_event | E_EBUTT_EVENT |
typedef enum e_ebutt_caching_method | E_EBUTT_CACHING_METHOD |
typedef enum e_ebutt_character_set_designation | E_EBUTT_CHARACTER_SET_DESIGNATION |
typedef struct s_ebutt_font | S_EBUTT_FONT |
Functions | |
BOOLEAN | STB_EBUTT_Initialise (void) |
This must be called to invoke the EBU TeleText driver module before all other functionality can be accessed. This initiates the relevant resources used by the driver module. As a consequence of calling this function, no TeleText processing will occur until other functions are called. It is envisaged that this function may be called within the general initialisation of the STB layer. More... | |
void | STB_EBUTT_Kill (U8BIT path) |
This is the accompanying function to STB_EBUTT_Initialise( ), and is called to shut-down the EBU TeleText driver module and release the relevant resources used by the driver module. This may not be used in some implementations. More... | |
void | STB_EBUTT_Start (U8BIT path, U16BIT text_pid, U8BIT magazine, U8BIT page) |
These functions are called to control whether received TeleText data is processed. Using this functionality ensures that the process of collating page information can be halted when processing resources are a consideration. It is envisaged that some implementations may wish only to collate TeleText content only when the display is being shown, whilst other designs may which to cache significant page content as a background process. Abstracting this functionality from the initialisation routines gives the option to support both solution types. More... | |
void | STB_EBUTT_Stop (U8BIT path, BOOLEAN reset_cache) |
BOOLEAN | STB_EBUTT_InjectData (U8BIT *data_ptr, U32BIT data_length) |
Allows teletext PES data packets to be injected by an external module, which will be decoded and displayed. More... | |
BOOLEAN | STB_EBUTT_Show (E_EBUTT_CHARACTER_SET_DESIGNATION character_set_designation, BOOLEAN navigate_to_index_page, BOOLEAN show_header) |
Called to initiate continuous display of TeleText page content. This will result in either the index page defined in the service data stream being selected, or the previously displayed page (prior to a call to STB_EBUTT_Hide( ) being made) from being reinstated. This function can be called irrespective of the use of the STB_EBUTT_Start( ) / STB_EBUTT_Stop( ) functions, but of course may result in no TeleText data being displayed if none already exists within the cache. The return value indicates whether initialisation of the display mechanism has been successful or not. More... | |
void | STB_EBUTT_Hide (void) |
Called to halt the continuous display of TeleText page content, and to clear the relevant area of the application display. | |
void | STB_EBUTT_SetCacheMethod (E_EBUTT_CACHING_METHOD ebutt_caching_method) |
Called to define the strategy used to determine what page content is to be displayed form the TeleText carousel content. More... | |
void | STB_EBUTT_NotifyEvent (E_EBUTT_EVENT event_type) |
Called whenever a TeleText-specific event being invoked. This is used to pass relevant user input to the driver, and the enumerate type supplied is defined independently of any IR handset / keypad. More... | |
void | STB_EBUTT_NotifyServiceChange (void) |
Called whenever the application permits a TV/Radio service change during a TeleText display session. This is provided because an update of the display to new page content is required. | |
void | STB_EBUTT_SetDisplayBrightness (U8BIT gun_intensity) |
Called to adjust the display brightness (colour intensity) of the Teletext pages. More... | |
void | STB_EBUTT_IncreaseDisplayBrightness (void) |
Called to adjust the display brightness (colour intensity) of the Teletext pages. | |
void | STB_EBUTT_DecreaseDisplayBrightness (void) |
void | STB_EBUTT_SetDisplayAntiAliasing (U8BIT antialias_level) |
Called to adjust the display anti-aliasing level of the Teletext pages. This is used to control 'flicker' on TV displays. More... | |
void | STB_EBUTT_IncreaseDisplayAntiAliasing (void) |
Called to adjust the display anti-aliasing level of the Teletext pages. | |
void | STB_EBUTT_DecreaseDisplayAntiAliasing (void) |
void | STB_EBUTT_SetDisplayMixTransparency (U8BIT transparency_level) |
Called to adjust the display video-mix transparency level of the Teletext pages. More... | |
void | STB_EBUTT_IncreaseDisplayMixTransparency (void) |
Called to adjust the display video-mix transparency level of the Teletext pages. | |
void | STB_EBUTT_DecreaseDisplayMixTransparency (void) |
BOOLEAN | STB_EBUTT_IsDisplayHeld (void) |
Called to ascertain whether the present page is in 'hold' mode or not. Thus function is useful when allocating handet keys to events on the basis of the current functional state of the Teletext driver. More... | |
BOOLEAN | STB_EBUTT_IsDisplayDoubleHeight (void) |
Called to ascertain whether the present page is in 'double height' mode or not. Thus function is useful when allocating handet keys to events on the basis of the current functional state of the Teletext driver. More... | |
Variables | |
const S_EBUTT_FONT *const | ebutt_font_ptr |
BOOLEAN STB_EBUTT_Initialise | ( | void | ) |
This must be called to invoke the EBU TeleText driver module before all other functionality can be accessed. This initiates the relevant resources used by the driver module. As a consequence of calling this function, no TeleText processing will occur until other functions are called. It is envisaged that this function may be called within the general initialisation of the STB layer.
Definition at line 11061 of file stbebutt.c.
BOOLEAN STB_EBUTT_InjectData | ( | U8BIT * | data_ptr, |
U32BIT | data_length | ||
) |
Allows teletext PES data packets to be injected by an external module, which will be decoded and displayed.
data_ptr | - pointer to first whole PES packet data |
data_length | - number of bytes of data provided |
Definition at line 11163 of file stbebutt.c.
BOOLEAN STB_EBUTT_IsDisplayDoubleHeight | ( | void | ) |
Called to ascertain whether the present page is in 'double height' mode or not. Thus function is useful when allocating handet keys to events on the basis of the current functional state of the Teletext driver.
Definition at line 12224 of file stbebutt.c.
BOOLEAN STB_EBUTT_IsDisplayHeld | ( | void | ) |
Called to ascertain whether the present page is in 'hold' mode or not. Thus function is useful when allocating handet keys to events on the basis of the current functional state of the Teletext driver.
Definition at line 12191 of file stbebutt.c.
void STB_EBUTT_Kill | ( | U8BIT | path | ) |
This is the accompanying function to STB_EBUTT_Initialise( ), and is called to shut-down the EBU TeleText driver module and release the relevant resources used by the driver module. This may not be used in some implementations.
U8BIT | path - the path of where to kill teletext. |
Definition at line 11132 of file stbebutt.c.
void STB_EBUTT_NotifyEvent | ( | E_EBUTT_EVENT | event_type | ) |
Called whenever a TeleText-specific event being invoked. This is used to pass relevant user input to the driver, and the enumerate type supplied is defined independently of any IR handset / keypad.
E_EBUTT_EVENT | event_type - |
Definition at line 11531 of file stbebutt.c.
void STB_EBUTT_SetCacheMethod | ( | E_EBUTT_CACHING_METHOD | ebutt_caching_method | ) |
Called to define the strategy used to determine what page content is to be displayed form the TeleText carousel content.
E_EBUTT_CACHING_METHOD | ebutt_caching_method - |
Definition at line 11443 of file stbebutt.c.
void STB_EBUTT_SetDisplayAntiAliasing | ( | U8BIT | antialias_level | ) |
Called to adjust the display anti-aliasing level of the Teletext pages. This is used to control 'flicker' on TV displays.
U8BIT | antialias_level - a factor between zero (no anti-alaising) to 8 (full anti-aliasing |
U8BIT | antialias_level - a factor between zero (no anti-alaising) to 8 (full anti-aliasing) |
Definition at line 12056 of file stbebutt.c.
void STB_EBUTT_SetDisplayBrightness | ( | U8BIT | gun_intensity | ) |
Called to adjust the display brightness (colour intensity) of the Teletext pages.
U8BIT | gun_intensity - a RGB gun intensity, ranging from 255 (brightest) to 127 (darkest) |
Definition at line 11992 of file stbebutt.c.
void STB_EBUTT_SetDisplayMixTransparency | ( | U8BIT | transparency_level | ) |
Called to adjust the display video-mix transparency level of the Teletext pages.
U8BIT | transparency_level - a factor between zero (no transparency) to 255 (full transparency) |
Definition at line 12119 of file stbebutt.c.
BOOLEAN STB_EBUTT_Show | ( | E_EBUTT_CHARACTER_SET_DESIGNATION | character_set_designation, |
BOOLEAN | navigate_to_index_page, | ||
BOOLEAN | show_header | ||
) |
Called to initiate continuous display of TeleText page content. This will result in either the index page defined in the service data stream being selected, or the previously displayed page (prior to a call to STB_EBUTT_Hide( ) being made) from being reinstated. This function can be called irrespective of the use of the STB_EBUTT_Start( ) / STB_EBUTT_Stop( ) functions, but of course may result in no TeleText data being displayed if none already exists within the cache. The return value indicates whether initialisation of the display mechanism has been successful or not.
E_STB_EBUTT_CHARACTER_SET_DESIGNATION | character_set_designation - used to specifiy the default character set designation for a level 1.0 Teletext broadcast. This is useful to configure the implementation to work correctly when used with regionalised broadcasts. |
BOOLEAN | navigate_to_index_page - set it TRUE if the index page defined within the Teletext service is used, or the last visited page is re-displayed. |
Definition at line 11356 of file stbebutt.c.
void STB_EBUTT_Start | ( | U8BIT | path, |
U16BIT | text_pid, | ||
U8BIT | magazine, | ||
U8BIT | page | ||
) |
These functions are called to control whether received TeleText data is processed. Using this functionality ensures that the process of collating page information can be halted when processing resources are a consideration. It is envisaged that some implementations may wish only to collate TeleText content only when the display is being shown, whilst other designs may which to cache significant page content as a background process. Abstracting this functionality from the initialisation routines gives the option to support both solution types.
BOOLEAN | reset_cache - clears all pages from the cache if set to TRUE, saving memory resources. |
magazine | - initial magazine to be loaded page - initial page to show from the magazine |
Definition at line 11222 of file stbebutt.c.