FFmpeg
 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 "get_bits.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  DVDNavParseContext
 

Macros

#define PCI_SIZE   980
 
#define DSI_SIZE   1018
 

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 PCI_SIZE   980

Definition at line 25 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

#define DSI_SIZE   1018

Definition at line 26 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

Function Documentation

static av_cold int dvd_nav_parse_init ( AVCodecParserContext s)
static

Definition at line 35 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 
)
static

Definition at line 44 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)

Definition at line 110 of file dvd_nav_parser.c.