libclosedcaption 1.0.3
Extração de closed caption ISDB-Tb/SBTVD de arquivos MPEG-TS
Carregando...
Procurando...
Nenhuma entrada encontrado
caption-screen.h
Ir para a documentação desse arquivo.
1
47#ifndef CAPTION_SCREEN_H_
48#define CAPTION_SCREEN_H_
49
50#include "caption-common.h"
51
53#define CAPTION_SCREEN_MAX_LINES 16
54
56#define CAPTION_SCREEN_LINE_LEN 256
57
61typedef struct {
62 const char *text;
63 uint32_t start_ms;
65
72typedef void (*CaptionScreenLineCallback_t) (const CaptionLine_t *line,
73 void *userdata);
74
78typedef struct CaptionScreen_s CaptionScreen_t;
79
88 void *userdata);
89
96
109 const uint8_t *pes,
110 size_t len);
111
119
129bool caption_screen_line_continues (const char *line,
130 const char *prefix);
131
132#endif /* CAPTION_SCREEN_H_ */
Headers padrão e macros utilitárias usadas por toda a biblioteca.
void caption_screen_free(CaptionScreen_t *screen)
void(* CaptionScreenLineCallback_t)(const CaptionLine_t *line, void *userdata)
bool caption_screen_line_continues(const char *line, const char *prefix)
bool caption_screen_push_pes(CaptionScreen_t *screen, const uint8_t *pes, size_t len)
CaptionScreen_t * caption_screen_new(CaptionScreenLineCallback_t callback, void *userdata)
void caption_screen_flush(CaptionScreen_t *screen)
struct CaptionScreen_s CaptionScreen_t
const char * text
uint32_t start_ms