为满足用户拍摄图像时的不同需求,设计多分辨率驱动算法,使得用户可以根据需要动态调整采集分辨率,获取不同精度的图像.分析OV5642的工作原理及S3C6410相机接口特性;在嵌入式Linux和S3C6410平台上,研究基于V4L2的驱动框架,设计OV5642的驱动算法,重点设计并实现OV5642多分辨率的驱动算法.测试结果表明,该算法能够有效采集不同分辨率的图像.
To satisfy users' different capture demands, a multi-resolution driver algorithm was proposed, which made users adjust the camera's capture resolution dynamically and obtain images with different qualities. Principles of the OV5642 and features of the S3C6410 camera interface were analyzed. A driver framework based on the V4L2 was studied, and a driver algorithm of the OV5642 was designed on the platform of the embedded Linux operating system and the $3C6410 development board, the design and implementation of the OV5642 multi-resolution driver algorithm was emphasized especially. The test results show that the algorithm is effective and images with different resolution are obtained.