![]() |
IDS peak IPL
v1.10.0
|
Writes images to a file in the form of a video. More...
#include <peak_ipl/io/peak_ipl_video_writer.hpp>
Public Member Functions | |
| VideoWriter ()=default | |
| ~VideoWriter () | |
| VideoWriter (const VideoWriter &)=delete | |
| VideoWriter (VideoWriter &&other) noexcept | |
| VideoWriter & | operator= (const VideoWriter &)=delete |
| VideoWriter & | operator= (VideoWriter &&other) noexcept |
| void | Open (const std::string &fileName, std::shared_ptr< container::IContainer > container, std::shared_ptr< encoder::IEncoder > encoder) |
| Open the VideoWriter and sets up a container and an encoder. The file is created upon receiving the first image with Append. More... | |
| void | Open (const std::string &fileName) |
| Open the VideoWriter with AVI container and mjpeg encoder. The file is created upon receiving the first image with Append. More... | |
Public Attributes | |
| PEAK_IPL_MAYBE_UNUSED | |
| std::shared_ptr< encoder::IEncoder > | m_encoder {} |
| std::shared_ptr< container::IContainer > | m_container {} |
Writes images to a file in the form of a video.
|
default |
|
inline |
|
delete |
|
inlinenoexcept |
|
inline |
Open the VideoWriter and sets up a container and an encoder. The file is created upon receiving the first image with Append.
| [in] | fileName | The filename of the video as an utf-8 encoded string (u8string) |
| [in] | container | The container of the video. |
| [in] | encoder | The encoder of the video. |
| InvalidArgumentException | Arguments passed are invalid |
| Exception | An internal error has occurred |
|
inline |
Open the VideoWriter with AVI container and mjpeg encoder. The file is created upon receiving the first image with Append.
| [in] | fileName | The filename of the video as an utf-8 encoded string (u8string) |
| InvalidArgumentException | Arguments passed are invalid |
| Exception | An internal error has occurred |
|
delete |
|
inlinenoexcept |
| std::shared_ptr<container::IContainer> peak::ipl::VideoWriter::m_container {} |
| std::shared_ptr<encoder::IEncoder> peak::ipl::VideoWriter::m_encoder {} |
| peak::ipl::VideoWriter::PEAK_IPL_MAYBE_UNUSED |