Valkka
1.6.1
OpenSource Video Management
include
common.h
Go to the documentation of this file.
1
#ifndef COMMON_HEADER_GUARD
2
#define COMMON_HEADER_GUARD
3
4
/*
5
* common.h : A list/recompilation of common header files
6
*
7
* (c) Copyright 2017-2024 Sampsa Riikonen
8
*
9
* Authors: Sampsa Riikonen <sampsa.riikonen@iki.fi>
10
*
11
* This file is part of the Valkka library.
12
*
13
* Valkka is free software: you can redistribute it and/or modify
14
* it under the terms of the GNU Lesser General Public License as
15
* published by the Free Software Foundation, either version 3 of the
16
* License, or (at your option) any later version.
17
*
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU Lesser General Public License for more details.
22
*
23
* You should have received a copy of the GNU Lesser General Public License
24
* along with this program. If not, see <https://www.gnu.org/licenses/>
25
*
26
*/
27
38
// coding style:
39
// http://csweb.cs.wfu.edu/~fulp/CSC112/codeStyle.html
40
// doxygen:
41
// https://www.stack.nl/~dimitri/doxygen/manual/
42
43
#include <stdlib.h>
44
#include <cstdlib>
45
#include <cstring>
46
#include <cstdint>
47
#include <cstddef>
48
#include <string>
49
50
#include <iostream>
51
#include <fstream>
// https://stackoverflow.com/questions/9816900/infile-incomplete-type-error
52
#include <iomanip>
53
#include <iterator>
54
#include <sstream>
55
56
#include <vector>
57
#include <algorithm>
58
#include <sys/time.h>
59
#include <time.h>
60
// #include <linux/time.h>
61
// #include <sys/sysinfo.h>
62
63
#include <map>
64
#include <list>
65
#include <deque>
66
67
#include <chrono>
68
#include <thread>
69
70
#include <sched.h>
71
#include <errno.h>
72
#include <unistd.h>
73
#include <pthread.h>
74
75
#include <mutex>
76
#include <condition_variable>
77
#include <sys/eventfd.h>
78
79
#include <stdio.h>
80
#include <stdlib.h>
81
#include <string.h>
82
#include <assert.h>
83
84
// usb cams & raw file write
85
#include <fcntl.h>
/* low-level i/o */
86
#include <unistd.h>
87
#include <sys/stat.h>
88
#include <sys/types.h>
89
#include <sys/mman.h>
90
#include <sys/ioctl.h>
91
#include <linux/videodev2.h>
92
93
// OpenGL
94
#include<GL/glew.h>
95
#include<GL/glx.h>
96
#include<GL/glxext.h>
97
98
#define PY_ARRAY_UNIQUE_SYMBOL valkka_shmem_array_api
99
100
#endif
101
102
Generated by
1.9.1