libavcodec/vc1_parser.c File Reference

VC-1 and WMV3 parser. More...

#include "parser.h"
#include "vc1.h"

Go to the source code of this file.

Functions

static int vc1_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size)
 finds the end of the current frame in the bitstream.
static int vc1_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
static int vc1_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size)

Variables

AVCodecParser vc1_parser


Detailed Description

VC-1 and WMV3 parser.

Definition in file vc1_parser.c.


Function Documentation

static int vc1_find_frame_end ( ParseContext pc,
const uint8_t *  buf,
int  buf_size 
) [static]

finds the end of the current frame in the bitstream.

Returns:
the position of the first byte of the next frame, or -1

Definition at line 35 of file vc1_parser.c.

Referenced by vc1_parse().

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

Definition at line 73 of file vc1_parser.c.

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

Definition at line 97 of file vc1_parser.c.


Variable Documentation

Initial value:

Definition at line 117 of file vc1_parser.c.


Generated on Fri Oct 26 02:35:44 2012 for FFmpeg by  doxygen 1.5.8