* Show 1-25 bits. */
| 371 | * Show 1-25 bits. |
| 372 | */ |
| 373 | static inline unsigned int show_bits(GetBitContext *s, int n) |
| 374 | { |
| 375 | register unsigned int tmp; |
| 376 | OPEN_READER_NOSIZE(re, s); |
| 377 | av_assert2(n>0 && n<=25); |
| 378 | UPDATE_CACHE(re, s); |
| 379 | tmp = SHOW_UBITS(re, s, n); |
| 380 | return tmp; |
| 381 | } |
| 382 | |
| 383 | static inline void skip_bits(GetBitContext *s, int n) |
| 384 | { |
no outgoing calls