Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    求全志的兄弟们拉一把-----CMOS图像输出字节数不对

    其它全志芯片讨论区
    1
    1
    907
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jinxiangwzh
      jinxiangwzh LV 7 last edited by

      平台V536
      我设置的宽:906, 高640, 输出的图像长度却是583680,
      总线格式:MEDIA_BUS_FMT_SBGGR8_1X8
      像素格式:V4L2_PIX_FMT_SBGGR8
      驱动中有这个尺寸的配置

      	{
      		.width = 906,
      		.height = 640,
      		.hoffset = 0, //1488,
      		.voffset = 0, //1834,
      		.hts = 3824, //7421,                   /* line_length_pck TODO:*/
      		.vts = 784,                     /* frame_length_lines,与寄存器的值要一致 */
      		.pclk = 64 * 1000 * 1000,
      		/* mipi_bps = hts * vts * fps * raw bit / lane num */
      		.mipi_bps = 368 * 1000 * 1000, // TODO:
      		/* 定义帧率, fps * hts * vts = pclk */
      		.fps_fixed = 21,
      		.bin_factor = 1,
      		.intg_min = 4 << 4,
      		.intg_max = 784 << 4,
      		.gain_min = 1 << 4,  // TODO:
      		.gain_max = 16 << 4, // TODO:
      		.regs = sensor_906_640_regs,
      		.regs_size = ARRAY_SIZE(sensor_906_640_regs),
      		.set_size = NULL,
      		.wdr_mode = ISP_NORMAL_MODE,
      		/*.top_clk = 310000000,*/
      		.isp_clk = 384000000,
      	},
      

      快接近出图了 麻烦全志的兄弟们拉一把 就能上岸了

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策