1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Platform: RK3288
OS: Android 6.0 Kernel: 3.10.92 需求: 摄像头安装之后预览和预览回调画面是倒着的,需要旋转180°。 现象: 通过修改camera_board.xml中的参数 说明此参数只对预览有效。 解决方法: 通过修改模组寄存器的flip参数。 代码改动: diff --git a/Config/cam_board_rk3288.xml b/Config/cam_board_rk3288.xml index d3ea5bc..279a9c7 100644 --- a/Config/cam_board_rk3288.xml +++ b/Config/cam_board_rk3288.xml @@ -21,7 +21,7 @@ - + diff --git a/SiliconImage/isi/drv/OV5640/source/OV5640_tables.c b/SiliconImage/isi/drv/OV5640/source/OV5640_tables.c index a8e25f3..dfe58c4 100755 --- a/SiliconImage/isi/drv/OV5640/source/OV5640_tables.c +++ b/SiliconImage/isi/drv/OV5640/source/OV5640_tables.c @@ -71,7 +71,7 @@ const IsiRegDescription_t OV5640_g_aRegDescription[] = {0x3c09, 0x1c,"",eReadWrite,}, {0x3c0a, 0x9c,"",eReadWrite,}, {0x3c0b, 0x40,"",eReadWrite,}, - {0x3820, 0x41,"",eReadWrite,}, + {0x3820, 0x47,"",eReadWrite,}, {0x3821, 0x07,"",eReadWrite,}, {0x3814, 0x31,"",eReadWrite,}, {0x3815, 0x31,"",eReadWrite,}, @@ -300,7 +300,7 @@ const IsiRegDescription_t OV5640_g_aRegDescription[] = {0x3503, 0x00,"",eReadWrite,}, {0x3c07, 0x08,"",eReadWrite,}, - {0x3820, 0x41,"",eReadWrite,}, + {0x3820, 0x47,"",eReadWrite,}, {0x3821, 0x07,"",eReadWrite,}, {0x3814, 0x31,"",eReadWrite,}, {0x3815, 0x31,"",eReadWrite,}, @@ -351,7 +351,7 @@ const IsiRegDescription_t OV5640_g_svga[] = {0x3503, 0x00,"",eReadWrite,}, {0x3a00, 0x7c,"",eReadWrite,}, {0x3c07, 0x08,"",eReadWrite,}, - {0x3820, 0x41,"",eReadWrite,}, + {0x3820, 0x47,"",eReadWrite,}, {0x3821, 0x07,"",eReadWrite,}, {0x3814, 0x31,"",eReadWrite,}, {0x3815, 0x31,"",eReadWrite,}, @@ -411,7 +411,7 @@ const IsiRegDescription_t OV5640_g_video_720p[] = {0x380f,0xe4,"",eReadWrite,}, {0x3813,0x04,"",eReadWrite,}, - {0x3820, 0x41,"",eReadWrite,}, //ddl@rock-chips.com add start: qsxvga -> 720p isn't stream on + {0x3820, 0x47,"",eReadWrite,}, //ddl@rock-chips.com add start: qsxvga -> 720p isn't stream on {0x3821, 0x07,"",eReadWrite,}, {0x3814, 0x31,"",eReadWrite,}, {0x3815, 0x31,"",eReadWrite,}, @@ -449,45 +449,45 @@ const IsiRegDescription_t OV5640_g_video_720p[] = }; const IsiRegDescription_t OV5640_g_2592x1944[] = { - {0x3820, 0x41,"",eReadWrite,}, + {0x3820, 0x47,"",eReadWrite,}, |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
533 浏览 0 评论
803 浏览 1 评论
700 浏览 1 评论
1926 浏览 1 评论
3171 浏览 1 评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 19:57 , Processed in 0.597212 second(s), Total 70, Slave 54 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号