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

Function put_bytes_count

libavcodec/put_bits.h:110–113  ·  view source on GitHub ↗

* @param round_up When set, the number of bits written so far will be * rounded up to the next byte. * @return the number of bytes output so far. */

Source from the content-addressed store, hash-verified

108 * @return the number of bytes output so far.
109 */
110static inline int put_bytes_count(const PutBitContext *s, int round_up)
111{
112 return s->buf_ptr - s->buf + ((BUF_BITS - s->bit_left + (round_up ? 7 : 0)) >> 3);
113}
114
115/**
116 * Rebase the bit writer onto a reallocated buffer.

Callers 15

iamf_write_codec_configFunction · 0.85
iamf_write_audio_elementFunction · 0.85
write_parameter_blockFunction · 0.85
xsub_encodeFunction · 0.85
writtenBytesFunction · 0.85
encode_superframeFunction · 0.85
encode_picture_lsFunction · 0.85
encode_parse_infoFunction · 0.85

Calls

no outgoing calls

Tested by 1

put_cabac_terminateFunction · 0.68