#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "parser.h"
Go to the source code of this file.
|
static int | find_frame_end (DiracParseContext *pc, const uint8_t *buf, int buf_size) |
|
static int | unpack_parse_unit (DiracParseUnit *pu, DiracParseContext *pc, int offset) |
|
static int | dirac_combine_frame (AVCodecParserContext *s, AVCodecContext *avctx, int next, const uint8_t **buf, int *buf_size) |
|
static int | dirac_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
|
static void | dirac_parse_close (AVCodecParserContext *s) |
|
◆ DIRAC_PARSE_INFO_PREFIX
#define DIRAC_PARSE_INFO_PREFIX 0x42424344 |
◆ find_frame_end()
static int find_frame_end |
( |
DiracParseContext * |
pc, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
◆ unpack_parse_unit()
◆ dirac_combine_frame()
◆ dirac_parse()
◆ dirac_parse_close()
◆ ff_dirac_parser
Find the end of the current frame in the bitstream.
static int dirac_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)