完善资料让更多小伙伴认识你,还能领取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,}, |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
42 浏览 0 评论
1732 浏览 1 评论
2986 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
3727 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
6531 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 09:50 , Processed in 0.695925 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号