qn1536637639

qn1536637639

0个粉丝

1

问答

0

专栏

0

资料

qn1536637639  发布于  2018-11-26 11:19:08
采纳率 0%
1个问答
1427

3616A在sensor为34229上出现锯齿

 
3516A在对接34229的sensor时,进行视频格式切换(一般是1080P30和1080P60之间进行切换)时出现锯齿现象,怀疑是切换时sensor重新进行寄存器配置时出现了问题,对接34422的sensor没发现这个现象,求大佬指导一下。

以下是sensor的寄存器配置:
void sensor_linear_1080p60_init()
{
/* # BATCH
   # N112_S12_P4_FHD_V1125_H400_12b_PLL445_60fps_MCLK37_vM17e_140226_Master.txt Org.
   # VCYCLE:1125 HCYCLE:550 (@MCLK) */
    sensor_write_register (0x300E, 0x01);
    sensor_write_register (0x300F, 0x00);
    sensor_write_register (0x0305, 0x02);
    sensor_write_register (0x0307, 0x24);
    sensor_write_register (0x3000, 0x00);
    sensor_write_register (0x3001, 0x03);
    sensor_write_register (0x0112, 0x0C);
    sensor_write_register (0x0113, 0x0C);
    sensor_write_register (0x3004, 0x03);
    sensor_write_register (0x3005, 0x64);
    sensor_write_register (0x3007, 0x10);
    sensor_write_register (0x3008, 0x90);
    sensor_write_register (0x300B, 0x00);
    sensor_write_register (0x3018, 0x43);
    sensor_write_register (0x3019, 0x10);
    sensor_write_register (0x301A, 0xB9);
    sensor_write_register (0x3000, 0x00);
    sensor_write_register (0x3001, 0x53);
    sensor_write_register (0x300E, 0x00);
    sensor_write_register (0x300F, 0x00);
    sensor_write_register (0x0202, 0x04);
    sensor_write_register (0x0203, 0x63);
    sensor_write_register (0x0340, 0x04);
    sensor_write_register (0x0341, 0x65);
    sensor_write_register (0x0342, 0x08);
    sensor_write_register (0x0343, 0x98);
    sensor_write_register (0x0346, 0x00);
    sensor_write_register (0x0347, 0x3C);
    sensor_write_register (0x034A, 0x04);
    sensor_write_register (0x034B, 0x7F);
    sensor_write_register (0x034E, 0x04);
    sensor_write_register (0x034F, 0x44);
    sensor_write_register (0x3036, 0x00);
    sensor_write_register (0x3039, 0x2E);
    sensor_write_register (0x3041, 0x2C);
    sensor_write_register (0x3058, 0x0F);
    sensor_write_register (0x306E, 0x0C);
    sensor_write_register (0x306F, 0x00);
    sensor_write_register (0x3074, 0x01);
    sensor_write_register (0x3098, 0x00);
    sensor_write_register (0x3099, 0x00);
    sensor_write_register (0x309A, 0x01);
    sensor_write_register (0x3101, 0x00);
    sensor_write_register (0x3104, 0x04);
    sensor_write_register (0x3106, 0x00);
    sensor_write_register (0x3107, 0xC0);
    sensor_write_register (0x312B, 0x00);
    sensor_write_register (0x312D, 0x00);
    sensor_write_register (0x312F, 0x00);
    sensor_write_register (0x3141, 0x40);
    sensor_write_register (0x3143, 0x02);
    sensor_write_register (0x3144, 0x02);
    sensor_write_register (0x3145, 0x02);
    sensor_write_register (0x3146, 0x00);
    sensor_write_register (0x3147, 0x02);
    sensor_write_register (0x3148, 0x02);
    sensor_write_register (0x3149, 0x02);
    sensor_write_register (0x314A, 0x01);
    sensor_write_register (0x314B, 0x02);
    sensor_write_register (0x314C, 0x02);
    sensor_write_register (0x314D, 0x02);
    sensor_write_register (0x314E, 0x01);
    sensor_write_register (0x314F, 0x02);
    sensor_write_register (0x3150, 0x02);
    sensor_write_register (0x3152, 0x04);
    sensor_write_register (0x3153, 0xE3);
    sensor_write_register (0x3155, 0xCA);
    sensor_write_register (0x3157, 0xCA);
    sensor_write_register (0x3159, 0xCA);
    sensor_write_register (0x315B, 0xCA);
    sensor_write_register (0x315D, 0xCA);
    sensor_write_register (0x315F, 0xCA);
    sensor_write_register (0x3161, 0xCA);
    sensor_write_register (0x3163, 0xCA);
    sensor_write_register (0x3165, 0xCA);
    sensor_write_register (0x3167, 0xCA);
    sensor_write_register (0x3169, 0xCA);
    sensor_write_register (0x316B, 0xCA);
    sensor_write_register (0x316D, 0xCA);
    sensor_write_register (0x316F, 0xC6);
    sensor_write_register (0x3171, 0xCA);
    sensor_write_register (0x3173, 0xCA);
    sensor_write_register (0x3175, 0x80);
    sensor_write_register (0x318E, 0x20);
    sensor_write_register (0x318F, 0x70);
    sensor_write_register (0x3196, 0x08);
    sensor_write_register (0x31FC, 0x02);
    sensor_write_register (0x31FE, 0x07);
    sensor_write_register (0x323C, 0x71);
    sensor_write_register (0x323E, 0x01);
    sensor_write_register (0x3243, 0xD7);
    sensor_write_register (0x3246, 0x01);
    sensor_write_register (0x3247, 0x79);
    sensor_write_register (0x3248, 0x00);
    sensor_write_register (0x3249, 0x00);
    sensor_write_register (0x324A, 0x30);
    sensor_write_register (0x324B, 0x18);
    sensor_write_register (0x324C, 0x02);
    sensor_write_register (0x3253, 0xDE);
    sensor_write_register (0x3256, 0x11);
    sensor_write_register (0x3258, 0x01);
    sensor_write_register (0x3259, 0x49);
    sensor_write_register (0x325A, 0x39);
    sensor_write_register (0x3272, 0x46);
    sensor_write_register (0x3280, 0x30);
    sensor_write_register (0x3282, 0x0E);
    sensor_write_register (0x3285, 0x1B);
    sensor_write_register (0x3288, 0x01);
    sensor_write_register (0x3289, 0x00);
    sensor_write_register (0x330E, 0x05);
    sensor_write_register (0x3310, 0x02);
    sensor_write_register (0x3315, 0x1F);
    sensor_write_register (0x331A, 0x02);
    sensor_write_register (0x331B, 0x02);
    sensor_write_register (0x332C, 0x02);
    sensor_write_register (0x3339, 0x02);
    sensor_write_register (0x336B, 0x03);
    sensor_write_register (0x339F, 0x03);
    sensor_write_register (0x33A2, 0x03);
    sensor_write_register (0x33A3, 0x03);
    sensor_write_register (0x3000, 0x00);
    sensor_write_register (0x3001, 0xD3);
    sensor_write_register (0x0100, 0x01);
    sensor_write_register (0x0101, 0x00);
   
    printf("===panasonic mn34220 sensor 1080P60fps linear mode init success!=====\n");
   
    bSensorInit = HI_TRUE;

    return;
}


