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

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

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

revision 1437, Sun Apr 18 07:55:11 2004 UTC revision 1487, Sun Jul 11 08:54:38 2004 UTC
# Line 588  Line 588 
588                  return ICERR_UNSUPPORTED;                  return ICERR_UNSUPPORTED;
589          }          }
590    
591            free(create.zones);
592          codec->ehandle = create.handle;          codec->ehandle = create.handle;
593          codec->framenum = 0;          codec->framenum = 0;
594          codec->keyspacing = 0;          codec->keyspacing = 0;
# Line 710  Line 711 
711          frame.vop_flags |= XVID_VOP_HALFPEL;          frame.vop_flags |= XVID_VOP_HALFPEL;
712          frame.vop_flags |= XVID_VOP_HQACPRED;          frame.vop_flags |= XVID_VOP_HQACPRED;
713    
714            if (codec->config.interlacing && codec->config.tff)
715                    frame.vop_flags |= XVID_VOP_TOPFIELDFIRST;
716    
717    
718          if (codec->config.vop_debug)          if (codec->config.vop_debug)
719                  frame.vop_flags |= XVID_VOP_DEBUG;                  frame.vop_flags |= XVID_VOP_DEBUG;
720    
# Line 924  Line 929 
929          outhdr->biPlanes = 1;          outhdr->biPlanes = 1;
930          outhdr->biBitCount = 24;          outhdr->biBitCount = 24;
931          outhdr->biCompression = BI_RGB; /* sonic foundry vegas video v3 only supports BI_RGB */          outhdr->biCompression = BI_RGB; /* sonic foundry vegas video v3 only supports BI_RGB */
932          outhdr->biSizeImage = outhdr->biWidth * outhdr->biHeight * outhdr->biBitCount;          outhdr->biSizeImage = outhdr->biWidth * outhdr->biHeight * outhdr->biBitCount / 8;
933          outhdr->biXPelsPerMeter = 0;          outhdr->biXPelsPerMeter = 0;
934          outhdr->biYPelsPerMeter = 0;          outhdr->biYPelsPerMeter = 0;
935          outhdr->biClrUsed = 0;          outhdr->biClrUsed = 0;

Legend:
Removed from v.1437  
changed lines
  Added in v.1487

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