Dear Experts, In case of video recording, there would be 3 major players in the flow graph i.e. Camera Source, Encoder encapsulated as an OMXCodec component and MPEG4 Writer. I am referring to the one the latest versions of code from android GIT and I have this doubt.
- Each of these components read data from the predecessor through mSource->read. - MPEG4 Writer spawns off separate threads for writing tracks. - However, I couldn't observe that CameraSource and OMXCodec are running in different threads. From my current understanding, I presume that both of these components run in same thread, probably in a sequential manner. Hence, my doubts are: 1) Is my current understanding correct or have I missed out any detail/ implementation related to threads? 2) Since the default implementation is a stub, is it expected/assumed that the Camera HAL implementation would implement a thread of it's own, thereby decoupling the capture from the OMXCodec in terms of picture capture. Please help me to correct my misunderstandings. Thanks for your help. Best Regards, Ganesh -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

