IBasicVideo::GetCurrentImage

Hi,

Simple question, really. I'm writing a DVD Player app, based on the code in the DirectX 9.0 SDK, C++ Sample, 'PlayDVD'. The sample code works great, and I'm using it to test the functionality of other methods available in the various DVD Navigator Interfaces. I also, have a copy of Mark Pesce's book, "Programming Microsoft DirectShow for Digital Video and Television", 2003.

Pesce's book includes a chapter in which he explores the operation of the SampleGrabber Filter and the ISampleGrabber Interface. I'm wondering which approach is better in terms of frame rate and the overall operation of the the PlayDVD sample. The IBasicVideo::GetCurrentImage method appears easier to implement, but, I suspect that it might just use a SampleGrabber filter in its implementation, in which case, I might just as well go ahead and try the Sample Grabber Filter approach.

Does anybody know anything about the internals of the IBasicVideo::GetCurrentImage method? The DirectX 9 documentation doesn't go into alot of detail about it.

Thanks for any information.

[1096 byte] By [ursuszeta] at [2008-2-27]

Software Development for Windows Vista

Site Classified