filters/gp_filter_resize_alloc: Check w and h
[gfxprim.git] / doc / example_v4l2.txt
blobcfa6de9c0c1f1ba6e31e27b7dd77cb4650e82254
1 Grabbers (v4l2) Examples
2 ------------------------
4 Simple link:grabbers.html[grabber example] that saves images taken from v4l2
5 device.
7 [source,c]
8 ------------------------------------------------------------------
9 include::../demos/c_simple/v4l2_grab.c[]
10 ------------------------------------------------------------------
12 More sophisticated example utilizing v4l2 device and
13 link:backends.html[backends].
15 [source,c]
16 ------------------------------------------------------------------
17 include::../demos/c_simple/v4l2_show.c[]
18 ------------------------------------------------------------------