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

Function range_decode_culshift

libavcodec/apedec.c:268–273  ·  view source on GitHub ↗

* Decode value with given size in bits * @param ctx decoder context * @param shift number of bits to decode */

Source from the content-addressed store, hash-verified

266 * @param shift number of bits to decode
267 */
268static inline int range_decode_culshift(APEContext * ctx, int shift)
269{
270 range_dec_normalize(ctx);
271 ctx->rc.help = ctx->rc.range >> shift;
272 return ctx->rc.low / ctx->rc.help;
273}
274
275
276/**

Callers 2

range_decode_bitsFunction · 0.85
range_get_symbolFunction · 0.85

Calls 1

range_dec_normalizeFunction · 0.85

Tested by

no test coverage detected