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