Re: Output Pin Custom Allocator
- From: anand <anand.mailme@xxxxxxxxx>
- Date: Sun, 31 Aug 2008 03:40:09 -0700 (PDT)
On Aug 31, 3:32 pm, anand <anand.mai...@xxxxxxxxx> wrote:
On Aug 29, 9:43 pm, "The March Hare [MVP]"
<themarchh...@xxxxxxxxxxxxxxxxxxx> wrote:
On Fri, 29 Aug 2008 06:18:52 -0700 (PDT), anand wrote:
- i have a transform filter using a CTransformFilter class
-I want the GetPointer in transform method return me a buffer using
custom allocator(maybe a physical address,which i have allocated)
-And i want the downstream default video renderer to take this buffer..
-Thanx for the reply March Hare.Let me explain this more.
See the tips in the link below for writing an effective post. You have not
provided enough information to answer the question.
Possible answer:
The default renderer on XP and above is different than for earlier versions
of Windows, as described in the docs. It is the VMR7 and the VMR7 will
insist on its own allocator as stated in the docs. So, you cannot do this
with the VMR7.
-I am using my own transform filter using a CTransformFilter
class.the decoder(h/w) uses its physical memory for doing the
transform.
-I want to avoid the memcpy,of copying from this phy memory to virtual
for the downstream default video renderer(not VMR7)
- in the transform getpointer(o/p buffer) it should be able to point
to this phy addr,so that the default render downstream direcllty
render this buffer from the physical memory.
-I have implemented my own CTransformOutputPin with own allocator ,but
it seems the the transform filter is not taking this allocator,what am
I missing here.
-missed some points
It is not XP.Itz WM6.0 so the renderer should not be VMR7 i
guess.It is the normal video
renderer( 70e102b0-5556-11ce-97c0-00aa0055595a )
regards
anand
.
- References:
- Output Pin Custom Allocator
- From: anand
- Re: Output Pin Custom Allocator
- From: The March Hare [MVP]
- Re: Output Pin Custom Allocator
- From: anand
- Output Pin Custom Allocator
- Prev by Date: Re: Output Pin Custom Allocator
- Previous by thread: Re: Output Pin Custom Allocator
- Next by thread: create custom audio source filter for Windows Mobile
- Index(es):
Relevant Pages
|