![]() |
DVBCore
22.3.0
Open Source DVB Engine
|
DVB subtitle control processing functions. More...
#include <string.h>
#include <techtype.h>
#include <dbgfuncs.h>
#include "stbhwos.h"
#include "stbhwav.h"
#include "stbhwosd.h"
#include "stbheap.h"
#include "stbds.h"
#include "stbdpc.h"
Classes | |
struct | pixel_sub_data_block |
Typedefs | |
typedef struct pixel_sub_data_block | S_PIXEL_SUB_DATA_BLOCK |
Functions | |
void | dump_physical_regions (const char *label) |
BOOLEAN | STB_DSInitialiseDVBSubtitlesProcessing (void) |
Initilises DVB subtitles, allocates a temporary buffer for use as a scratchpad and zero's the displayset structure and assigns the pages. More... | |
S_CLUT * | STB_DSGetClut (S_CLUT *clut_list, U16BIT clut_id) |
Finds or malloc's a new CLUT and assigns the family pointers to the default data. version_id is set to 0xff where the valid values are in the range 0 .. 0xf[4bits]. More... | |
BOOLEAN | STB_DSSegmentDDS (U8BIT *data, U16BIT pes_len, U16BIT processed_bytes) |
Processes the Display Definition segment in accordance with ETSI document ETS 300 743. More... | |
BOOLEAN | STB_DSSegmentPCS (U8BIT *data, U16BIT pes_len, U16BIT processed_bytes, BOOLEAN external_force_acquisition) |
Processes the Page Composition segment in accordance with ETSI document ETS 300 743. More... | |
BOOLEAN | STB_DSSegmentRCS (U8BIT *data, U16BIT pes_len, U16BIT processed_bytes) |
Processes the Region Composition segment in accordance with ETSI document ETS 300 743. More... | |
BOOLEAN | STB_DSSegmentCDS (U8BIT *data, U16BIT pes_len, U16BIT processed_bytes) |
Processes the CLUT Definition segment in accordance with ETSI document ETS 300 743. More... | |
BOOLEAN | STB_DSSegmentODS (U8BIT *data, U16BIT pes_len, U16BIT processed_bytes) |
Processes the Object Data segment in accordance with ETSI document ETS 300 743. More... | |
BOOLEAN | STB_DSSegmentEDS (U8BIT *data, U16BIT pes_len, U16BIT processed_bytes) |
DTG - Digital Terrestrial Television Requirements for Interoperability Subtitling: 28 August 1998: Version: 3.0 Clause 5.7.1 End of data segment, receit of this means the page is complete. More... | |
BOOLEAN | STB_DSGetPesPts (U8BIT *data, U8BIT *pts) |
Extracts the PTS from the PES packet header. More... | |
BOOLEAN | STB_DSSetDisplaySetPts (U8BIT path, U8BIT *pts) |
Copies the passed PTS into the display set structure. More... | |
S_DISPLAY_SET * | STB_DSGetDetails (void) |
Gets a pointer to the display set structure. More... | |
void | STB_DSClearDisplaySetStruct (void) |
Clears all information from the display set structure. | |
void | STB_DSClearCompositionPageDetails (void) |
Clears all information from the display set composition page. | |
DVB subtitle control processing functions.
Finds or malloc's a new CLUT and assigns the family pointers to the default data. version_id is set to 0xff where the valid values are in the range 0 .. 0xf[4bits].
clut_list | - pointer to a S_CLUT structure |
clut_id | - the index of the CLUT to be modified |
S_DISPLAY_SET* STB_DSGetDetails | ( | void | ) |
Gets a pointer to the display set structure.
BOOLEAN STB_DSGetPesPts | ( | U8BIT * | data, |
U8BIT * | pts | ||
) |
Extracts the PTS from the PES packet header.
data | - pointer to the 1st byte of the PTS/DTS bytes |
pts | - 5 byte array for the PTS info. |
BOOLEAN STB_DSInitialiseDVBSubtitlesProcessing | ( | void | ) |
Initilises DVB subtitles, allocates a temporary buffer for use as a scratchpad and zero's the displayset structure and assigns the pages.
BOOLEAN STB_DSSegmentCDS | ( | U8BIT * | data, |
U16BIT | pes_len, | ||
U16BIT | processed_bytes | ||
) |
Processes the CLUT Definition segment in accordance with ETSI document ETS 300 743.
data | - pointer to the beginning of the segment, the sync_byte. |
BOOLEAN STB_DSSegmentDDS | ( | U8BIT * | data, |
U16BIT | pes_len, | ||
U16BIT | processed_bytes | ||
) |
Processes the Display Definition segment in accordance with ETSI document ETS 300 743.
data | - pointer to the beginning of the segment, the sync_byte. |
BOOLEAN STB_DSSegmentEDS | ( | U8BIT * | data, |
U16BIT | pes_len, | ||
U16BIT | processed_bytes | ||
) |
DTG - Digital Terrestrial Television Requirements for Interoperability Subtitling: 28 August 1998: Version: 3.0 Clause 5.7.1 End of data segment, receit of this means the page is complete.
data | - pointer to the beginning of the segment, the sync_byte. |
BOOLEAN STB_DSSegmentODS | ( | U8BIT * | data, |
U16BIT | pes_len, | ||
U16BIT | processed_bytes | ||
) |
Processes the Object Data segment in accordance with ETSI document ETS 300 743.
data | - pointer to the beginning of the segment, the sync_byte. |
BOOLEAN STB_DSSegmentPCS | ( | U8BIT * | data, |
U16BIT | pes_len, | ||
U16BIT | processed_bytes, | ||
BOOLEAN | external_force_acquisition | ||
) |
Processes the Page Composition segment in accordance with ETSI document ETS 300 743.
data | - pointer to the beginning of the segment, the sync_byte. force_acquisition - signal to treat next acquisition point as a mode change, unless a mode change occurs first |
BOOLEAN STB_DSSegmentRCS | ( | U8BIT * | data, |
U16BIT | pes_len, | ||
U16BIT | processed_bytes | ||
) |
Processes the Region Composition segment in accordance with ETSI document ETS 300 743.
data | - pointer to the beginning of the segment, the sync_byte. |
BOOLEAN STB_DSSetDisplaySetPts | ( | U8BIT | path, |
U8BIT * | pts | ||
) |
Copies the passed PTS into the display set structure.
pts | - 5 byte array containing the PTS. |