47#ifndef CAPTION_SCREEN_H_
48#define CAPTION_SCREEN_H_
53#define CAPTION_SCREEN_MAX_LINES 16
56#define CAPTION_SCREEN_LINE_LEN 256
Standard headers and helper macros used all over the library.
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