FFmpeg
Loading...
Searching...
No Matches
dvd_nav_parser.c File Reference
#include "avcodec.h"
#include "parser_internal.h"
#include "libavutil/intreadwrite.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 FFCodecParser ff_dvd_nav_parser
 

Macro Definition Documentation

◆ PCI_SIZE

#define PCI_SIZE   980

Definition at line 26 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

◆ DSI_SIZE

#define DSI_SIZE   1018

Definition at line 27 of file dvd_nav_parser.c.

Referenced by dvd_nav_parse().

Function Documentation

◆ dvd_nav_parse_init()

static av_cold int dvd_nav_parse_init ( AVCodecParserContext * s)
static

Definition at line 36 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 45 of file dvd_nav_parser.c.

Variable Documentation

◆ ff_dvd_nav_parser

const FFCodecParser ff_dvd_nav_parser
Initial value:
= {
.priv_data_size = sizeof(DVDNavParseContext),
}
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition apv_parser.c:92
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
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)
@ AV_CODEC_ID_DVD_NAV
Definition codec_id.h:605
#define PARSER_CODEC_LIST(...)

Definition at line 111 of file dvd_nav_parser.c.