Functions | Variables

libavcodec/mpegvideo_parser.c File Reference

#include "parser.h"
#include "mpegvideo.h"

Go to the source code of this file.

Functions

static void mpegvideo_extract_headers (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size)
static int mpegvideo_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
static int mpegvideo_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size)

Variables

AVCodecParser mpegvideo_parser

Function Documentation

static void mpegvideo_extract_headers ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 26 of file mpegvideo_parser.c.

Referenced by mpegvideo_parse().

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

Definition at line 130 of file mpegvideo_parser.c.

static int mpegvideo_split ( AVCodecContext avctx,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 165 of file mpegvideo_parser.c.


Variable Documentation

Initial value:
 {
    { CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO },
    sizeof(ParseContext1),
    NULL,
    mpegvideo_parse,
    ff_parse1_close,
    mpegvideo_split,
}

Definition at line 179 of file mpegvideo_parser.c.