GithubHelp home page GithubHelp logo

yeatoo / uvc-gadget Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wlhe/uvc-gadget

0.0 0.0 0.0 43 KB

enhance uvc-gadget test application

License: GNU General Public License v2.0

Makefile 0.47% C 99.53%

uvc-gadget's Introduction

uvc-gadget

Upstream project uvc-gadget has been updated and continuous maintenance

Please refer to http://git.ideasonboard.org/uvc-gadget.git

UVC gadget userspace enhancement sample application

Fork from
uvc-gadget.git
Apply enhancement Bhupesh Sharma's patchset
UVC gadget test application enhancements
and Robert Baldyga's patchset
Bugfixes for UVC gadget test application

How to use

Usage: ./uvc-gadget [options]

Available options are
    -b             Use bulk mode
    -d             Do not use any real V4L2 capture device
    -f <format>    Select frame format
            0 = V4L2_PIX_FMT_YUYV
            1 = V4L2_PIX_FMT_MJPEG
    -h             Print this help screen and exit
    -i image       MJPEG image
    -m             Streaming mult for ISOC (b/w 0 and 2)
    -n             Number of Video buffers (b/w 2 and 32)
    -o <IO method> Select UVC IO method:
            0 = MMAP
            1 = USER_PTR
    -r <resolution> Select frame resolution:
            0 = 360p, VGA (640x360)
            1 = 720p, WXGA (1280x720)
    -s <speed>     Select USB bus speed (b/w 0 and 2)
            0 = Full Speed (FS)
            1 = High Speed (HS)
            2 = Super Speed (SS)
    -t             Streaming burst (b/w 0 and 15)
    -u device      UVC Video Output device
    -v device      V4L2 Video Capture device

Build

  • host:
    make
  • Cross compile:
    make ARCH=arch CROSS_COMPILE=cross_compiler
    eg:
    make ARCH=arm CROSS_COMPILE=arm-hisiv600-linux-
  • or:
    set ARCH, CROSS_COMPILE, KERNEL_DIR in Makefile

Change log

Initial

uvc-gadget's People

Contributors

wlhe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.