avc.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio.h"
#include "avc.h"
Include dependency graph for avc.c:

Go to the source code of this file.

Functions

static const uint8_tff_avc_find_startcode_internal (const uint8_t *p, const uint8_t *end)
 
const uint8_tff_avc_find_startcode (const uint8_t *p, const uint8_t *end)
 
int ff_avc_parse_nal_units (AVIOContext *pb, const uint8_t *buf_in, int size)
 
int ff_avc_parse_nal_units_buf (const uint8_t *buf_in, uint8_t **buf, int *size)
 
int ff_isom_write_avcc (AVIOContext *pb, const uint8_t *data, int len)
 
int ff_avc_write_annexb_extradata (const uint8_t *in, uint8_t **buf, int *size)
 

Function Documentation

const uint8_t* ff_avc_find_startcode ( const uint8_t p,
const uint8_t end 
)

Definition at line 64 of file avc.c.

Referenced by ff_avc_parse_nal_units(), and ff_rtp_send_h264().

static const uint8_t* ff_avc_find_startcode_internal ( const uint8_t p,
const uint8_t end 
)
static

Definition at line 27 of file avc.c.

Referenced by ff_avc_find_startcode().

int ff_avc_parse_nal_units ( AVIOContext pb,
const uint8_t buf_in,
int  size 
)

Definition at line 70 of file avc.c.

Referenced by ff_avc_parse_nal_units_buf(), and ff_mov_write_packet().

int ff_avc_parse_nal_units_buf ( const uint8_t buf_in,
uint8_t **  buf,
int *  size 
)

Definition at line 92 of file avc.c.

Referenced by ff_isom_write_avcc(), ff_mov_write_packet(), flv_write_packet(), and mkv_write_block().

int ff_avc_write_annexb_extradata ( const uint8_t in,
uint8_t **  buf,
int *  size 
)

Definition at line 164 of file avc.c.

Referenced by get_private_data(), and mov_write_isml_manifest().

int ff_isom_write_avcc ( AVIOContext pb,
const uint8_t data,
int  len 
)

Definition at line 106 of file avc.c.

Referenced by flv_write_header(), mkv_write_codecprivate(), and mov_write_avcc_tag().