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

#include <caption-closed-controls.h>

Collaboration diagram for CC_ControlCodes_CallbackData_t:

Data Fields

const uint8_t * argv
 
const uint16_t argc
 
uint16_t * pos
 
CaptionClosed_t * caption
 
void * data
 
CaptionClosed_CtrlCode_t current_code
 

Detailed Description

Data passed on to the command callbacks.

Definition at line 76 of file caption-closed-controls.h.

Field Documentation

◆ argv

const uint8_t* CC_ControlCodes_CallbackData_t::argv

Caption text buffer.

Definition at line 77 of file caption-closed-controls.h.

◆ argc

const uint16_t CC_ControlCodes_CallbackData_t::argc

Number of bytes available from pos, including the command itself.

Definition at line 78 of file caption-closed-controls.h.

◆ pos

uint16_t* CC_ControlCodes_CallbackData_t::pos

Position of the command in argv; the callback moves past the parameters. NULL in the CSI subcommands.

Definition at line 79 of file caption-closed-controls.h.

◆ caption

CaptionClosed_t* CC_ControlCodes_CallbackData_t::caption

Caption state, updated by the callback.

Definition at line 80 of file caption-closed-controls.h.

◆ data

void* CC_ControlCodes_CallbackData_t::data

Extra data: in the CSI subcommands, it points to the parameters (struct csi_arg_Pn).

Definition at line 81 of file caption-closed-controls.h.

◆ current_code

CaptionClosed_CtrlCode_t CC_ControlCodes_CallbackData_t::current_code

Command code; the CSI swaps it for the subcommand code.

Definition at line 82 of file caption-closed-controls.h.


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