#include <opengl_utils.hpp>
Definition at line 291 of file opengl_utils.hpp.
◆ ~Frame_convertor()
| virtual Frame_convertor::~Frame_convertor |
( |
| ) |
|
|
inlinevirtual |
◆ attach_texture()
| virtual void Frame_convertor::attach_texture |
( |
Texture & | tex | ) |
|
|
pure virtual |
Attach texture to be used as output
- Parameters
-
◆ construct_unique()
template<class Derived >
| static std::unique_ptr< Frame_convertor > Frame_convertor::construct_unique |
( |
| ) |
|
|
inlinestatic |
Definition at line 296 of file opengl_utils.hpp.
296 {
297 return std::make_unique<Derived>();
298 }
◆ put_frame()
| virtual void Frame_convertor::put_frame |
( |
video_frame * | f, |
|
|
bool | pbo_frame = false ) |
|
pure virtual |
Renders the video frame containing YUV image data to attached texture
- Parameters
-
| f | video frame to convert |
| pbo_frame | true if video frame contains the image data in a PBO buffer |
◆ set_pbo()
| void Frame_convertor::set_pbo |
( |
GlBuffer * | pbo | ) |
|
|
inline |
◆ internal_pbo
| GlBuffer* Frame_convertor::internal_pbo = nullptr |
|
protected |
The documentation for this class was generated from the following file: