Hi Dave, Could you explain further on how to share frame buffers between video decoders and video surface output?
(1)if the decoder allocates the physical memory addresses from the pmem driver, how video surface output get the pmem heap and the offset of a frame buffer? Via the context argument in the WriteAsync() API? (2) if I still want to use the video surface output to allocate the memory, is there any way to let the decoder get a frame buffer address and directly decode frame data to this buffer? I saw there is a "useMemoryAllocators()" API, but don know if it can help. (3) When I get the frame buffer allocated by the pmem driver, can I get its kernel address or physical address? I want to use a device driver other than "fb0" to do Hardware color space conversion. So I need to know the kernel address. Many thanks Jasperr --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
