[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

trunk/xvidcore/src/bitstream/bitstream.h revision 1726, Sun Sep 3 08:46:56 2006 UTC branches/release-1_3-branch/xvidcore/src/bitstream/bitstream.h revision 1928, Tue Dec 28 19:19:57 2010 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.24 2006-09-03 08:46:56 Skal Exp $   * $Id: bitstream.h,v 1.25.2.1 2010-12-28 19:19:57 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 137  Line 137 
137    
138  void BitstreamWriteVolHeader(Bitstream * const bs,  void BitstreamWriteVolHeader(Bitstream * const bs,
139                                                           const MBParam * pParam,                                                           const MBParam * pParam,
140                                                           const FRAMEINFO * const frame);                                                           const FRAMEINFO * const frame,
141                                                             const int num_slices);
142    
143  void BitstreamWriteVopHeader(Bitstream * const bs,  void BitstreamWriteVopHeader(Bitstream * const bs,
144                                                           const MBParam * pParam,                                                           const MBParam * pParam,
# Line 203  Line 204 
204  #endif  #endif
205          bs->bufb = tmp;          bs->bufb = tmp;
206    
207          bs->pos = bs->initpos = bitpos*8;          bs->pos = bs->initpos = (uint32_t) bitpos*8;
208          /* preserve the intervening bytes */          /* preserve the intervening bytes */
209          if (bs->initpos > 0)          if (bs->initpos > 0)
210                  bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));                  bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));

Legend:
Removed from v.1726  
changed lines
  Added in v.1928

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