Discussion:
ICS camera driver
petter
2011-12-11 15:36:49 UTC
Permalink
Hi I am working on I9000 camera driver for ICS, I am porting it from
my GB implementation, I've found that on ICS all pushing frames
mechanism was modified from callback oriented system to ANativeWindow
stuff. Could soumebody please give me some clue how to work with
ANativeWindow? I've found in omap4 camera sources, that I should call
set_buffer_count, set_buffers_geometry and than dequeue_buffer but
this method should return me buffer_handle_t which is only base I
think for device dependent gralloc buffer. By the way I've found in
CameraService.cpp setPreviewCallbackFlag method, that there is still
callback oriented frame processing like in GB, but
CAMERA_FRAME_CALLBACK_FLAG_ENABLE_MASK isn't setted by camera app. If
somebody knows about that, please write me simple sequence how to work
with that, thanks
--
unsubscribe: android-porting+unsubscribe-/***@public.gmane.org
website: http://groups.google.com/group/android-porting
Loading...