IMemory is the binder interface for sharing memory between processes.
There is no extra memory copy.

On Dec 31, 2:56 am, Formosalf <[email protected]> wrote:
> "The memory copy isn't really a binder issue, it's due to the way Java
> handles byte arrays."
>
> So, when passing IMemory from one process to another in native code, there
> won't have extra memory copy?
>
> On Wed, Dec 31, 2008 at 2:47 AM, Dave Sparks <[email protected]>wrote:
>
>
>
> > We don't do face detection in real-time, it's done for cropping
> > photos. I'm not aware of any profiling that's been done on
> > performance.
>
> > The memory copy isn't really a binder issue, it's due to the way Java
> > handles byte arrays.
>
> > On Dec 29, 11:52 pm, "[email protected]" <[email protected]>
> > wrote:
> > > Hi,
>
> > > Current face detection is called from java code, is that possible to
> > > call it from mediaserver?
> > > For example, in camera service, if we can detect face in preview
> > > callback, we can display the recognized face rectangle on preview
> > > frame and avoid extra memory copy between mediasever and java
> > > activity?
>
> > > From my understanding, preview frame is a pmem and can be passed to
> > > another processes by ibinder, there will be memory copy when calling
> > > face detection in java, right?
>
> > > I'm also curious the performance of neven library in android, can
> > > anyone share experience?
>
> > > Thanks.
>
> > > Formosalf
--~--~---------~--~----~------------~-------~--~----~
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