[svn] / branches / dev-api-4 / xvidcore / vfw / src / codec.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/vfw/src/codec.c

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

revision 1202, Sun Nov 9 20:49:21 2003 UTC revision 1203, Tue Nov 11 16:25:39 2003 UTC
# Line 49  Line 49 
49    
50  #include <windows.h>  #include <windows.h>
51  #include <vfw.h>  #include <vfw.h>
52    #include <stdio.h>
53  #include "vfwext.h"  #include "vfwext.h"
54    
55  #include <xvid.h>  #include <xvid.h>
# Line 280  Line 281 
281                  {                  {
282                          xvid_plg_data_t *data = (xvid_plg_data_t *) param1;                          xvid_plg_data_t *data = (xvid_plg_data_t *) param1;
283    
284                          DPRINTF("[%5i]   type=%c   Q:%2i   length:%6i",                          /* We don't use DPRINTF here because it's active only for _DEBUG
285                             * builds and that activates lot of other debug printfs. We only
286                             * want these all the time */
287                            char buf[1024];
288                            sprintf(buf, "[%5i]   type=%c   Q:%2i   length:%6i",
289                                     data->frame_num,                                     data->frame_num,
290                     type2char(data->type),                     type2char(data->type),
291                     data->quant,                     data->quant,
292                     data->length);                     data->length);
293                            OutputDebugString(buf);
294    
295                          return 0;                          return 0;
296                  }                  }
297          }          }
# Line 568  Line 575 
575    
576          if (codec->config.cartoon_mode) {          if (codec->config.cartoon_mode) {
577                  frame.vop_flags |= XVID_VOP_CARTOON;                  frame.vop_flags |= XVID_VOP_CARTOON;
 #if 0 /* Seems to cause crashes with P4 cpus */  
578                  frame.motion |= XVID_ME_DETECT_STATIC_MOTION;                  frame.motion |= XVID_ME_DETECT_STATIC_MOTION;
 #endif  
579          }          }
580    
581          frame.motion |= pmvfast_presets[codec->config.motion_search];          frame.motion |= pmvfast_presets[codec->config.motion_search];

Legend:
Removed from v.1202  
changed lines
  Added in v.1203

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