FFmpeg
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

const AVCodecParser ff_dvd_nav_parser
 

Macro Definition Documentation

◆ PCI_SIZE

#define PCI_SIZE   980

Definition at line 25 of file dvd_nav_parser.c.

◆ DSI_SIZE

#define DSI_SIZE   1018

Definition at line 26 of file dvd_nav_parser.c.

Function Documentation

◆ dvd_nav_parse_init()

static av_cold int dvd_nav_parse_init ( AVCodecParserContext s)
static

Definition at line 35 of file dvd_nav_parser.c.

◆ 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

Definition at line 44 of file dvd_nav_parser.c.

Variable Documentation

◆ ff_dvd_nav_parser

const 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 110 of file dvd_nav_parser.c.

dvd_nav_parse_init
static av_cold int dvd_nav_parse_init(AVCodecParserContext *s)
Definition: dvd_nav_parser.c:35
AV_CODEC_ID_DVD_NAV
@ AV_CODEC_ID_DVD_NAV
Definition: codec_id.h:560
DVDNavParseContext
Definition: dvd_nav_parser.c:29
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)
Definition: dvd_nav_parser.c:44