Here is an example (sample code): http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=android/samples;h=5b92789a4bd875e8696592c9828e90decbb2a2c8;hb=9b3c56ac71d2b119228599496a93c40d4d9753e3
On Sep 9, 1:05 am, ShankarGanesh <shankargane...@gmail.com> wrote: > Hi , > Our SoC has hardware decoder for MPEG streams. I am trying to > port the h/w codec driver to android . I want to share (mmap) decode > buffers to user space . What is the prefered way to implement this use- > case ? Few of them what i can think of : a) using "pmem" b) ioremap > from reserved memory and mmap to user-space .Please provide me > pointers on apt method . --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---