uint32_t result= be2me_32( *(uint32_t *)(((uint8_t *)s->buffer)+(index>>3)) );  result<<= (index&0x07); result>>= 32 - 1;
uint8_t result= s->buffer[ index>>3 ]; result>>= 7-(index&0x07); result&=1;
static inline unsigned int get_bits1(GetBitContext *s){#ifdef ALT_BITSTREAM_READER    int index= s->index;    uint32_t result= be2me_32( *(uint32_t *)(((uint8_t *)s->buffer)+(index>>3)) );    result<<= (index&0x07);    result>>= 32 - 1;    index++;    s->index= index;        return result;#else    if(s->bit_cnt>0){        /* most common case here */        unsigned int val = s->bit_buf >> 31;        s->bit_buf <<= 1;	s->bit_cnt--;#ifdef STATS	st_bit_counts[st_current_index]++;#endif	return val;    }    return get_bits_long(s,1);#endif}