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

Function put_bytes_left

libavcodec/put_bits.h:145–148  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

143 * @return the number of bytes left.
144 */
145static inline int put_bytes_left(const PutBitContext *s, int round_up)
146{
147 return s->buf_end - s->buf_ptr - ((BUF_BITS - s->bit_left + (round_up ? 7 : 0)) >> 3);
148}
149
150/**
151 * Pad the end of the output stream with zeros.

Callers 15

xsub_encode_rleFunction · 0.85
encode_frameFunction · 0.85
FUNC(tile)Function · 0.85
encode_422_bitstreamFunction · 0.85
encode_plane_bitstreamFunction · 0.85
encode_gray_bitstreamFunction · 0.85
encode_bgra_bitstreamFunction · 0.85
dnxhd_encode_threadFunction · 0.85
svq1_encode_planeFunction · 0.85
encode_plane_sliceFunction · 0.85
encode_frameFunction · 0.85
ljpeg_encode_bgrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected