LINUX下TVP5150开发,出现图象移位!怀疑TVP5150参数问题:
1\开发板自带的camera测试程序,图象边缘有问题,显示参数设置存在一定问题
2\想知道开发板的TVP5150寄存器的设置在哪里?没这个我不知道TVP5150输出宽和高!是否裁减过?是否缩放?同步起止位?
3\看mach_mini210文件中关于TVP5150的设置似乎有问题,我们知道PAL/NTSC的的宽是720,而文件配置却如下
static struct s3c_platform_camera tvp5150 = {
......
/* .srclk_name = "xusbxti", */
.clk_name = "sclk_cam1",
.clk_rate = 40000000,
.line_length = 1920,
.width = 1280,
.height = 1024,
.window = {
.left = 0,
.top = 0,
.width = 1280,
.height = 1024,
},
/* Polarity */
.inv_pclk = 0,
.inv_vsync = 0,
.inv_href = 0,
.inv_hsync = 0,
.initialized = 0,
.cam_power = tvp5150_power_en,
};
希望斑竹释疑!
=============================================================================
结帖:
哈哈,自己重写tvp5150摄像头模块,测试OK!
[ 此帖被jxncsunny在2012-04-25 10:06重新编辑 ]