dvd_nav_parser.c File Reference
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "parser.h"
Include dependency graph for dvd_nav_parser.c:

Go to the source code of this file.

Data Structures

struct  DVDNavParseContext
 

Macros

#define PCI_SIZE   980
 
#define DSI_SIZE   1018
 

Typedefs

typedef struct DVDNavParseContext DVDNavParseContext
 

Functions

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

Variables

AVCodecParser ff_dvd_nav_parser
 

Macro Definition Documentation

#define DSI_SIZE   1018

Definition at line 27 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

#define PCI_SIZE   980

Definition at line 26 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

Typedef Documentation

Function Documentation

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

Definition at line 45 of file dvd_nav_parser.c.

static av_cold int dvd_nav_parse_init ( AVCodecParserContext s)
static

Definition at line 36 of file dvd_nav_parser.c.

Variable Documentation

AVCodecParser ff_dvd_nav_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DVD_NAV },
.priv_data_size = sizeof(DVDNavParseContext),
.parser_init = dvd_nav_parse_init,
.parser_parse = dvd_nav_parse,
}
static int dvd_nav_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
static av_cold int dvd_nav_parse_init(AVCodecParserContext *s)
struct DVDNavParseContext DVDNavParseContext

Definition at line 111 of file dvd_nav_parser.c.