- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
directX开发参考资料
Using Multiple Graphs in DirectShow Page 1 of 8 http://www.gdcl.co.uk 17 October 2005 Using Multiple Graphs in DirectShow Geraint Davies Introduction Overview DirectShow uses a graph of connected filters. Each filter in the graph has the same state (stopped, paused or running) and the same clock, and the data flows directly from filter to filter. While this works well for many tasks, there are a number of tasks for which it is not suited. Applications need to start and stop some filters independently of others, and to switch connections between filters dynamically. In this article, and the accompanying code, I want to demonstrate how to solve some of these problems by using multiple, related graphs of filters. First, some background. Why is it so complicated to change a graph while it’s running? The design of DirectShow is intended to make filters as lightweight as possible, to encourage developers to break down large monolithic processing engines into several separate components with no loss of efficiency. This meant allowing each filter to call directly to interfaces on other filters and not insisting on a thread switch for each filter. The result is that a single thread created by one filter can call down through several other filters and block in a number of places. This has created a low-overhead design, but sadly it has also resulted in much of the complexity of the DirectShow architecture. Only by following the strict rules of DirectShow behaviour can deadlocks be avoided. All the filters in a graph must be in the same state. But the graph itself is a very lightweight object: there is very little additional cost to having the same filters divided between several different graphs. A set of custom filters can then feed the data between graphs, outside of the DirectShow framework, and the graphs can be started and stopped independently. You can do this very straightforwardly without sharing allocators or threads between the graphs:
您可能关注的文档
- Classical programmability is enough for quantum circuits universality in approximate sense.pdf
- CKM Physics & Beyond the Standard Model Physics with Charm.ppt
- Classification of scale-free networks.pdf
- ClC_3氯离子通道与肿瘤_武晓英.pdf
- Clastic Fluxes of Iron (Oxyhydr)oxide.pdf
- CLEO 97-17 Investigation of Semileptonic B Meson Decay to P-Wave Charm Mesons.pdf
- Climate variations and bacillary dysentery in northern and southern cities of China.pdf
- Clindamycin-Phosphate.pdf
- Climate change impacts on ecosystems and the terrestrial carbon sink.pdf
- clinical observation of immunity for severe acute pancreatitis.pdf
- Disc height and motion patterns in the lumbar spine in patients operated.doc
- DIRECTX 9 SDK 安装设定教学.pdf
- Dislocation loop formation and transformation in irradiated bcc iron.pdf
- Disorders Depression.pdf
- Disentangling two- and four-quark state pictures of the charmed scalar mesons.pdf
- Distribution of vanadium species between soil and plants in the vicinity of vanadium mine Original.pdf
- Disperse Powdered Substance on.pdf
- Dispersion relations and speeds of sound in special sectors for the integrable chain with a.pdf
- Distinguishing Hadronic Cascades from Hydrodynamic Models in Pb(160 AGeV)+Pb Reactions by I.pdf
- DISTRIBUTED CLASSIFIER CHAIN OPTIMIZATION FOR REAL-TIME MULTIMEDIA STREAM MINING SYSTEMS.pdf
文档评论(0)