What does DirectShow use for data transfer between filters? (pipes or what)
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
DirectShow handles data chunks in “media samples”, which are simply buffers, implemented through the
IMediaSampleCOM interface. To allocate samples is used a COM-based memory manager, theIMemAllocatorinterface, that should be implement by filters. To transfer samples is used the methodIMemAllocator::GetBuffer.Fully documented there: Data Flow in the Filter Graph