Navigation

    全志在线开发者论坛

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

    怎么在驱动中实现VIDIOC_S_CROP

    Linux
    2
    2
    161
    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 6 last edited by

      请问怎么在驱动中实现图像裁剪,我用的CMOS本身就支持配置寄存器实现裁剪。请问怎么配合我们的VIN架构实现。

      C 1 Reply Last reply Reply Quote Share 0
      • C
        chengwei_peng LV 6 @jinxiangwzh last edited by

        @jinxiangwzh 在VIN增加一个ioctl,操作到sensor驱动即可。本身VIN也是支持裁剪的,只是说不能动态变化,只能使用之前初始化好,需要修改分辨率则关掉再重新配置。

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

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

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