Hello everyone!
Recently I get a parallel interface camera module (the sensor is OV5640) and I've finished writing the custom driver (based on arch/arm/mach-omap2/board-omap3beagle-camera.c and driver/media/video/mt9t112.c).
When I got the pix data using the V4L2 API,I found two problems.
1:
When I check the pix data using the UltraEdit ,I find that the pix data arrangment is so strange.The arrangement I got is 0 Y0 0 U0 0 Y1 0 V0 0 Y2 0 U2 0 Y3 0 V2.
2:
Time it takes to shoot a picture is about 12 seconds.And nearly 10 seconds is used to respond to HS_VS_IRQ 、CCDC_VD1_IRQ 、CCDC_VD0_IRQ 、CCDC_LSC_DONE interrupts.
Now ,I don't know how to get the pix data whose data arrangement is Y0 U0 Y1 V0 Y2 U2 Y3 V2 and reduce the time of responding to the interrupts mentioned above.
Can you give me some advice ?