/* 1080P30 and 1080P25 */
void sensor_linear_1080p30_init()
{
    sensor_write_register (0x300E, 0x01);
    sensor_write_register (0x300F, 0x00);
    sensor_write_register (0x0305, 0x02);
    sensor_write_register (0x0307, 0x24);
    sensor_write_register (0x3000, 0x00);
    sensor_write_register (0x3001, 0x03);
    sensor_write_register (0x0112, 0x0C);
    sensor_write_register (0x0113, 0x0C);
    sensor_write_register (0x3004, 0x03);
    sensor_write_register (0x3005, 0x64);
    sensor_write_register (0x3007, 0x14);
    sensor_write_register (0x3008, 0x90);
    sensor_write_register (0x300B, 0x00);
    sensor_write_register (0x3018, 0x43);
    sensor_write_register (0x3019, 0x10);
    sensor_write_register (0x301A, 0xB9);
    sensor_write_register (0x3000, 0x00);
    sensor_write_register (0x3001, 0x53);
    sensor_write_register (0x300E, 0x00);
    sensor_write_register (0x300F, 0x00);
    sensor_write_register (0x0202, 0x04);
    sensor_write_register (0x0203, 0x63);
    sensor_write_register (0x0340, 0x04);
    sensor_write_register (0x0341, 0x65);
    sensor_write_register (0x0342, 0x08);
    sensor_write_register (0x0343, 0x98);
    sensor_write_register (0x0346, 0x00);
    sensor_write_register (0x0347, 0x3C);
    sensor_write_register (0x034A, 0x04);
    sensor_write_register (0x034B, 0x7F);
    sensor_write_register (0x034E, 0x04);
    sensor_write_register (0x034F, 0x44);
    sensor_write_register (0x3036, 0x00);
    sensor_write_register (0x3039, 0x2E);
    sensor_write_register (0x3041, 0x2C);
    sensor_write_register (0x3058, 0x0F);
    sensor_write_register (0x306E, 0x0C);
    sensor_write_register (0x306F, 0x00);
    sensor_write_register (0x3074, 0x01);
    sensor_write_register (0x3098, 0x00);
    sensor_write_register (0x3099, 0x00);
    sensor_write_register (0x309A, 0x01);
    sensor_write_register (0x3101, 0x00);
    sensor_write_register (0x3104, 0x04);
    sensor_write_register (0x3106, 0x00);
    sensor_write_register (0x3107, 0xC0);
    sensor_write_register (0x312B, 0x00);
    sensor_write_register (0x312D, 0x00);
    sensor_write_register (0x312F, 0x00);
    sensor_write_register (0x3141, 0x40);
    sensor_write_register (0x3143, 0x02);
    sensor_write_register (0x3144, 0x02);
    sensor_write_register (0x3145, 0x02);
    sensor_write_register (0x3146, 0x00);
    sensor_write_register (0x3147, 0x02);
    sensor_write_register (0x3148, 0x02);
    sensor_write_register (0x3149, 0x02);
    sensor_write_register (0x314A, 0x01);
    sensor_write_register (0x314B, 0x02);
    sensor_write_register (0x314C, 0x02);
    sensor_write_register (0x314D, 0x02);
    sensor_write_register (0x314E, 0x01);
    sensor_write_register (0x314F, 0x02);
    sensor_write_register (0x3150, 0x02);
    sensor_write_register (0x3152, 0x04);
    sensor_write_register (0x3153, 0xE3);
    sensor_write_register (0x3155, 0xCA);
    sensor_write_register (0x3157, 0xCA);
    sensor_write_register (0x3159, 0xCA);
    sensor_write_register (0x315B, 0xCA);
    sensor_write_register (0x315D, 0xCA);
    sensor_write_register (0x315F, 0xCA);
    sensor_write_register (0x3161, 0xCA);
    sensor_write_register (0x3163, 0xCA);
    sensor_write_register (0x3165, 0xCA);
    sensor_write_register (0x3167, 0xCA);
    sensor_write_register (0x3169, 0xCA);
    sensor_write_register (0x316B, 0xCA);
    sensor_write_register (0x316D, 0xCA);
    sensor_write_register (0x316F, 0xC6);
    sensor_write_register (0x3171, 0xCA);
    sensor_write_register (0x3173, 0xCA);
    sensor_write_register (0x3175, 0x80);
    sensor_write_register (0x318E, 0x20);
    sensor_write_register (0x318F, 0x70);
    sensor_write_register (0x3196, 0x08);
    sensor_write_register (0x31FC, 0x02);
    sensor_write_register (0x31FE, 0x07);
    sensor_write_register (0x323C, 0x71);
    sensor_write_register (0x323E, 0x01);
    sensor_write_register (0x3243, 0xD7);
    sensor_write_register (0x3246, 0x01);
    sensor_write_register (0x3247, 0x38);
    sensor_write_register (0x3248, 0x03);
    sensor_write_register (0x3249, 0xE2);
    sensor_write_register (0x324A, 0x30);
    sensor_write_register (0x324B, 0x18);
    sensor_write_register (0x324C, 0x02);
    sensor_write_register (0x3253, 0xDE);
    sensor_write_register (0x3256, 0x11);
    sensor_write_register (0x3258, 0x01);
    sensor_write_register (0x3259, 0x68);
    sensor_write_register (0x325A, 0x39);
    sensor_write_register (0x3272, 0x46);
    sensor_write_register (0x3280, 0x30);
    sensor_write_register (0x3282, 0x0E);
    sensor_write_register (0x3285, 0x1B);
    sensor_write_register (0x3288, 0x01);
    sensor_write_register (0x3289, 0x00);
    sensor_write_register (0x330E, 0x05);
    sensor_write_register (0x3310, 0x02);
    sensor_write_register (0x3315, 0x1F);
    sensor_write_register (0x331A, 0x02);
    sensor_write_register (0x331B, 0x02);
    sensor_write_register (0x332C, 0x02);
    sensor_write_register (0x3339, 0x02);
    sensor_write_register (0x336B, 0x03);
    sensor_write_register (0x339F, 0x03);
    sensor_write_register (0x33A2, 0x03);
    sensor_write_register (0x33A3, 0x03);
    sensor_write_register (0x3000, 0x00);
    sensor_write_register (0x3001, 0xD3);
    sensor_write_register (0x0100, 0x01);
    sensor_write_register (0x0101, 0x00);
   
    printf("===panasonic mn34220 sensor 1080P30fps linear mode init success!=====\n");
   
    bSensorInit = HI_TRUE;

    return;
}

我来回答
回答3个
时间排序
认可量排序

qn1536637639

0个粉丝

1

问答

0

专栏

0

资料

qn1536637639 2018-11-26 11:20:45
认可0
[img]http://bbs.ebaina.com/thread-53836-1-1.html[/img]

qn1536637639

0个粉丝

1

问答

0

专栏

0

资料

qn1536637639 2018-11-26 11:28:40
认可0
出现锯齿的图片

qn1536637639

0个粉丝

1

问答

0

专栏

0

资料

qn1536637639 2018-11-26 13:49:37
认可0
有大佬帮忙看看吗
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区