Classes | Namespaces | Macros | Enumerations | Functions | Variables
backend-v4l2.h File Reference
#include "backend.h"
#include "types.h"
#include <cassert>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <array>
#include <functional>
#include <string>
#include <sstream>
#include <fstream>
#include <regex>
#include <thread>
#include <utility>
#include <chrono>
#include <atomic>
#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 <linux/usb/video.h>
#include <linux/uvcvideo.h>
#include <linux/videodev2.h>
#include <list>
Include dependency graph for backend-v4l2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  librealsense::platform::buffer
 
class  librealsense::platform::buffers_mgr
 
struct  librealsense::platform::buffers_mgr::kernel_buf_guard
 
class  librealsense::platform::named_mutex
 
struct  uvc_meta_buffer
 
class  librealsense::platform::v4l_backend
 
class  librealsense::platform::v4l_uvc_device
 
class  librealsense::platform::v4l_uvc_interface
 
class  librealsense::platform::v4l_uvc_meta_device
 

Namespaces

 librealsense
 
 librealsense::platform
 

Macros

#define LOG_DEBUG_V4L(...)
 
#define V4L2_CAP_META_CAPTURE   0x00800000 /* Specified in kernel header v4.16 */
 
#define V4L2_META_FMT_D4XX   v4l2_fourcc('D', '4', 'X', 'X') /* D400 Payload Header metadata */
 
#define V4L2_META_FMT_UVC   v4l2_fourcc('U', 'V', 'C', 'H') /* UVC Payload Header */
 

Enumerations

enum  librealsense::platform::supported_kernel_buf_types : uint8_t { librealsense::platform::e_video_buf, librealsense::platform::e_metadata_buf, librealsense::platform::e_max_kernel_buf_type }
 

Functions

static int librealsense::platform::xioctl (int fh, unsigned long request, void *arg)
 

Variables

constexpr auto LOCAL_V4L2_BUF_TYPE_META_CAPTURE = (v4l2_buf_type)(13)
 
constexpr bool metadata_node = false
 

Macro Definition Documentation

#define LOG_DEBUG_V4L (   ...)

Definition at line 68 of file backend-v4l2.h.

#define V4L2_CAP_META_CAPTURE   0x00800000 /* Specified in kernel header v4.16 */

Definition at line 55 of file backend-v4l2.h.

#define V4L2_META_FMT_D4XX   v4l2_fourcc('D', '4', 'X', 'X') /* D400 Payload Header metadata */

Definition at line 61 of file backend-v4l2.h.

#define V4L2_META_FMT_UVC   v4l2_fourcc('U', 'V', 'C', 'H') /* UVC Payload Header */

Definition at line 52 of file backend-v4l2.h.

Variable Documentation

constexpr auto LOCAL_V4L2_BUF_TYPE_META_CAPTURE = (v4l2_buf_type)(13)

Definition at line 72 of file backend-v4l2.h.

constexpr bool metadata_node = false

Definition at line 48 of file backend-v4l2.h.



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