Navigation

    全志在线开发者论坛

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

    关于VIN中media bus fmt和pixel code得问题

    其它全志芯片讨论区
    1
    1
    1115
    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.
    • I
      inomec LV 5 last edited by

      平台:V536H,系统版本:Tinalinux 4.9,CMOS:MT9J003

      我在驱动中把mbus_code 设置为MEDIA_BUS_FMT_Y8_1X8,应用中读取得时候设置pixelformat =为V4L2_PIX_FMT_GREY

      static struct sensor_format_struct sensor_formats[] = {
          {.desc = "RAW Bayer Y 8bit",
           .mbus_code = MEDIA_BUS_FMT_Y8_1X8, 
           .regs = sensor_fmt_raw,
           .regs_size = ARRAY_SIZE(sensor_fmt_raw),
           .bpp = 1},
      };
      

      报下面这个错误,请问VIN是不支持这个格式吗?
      95.682933] [VIN_ERR]vin is not support this pixelformat:12289
      [ 95.689513] [VIN_ERR]vin_pipeline_try_format failed

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

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

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