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

Main header: includes all the modules of the library. More...

Include dependency graph for caption.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Dump_CaptionClosed_t(cc)   __Dump_CaptionClosed_t(__FILE__, __LINE__, __func__, cc)
 
#define Dump_CaptionManagement_t(m)   __Dump_CaptionManagement_t(__FILE__, __LINE__, __func__, m)
 

Detailed Description

Main header: includes all the modules of the library.

Author
Jorge Pereira jpere.nosp@m.iran.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Date
Thu Aug 12 13:49:21 BRT 2010

Processing overview

*  .ts file
*     |  ts_reader_next()                       (ts-reader.h)
*     v
*  188 byte TS packets
*     |  ts_demux_push()                        (ts-demux.h)
*     v
*  whole PES of the caption PID
*     |  caption_screen_push_pes()              (caption-screen.h)
*     |    packet_pes_load()                    (packet-pes.h)
*     |    caption_data_load()                  (caption-data.h)
*     |    caption_management_load()            (caption-management.h)
*     |    caption_closed_run()                 (caption-closed.h)
*     |      -> text and control hooks           (caption-hooking.h)
*     v
*  caption lines in UTF-8
* 

If you already have your own demux you can call caption_screen_push_pes() with the caption PES, or use the low level functions directly with the hooks from caption-hooking.h.

Definition in file caption.h.

Macro Definition Documentation

◆ Dump_CaptionClosed_t

#define Dump_CaptionClosed_t (   cc)    __Dump_CaptionClosed_t(__FILE__, __LINE__, __func__, cc)

Prints all the fields of a CaptionClosed_t to stdout. Only exists with -DDEBUG_CLOSEDCAPTION.

Definition at line 64 of file caption.h.

◆ Dump_CaptionManagement_t

#define Dump_CaptionManagement_t (   m)    __Dump_CaptionManagement_t(__FILE__, __LINE__, __func__, m)

Prints all the fields of a CaptionManagement_t to stdout. Only exists with -DDEBUG_CLOSEDCAPTION.

Definition at line 69 of file caption.h.