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

Function skip_bits_long

libavcodec/get_bits.h:280–287  ·  view source on GitHub ↗

* Skips the specified number of bits. * @param n the number of bits to skip, * For the UNCHECKED_BITSTREAM_READER this must not cause the distance * from the start to overflow int32_t. Staying within the bitstream + padding * is sufficient, too. */

Source from the content-addressed store, hash-verified

278 * is sufficient, too.
279 */
280static inline void skip_bits_long(GetBitContext *s, int n)
281{
282#if UNCHECKED_BITSTREAM_READER
283 s->index += n;
284#else
285 s->index += av_clip(n, -s->index, s->size_in_bits_plus8 - s->index);
286#endif
287}
288
289/**
290 * Read MPEG-1 dc-style VLC (sign bit + mantissa with no MSB).

Callers 15

vvcc_parse_spsFunction · 0.85
ff_iamf_parse_obu_headerFunction · 0.85
mov_read_ddtsFunction · 0.85
hvcc_parse_ptlFunction · 0.85
skip_timing_infoFunction · 0.85
hvcc_parse_vuiFunction · 0.85
hvcc_parse_vpsFunction · 0.85
dts_probeFunction · 0.85
read_sl_headerFunction · 0.85
theora_headerFunction · 0.85
uvlcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected