#include "backend-v4l2.h"
#include "backend-hid.h"
#include "backend.h"
#include "types.h"
#include "usb/usb-enumerator.h"
#include "usb/usb-device.h"
#include <cassert>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <functional>
#include <string>
#include <sstream>
#include <fstream>
#include <regex>
#include <thread>
#include <utility>
#include <chrono>
#include <atomic>
#include <iomanip>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <limits.h>
#include <cmath>
#include <errno.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/sysmacros.h>
#include <linux/usb/video.h>
#include <linux/uvcvideo.h>
#include <linux/videodev2.h>
#include <list>
#include <sys/signalfd.h>
#include <signal.h>
#include "../tm2/tm-boot.h"
Go to the source code of this file.
const size_t MAX_DEV_PARENT_DIR = 10 |