http://groups.google.com/group/android-framework/browse_thread/thread/541f7170d22921cd/

http://groups.google.com/group/android-framework/browse_thread/thread/a4b9cd0674f82a87

Please read the above threads and then let me know if you have further
questions.

-Ravi

On Feb 20, 12:02 am, waterblood <[email protected]> wrote:
> Thanks for your reply.
>
> Is there a way to decide buffer allocator between an output port and
> an input port in node level? Now what i see is opencore always take
> the upstream output port as the supplier for the buffer shared in a
> connection , and use a flag PVMF_MIME_YUV420_SEMIPLANAR_YVU in
> iVideoSubFormat to indicate whether upstream node is a hardware codec.
> If it is a hardware codec, the surface can directly take use of the
> buffer pass down for rendering.
>
> Why not take use of useMemoryAllocators in opencore, and let 3rd party
> implement their own allcator, and hook them to node as they wanted? If
> so opencore will not care where the buffer come from, just take and
> use it.
>
> Thanks
> Guoyin Chen
>
> On Feb 20, 12:39 pm, rktb <[email protected]> wrote:
>
> > On Feb 19, 7:57 pm, waterblood <[email protected]> wrote:> Hi All,
>
> > >    I have below two questions about opencore:
>
> > > 1. useMemoryAllocators has been defined in several places, just as
> > > AndroidSurfaceOutput and AndroidAudioInput. But cannot find any place
> > > where it be called. I just wonder what this function supposed to do?
> > > Is it supposed to decide which memory allocator be used between two
> > > node connection?
>
> > This API is not being used.
>
> > > 2. For A/V sync,  video frame should be dropped if video is too late
> > > to render. But I cannot find the code in opencore. Can anyone point me
> > > where I can find it.
>
> > Look for "PVMF_MEDIAOUTPUTNODEPORT_MEDIA_LATE" in opencore/nodes/
> > pvmediaoutputnode/src/pv_media_output_node_inport.cpp.
>
> > > Thanks in advance!
> > > Guoyin Chen
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to