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

Function get_bits_bytesize

libavcodec/get_bits.h:268–271  ·  view source on GitHub ↗

* Get the size of the GetBitContext's buffer in bytes. * * @param s the GetBitContext * @param round_up If set, the number of bits will be rounded up to full bytes; * this does not matter if the number of bits is known to be * a multiple of eight, e.g. if the GetBitContext has been * initialized with init_get_bits8. */

Source from the content-addressed store, hash-verified

266 * initialized with init_get_bits8.
267 */
268static inline int get_bits_bytesize(const GetBitContext *s, int round_up)
269{
270 return (s->size_in_bits + (round_up ? 7 : 0)) >> 3;
271}
272
273/**
274 * Skips the specified number of bits.

Callers 9

decode_sliceFunction · 0.85
ff_h263_decode_frameFunction · 0.85
slice_decode_threadFunction · 0.85
hls_decode_entryFunction · 0.85
ff_hevc_decode_nal_vpsFunction · 0.85
ff_hevc_decode_nal_spsFunction · 0.85
ff_hevc_decode_nal_ppsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected