<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Samples are in the DirectX SDK which is
part of the Platform SDK.&nbsp; Platform SDK for Windows XP RC1 has the latest
DirectX 8.1 SDK.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>NullNull is a sample that does what you
want.&nbsp; You should put your receiver code in the Transform() function where
you receive a IMediaSample object.&nbsp; IMediaSample.GetPointer will get the
pointer to the block of memory.&nbsp; The DirectShow Filter Graph Manager will
call into the Transform() function with the data.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In addition to this sample, you will also
need code to control the Filter Graph Manager.&nbsp; You can use the GraphEdit utility
for this while debugging or you can look at the PlayWnd sample for C++ code to
do this.&nbsp; I can also supply you with C# sample code to do this, if you&#8217;re
feeling a little DotNet today ;-)</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;- jcb</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Robert Olson
[mailto:olson@mcs.anl.gov] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, July 23, 2001 3:07
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Jay Beavers; Todd Needham<br>
<b><span style='font-weight:bold'>Cc:</span></b> Andy Quay; ag-tech@mcs.anl.gov<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [AG-TECH] Hi-quality
video</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>At 10:34 AM 7/23/2001 -0700, Jay Beavers wrote:<br>
<br>
</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>I ll be happy to supply
you with whatever direct assistance you need with using the DirectShow
APIs.&nbsp; Not only does this abstract the details of VfW and WDM drivers, it
provides you a nice clean sample through the IMediaSample interface.&nbsp; To
see how to do this easily, I d recommend going through the NullNull sample that
comes with the DirectShow SDK which simply passes the IMediaSample to you and
does nothing with it.</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><br>
</span></font>From what I can tell (I'm waiting for the MSDN site to unhang
while my CDs load. Argh, the sample isn't there on the website, and apparently
not in the MSDN library either) the NullNull example is just a filter that
doesn't do anything. The example I'm looking for that I've not seen yet is a
vanilla C++ app that instantiates all the DirectShow bits of stuff so that I
can get callbacks to my vanilla C++ code with the frames as they become
available. Or I can call to the code get the next frame, either way. <br>
<br>
--bob</p>

</div>

</body>

</html>