"DirectShow Development Guide" study notes

Source: Internet
Author: User

This book should be studied eight years ago, this is a wasting time tragedy. I hope you study well and take notes .

The first chapter of the DirectShow Development Guide covers the following key points:

(1) DirectShow composition

I would like to point out two points: one is the filter manager, that is, the filter Graph Manager, which is a filter container, responsible for creating, destroying all filters, followed by the filter is divided into three categories, Source filter,transform filter, Render Filter. This can be determined based on whether they both have an input pin or an output pin.

(2) The concept and use of COM components

Any interface inherits from IUnkown, which is the main three functions: Queryinterfaces, Addref,release.

Chapter II Filter Principle:

(1) Filter Registration

(2) Filter Media type Am_media_type:

Divided into three parts: Major type (main type), Subtype (auxiliary description type), formattype (Format detail description type).

(3) Filter Connection:

First step: Filter Graph Manager on the output pin up ' Ipinbase::connect (ipin* precivepin,const am_media_type* PMT).

Second step: If the output pin accepts the connection, the input ipin is called on Ipin::receiveconnect.

Step three: If the input pin also accepts this connection, the connection succeeds.

(4)

"DirectShow Development Guide" study notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.