#include "libavutil/common.h"
#include "parser.h"
#include "hevc.h"
#include "golomb.h"
Go to the source code of this file.
Macros |
#define | START_CODE 0x000001 |
| start_code_prefix_one_3bytes
|
Functions |
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.
|
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 | 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 int | hevc_init (AVCodecParserContext *s) |
static void | hevc_close (AVCodecParserContext *s) |
Macro Definition Documentation
#define START_CODE 0x000001 |
Function Documentation
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 40 of file hevc_parser.c.
Referenced by hevc_parse().
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 87 of file hevc_parser.c.
Referenced by hevc_parse().
Variable Documentation