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

Diff of /vfw/src/codec.c

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

revision 1.23.2.18, Sat Feb 15 06:30:02 2003 UTC revision 1.28, Wed Apr 9 12:05:19 2003 UTC
# Line 388  Line 388 
388    
389          frame.general |= XVID_HQACPRED;          frame.general |= XVID_HQACPRED;
390    
391            frame.bframe_threshold = 255;
392    
393          if (codec->config.motion_search > 4)          if (codec->config.motion_search > 4)
394                  frame.general |= XVID_INTER4V;                  frame.general |= XVID_INTER4V;
395    
# Line 582  Line 584 
584          }          }
585    
586          frame.bquant = 0;          frame.bquant = 0;
587            frame.bframe_threshold = 0;
588    
589  //      OutputDebugString(" ");  //      OutputDebugString(" ");
590          switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats))          switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats))
# Line 605  Line 608 
608          {          {
609                  *icc->lpdwFlags = 0;                  *icc->lpdwFlags = 0;
610          }          }
611            if (frame.length == 0) { frame.length = 1; *((unsigned char*)frame.bitstream) = 0x7f; }
612    
613          outhdr->biSizeImage = frame.length;          outhdr->biSizeImage = frame.length;
614    

Legend:
Removed from v.1.23.2.18  
changed lines
  Added in v.1.28

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