#include <camera_driver.h>
Definition at line 38 of file camera_driver.h.
◆ AbstractV4LUSBCam() [1/2]
AbstractV4LUSBCam::AbstractV4LUSBCam |
( |
| ) |
|
|
protected |
◆ AbstractV4LUSBCam() [2/2]
◆ ~AbstractV4LUSBCam()
AbstractV4LUSBCam::~AbstractV4LUSBCam |
( |
| ) |
|
|
virtual |
◆ adjust_camera()
void AbstractV4LUSBCam::adjust_camera |
( |
| ) |
|
|
staticprotected |
◆ close_handlers()
void AbstractV4LUSBCam::close_handlers |
( |
| ) |
|
|
staticprotected |
◆ decode_ffmpeg()
bool AbstractV4LUSBCam::decode_ffmpeg |
( |
const void * |
src, |
|
|
int |
len, |
|
|
camera_image_t * |
dest |
|
) |
| |
|
staticprotected |
◆ get_supported_formats()
◆ init()
bool AbstractV4LUSBCam::init |
( |
| ) |
|
|
staticprotected |
◆ init_decoder()
bool AbstractV4LUSBCam::init_decoder |
( |
| ) |
|
|
staticprotected |
◆ process_image()
bool AbstractV4LUSBCam::process_image |
( |
const void * |
src, |
|
|
int |
len, |
|
|
camera_image_t * |
dest |
|
) |
| |
|
staticprotected |
◆ read_frame()
◆ release_device()
void AbstractV4LUSBCam::release_device |
( |
| ) |
|
|
staticprotected |
◆ run_grabber()
void AbstractV4LUSBCam::run_grabber |
( |
unsigned int & |
buffer_size | ) |
|
|
staticprotected |
◆ set_v4l_parameter() [1/4]
static bool usb_cam::AbstractV4LUSBCam::set_v4l_parameter |
( |
const std::string & |
param, |
|
|
bool |
value |
|
) |
| |
|
inlinestaticprotected |
◆ set_v4l_parameter() [2/4]
bool AbstractV4LUSBCam::set_v4l_parameter |
( |
const std::string & |
param, |
|
|
const std::string & |
value |
|
) |
| |
|
staticprotected |
◆ set_v4l_parameter() [3/4]
static bool usb_cam::AbstractV4LUSBCam::set_v4l_parameter |
( |
const std::string & |
param, |
|
|
int |
value |
|
) |
| |
|
inlinestaticprotected |
◆ set_v4l_parameter() [4/4]
static bool usb_cam::AbstractV4LUSBCam::set_v4l_parameter |
( |
const std::string & |
param, |
|
|
long |
value |
|
) |
| |
|
inlinestaticprotected |
◆ start()
bool AbstractV4LUSBCam::start |
( |
| ) |
|
|
staticprotected |
◆ start_capture()
bool AbstractV4LUSBCam::start_capture |
( |
| ) |
|
|
staticprotected |
◆ suspend()
bool AbstractV4LUSBCam::suspend |
( |
| ) |
|
|
staticprotected |
◆ v4l_query_controls()
void AbstractV4LUSBCam::v4l_query_controls |
( |
| ) |
|
|
staticprotected |
◆ _image
◆ avcodec
AVCodec * AbstractV4LUSBCam::avcodec = nullptr |
|
staticprotected |
◆ avcodec_context
AVCodecContext * AbstractV4LUSBCam::avcodec_context = nullptr |
|
staticprotected |
◆ avframe_camera
AVFrame * AbstractV4LUSBCam::avframe_camera = nullptr |
|
staticprotected |
◆ avframe_camera_size
int AbstractV4LUSBCam::avframe_camera_size = 0 |
|
staticprotected |
◆ avframe_rgb
AVFrame * AbstractV4LUSBCam::avframe_rgb = nullptr |
|
staticprotected |
◆ avframe_rgb_size
int AbstractV4LUSBCam::avframe_rgb_size = 0 |
|
staticprotected |
◆ avoptions
AVDictionary * AbstractV4LUSBCam::avoptions = nullptr |
|
staticprotected |
◆ avpkt
AVPacket * AbstractV4LUSBCam::avpkt = nullptr |
|
staticprotected |
◆ buffers
buffer * AbstractV4LUSBCam::buffers = nullptr |
|
staticprotected |
◆ buffers_count
unsigned int AbstractV4LUSBCam::buffers_count = 0 |
|
staticprotected |
◆ capturing
bool AbstractV4LUSBCam::capturing = false |
|
staticprotected |
◆ codec_id
AVCodecID AbstractV4LUSBCam::codec_id = AV_CODEC_ID_NONE |
|
staticprotected |
◆ color_format
◆ color_format_name
std::string AbstractV4LUSBCam::color_format_name = "yuv422p" |
|
staticprotected |
◆ controls
◆ epoch_time_shift_us
◆ file_dev
int AbstractV4LUSBCam::file_dev = -1 |
|
staticprotected |
◆ framerate
int AbstractV4LUSBCam::framerate = 10 |
|
staticprotected |
◆ full_ffmpeg_log
bool AbstractV4LUSBCam::full_ffmpeg_log = false |
|
staticprotected |
◆ ignore_controls
std::set< std::string > AbstractV4LUSBCam::ignore_controls = std::set<std::string>() |
|
staticprotected |
◆ image
◆ image_height
int AbstractV4LUSBCam::image_height = 240 |
|
staticprotected |
◆ image_width
int AbstractV4LUSBCam::image_width = 320 |
|
staticprotected |
◆ io_method
io_method_t AbstractV4LUSBCam::io_method = io_method_t::IO_METHOD_MMAP |
|
staticprotected |
◆ io_method_name
std::string AbstractV4LUSBCam::io_method_name = "mmap" |
|
staticprotected |
◆ monochrome
bool AbstractV4LUSBCam::monochrome = false |
|
staticprotected |
◆ pixel_format
◆ pixel_format_name
std::string AbstractV4LUSBCam::pixel_format_name = "uyvy" |
|
staticprotected |
◆ streaming_status
bool AbstractV4LUSBCam::streaming_status = false |
|
staticprotected |
◆ supported_formats
◆ v4l_pixel_format
unsigned int AbstractV4LUSBCam::v4l_pixel_format = V4L2_PIX_FMT_UYVY |
|
staticprotected |
◆ video_device_name
std::string AbstractV4LUSBCam::video_device_name = "/dev/video0" |
|
staticprotected |
◆ video_sws
struct SwsContext * AbstractV4LUSBCam::video_sws = nullptr |
|
staticprotected |
The documentation for this class was generated from the following files: