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 ff_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 129 of file mpegvideo_parser.c.

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

Definition at line 162 of file mpegvideo_parser.c.


Variable Documentation

Initial value:

 {
    .codec_ids      = { CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO },
    .priv_data_size = sizeof(ParseContext1),
    .parser_parse   = mpegvideo_parse,
    .parser_close   = ff_parse1_close,
    .split          = mpegvideo_split,
}

Definition at line 179 of file mpegvideo_parser.c.


Generated on Fri Oct 26 02:46:09 2012 for FFmpeg by  doxygen 1.5.8