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: Mon, 14 Jul 2008 17:44:44 -0700 (PDT),    group: microsoft.public.win32.programmer.directx.video        back       


The priority of connection mediatype in a filter   
I am writing a encoding filter which supports RGB24, YUY2, I420.
For the efficency concern.
It is good for a capture to connect this filter at the order of  I420,
YUY2, RGB24.

How to give the filter the prioirty of connection mediatype?
Or I just can do this at applicaton level?
date: Mon, 14 Jul 2008 17:44:44 -0700 (PDT)   author:   CT

Re: The priority of connection mediatype in a filter   
From: "CT"

> I am writing a encoding filter which supports RGB24,
> YUY2, I420.
> For the efficency concern.
> It is good for a capture to connect this filter at the
> order of  I420, YUY2, RGB24.
>
> How to give the filter the prioirty of connection
> mediatype?
> Or I just can do this at applicaton level?

Your filter should enumerate the media types in order of 
preference.


-- 
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
date: Mon, 14 Jul 2008 21:37:36 -0400   author:   Alessandro Angeli

Re: The priority of connection mediatype in a filter   
On 7$B7n(B15$BF|(B, $B>e8a(B9$B;~(B37$BJ,(B, "Alessandro Angeli" 
wrote:
> From: "CT"
>
> > I am writing a encoding filter which supports RGB24,
> > YUY2, I420.
> > For the efficency concern.
> > It is good for a capture to connect this filter at the
> > order of  I420, YUY2, RGB24.
>
> > How to give the filter the prioirty of connection
> > mediatype?
> > Or I just can do this at applicaton level?
>
> Your filter should enumerate the media types in order of
> preference.
>
> --
> // Alessandro Angeli
> // MVP :: DirectShow / MediaFoundation
> // mvpnews at riseoftheants dot com
> //http://www.riseoftheants.com/mmx/faq.htm

Thanks.
I have followed this, and find the way to do. :-)
date: Tue, 15 Jul 2008 18:59:59 -0700 (PDT)   author:   CT

Google
 
Web ureader.com


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