libclosedcaption 1.0.3
ISDB-Tb/SBTVD (Brazilian DTV) closed caption extraction from MPEG-TS
Loading...
Searching...
No Matches
CaptionSuperImpose1ByteDrcs_t Struct Reference

#include <caption-superimpose-1bytedrcs.h>

Collaboration diagram for CaptionSuperImpose1ByteDrcs_t:

Data Fields

uint16_t character_code
 
uint8_t font_id
 
uint8_t mode
 
uint8_t depth
 
uint8_t width
 
uint8_t height
 
uint8_t * pixels
 
uint8_t region_x
 
uint8_t region_y
 
uint8_t * geometric
 
uint16_t geometric_len
 
const PES_pts_t * pts
 
struct CaptionSuperImpose1ByteDrcs_t * next
 

Detailed Description

One font (typeface) of one DRCS character. A character sent with more than one font becomes more than one item, all with the same character_code.

Definition at line 40 of file caption-superimpose-1bytedrcs.h.

Field Documentation

◆ character_code

uint16_t CaptionSuperImpose1ByteDrcs_t::character_code

Code of the character. 1 byte DRCS: 0x41xx (DRCS-1) to 0x4Fxx (DRCS-15), the 2nd byte (0x21 to 0x7e) is the position in the set.

Definition at line 41 of file caption-superimpose-1bytedrcs.h.

◆ font_id

uint8_t CaptionSuperImpose1ByteDrcs_t::font_id

Typeface (0 to 15); 0 means "any".

Definition at line 43 of file caption-superimpose-1bytedrcs.h.

◆ mode

uint8_t CaptionSuperImpose1ByteDrcs_t::mode

Transmission mode, see CAPTION_DRCS_MODE_2_GRADATION and the next ones.

Definition at line 44 of file caption-superimpose-1bytedrcs.h.

◆ depth

uint8_t CaptionSuperImpose1ByteDrcs_t::depth

Number of gradations minus 2 (0: 2 gradations). Only modes 0 and 1.

Definition at line 46 of file caption-superimpose-1bytedrcs.h.

◆ width

uint8_t CaptionSuperImpose1ByteDrcs_t::width

Width of the pattern, in pixels. Only modes 0 and 1.

Definition at line 47 of file caption-superimpose-1bytedrcs.h.

◆ height

uint8_t CaptionSuperImpose1ByteDrcs_t::height

Height of the pattern, in pixels. Only modes 0 and 1.

Definition at line 48 of file caption-superimpose-1bytedrcs.h.

◆ pixels

uint8_t* CaptionSuperImpose1ByteDrcs_t::pixels

width x height pixels, one byte each, left to right and top to bottom. 0 is the background, depth + 1 is the foreground. NULL in modes 2 and 3, or when the pattern is empty.

Definition at line 49 of file caption-superimpose-1bytedrcs.h.

◆ region_x

uint8_t CaptionSuperImpose1ByteDrcs_t::region_x

Logical area (1/256 unit) used by the geometric data. Only modes 2 and 3.

Definition at line 53 of file caption-superimpose-1bytedrcs.h.

◆ region_y

uint8_t CaptionSuperImpose1ByteDrcs_t::region_y

Idem.

Definition at line 54 of file caption-superimpose-1bytedrcs.h.

◆ geometric

uint8_t* CaptionSuperImpose1ByteDrcs_t::geometric

Geometric data, as it came (see caption-superimpose-geometric.h). NULL when there is none. Only modes 2 and 3.

Definition at line 55 of file caption-superimpose-1bytedrcs.h.

◆ geometric_len

uint16_t CaptionSuperImpose1ByteDrcs_t::geometric_len

Size of geometric.

Definition at line 57 of file caption-superimpose-1bytedrcs.h.

◆ pts

const PES_pts_t* CaptionSuperImpose1ByteDrcs_t::pts

Points to PacketPES_t::pts; valid while the PacketPES_t exists.

Definition at line 59 of file caption-superimpose-1bytedrcs.h.

◆ next

struct CaptionSuperImpose1ByteDrcs_t* CaptionSuperImpose1ByteDrcs_t::next

Next item of the list, or NULL.

Definition at line 60 of file caption-superimpose-1bytedrcs.h.


The documentation for this struct was generated from the following file: