Navigation

    全志在线开发者论坛

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

    屏幕显示摄像头采集度图像

    MR Series
    4
    7
    2682
    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.
    • T
      ttg2577 LV 5 last edited by

      想在屏幕上实时显示摄像头采集的图像
      问题1:可以看到采集的图像,但是有红绿蓝黄的彩色条纹和图像重合在一起
      问题二:将lcd的framebuffer全部填充为0x00,为什么是彩色条纹?😢 IMG20221013205205.jpg.jpg D5DDB3C2C469CC7212EBCB702A136DA2.jpg

      1 Reply Last reply Reply Quote Share 0
      • A
        anyi.men LV 3 last edited by

        感觉是开启了colorbar功能,
        内核配置里把colorbar功能关闭试试。
        Device Drivers ---> Graphics support --->Frame buffer Devices --->Video support for sunxi ---> boot colorbar Support for disp driver(sunxi-disp2)

        T 1 Reply Last reply Reply Quote Share 0
        • T
          ttg2577 LV 5 @anyi.men last edited by

          @anyi-men 回大佬,我内核里这个功能根本没有打开😧

          1 Reply Last reply Reply Quote Share 0
          • YuzukiTsuru
            柚木 鉉 LV 9 last edited by

            cat一下disp的attr,你会发现开了多个图层

            T 1 Reply Last reply Reply Quote Share 0
            • T
              ttg2577 LV 5 @YuzukiTsuru last edited by

              @yuzukitsuru 那再请教一下,这个图层该怎么关掉?

              W 1 Reply Last reply Reply Quote Share 0
              • W
                waterworld LV 5 @ttg2577 last edited by

                @ttg2577
                lichee\linux-5.4\drivers\video\fbdev\sunxi\disp2\disp\dev_fb.c:

                #if defined(CONFIG_DISP2_SUNXI_BOOT_COLORBAR)
                disp_draw_colorbar(screen_id, 0);
                #endif

                把这个注释掉就好了

                T 1 Reply Last reply Reply Quote Share 1
                • T
                  ttg2577 LV 5 @waterworld last edited by

                  @waterworld 可以了,谢谢👍

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

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

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