[svn] / trunk / vfw / src / codec.c Repository:
ViewVC logotype

Diff of /trunk/vfw/src/codec.c

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

revision 228, Thu Jun 20 10:51:08 2002 UTC revision 295, Fri Jul 12 12:26:55 2002 UTC
# Line 23  Line 23 
23   *   *
24   *      History:   *      History:
25   *   *
26     *      12.07.2002      num_threads
27     *      23.06.2002      XVID_CPU_CHKONLY; loading speed up
28   *      25.04.2002      ICDECOMPRESS_PREROLL   *      25.04.2002      ICDECOMPRESS_PREROLL
29   *      17.04.2002      re-enabled lumi masking for 1st pass   *      17.04.2002      re-enabled lumi masking for 1st pass
30   *      15.04.2002      updated cbr support   *      15.04.2002      updated cbr support
# Line 293  Line 295 
295          param.max_quantizer = codec->config.max_pquant;          param.max_quantizer = codec->config.max_pquant;
296          param.max_key_interval = codec->config.max_key_interval;          param.max_key_interval = codec->config.max_key_interval;
297    
298    #ifdef _SMP
299            param.num_threads = codec->config.num_threads;
300    #endif
301    
302  #ifdef BFRAMES  #ifdef BFRAMES
303      param.packed = codec->config.packed;          param.global = 0;
304            if (codec->config.packed) param.global |= XVID_GLOBAL_PACKED;
305            if (codec->config.dx50bvop) param.global |= XVID_GLOBAL_DX50BVOP;
306            if (codec->config.debug) param.global |= XVID_GLOBAL_DEBUG;
307          param.max_bframes = codec->config.max_bframes;          param.max_bframes = codec->config.max_bframes;
308          param.bquant_ratio = codec->config.bquant_ratio;          param.bquant_ratio = codec->config.bquant_ratio;
309  #endif  #endif
# Line 506  Line 515 
515                  frame.intra = 0;                  frame.intra = 0;
516          }          }
517    
518    #ifdef BFRAMES
519            frame.bquant = 0;
520    #endif
521    
522          OutputDebugString(" ");          OutputDebugString(" ");
523          switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats))          switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats))
524          {          {

Legend:
Removed from v.228  
changed lines
  Added in v.295

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