首页 > 其他分享 >各种开源的交叉编译

各种开源的交叉编译

时间:2022-12-13 21:13:45浏览次数:44  
标签:Capture no -- 交叉 value 编译 开源 Video 128

1 v4l

1.1 hi3559av100 交叉编译

hi3559av100:
export PKG_CONFIG_LIBDIR=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/aarch64-linux-gnu/lib64/

./configure --host=aarch64-himix100-linux-gcc --disable-shared  --without-jpeg  // --host的值有问题,下面的就可以

./configure --host=aarch64-himix100-linux --disable-shared  --without-jpeg CC=aarch64-himix100-linux-gcc CXX=aarch64-himix100-linux-g++

compile time options summary
============================

    Host OS             : linux-gnu
    X11                 : no
    GL                  : no
    glu                 : no
    libjpeg             : 
    libudev             : no
    pthread             : no
    QT version          : none
    ALSA support        : no

    build dynamic libs  : no
    build static libs   : yes

    gconv               : no

    libv4l              : yes
    v4l_plugins         : no
    v4l_wrappers        : no
    libdvbv5            : no
    dvbv5-daemon        : no
    v4lutils            : yes
    qv4l2               : no
    v4l2-ctrl           : yes
    v4l2-compliance     : yes

1.2 hi3559av100 tw6869 device

    
/opt/bin/app/v4l # ./v4l2-ctl -d /dev/video0 --all
Driver Info (not using libv4l2):
        Driver name   : tw686x
        Card type     : tw6869
        Bus info      : PCI:0000:01:00.0
        Driver version: 4.9.37
        Capabilities  : 0x85200001
                Video Capture
                Read/Write
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x05200001
                Video Capture
                Read/Write
                Streaming
                Extended Pix Format
Priority: 2
Video input : 0 (Composite0: no signal, no hsync lock)
Video Standard = 0x000000ff
        PAL-B/B1/G/H/I/D/D1/K
Format Video Capture:
        Width/Height      : 720/576
        Pixel Format      : 'UYVY'
        Field             : Sequential Top-Bottom
        Bytes per Line    : 1440
        Size Image        : 829440
        Colorspace        : SMPTE 170M
        Transfer Function : Default
        YCbCr/HSV Encoding: Default
        Quantization      : Default
        Flags             : 
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 25.000 (25/1)
        Read buffers     : 3

User Controls

                     brightness (int)    : min=-128 max=127 step=1 default=0 value=0 flags=slider
                       contrast (int)    : min=0 max=255 step=1 default=100 value=100 flags=slider
                     saturation (int)    : min=0 max=255 step=1 default=128 value=128 flags=slider
                            hue (int)    : min=-128 max=127 step=1 default=0 value=0 flags=slider
/opt/bin/app/v4l # ./v4l2-ctl -d /dev/video1 --all
Driver Info (not using libv4l2):
        Driver name   : tw686x
        Card type     : tw6869
        Bus info      : PCI:0000:01:00.0
        Driver version: 4.9.37
        Capabilities  : 0x85200001
                Video Capture
                Read/Write
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x05200001
                Video Capture
                Read/Write
                Streaming
                Extended Pix Format
Priority: 2
Video input : 0 (Composite0: ok)
Video Standard = 0x000000ff
        PAL-B/B1/G/H/I/D/D1/K
Format Video Capture:
        Width/Height      : 720/576
        Pixel Format      : 'UYVY'
        Field             : Sequential Top-Bottom
        Bytes per Line    : 1440
        Size Image        : 829440
        Colorspace        : SMPTE 170M
        Transfer Function : Default
        YCbCr/HSV Encoding: Default
        Quantization      : Default
        Flags             : 
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 25.000 (25/1)
        Read buffers     : 3

User Controls

                     brightness (int)    : min=-128 max=127 step=1 default=0 value=0 flags=slider
                       contrast (int)    : min=0 max=255 step=1 default=100 value=100 flags=slider
                     saturation (int)    : min=0 max=255 step=1 default=128 value=128 flags=slider
                            hue (int)    : min=-128 max=127 step=1 default=0 value=0 flags=slider

标签:Capture,no,--,交叉,value,编译,开源,Video,128
From: https://www.cnblogs.com/qirui88/p/16980574.html

相关文章

  • 【夏虫语冰】开源软件安装包制作工具(NSIS,Inno Setup)
    文章目录​​1、NSIS​​​​1.1软件简介​​​​1.2下载安装​​​​1.3代码示例​​​​2、InnoSetup​​​​2.1软件简介​​​​2.2下载安装​​​​2.3代码示例......
  • 伙伴福利,100个项目彻底精通Java!【开源】
    为了帮助更多的小伙伴,快速成长进步,冲进大厂中厂,我分享了很多的项目哟,例如:java项目精品实战案例|JavaSwing实战项目但很多小伙伴,还觉得不够,好吧!今天就拿出压箱底的项目......
  • 伙伴福利,100个项目彻底精通Java!【开源】
    为了帮助更多的小伙伴,快速成长进步,冲进大厂中厂,我分享了很多的项目哟,例如:java项目精品实战案例|JavaSwing实战项目但很多小伙伴,还觉得不够,好吧!今天就拿出压箱底的项......
  • C++ OpenSSL库编译及使用(VS2017,Python)
    文章目录​​1、简介​​​​2、下载openssl​​​​2.1下载openssl源码(github)​​​​2.2下载openssl源码(官网压缩包)​​​​2.3下载openssl二进制库​​​​2.4下载pe......
  • 免费开源的httpd美化目录浏览程序: Apaxy
    https://www.smbinn.com/apaxy.html介绍Apaxy是一个可定制的目录浏览程序,专为提升Web目录浏览体验而生。它使用Apache的mod_autoindex模块和一些CSS样式来覆盖目录列......
  • Roslyn动态编译代码
    https://learn.microsoft.com/en-us/archive/msdn-magazine/2017/may/net-core-cross-platform-code-generation-with-roslyn-and-net-corehttps://www.tugberkugurlu.com......
  • windows上用vs2017静态编译onnxruntime-gpu CUDA cuDNN TensorRT的坎坷之路
    因为工作业务需求的关系,需编译onnxruntime引入项目中使用,主项目exe是使用的vs2017+qt5.12。onnxruntime就不用介绍是啥了撒,在优化和加速AI机器学习推理和训练这块赫赫有名......
  • VS编译器实用调试技巧
    一、Debug和Release的区别debug通常称为调试版本,它包含调试信息,并且不做任何优化,便于程序员调试程序。release称为发布版本,他往往是进行了各种优化,使得程序在代码大小和运行......
  • rate-limit 一款 java 开源渐进式分布式限流框架使用介绍
    项目简介rate-limit是一个为java设计的渐进式限流工具。目的是为了深入学习和使用限流,后续将会持续迭代。特性渐进式实现支持独立于spring使用支持整合sp......
  • ES2015+ 代码编译成 ES5
    需要将[email protected]编译成ES5,找了一圈没有合适的,自己弄了个,记录下package.json配置。{"private":true,"scripts":{"build":"npmrunbabel&&npmrun......