[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.13, Tue Dec 17 12:58:10 2002 UTC revision 1.23.2.16, Sun Jan 26 14:59:12 2003 UTC
# Line 386  Line 386 
386          frame.general |= XVID_HALFPEL;          frame.general |= XVID_HALFPEL;
387  //      frame.general |= XVID_ME_EPZS;  //      frame.general |= XVID_ME_EPZS;
388    
   
389          if (codec->config.motion_search > 4)          if (codec->config.motion_search > 4)
390                  frame.general |= XVID_INTER4V;                  frame.general |= XVID_INTER4V;
391    
# Line 405  Line 404 
404                  frame.general |= XVID_GMC;                  frame.general |= XVID_GMC;
405    
406          if (codec->config.chromame)          if (codec->config.chromame)
407                  frame.general |= XVID_ME_COLOUR;                  frame.motion |= PMV_CHROMA16 + PMV_CHROMA8;
408    
409          if (codec->config.reduced_resolution)          if (codec->config.reduced_resolution)
410                  frame.general |= XVID_REDUCED;                  frame.general |= XVID_REDUCED;
# Line 662  Line 661 
661          }          }
662          /* --- yv12 --- */          /* --- yv12 --- */
663    
664          result = decompress_query(codec, lpbiInput, lpbiOutput);          result = decompress_query(codec, lpbiInput, NULL);
665          if (result != ICERR_OK)          if (result != ICERR_OK)
666          {          {
667                  return result;                  return result;
668          }          }
669    
         memcpy(outhdr, inhdr, sizeof(BITMAPINFOHEADER));  
670          outhdr->biSize = sizeof(BITMAPINFOHEADER);          outhdr->biSize = sizeof(BITMAPINFOHEADER);
671          outhdr->biCompression = FOURCC_YUY2;          outhdr->biWidth = inhdr->biWidth;
672            outhdr->biHeight = inhdr->biHeight;
673            outhdr->biPlanes = 1;
674            outhdr->biBitCount = 24;
675            outhdr->biCompression = BI_RGB; /* sonic foundry vegas video v3 only supports BI_RGB */
676          outhdr->biSizeImage = outhdr->biWidth * outhdr->biHeight * outhdr->biBitCount;          outhdr->biSizeImage = outhdr->biWidth * outhdr->biHeight * outhdr->biBitCount;
677          outhdr->biXPelsPerMeter = 0;          outhdr->biXPelsPerMeter = 0;
678          outhdr->biYPelsPerMeter = 0;          outhdr->biYPelsPerMeter = 0;

Legend:
Removed from v.1.23.2.13  
changed lines
  Added in v.1.23.2.16

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