Libav
|
#include <string.h>
#include "config.h"
#include "libavutil/intmath.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "bytestream.h"
#include "h2645_parse.h"
Go to the source code of this file.
Macros | |
#define | STARTCODE_TEST |
Functions | |
int | ff_h2645_extract_rbsp (const uint8_t *src, int length, H2645NAL *nal) |
Extract the raw (unescaped) bitstream. More... | |
static int | get_bit_length (H2645NAL *nal, int skip_trailing_zeros) |
static int | hevc_parse_nal_header (H2645NAL *nal, void *logctx) |
static int | h264_parse_nal_header (H2645NAL *nal, void *logctx) |
static int | find_next_start_code (const uint8_t *buf, const uint8_t *next_avc) |
int | ff_h2645_packet_split (H2645Packet *pkt, const uint8_t *buf, int length, void *logctx, int is_nalff, int nal_length_size, enum AVCodecID codec_id) |
Split an input packet into NAL units. More... | |
void | ff_h2645_packet_uninit (H2645Packet *pkt) |
Free all the allocated memory in the packet. More... | |
#define STARTCODE_TEST |
Referenced by ff_h2645_extract_rbsp().
Extract the raw (unescaped) bitstream.
Definition at line 32 of file h2645_parse.c.
Referenced by ff_h2645_packet_split(), generate_fake_vps(), and parse_nal_units().
|
static |
Definition at line 131 of file h2645_parse.c.
Referenced by ff_h2645_packet_split().
Definition at line 160 of file h2645_parse.c.
Referenced by ff_h2645_packet_split().
Definition at line 182 of file h2645_parse.c.
Referenced by ff_h2645_packet_split().
Definition at line 199 of file h2645_parse.c.
Referenced by ff_h2645_packet_split().
int ff_h2645_packet_split | ( | H2645Packet * | pkt, |
const uint8_t * | buf, | ||
int | length, | ||
void * | logctx, | ||
int | is_nalff, | ||
int | nal_length_size, | ||
enum AVCodecID | codec_id | ||
) |
Split an input packet into NAL units.
Definition at line 214 of file h2645_parse.c.
Referenced by decode_extradata_ps(), decode_nal_units(), and parse_nal_units().
void ff_h2645_packet_uninit | ( | H2645Packet * | pkt | ) |
Free all the allocated memory in the packet.
Definition at line 323 of file h2645_parse.c.
Referenced by decode_extradata_ps(), h264_decode_end(), hevc_decode_free(), and hevc_parser_close().