tak_parser.c File Reference

TAK parser. More...

#include "tak.h"
#include "parser.h"
Include dependency graph for tak_parser.c:

Go to the source code of this file.

Data Structures

struct  TAKParseContext
 

Typedefs

typedef struct TAKParseContext TAKParseContext
 

Functions

static av_cold int tak_init (AVCodecParserContext *s)
 
static int tak_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Variables

AVCodecParser ff_tak_parser
 

Detailed Description

TAK parser.

Definition in file tak_parser.c.

Typedef Documentation

Function Documentation

static av_cold int tak_init ( AVCodecParserContext s)
static

Definition at line 36 of file tak_parser.c.

static int tak_parse ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size 
)
static

Definition at line 42 of file tak_parser.c.

Variable Documentation

AVCodecParser ff_tak_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_TAK },
.priv_data_size = sizeof(TAKParseContext),
.parser_init = tak_init,
.parser_parse = tak_parse,
.parser_close = ff_parse_close,
}
static int tak_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: tak_parser.c:42
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:279
static av_cold int tak_init(AVCodecParserContext *s)
Definition: tak_parser.c:36
struct TAKParseContext TAKParseContext

Definition at line 122 of file tak_parser.c.