[cvs] / xvidcore / dshow / src / CXvidDecoder.cpp Repository:
ViewVC logotype

Diff of /xvidcore/dshow/src/CXvidDecoder.cpp

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

revision 1.1.2.9, Wed Jan 7 13:50:28 2004 UTC revision 1.1.2.10, Fri Jan 9 04:37:59 2004 UTC
# Line 339  Line 339 
339          {          {
340                  VIDEOINFOHEADER * vih = (VIDEOINFOHEADER *) mtIn->Format();                  VIDEOINFOHEADER * vih = (VIDEOINFOHEADER *) mtIn->Format();
341                  hdr = &vih->bmiHeader;                  hdr = &vih->bmiHeader;
342                  ar_x = vih->bmiHeader.biXPelsPerMeter*hdr->biWidth;                  /* PAR (x:y) is (1/ppm_X):(1/ppm_Y) where ppm is pixels-per-meter
343                  ar_y = vih->bmiHeader.biYPelsPerMeter*hdr->biHeight;                     which is equal to ppm_Y:ppm_X */
344                    ar_x = vih->bmiHeader.biYPelsPerMeter*hdr->biWidth;
345                    ar_y = vih->bmiHeader.biXPelsPerMeter*hdr->biHeight;
346          }          }
347          else if (*mtIn->FormatType() == FORMAT_VideoInfo2)          else if (*mtIn->FormatType() == FORMAT_VideoInfo2)
348          {          {

Legend:
Removed from v.1.1.2.9  
changed lines
  Added in v.1.1.2.10

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