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

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

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

revision 802, Thu Jan 23 14:22:05 2003 UTC revision 811, Sun Jan 26 14:59:12 2003 UTC
# Line 661  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.802  
changed lines
  Added in v.811

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