* reads 0-32 bits. */
| 422 | * reads 0-32 bits. |
| 423 | */ |
| 424 | static inline unsigned int get_bits_long(GetBitContext *s, int n){ |
| 425 | if(n<=MIN_CACHE_BITS) return get_bits(s, n); |
| 426 | else{ |
| 427 | #ifdef ALT_BITSTREAM_READER_LE |
| 428 | int ret= get_bits(s, 16); |
| 429 | return ret | (get_bits(s, n-16) << 16); |
| 430 | #else |
| 431 | int ret= get_bits(s, 16) << (n-16); |
| 432 | return ret | get_bits(s, n-16); |
| 433 | #endif |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | /** |
| 438 | * reads 0-32 bits as a signed integer. |
no test coverage detected