[svn] / branches / dev-api-3 / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/decoder.c

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

revision 195, Wed Jun 12 20:38:41 2002 UTC revision 208, Fri Jun 14 13:21:35 2002 UTC
# Line 47  Line 47 
47   *  22.12.2001  lock based interpolation   *  22.12.2001  lock based interpolation
48   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>
49   *   *
50   *  $Id: decoder.c,v 1.19 2002-06-12 20:38:39 edgomez Exp $   *  $Id: decoder.c,v 1.20 2002-06-14 13:21:13 Isibaar Exp $
51   *   *
52   *************************************************************************/   *************************************************************************/
53    
# Line 96  Line 96 
96    
97          dec->edged_width = 16 * dec->mb_width + 2 * EDGE_SIZE;          dec->edged_width = 16 * dec->mb_width + 2 * EDGE_SIZE;
98          dec->edged_height = 16 * dec->mb_height + 2 * EDGE_SIZE;          dec->edged_height = 16 * dec->mb_height + 2 * EDGE_SIZE;
99            dec->low_delay = 0;
100    
101          if (image_create(&dec->cur, dec->edged_width, dec->edged_height)) {          if (image_create(&dec->cur, dec->edged_width, dec->edged_height)) {
102                  xvid_free(dec);                  xvid_free(dec);
# Line 134  Line 135 
135                  xvid_free(dec);                  xvid_free(dec);
136                  return XVID_ERR_MEMORY;                  return XVID_ERR_MEMORY;
137          }          }
138    
139            memset(dec->mbs, 0, sizeof(MACROBLOCK) * dec->mb_width * dec->mb_height);
140    
141          // add by chenm001 <chenm001@163.com>          // add by chenm001 <chenm001@163.com>
142          // for skip MB flag          // for skip MB flag
143          dec->last_mbs =          dec->last_mbs =
# Line 149  Line 153 
153                  return XVID_ERR_MEMORY;                  return XVID_ERR_MEMORY;
154          }          }
155    
156            memset(dec->last_mbs, 0, sizeof(MACROBLOCK) * dec->mb_width * dec->mb_height);
157    
158          init_timer();          init_timer();
159    
160          // add by chenm001 <chenm001@163.com>          // add by chenm001 <chenm001@163.com>

Legend:
Removed from v.195  
changed lines
  Added in v.208

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