H.264 / AVC / MPEG-4 part10 parser.
More...
#include <assert.h>
#include <stdint.h>
#include "libavutil/avutil.h"
#include "libavutil/error.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/pixfmt.h"
#include "get_bits.h"
#include "golomb.h"
#include "h264.h"
#include "h264_sei.h"
#include "h264data.h"
#include "internal.h"
#include "mpegutils.h"
#include "parser.h"
Go to the source code of this file.
|
static int | h264_find_frame_end (H264ParseContext *p, const uint8_t *buf, int buf_size, void *logctx) |
|
static int | scan_mmco_reset (AVCodecParserContext *s, GetBitContext *gb, void *logctx) |
|
static int | get_avc_nalsize (H264ParseContext *p, const uint8_t *buf, int buf_size, int *buf_index, void *logctx) |
|
static int | parse_nal_units (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *const buf, int buf_size) |
| Parse NAL units of found picture and decode some basic information. More...
|
|
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 | h264_close (AVCodecParserContext *s) |
|
static av_cold int | init (AVCodecParserContext *s) |
|
H.264 / AVC / MPEG-4 part10 parser.
- Author
- Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.at
Definition in file h264_parser.c.
#define UNCHECKED_BITSTREAM_READER 1 |
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 257 of file h264_parser.c.
Referenced by h264_parse().
Initial value:= {
}
static char * split(char *message, char delim)
static void h264_close(AVCodecParserContext *s)
static int h264_split(AVCodecContext *avctx, const uint8_t *buf, int buf_size)
static av_cold int init(AVCodecParserContext *s)
static int h264_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition at line 667 of file h264_parser.c.