Namespaces | Functions | Variables
backend-v4l2.cpp File Reference
#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"
Include dependency graph for backend-v4l2.cpp:

Go to the source code of this file.

Namespaces

 librealsense
 
 librealsense::platform
 

Functions

std::shared_ptr< backend > librealsense::platform::create_backend ()
 
static uint32_t librealsense::platform::get_dev_capabilities (const std::string dev_name)
 
static usb_spec librealsense::platform::get_usb_connection_type (std::string path)
 
void librealsense::platform::req_io_buff (int fd, uint32_t count, std::string dev_name, v4l2_memory mem_type, v4l2_buf_type type)
 
void librealsense::platform::stream_ctl_on (int fd, v4l2_buf_type type=V4L2_BUF_TYPE_VIDEO_CAPTURE)
 
void librealsense::platform::stream_off (int fd, v4l2_buf_type type=V4L2_BUF_TYPE_VIDEO_CAPTURE)
 
std::string librealsense::platform::time_in_HH_MM_SS_MMM ()
 
static int librealsense::platform::xioctl (int fh, unsigned long request, void *arg)
 

Variables

const size_t MAX_DEV_PARENT_DIR = 10
 

Variable Documentation

const size_t MAX_DEV_PARENT_DIR = 10

Definition at line 49 of file backend-v4l2.cpp.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:24