主题 : kasim 版主,请教ov9650/cmos的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 6173
精华: 0
发帖: 32
金钱: 260 两
威望: 151 点
综合积分: 64 分
注册时间: 2009-05-22
最后登录: 2011-07-29
楼主  发表于: 2010-01-29 22:57

 kasim 版主,请教ov9650/cmos的问题

版主:
linux里面的是1280x1024 @ 7.5fps的,慢的不行。我在网上找了一些,也没有说明是什么接口的,bt601或者bt656,
请问有VGA模式的ov9650配置寄存器表么?有的话可否贴出来或者发给我?lanmanck@163.com,另外是不是只要改驱动的大小就可了?谢谢。
附上驱动的一个更改画面大小函数:
复制代码
  1. static void init_camif_config(struct s3c2440camif_fh * fh)
  2. {
  3.     struct s3c2440camif_dev    * pdev;
  4.     pdev = fh->dev;
  5.     pdev->input = 0;    // FIXME, the default input image format, see inputs[] for detail.
  6.     /* the source image size (input from external camera).*/
  7.     pdev->srcHsize = 640;    //1280 FIXME, the OV9650's horizontal output pixels.
  8.     pdev->srcVsize = 480;    //1024 FIXME, the OV9650's verical output pixels.
  9.     /* the windowed image size. */
  10.     pdev->wndHsize = 640;//1280
  11.     pdev->wndVsize = 480;//1024
  12.     /* codec-path target(output) image size. */
  13.     pdev->coTargetHsize = pdev->wndHsize;
  14.     pdev->coTargetVsize = pdev->wndVsize;
  15.     /* preview-path target(preview) image size. 预览大小,用于在lcd显示*/
  16.     pdev->preTargetHsize = 640;
  17.     pdev->preTargetVsize = 480;    //原来为512
  18.     update_camif_config(fh, CAMIF_CMD_STOP);
  19. }
级别: 新手上路
UID: 6173
精华: 0
发帖: 32
金钱: 260 两
威望: 151 点
综合积分: 64 分
注册时间: 2009-05-22
最后登录: 2011-07-29
1楼  发表于: 2010-01-30 13:57
kasim何在?