[svn] / branches / release-1_3-branch / xvidcore / src / bitstream / bitstream.h Repository:
ViewVC logotype

Diff of /branches/release-1_3-branch/xvidcore/src/bitstream/bitstream.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1925, Mon Dec 27 16:39:33 2010 UTC revision 2180, Tue Nov 12 14:48:35 2019 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: bitstream.h,v 1.25 2010-12-18 16:02:00 Isibaar Exp $   * $Id$
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 171  Line 171 
171  the end of the buffer. Padding might be appropriate. If only chunks  the end of the buffer. Padding might be appropriate. If only chunks
172  of 4bytes are applicable, define XVID_SAFE_BS_TAIL. Note that this will  of 4bytes are applicable, define XVID_SAFE_BS_TAIL. Note that this will
173  slow decoding, so consider this as a last-resort solution */  slow decoding, so consider this as a last-resort solution */
174  /* #define XVID_SAFE_BS_TAIL */  #ifndef XVID_HAVE_PADDED_BS_BUFFER
175    #define XVID_SAFE_BS_TAIL
176    #endif
177    
178  /* initialise bitstream structure */  /* initialise bitstream structure */
179    
# Line 204  Line 206 
206  #endif  #endif
207          bs->bufb = tmp;          bs->bufb = tmp;
208    
209          bs->pos = bs->initpos = bitpos*8;          bs->pos = bs->initpos = (uint32_t) bitpos*8;
210          /* preserve the intervening bytes */          /* preserve the intervening bytes */
211          if (bs->initpos > 0)          if (bs->initpos > 0)
212                  bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));                  bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));

Legend:
Removed from v.1925  
changed lines
  Added in v.2180

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4