FFmpeg
Macros | Functions | Variables
h264_parser.c File Reference

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

#include "libavutil/attributes.h"
#include "parser.h"
#include "h264data.h"
#include "golomb.h"
#include "internal.h"

Go to the source code of this file.

Macros

#define  UNCHECKED_BITSTREAM_READER   1
 

Functions

static int  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)
  Parse NAL units of found picture and decode some basic information.
 
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)
 
 
 

Variables

 

Detailed Description

H.264 / AVC / MPEG4 part10 parser.

Author
Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.at

Definition in file h264_parser.c.

Macro Definition Documentation

#define UNCHECKED_BITSTREAM_READER   1

Definition at line 28 of file h264_parser.c.

Function Documentation

static int h264_find_frame_end ( H264Contexth,
const uint8_tbuf,
int  buf_size 
)
static

Definition at line 37 of file h264_parser.c.

Referenced by h264_parse().

static int scan_mmco_reset ( AVCodecParserContexts )
static

Definition at line 123 of file h264_parser.c.

Referenced by parse_nal_units().

static int parse_nal_units ( AVCodecParserContexts,
AVCodecContextavctx,
const uint8_tbuf,
int  buf_size 
)
inlinestatic

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 200 of file h264_parser.c.

Referenced by h264_parse().

static int h264_parse ( AVCodecParserContexts,
AVCodecContextavctx,
const uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_tbuf,
int  buf_size 
)
static

Definition at line 448 of file h264_parser.c.

static int h264_split ( AVCodecContextavctx,
const uint8_tbuf,
int  buf_size 
)
static

Definition at line 509 of file h264_parser.c.

static void close ( AVCodecParserContexts )
static

Definition at line 538 of file h264_parser.c.

Referenced by audio_close(), audio_open(), av_file_map(), build_feed_streams(), cache_close(), check(), close_connection(), dv1394_close(), dv1394_read_header(), fbdev_read_close(), fbdev_read_header(), fbdev_write_header(), fbdev_write_trailer(), ff_ass_split_override_codes(), ff_xvid_rate_control_init(), grab_read_close(), grab_read_header(), http_receive_data(), main(), mpeg12_class(), read_random(), start_children(), write_trailer(), and xvid_encode_close().

static av_cold int init ( AVCodecParserContexts )
static

Definition at line 547 of file h264_parser.c.

Variable Documentation

AVCodecParser ff_h264_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_H264 },
.priv_data_size = sizeof(H264Context),
.parser_init = init,
.parser_parse = h264_parse,
.parser_close = close,
}

Definition at line 556 of file h264_parser.c.


Generated on Sat Jan 25 2014 19:52:11 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /