libavcodec/vc1_parser.c File Reference

VC-1 and WMV3 parser. More...

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

Go to the source code of this file.

Data Structures

struct  VC1ParseContext

Functions

static void vc1_extract_headers (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size)
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 ff_vc1_parser


Detailed Description

VC-1 and WMV3 parser.

Definition in file vc1_parser.c.


Function Documentation

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

Definition at line 37 of file vc1_parser.c.

Referenced by vc1_parse().

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 87 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 125 of file vc1_parser.c.

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

Definition at line 152 of file vc1_parser.c.


Variable Documentation

Initial value:

Definition at line 172 of file vc1_parser.c.


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