#include <backend-v4l2.h>
Classes | |
struct | kernel_buf_guard |
Public Member Functions | |
buffers_mgr (bool memory_mapped_buf) | |
std::array< kernel_buf_guard, e_max_kernel_buf_type > & | get_buffers () |
void | handle_buffer (supported_kernel_buf_types buf_type, int file_desc, v4l2_buffer buf=v4l2_buffer(), std::shared_ptr< platform::buffer > data_buf=nullptr) |
bool | md_node_present () const |
uint8_t | metadata_size () const |
void * | metadata_start () const |
void | request_next_frame () |
void | set_md_attributes (uint8_t md_size, void *md_start) |
void | set_md_from_video_node (bool compressed) |
bool | verify_vd_md_sync () const |
~buffers_mgr () | |
Private Attributes | |
uint8_t | _md_size |
void * | _md_start |
bool | _mmap_bufs |
std::array< kernel_buf_guard, e_max_kernel_buf_type > | buffers |
Definition at line 163 of file backend-v4l2.h.
|
inline |
Definition at line 166 of file backend-v4l2.h.
|
inline |
Definition at line 172 of file backend-v4l2.h.
|
inline |
Definition at line 224 of file backend-v4l2.h.
void librealsense::platform::buffers_mgr::handle_buffer | ( | supported_kernel_buf_types | buf_type, |
int | file_desc, | ||
v4l2_buffer | buf = v4l2_buffer() , |
||
std::shared_ptr< platform::buffer > | data_buf = nullptr |
||
) |
Definition at line 331 of file backend-v4l2.cpp.
bool librealsense::platform::buffers_mgr::md_node_present | ( | ) | const |
Definition at line 417 of file backend-v4l2.cpp.
|
inline |
Definition at line 179 of file backend-v4l2.h.
|
inline |
Definition at line 180 of file backend-v4l2.h.
void librealsense::platform::buffers_mgr::request_next_frame | ( | ) |
Definition at line 354 of file backend-v4l2.cpp.
|
inline |
Definition at line 182 of file backend-v4l2.h.
void librealsense::platform::buffers_mgr::set_md_from_video_node | ( | bool | compressed | ) |
Definition at line 365 of file backend-v4l2.cpp.
bool librealsense::platform::buffers_mgr::verify_vd_md_sync | ( | ) | const |
Definition at line 406 of file backend-v4l2.cpp.
|
private |
Definition at line 229 of file backend-v4l2.h.
|
private |
Definition at line 228 of file backend-v4l2.h.
|
private |
Definition at line 230 of file backend-v4l2.h.
|
private |
Definition at line 233 of file backend-v4l2.h.