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

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

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

revision 136, Thu Apr 25 06:55:00 2002 UTC revision 138, Thu Apr 25 19:27:49 2002 UTC
# Line 151  Line 151 
151          pEnc->current->mbs = NULL;          pEnc->current->mbs = NULL;
152          pEnc->reference->mbs = NULL;          pEnc->reference->mbs = NULL;
153    
154    #ifdef _DEBUG
155    #ifdef WIN32
156  OutputDebugString("malloc mbs");  OutputDebugString("malloc mbs");
157    #endif
158    #endif
159    
160          if ((pEnc->current->mbs = xvid_malloc(sizeof(MACROBLOCK) * pEnc->mbParam.mb_width * pEnc->mbParam.mb_height, CACHE_LINE)) == NULL ||          if ((pEnc->current->mbs = xvid_malloc(sizeof(MACROBLOCK) * pEnc->mbParam.mb_width * pEnc->mbParam.mb_height, CACHE_LINE)) == NULL ||
161                  (pEnc->reference->mbs = xvid_malloc(sizeof(MACROBLOCK) * pEnc->mbParam.mb_width * pEnc->mbParam.mb_height, CACHE_LINE)) == NULL)                  (pEnc->reference->mbs = xvid_malloc(sizeof(MACROBLOCK) * pEnc->mbParam.mb_width * pEnc->mbParam.mb_height, CACHE_LINE)) == NULL)
162          {          {
# Line 174  Line 179 
179          image_null(&pEnc->vInterHV);          image_null(&pEnc->vInterHV);
180          image_null(&pEnc->vInterHVf);          image_null(&pEnc->vInterHVf);
181    
182    #ifdef _DEBUG
183    #ifdef WIN32
184  OutputDebugString("malloc images");  OutputDebugString("malloc images");
185    #endif
186    #endif
187          if (          if (
188  #ifdef _DEBUG  #ifdef _DEBUG
189                  image_create(&pEnc->sOriginal, pEnc->mbParam.edged_width, pEnc->mbParam.edged_height) < 0 ||                  image_create(&pEnc->sOriginal, pEnc->mbParam.edged_width, pEnc->mbParam.edged_height) < 0 ||

Legend:
Removed from v.136  
changed lines
  Added in v.138

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