导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    V853移植YUV sensor和RAW sensor有什么区别?

    V Series
    1
    2
    1328
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • X
      xjy_5 LV 6 最后由 xjy_5 编辑

      我所知道的是设备树里写 sensor0_fmt = <0>;
      驱动里设置.mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
      应用层时使用 V4L2_PIX_FMT_YUV422P
      初次以外还需要注意啥?

      我现在的报错是vin is not support this pixelformat,看源码它会调用好几次vin_find_format,前面几次都查询成功了,直到开始查找 MEDIA_BUS_FMT_SBGGR8_1X8 ,报错退出,我还不清楚这个函数干啥的,得看一会。顺带一提,我设置的MEDIA_BUS_FMT_UYVY8_2X8是0x2006,在就找到了,为什么会要找其他格式像素?
      4bbf6b24-b116-4f41-b8a8-3be7eaa8b1eb-image.png

      [CAMERA] The input value is 0.
      [  271.154445] [VIN]vin suport this fmt:0x2008
      [CAMERA] Resolution size : 1920 [  271.161927] [VIN]vin suport this fmt:0x2006
      * 1080
      [CAMERA] The photo save [  271.169375] [VIN]vin suport this fmt:0x2007
      path is /root/pic.
      [CAMERA] The[  271.176899] [VIN]vin suport this fmt:0x2009
       number of photos taken is 3.
      b[  271.184300] [VIN]vin suport this fmt:0x2011
      egin ion_alloc_open
      pid: 1123,[  271.191803] [VIN]vin suport this fmt:0x200f
       g_alloc_context = 0xb6ec1f70
      [  271.199242] [VIN]vin suport this fmt:0x2010
      [CAMERA] Camera capture framerat[  271.206768] [VIN]vin suport this fmt:0x2012
      e is 60/1
      [  271.214185] [VIN]vin suport this fmt:0x2018
      [  271.219847] [VIN]vin suport this fmt:0x2019
      [  271.224592] [VIN]vin suport this fmt:0x200c
      [  271.229284] [VIN]vin suport this fmt:0x200b
      [  271.234048] [VIN]fin code:0x3001
      [  271.237659] [VIN_ERR]vin is not support this pixelformat
      [  271.243652] [VIN_ERR]vin_pipeline_try_format failed
      
      
      X 1 条回复 最后回复 回复 引用 分享 0
      • X
        xjy_5 LV 6 @xjy_5 最后由 编辑

        @xjy_5 我用的是100ask的开发板

        1 条回复 最后回复 回复 引用 分享 0
        • 1 / 1
        • First post
          Last post

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

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