TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Device Drivers

Notices

Reply
 
Thread Tools Display Modes
Old 29-11-2007, 06:02 PM   #1
huengpei
Guest
 
Posts: n/a
About the Connection of MPEG-1 Stream Splitter ...


Dear All:

We are developing a MPEG1 hardware encoded device and are writing its driver
which is based on AVStream.
In this design, we need connect the output pin of source capture filter to
Microsoft's MPEG-1 Stream Splitter.
However, why cannot I connect them successfully?
I use the format structure below, is it right?
Please help me.
I don't know how to solve it. ...><...

static KSDATARANGE AnalogCaptureSystemStreamPinDataRange =
{
{ sizeof(KSDATARANGE),
0,
64 * 512,
0,
STATIC_KSDATAFORMAT_TYPE_STREAM,
STATIC_KSDATAFORMAT_TYPE_MPEG1_SYSTEM,
STATIC_KSDATAFORMAT_SPECIFIER_NONE,
}
};

static PKSDATARANGE AnalogCaptureProgramStreamPinDataRangesArray[ ] = {

(PKSDATARANGE)(&AnalogCaptureSystemStreamPinDataRa nge),
};

DECLARE_SIMPLE_FRAMING_EX(
AMEBDAD_ANALOG_CAPTURE_PIN_PROGRAMSTREAM_ALLOCATOR _FRAMING,
STATICGUIDOF(KSMEMORY_TYPE_KERNEL_NONPAGED),
KSALLOCATOR_REQUIREMENTF_SYSTEM_MEMORY |
KSALLOCATOR_REQUIREMENTF_PREFERENCES_ONLY,
8,
FILE_BYTE_ALIGNMENT,
64 * 512,
64 * 512
);

Best Regards,
H.P.



  Reply With Quote
Reply

Thread Tools
Display Modes


Google
 


All times are GMT +5.5. The time now is 12:43 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional