#include "libavutil/common.h"
#include "golomb.h"
#include "hevc.h"
#include "hevcdec.h"
#include "h2645_parse.h"
#include "parser.h"
Go to the source code of this file.
|
static int | hevc_parse_slice_header (AVCodecParserContext *s, H2645NAL *nal, AVCodecContext *avctx) |
|
static int | parse_nal_units (AVCodecParserContext *s, const uint8_t *buf, int buf_size, AVCodecContext *avctx) |
|
static int | hevc_find_frame_end (AVCodecParserContext *s, const uint8_t *buf, int buf_size) |
| Find the end of the current frame in the bitstream. More...
|
|
static int | hevc_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
|
static int | hevc_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
|
static void | hevc_parser_close (AVCodecParserContext *s) |
|
#define START_CODE 0x000001 |
#define IS_IRAP_NAL |
( |
|
nal | ) |
(nal->type >= 16 && nal->type <= 23) |
#define ADVANCED_PARSER CONFIG_HEVC_DECODER |
Find the end of the current frame in the bitstream.
- Returns
- the position of the first byte of the next frame, or END_NOT_FOUND
Definition at line 139 of file hevc_parser.c.
Referenced by hevc_parse().
Initial value:= {
}
static int hevc_split(AVCodecContext *avctx, const uint8_t *buf, int buf_size)
static char * split(char *message, char delim)
static int hevc_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
static void hevc_parser_close(AVCodecParserContext *s)
Definition at line 505 of file hevc_parser.c.