FFmpeg
|
#include <stdint.h>
#include <string.h>
#include "libavutil/mem.h"
#include "libavutil/error.h"
#include "libavcodec/defs.h"
#include "avio.h"
#include "avio_internal.h"
#include "nal.h"
Go to the source code of this file.
Functions | |
static const uint8_t * | nal_find_startcode_internal (const uint8_t *p, const uint8_t *end) |
const uint8_t * | ff_nal_find_startcode (const uint8_t *p, const uint8_t *end) |
static int | nal_parse_units (AVIOContext *pb, NALUList *list, const uint8_t *buf_in, int size) |
int | ff_nal_parse_units (AVIOContext *pb, const uint8_t *buf_in, int size) |
int | ff_nal_units_create_list (NALUList *list, const uint8_t *buf, int size) |
void | ff_nal_units_write_list (const NALUList *list, AVIOContext *pb, const uint8_t *buf) |
int | ff_nal_parse_units_buf (const uint8_t *buf_in, uint8_t **buf, int *size) |
const uint8_t * | ff_nal_mp4_find_startcode (const uint8_t *start, const uint8_t *end, int nal_length_size) |
uint8_t * | ff_nal_unit_extract_rbsp (const uint8_t *src, uint32_t src_len, uint32_t *dst_len, int header_len) |
|
static |
Definition at line 31 of file nal.c.
Referenced by ff_nal_find_startcode().
const uint8_t* ff_nal_find_startcode | ( | const uint8_t * | p, |
const uint8_t * | end | ||
) |
Definition at line 68 of file nal.c.
Referenced by ff_mov_cenc_avc_parse_nal_units(), ff_rtp_send_h264_hevc(), mxf_parse_h264_frame(), and nal_parse_units().
|
static |
Definition at line 74 of file nal.c.
Referenced by ff_nal_parse_units(), and ff_nal_units_create_list().
int ff_nal_parse_units | ( | AVIOContext * | pb, |
const uint8_t * | buf_in, | ||
int | size | ||
) |
Definition at line 110 of file nal.c.
Referenced by ff_hevc_annexb2mp4(), ff_mov_write_packet(), ff_nal_parse_units_buf(), and ff_vvc_annexb2mp4().
int ff_nal_units_create_list | ( | NALUList * | list, |
const uint8_t * | buf, | ||
int | size | ||
) |
void ff_nal_units_write_list | ( | const NALUList * | list, |
AVIOContext * | pb, | ||
const uint8_t * | buf | ||
) |
int ff_nal_parse_units_buf | ( | const uint8_t * | buf_in, |
uint8_t ** | buf, | ||
int * | size | ||
) |
Definition at line 130 of file nal.c.
Referenced by ff_hevc_annexb2mp4(), ff_isom_write_avcc(), ff_isom_write_vvcc(), ff_mov_write_packet(), ff_vvc_annexb2mp4(), flv_write_packet(), and write_configuration_record().
const uint8_t* ff_nal_mp4_find_startcode | ( | const uint8_t * | start, |
const uint8_t * | end, | ||
int | nal_length_size | ||
) |
Definition at line 143 of file nal.c.
Referenced by ff_rtp_send_h264_hevc().
uint8_t* ff_nal_unit_extract_rbsp | ( | const uint8_t * | src, |
uint32_t | src_len, | ||
uint32_t * | dst_len, | ||
int | header_len | ||
) |
Definition at line 160 of file nal.c.
Referenced by ff_avc_decode_sps(), hvcc_add_nal_unit(), vvcc_add_nal_unit(), and write_codec_attr().