Hi,
Our project developed a PDA devices, using TI-Android-GingerBread-2.3.4-DevKit, I encountered some of the debug camera, TI offers the demo code in the camera the sensor is mt9t111, but we replaced mt9p017, the HAL layer in the android how to modify?
In kernel, mt9p017.c
mt9p017->format.code = V4L2_MBUS_FMT_SRGGB10_1X10;
mt9p017->format.width = 1296;
mt9p017->format.height = 972;
mt9p017->format.field = V4L2_FIELD_NONE;
mt9p017->format.colorspace = V4L2_COLORSPACE_SRGB;
const static struct mt9p017_frame_size mt9p017_sizes[] = {
{ 640, 480 }, /* VGA */
{ 1280, 720 }, /* 720p */
{ 1296, 972 },
{ 1920, 1080 }, /* 1080p */
{ 2592, 1944 }, /* 5 MP */
};
enum mt9p017_image_size {
VGA_BIN_48FPS,
HDV_720P_28FPS,
HDV_972P_20FPS,
HDV_1080P_10FPS,
MT9P017_FIVE_MP,
};
but, in camerahardware.cpp and v4l2Camera.cpp, How to modify the appropriate configuration, can you tell me?