summaryrefslogtreecommitdiff
path: root/v4l2-apps/test/capture_example.c
AgeCommit message (Collapse)Author
2008-08-20capture_example: code cleanupsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Just fixed a bunch of checkpatch warnings and tightened up the code. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-20capture_example: Don't change the format by defaultHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Don't change the capture format by default. This lets the user select the capture pixel format and resolution using v4l2-ctl. The old behavior (forcing the format to 640x480 YUYV) can still be obtained by passing -f. Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-27v4l2-apps: some capture_example improvementsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - show progress even when sending captured data to stdout - use bytesused rather than length - use /dev/video0 instead of /dev/video (conform xawtv tools) Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-23v4l2-apps: fixes for compile warnings/errorsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - clean up capture_example.c (bad codingstyle and compile warnings) - fix some headers without trailing newline - fix compile warnings in v4l2-ctl.cpp and v4l2-dbg.cpp - fix qv4l2 __stack_chk_fail_local compile error that occurs on some distros (ubuntu) - fix some Makefile clean up rules Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-11Adds the possibility of writing captured stream into a fileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01Add capture_exampe from V4L2 API spec Draft 0.20Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> V4L2 Draft spec have an interesting capture example code. Added it to the tree to allow testing V4L2 devices. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>