Am 31.10.2012 um 22:25 schrieb William Koperwhats <[email protected]>:

> 
>> I have no idea. What does LastErrorMessage say?
> 
>    Dim c As DirectShowAMCrossbarMBS = DSSourceFilter.AMCrossbar
> 
> Comes back with "No such interface supported" .

Probably right as your source filter is not a Analog Video Crossbar Filter.

>> Looking on details in Mircosoft website, you need to use it with the Analog 
>> Video Crossbar Filter object. But I'm not sure where to get it.
> 
> Is that something that's missing from the current plug in? I can't find any 
> reference to it in the documentation.

Well, I may need to add a couple of more methods to insert required crossbar 
filter to the graph.
Maybe some more classes and methods. I'm not sure, I have to study this more.

> On another note, have you given any additional thought to the excessive CPU 
> usage in the current DS implementation? 

Well if you use event, we get a callback for every frame on a helper thread 
passing a buffer. We copy the buffer and store it.
This buffer contains the decompressed sample data. So this decompressing takes 
CPU times. The copy also.
If you call Current function, we take current buffer, make another copy of it 
with headers. Than we pass to our picture builder function which create RB 
Picture from the buffer.

My problem is that I can't measure which part of this takes how long.
But I could change it a bit to reuse buffers so we save allocating, try to 
build the picture without a second copy and reuse the picture object.

Does someone here have performance measurement tools for Windows like the 
sample app from Apple?
If we could sample this we could see where time is spend most.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to