fork of git://git.ideasonboard.org/yavta.git
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COPYING.GPL Initial import May 19, 2010
Makefile Do accept CFLAGS and LDFLAGS from environment. Jul 29, 2010
README.md added fsr support Dec 10, 2010
videodev2-fsr172x.h added fsr support Dec 10, 2010
yavta.c added fsr support Dec 10, 2010

README.md

yavta

Yet Another V4L2 Test Application

make

FSR172X

width=2048
height=128
size=${width}x${height}
frames=8
skip=0
yavta -c$frames -p -F --skip $skip -f SGRBG12 -s $size $(./media-ctl -e 'OMAP3 ISP CCDC output')

Cross-Compiling

export ARCH=arm
export CROSS_COMPILE=${HOME}/overo-oe/tmp/sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-
make

Usage

-c, --capture[=nframes]   Capture frames
-d, --delay     Delay (in ms) before requeuing buffers
-f, --format format   Set the video format
-F, --file[=prefix]   Read/write frames from/to disk
-h, --help      Show this help screen
-i, --input input   Select the video input
-l, --list-controls   List available controls
-n, --nbufs n     Set the number of video buffers
-p, --pause     Pause before starting the video stream
-q, --quality n     MJPEG quality (0-100)
-r, --get-control ctrl    Get control 'ctrl'
-s, --size WxH      Set the frame size
-t, --time-per-frame num/denom  Set the time per frame (eg. 1/25 = 25 fps)
-u, --userptr     Use the user pointers streaming method
-w, --set-control 'ctrl value'  Set control 'ctrl' to 'value'
    --enum-formats    Enumerate formats
    --enum-inputs   Enumerate inputs
    --no-query      Don't query capabilities on open
    --offset      User pointer buffer offset from page start
    --requeue-last    Requeue the last buffers before streamoff
    --skip n      Skip the first n frames
    --sleep-forever   Sleep forever after configuring the device