• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.amH A D19-Feb-20201.5 KiB4234

Makefile.inH A D03-May-202234.4 KiB966866

READMEH A D05-Feb-20191.4 KiB4629

autodetect.cH A D05-Feb-20192.5 KiB8459

best-iso.cH A D03-Aug-202012.2 KiB477349

config.cH A D30-Jul-20205.2 KiB203143

context.cH A D05-Feb-20191 KiB3821

focus.cH A D30-Jul-20205.5 KiB230190

lunkwill-canon-capture.cH A D30-Jul-20204.7 KiB15763

preview.cH A D30-Jul-20205.7 KiB202102

sample-afl.cH A D03-Aug-20206.7 KiB265207

sample-autodetect.cH A D05-Feb-20191.3 KiB5736

sample-capture.cH A D03-Aug-20203.8 KiB13488

sample-justfocus.cH A D05-Feb-20191.8 KiB7464

sample-multi-detect.cH A D05-Feb-20191.8 KiB6949

sample-owner.cH A D30-Jul-20201.4 KiB5836

sample-photobooth.cH A D30-Jul-20206.1 KiB258199

sample-tether.cH A D30-Jul-20202.8 KiB11185

sample-trigger-capture.cH A D03-Aug-20204.7 KiB181154

samples.hH A D05-Feb-2019968 3122

README

1Sample snippets for programmatic camera usage.
2
3This directory contains sample snippets for your C/C++ program accessing
4cameras for various purposes.
5
6Files with helper routines:
7	autodetect.c: Auto detecting multiple cameras and initializing
8	              specific cameras.
9
10	config.c: Querying and setting configuration values.
11
12	context.c: Handling of GPContext for error reporting and so on.
13
14	samples.h: Header file for above helper files.
15
16Files with samples:
17	sample-autodetect.c: Simple camera autodetection and simple API
18			     calls.
19
20	sample-multi-detect.c: Same as above, but autodetect and use all
21	                       cameras.
22
23	sample-owner.c:	Gets or Sets the Camera Owner. Demonstrates string
24			variable configuration handling.
25
26	sample-capture.c: Minimalistic remote capture sample.
27
28	sample-trigger-capture.c: New capture trigger and then loop example.
29
30	lunkwill-canon-capture.c: A simple capture program that captures
31	                          a single image, retrieves it to disk,
32				  and removes it from the camera.
33				  (Despite the Canon comments this likely
34				   works on all capture cameras.)
35
36	preview.c: A sample preview loop, it will get 100 previews in
37			1 row as fast as possible.
38
39
40If you find a common thing to do missing, please report them (or do them
41yourselves and send patches).
42
43Please do not keep good sample code for yourself.
44
45Marcus Meissner <marcus@jet.franken.de>
46