源过滤器数据流 [英] Source filter data flow

查看:206
本文介绍了源过滤器数据流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了很多dshow过滤器,并且我知道网站在解释数据流,例如:

I wrote a lot of dshow filters and I know sites explaining data flow like:

http://msdn.microsoft.com/zh-cn/library/dd388376%28VS.85%29.aspx

http://msdn.microsoft.com/en-us/library/dd388376%28VS.85%29.aspx

但我仍然有未解决的问题.

but I still have open questions.

例如,使用基于CSourceStream类的推式源过滤器,我不了解fillbuffer的工作原理.

For example using push source filter based on CSourceStream class, I don't understand how fillbuffer works.

我认为fillbuffer将填充由DecideBufferSize确定的缓冲区,而下游过滤器将在单独的线程中清空该缓冲区.

I thought fillbuffer will fill buffer decided in DecideBufferSize and downstream filter will empty that buffer in a separate thtread.

但是经验告诉我,fillbuffer和dowstream过滤器顺序工作.

but experience tells me that fillbuffer and dowstream filter work sequentially.

您知道这是如何工作的吗?

Any idea how this really works?

推荐答案

不知道您是否看到过这个

Don't know if you've seen this one http://msdn.microsoft.com/en-us/library/dd757807(VS.85).aspx , it talks about source filters and CSourceStream.


这篇关于源过滤器数据流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