All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dvd_nav_parser.c File Reference
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  DVDNavParseContext


#define PCI_SIZE   980
#define DSI_SIZE   1018


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)


AVCodecParser ff_dvd_nav_parser

Macro Definition Documentation

#define PCI_SIZE   980

Definition at line 26 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

#define DSI_SIZE   1018

Definition at line 27 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

Function Documentation

static av_cold int dvd_nav_parse_init ( AVCodecParserContext s)

Definition at line 36 of file dvd_nav_parser.c.

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

Definition at line 45 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,

Definition at line 111 of file dvd_nav_parser.c.