* Decode value with given size in bits * @param ctx decoder context * @param shift number of bits to decode */
| 266 | * @param shift number of bits to decode |
| 267 | */ |
| 268 | static 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 | /** |
no test coverage detected