Yes. Only "fd" and "offset" are sent to the MIO.

Regarding where the MemHeapBase is constructed, it could be vendor
specific implementation. I am not sure about this.

-Ravi

On Jun 9, 7:10 am, Andy Quan <androidr...@gmail.com> wrote:
> I have a question about pmem usage during video playback in opencore.
> In android_surface_output_fb.cpp, there is a special path for YVUSemiplanar
> format, where a private struct pointer is passed from video omx unit,
> i.e. data_header_info.private_data_ptr. 2 local functions are provided as
> "getPmemFd" and "getOffset" to achieve file descriptor and offset.
>
> My question is: does video omx pass "fd" and "offset" only to MIO or does it
> pass MemHeapBase pointer? The latter might mean that MemHeapBase is
> initially constructed inside video omx unit. I just could not recognize
> where that MemHeapBase is created. Anyone can help me understand? Thanks in
> advance!!
>
> --
> Thanks,
> Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to