[svn] / trunk / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/decoder.c

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

revision 41, Wed Mar 20 00:28:02 2002 UTC revision 42, Wed Mar 20 14:02:59 2002 UTC
# Line 68  Line 68 
68  {  {
69          DECODER * dec;          DECODER * dec;
70    
71          dec = xvid_malloc(sizeof(DECODER), 16);          dec = xvid_malloc(sizeof(DECODER), CACHE_LINE);
72          if (dec == NULL)          if (dec == NULL)
73          {          {
74                  return XVID_ERR_MEMORY;                  return XVID_ERR_MEMORY;
# Line 97  Line 97 
97                  return XVID_ERR_MEMORY;                  return XVID_ERR_MEMORY;
98          }          }
99    
100          dec->mbs = xvid_malloc(sizeof(MACROBLOCK) * dec->mb_width * dec->mb_height, 16);          dec->mbs = xvid_malloc(sizeof(MACROBLOCK) * dec->mb_width * dec->mb_height, CACHE_LINE);
101          if (dec->mbs == NULL)          if (dec->mbs == NULL)
102          {          {
103                  image_destroy(&dec->cur, dec->edged_width, dec->edged_height);                  image_destroy(&dec->cur, dec->edged_width, dec->edged_height);
# Line 142  Line 142 
142          for (k = 0; k < 6; k++)          for (k = 0; k < 6; k++)
143          {          {
144                  uint32_t dcscalar;                  uint32_t dcscalar;
145                  int16_t block[64];                  CACHE_ALIGN int16_t block[64];
146                  int16_t data[64];                  CACHE_ALIGN int16_t data[64];
147                  int16_t predictors[8];                  int16_t predictors[8];
148                  int start_coeff;                  int start_coeff;
149    
# Line 272  Line 272 
272    
273          for (k = 0; k < 6; k++)          for (k = 0; k < 6; k++)
274          {          {
275                  int16_t block[64];                  CACHE_ALIGN int16_t block[64];
276                  int16_t data[64];                  CACHE_ALIGN int16_t data[64];
277    
278                  if (cbp & (1 << (5-k)))                 // coded                  if (cbp & (1 << (5-k)))                 // coded
279                  {                  {

Legend:
Removed from v.41  
changed lines
  Added in v.42

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