libavcodec/h264_parser.c File Reference

H.264 / AVC / MPEG4 part10 parser. More...

#include "parser.h"
#include "h264data.h"
#include "golomb.h"
#include <assert.h>

Go to the source code of this file.

Functions

static int ff_h264_find_frame_end (H264Context *h, const uint8_t *buf, int buf_size)
static int parse_nal_units (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size)
static int h264_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
static int h264_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size)
static void close (AVCodecParserContext *s)
static int init (AVCodecParserContext *s)

Variables

AVCodecParser ff_h264_parser


Detailed Description

H.264 / AVC / MPEG4 part10 parser.

Author:
Michael Niedermayer <michaelni@gmx.at>

Definition in file h264_parser.c.


Function Documentation

static void close ( AVCodecParserContext s  )  [static]

static int ff_h264_find_frame_end ( H264Context h,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 35 of file h264_parser.c.

Referenced by h264_parse().

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

Definition at line 241 of file h264_parser.c.

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

Definition at line 302 of file h264_parser.c.

static int init ( AVCodecParserContext s  )  [static]

Definition at line 335 of file h264_parser.c.

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

Parse NAL units of found picture and decode some basic information.

Parameters:
s parser context.
avctx codec context.
buf buffer with field/frame data.
buf_size size of the buffer.

Definition at line 108 of file h264_parser.c.

Referenced by h264_parse().


Variable Documentation

Initial value:

Definition at line 342 of file h264_parser.c.


Generated on Fri Oct 26 02:38:16 2012 for FFmpeg by  doxygen 1.5.8