I am working on a project where I need to change the driver for the Nexus S front camera. The driver source code is implemented in drivers/media/video/s5ka3dfx.c
. From a look at the implementation of the driver, it seems that the driver complies with the V4L2 API. However, I donβt understand how the driver interacts with the rest of the Android stack. In this case, there should be a hardware abstraction layer containing an implementation of the pure virtual class CameraHardwareInterface (which is declared in platform_frameworks_base/include/CameraHardwareInterface.h
).
I could not find the source code for this level of hardware abstraction. http://android.git.kernel.org/ is dreaming about electrical outlets at the moment, does anyone know of any alternative places to find the source code for the Nexus S HAL camera
source share