Dave, We are developing a native library that can capture the Camera's preview frames (YUV data) and encode the frames to a specified format. Since we did not want to pass the preview framedata again back to the library layer from the onPreviewFrame() method in the application owing to performance, we are looking for a way to capture the callback data at the library layer itself. Is this scenario possible?
Regards, iblues ------------------ On Feb 1, 12:00 am, Dave Sparks <[email protected]> wrote: > Can you be a little more specific about your use case? Are you trying > to provide a filter effect in a library? > > On Jan 31, 8:02 am, iblues <[email protected]> wrote: > > > > > Hi all, > > > For my framework development, I need to capture the preview framedata > > (send via callbacks to the upper layers) within my native library > > code. Is this possible? I need to control the raw data directly from > > my native library layer itself rather than the framework or > > application layer. And I also understand that I would have to make > > changes in the Camera code at the library level. > > > Also I noticed that in the application layer, when I implement the > > interface PreviewCallback, the interface method onPreviewFrame() > > provides the user with the RAW data for processing. But > > unfortunately , I would need this same data at the native library > > layer itself. > > > Regards, > > iblues- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
