PGS subtitle decoder.
More...
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "mathops.h"
#include "libavutil/colorspace.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
|
|
#define | RGBA(r, g, b, a) (((unsigned)(a) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
| |
|
#define | MAX_EPOCH_PALETTES 8 |
| |
|
#define | MAX_EPOCH_OBJECTS 64 |
| |
|
#define | MAX_OBJECT_REFS 2 |
| |
|
#define | OFFSET(x) offsetof(PGSSubContext, x) |
| |
|
#define | SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM |
| |
|
| enum | SegmentType {
PALETTE_SEGMENT = 0x14,
OBJECT_SEGMENT = 0x15,
PRESENTATION_SEGMENT = 0x16,
WINDOW_SEGMENT = 0x17,
DISPLAY_SEGMENT = 0x80,
SEGMENT_TYPE_MPEGTS,
SEGMENT_TYPE_FMP4
} |
| |
§ ff_pgssub_decoder
Initial value:= {
.name = "pgssub",
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_HDMV_PGS_SUBTITLE,
.init = init_decoder,
.close = close_decoder,
.decode = decode,
.priv_class = &pgsdec_class,
}
Definition: pgssubdec.c:93
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186