> 
> Is it possible to use IReadStream::SetOutputFormat() to ensure that no matter 
> what we always get BI_RGB / 16 bit images back from avifile?

Well it depends on the codec - there is an undocumented way for do it 
in a fast way but as it's API is rather changing according to
changes in other packages it's usage will stay private to aviplay.

However you could use more simple method

You could setup  RGB image and let the Convert method to do its work.

> 
> Currently our reader code looks like this:
> 
>   CImage *image = data_->pVideoReadStream_->GetFrame(true);

create rgb myrgbcimage;  

myrgbcimage.Convert(image) // should convert image into myrgbimage format

It's not the fastest way - but it should work.

-- 
  .''`.    Zdenek Kabelac  kabi@{debian.org, users.sf.net, fi.muni.cz}
 : :' :          Debian GNU/Linux maintainer - www.debian.{org,cz}
 `. `'                          Overclocker's house :)
   `-              http://www.bbspot.com/News/2002/08/house.html        

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to