版主:
linux里面的是1280x1024 @ 7.5fps的,慢的不行。我在网上找了一些,也没有说明是什么接口的,bt601或者bt656,
请问有VGA模式的ov9650配置寄存器表么?有的话可否贴出来或者发给我?
lanmanck@163.com,另外是不是只要改驱动的大小就可了?谢谢。
附上驱动的一个更改画面大小函数:
复制代码- static void init_camif_config(struct s3c2440camif_fh * fh)
- {
- struct s3c2440camif_dev * pdev;
- pdev = fh->dev;
- pdev->input = 0; // FIXME, the default input image format, see inputs[] for detail.
- /* the source image size (input from external camera).*/
- pdev->srcHsize = 640; //1280 FIXME, the OV9650's horizontal output pixels.
- pdev->srcVsize = 480; //1024 FIXME, the OV9650's verical output pixels.
- /* the windowed image size. */
- pdev->wndHsize = 640;//1280
- pdev->wndVsize = 480;//1024
- /* codec-path target(output) image size. */
- pdev->coTargetHsize = pdev->wndHsize;
- pdev->coTargetVsize = pdev->wndVsize;
- /* preview-path target(preview) image size. 预览大小,用于在lcd显示*/
- pdev->preTargetHsize = 640;
- pdev->preTargetVsize = 480; //原来为512
- update_camif_config(fh, CAMIF_CMD_STOP);
- }
|