#include <libcamera_app.hpp>
|
| LibcameraApp (std::unique_ptr< Options > const opts=nullptr) |
|
virtual | ~LibcameraApp () |
|
Options * | GetOptions () const |
|
std::string const & | CameraId () const |
|
void | OpenCamera () |
|
void | CloseCamera () |
|
void | ConfigureStill (unsigned int flags=FLAG_STILL_NONE) |
|
void | ConfigureViewfinder () |
|
void | Teardown () |
|
void | StartCamera () |
|
void | StopCamera () |
|
Msg | Wait () |
|
void | PostMessage (MsgType &t, MsgPayload &p) |
|
Stream * | GetStream (std::string const &name, unsigned int *w=nullptr, unsigned int *h=nullptr, unsigned int *stride=nullptr) const |
|
Stream * | ViewfinderStream (unsigned int *w=nullptr, unsigned int *h=nullptr, unsigned int *stride=nullptr) const |
|
Stream * | StillStream (unsigned int *w=nullptr, unsigned int *h=nullptr, unsigned int *stride=nullptr) const |
|
Stream * | RawStream (unsigned int *w=nullptr, unsigned int *h=nullptr, unsigned int *stride=nullptr) const |
|
Stream * | VideoStream (unsigned int *w=nullptr, unsigned int *h=nullptr, unsigned int *stride=nullptr) const |
|
Stream * | LoresStream (unsigned int *w=nullptr, unsigned int *h=nullptr, unsigned int *stride=nullptr) const |
|
Stream * | GetMainStream () const |
|
std::vector< libcamera::Span< uint8_t > > | Mmap (FrameBuffer *buffer) const |
|
void | SetControls (ControlList &controls) |
|
void | StreamDimensions (Stream const *stream, unsigned int *w, unsigned int *h, unsigned int *stride) const |
|
◆ BufferMap
◆ Camera
◆ CameraConfiguration
◆ CameraManager
◆ ControlList
◆ FrameBuffer
◆ FrameBufferAllocator
◆ MsgPayload
◆ PixelFormat
◆ Rectangle
◆ Request
◆ Size
◆ Stream
◆ StreamConfiguration
◆ StreamRole
◆ StreamRoles
◆ MsgType
Enumerator |
---|
RequestComplete | |
Quit | |
◆ LibcameraApp()
LibcameraApp::LibcameraApp |
( |
std::unique_ptr< Options > const |
opts = nullptr | ) |
|
◆ ~LibcameraApp()
LibcameraApp::~LibcameraApp |
( |
| ) |
|
|
virtual |
◆ CameraId()
std::string const & LibcameraApp::CameraId |
( |
| ) |
const |
◆ CloseCamera()
void LibcameraApp::CloseCamera |
( |
| ) |
|
◆ ConfigureStill()
◆ ConfigureViewfinder()
void LibcameraApp::ConfigureViewfinder |
( |
| ) |
|
◆ GetMainStream()
libcamera::Stream * LibcameraApp::GetMainStream |
( |
| ) |
const |
◆ GetOptions()
Options* LibcameraApp::GetOptions |
( |
| ) |
const |
|
inline |
◆ GetStream()
libcamera::Stream * LibcameraApp::GetStream |
( |
std::string const & |
name, |
|
|
unsigned int * |
w = nullptr , |
|
|
unsigned int * |
h = nullptr , |
|
|
unsigned int * |
stride = nullptr |
|
) |
| const |
◆ LoresStream()
libcamera::Stream * LibcameraApp::LoresStream |
( |
unsigned int * |
w = nullptr , |
|
|
unsigned int * |
h = nullptr , |
|
|
unsigned int * |
stride = nullptr |
|
) |
| const |
◆ Mmap()
std::vector< libcamera::Span< uint8_t > > LibcameraApp::Mmap |
( |
FrameBuffer * |
buffer | ) |
const |
◆ OpenCamera()
void LibcameraApp::OpenCamera |
( |
| ) |
|
◆ PostMessage()
◆ RawStream()
libcamera::Stream * LibcameraApp::RawStream |
( |
unsigned int * |
w = nullptr , |
|
|
unsigned int * |
h = nullptr , |
|
|
unsigned int * |
stride = nullptr |
|
) |
| const |
◆ SetControls()
void LibcameraApp::SetControls |
( |
ControlList & |
controls | ) |
|
◆ StartCamera()
void LibcameraApp::StartCamera |
( |
| ) |
|
◆ StillStream()
libcamera::Stream * LibcameraApp::StillStream |
( |
unsigned int * |
w = nullptr , |
|
|
unsigned int * |
h = nullptr , |
|
|
unsigned int * |
stride = nullptr |
|
) |
| const |
◆ StopCamera()
void LibcameraApp::StopCamera |
( |
| ) |
|
◆ StreamDimensions()
void LibcameraApp::StreamDimensions |
( |
Stream const * |
stream, |
|
|
unsigned int * |
w, |
|
|
unsigned int * |
h, |
|
|
unsigned int * |
stride |
|
) |
| const |
◆ Teardown()
void LibcameraApp::Teardown |
( |
| ) |
|
◆ VideoStream()
libcamera::Stream * LibcameraApp::VideoStream |
( |
unsigned int * |
w = nullptr , |
|
|
unsigned int * |
h = nullptr , |
|
|
unsigned int * |
stride = nullptr |
|
) |
| const |
◆ ViewfinderStream()
libcamera::Stream * LibcameraApp::ViewfinderStream |
( |
unsigned int * |
w = nullptr , |
|
|
unsigned int * |
h = nullptr , |
|
|
unsigned int * |
stride = nullptr |
|
) |
| const |
◆ Wait()
◆ FLAG_STILL_BGR
constexpr unsigned int LibcameraApp::FLAG_STILL_BGR = 1 |
|
staticconstexpr |
◆ FLAG_STILL_BUFFER_MASK
constexpr unsigned int LibcameraApp::FLAG_STILL_BUFFER_MASK = 24 |
|
staticconstexpr |
◆ FLAG_STILL_DOUBLE_BUFFER
constexpr unsigned int LibcameraApp::FLAG_STILL_DOUBLE_BUFFER = 8 |
|
staticconstexpr |
◆ FLAG_STILL_NONE
constexpr unsigned int LibcameraApp::FLAG_STILL_NONE = 0 |
|
staticconstexpr |
◆ FLAG_STILL_RAW
constexpr unsigned int LibcameraApp::FLAG_STILL_RAW = 4 |
|
staticconstexpr |
◆ FLAG_STILL_RGB
constexpr unsigned int LibcameraApp::FLAG_STILL_RGB = 2 |
|
staticconstexpr |
◆ FLAG_STILL_TRIPLE_BUFFER
constexpr unsigned int LibcameraApp::FLAG_STILL_TRIPLE_BUFFER = 16 |
|
staticconstexpr |
◆ FLAG_VIDEO_JPEG_COLOURSPACE
constexpr unsigned int LibcameraApp::FLAG_VIDEO_JPEG_COLOURSPACE = 2 |
|
staticconstexpr |
◆ FLAG_VIDEO_NONE
constexpr unsigned int LibcameraApp::FLAG_VIDEO_NONE = 0 |
|
staticconstexpr |
◆ FLAG_VIDEO_RAW
constexpr unsigned int LibcameraApp::FLAG_VIDEO_RAW = 1 |
|
staticconstexpr |
◆ options_
std::unique_ptr<Options> LibcameraApp::options_ |
|
protected |
The documentation for this class was generated from the following files: