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

Function bytestream2_get_buffer

libavcodec/bytestream.h:267–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g,
268 uint8_t *dst,
269 unsigned int size)
270{
271 unsigned int size2 = FFMIN(g->buffer_end - g->buffer, size);
272 memcpy(dst, g->buffer, size2);
273 g->buffer += size2;
274 return size2;
275}
276
277static av_always_inline unsigned int bytestream2_get_bufferu(GetByteContext *g,
278 uint8_t *dst,

Callers 15

ff_amf_get_stringFunction · 0.85
amf_get_field_value2Function · 0.85
ogm_headerFunction · 0.85
xan_unpackFunction · 0.85
dds_decodeFunction · 0.85
xan_unpackFunction · 0.85
bfi_decode_frameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected