Mercurial > libavcodec.hg
comparison common.c @ 277:5cb2978e701f libavcodec
new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected
author | michaelni |
---|---|
date | Fri, 22 Mar 2002 02:21:17 +0000 |
parents | 28c5c62b1c4c |
children | 9c6f056f0e41 |
comparison
equal
deleted
inserted
replaced
276:1e2f9ef286d4 | 277:5cb2978e701f |
---|---|
126 s->bit_cnt < 32) { | 126 s->bit_cnt < 32) { |
127 s->bit_buf |= (*s->buf_ptr++ << (24 - s->bit_cnt)); | 127 s->bit_buf |= (*s->buf_ptr++ << (24 - s->bit_cnt)); |
128 s->bit_cnt += 8; | 128 s->bit_cnt += 8; |
129 } | 129 } |
130 #endif | 130 #endif |
131 s->size= buffer_size; | |
131 } | 132 } |
132 | 133 |
133 #ifndef ALT_BITSTREAM_READER | 134 #ifndef ALT_BITSTREAM_READER |
134 /* n must be >= 1 and <= 32 */ | 135 /* n must be >= 1 and <= 32 */ |
135 /* also true: n > s->bit_cnt */ | 136 /* also true: n > s->bit_cnt */ |