MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / bytestream2_init_writer

Function bytestream2_init_writer

libavcodec/bytestream.h:147–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147static av_always_inline void bytestream2_init_writer(PutByteContext *p,
148 uint8_t *buf,
149 int buf_size)
150{
151 av_assert0(buf_size >= 0);
152 p->buffer = buf;
153 p->buffer_start = buf;
154 p->buffer_end = buf + buf_size;
155 p->eof = 0;
156}
157
158static av_always_inline int bytestream2_get_bytes_left(const GetByteContext *g)
159{

Callers 15

create_s337_payloadFunction · 0.85
get_packet_lj92Function · 0.85
vorbis_packetFunction · 0.85
write_beginFunction · 0.85
append_flv_dataFunction · 0.85
handle_metadataFunction · 0.85
mcc_read_headerFunction · 0.85
jpeg_create_headerFunction · 0.85
wavpack_encode_blockFunction · 0.85
encode_frameFunction · 0.85
smc_encode_frameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected