Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 27 Jun 2008 00:18:14 -0700 (PDT),    group: microsoft.public.win32.programmer.directx.video        back       


Libgraph design questions and opinions needed...   
Hi

Please do take a look at
http://groups.google.com/group/comp.lang.c++/browse_thread/thread/8957bbc264802af9#

and let me know what you dshow folks think...

Vivek
date: Fri, 27 Jun 2008 00:18:14 -0700 (PDT)   author:   rep_movsd

Re: Libgraph design questions and opinions needed...   
On Fri, 27 Jun 2008 00:18:14 -0700 (PDT), rep_movsd wrote:

> Please do take a look at
> http://groups.google.com/group/comp.lang.c++/browse_thread/thread/8957bbc264802af9#
> 
> and let me know what you dshow folks think...

I don't like the caps in the variable names either but that can be changed
:)

I don't like the globals.  Why do they need to be global?


-- 
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution
date: Fri, 27 Jun 2008 14:30:19 -0600   author:   The March Hare [MVP] erland

Re: Libgraph design questions and opinions needed...   
>
> I don't like the globals.  Why do they need to be global?
>

Actually, they arent globals at all...
The DECLARE_FlLTER macros just set up some empty templated types.

The FILTER macro creates a temporary object, who by virtue of being
named the same as a declared filter identifier will point to the same
filter. The temporary object wraps itself round the actual filter COM
object that is owned by the graph.

You can put the DECLARE_FlLTER macros in a header and use the
identifiers in any source file, they will refer to the actual filters
in a graph

VIvek
date: Sat, 28 Jun 2008 00:39:38 -0700 (PDT)   author:   rep_movsd

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us