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

Color map data unit. Not implemented. More...

#include "caption-common.h"
#include "caption-data.h"
#include "caption-management.h"
Include dependency graph for caption-superimpose-colormap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CaptionSuperImposeColormap_t
 

Typedefs

typedef struct CaptionSuperImposeColormap_t CaptionSuperImposeColormap_t
 

Functions

CaptionSuperImposeColormap_t * caption_superimpose_colormap_new (const CaptionManagement_t *m)
 
void caption_superimpose_colormap_free (CaptionSuperImposeColormap_t *cc)
 

Detailed Description

Color map data unit. Not implemented.

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

Skeleton to handle the data units of type CAPTION_HANDLER_TYPE_COLOR_MAP. For now it just allocates the struct, without parsing the data (with -DDEBUG_CLOSEDCAPTION and -DDEBUG_CAPTION_SUPERIMPOSE_COLORMAP, it prints the data unit dump).

Definition in file caption-superimpose-colormap.h.

Typedef Documentation

◆ CaptionSuperImposeColormap_t

Color map data unit. The var1 and var2 fields are temporary.

Function Documentation

◆ caption_superimpose_colormap_new()

CaptionSuperImposeColormap_t * caption_superimpose_colormap_new ( const CaptionManagement_t *  m)

Creates the struct from a color map data unit.

Parameters
mContent read by caption_management_load(), of type CAPTION_HANDLER_TYPE_COLOR_MAP, with a non-empty data unit.
Returns
The struct, or NULL if out of memory. Free with caption_superimpose_colormap_free().

◆ caption_superimpose_colormap_free()

void caption_superimpose_colormap_free ( CaptionSuperImposeColormap_t *  cc)

Frees the struct created by caption_superimpose_colormap_new(), including all the items chained in next.

Parameters
ccThe struct. NULL is fine.