|
MLT
7.38.0
Multimedia Framework
|
C++ wrapper for mlt_image – a decoded video frame buffer. More...
#include <MltImage.h>

Public Member Functions | |
| void | alloc (int width, int height, mlt_image_format format, bool alpha=false) |
| int | colorspace () |
| mlt_image_format | format () |
| int | height () |
| Image () | |
| Image (int width, int height, mlt_image_format format) | |
| Image (mlt_image image) | |
| void | init_alpha () |
| uint8_t * | plane (int plane) |
| void | set_colorspace (int colorspace) |
| int | stride (int plane) |
| int | width () |
| virtual | ~Image () |
Private Attributes | |
| mlt_image | instance |
C++ wrapper for mlt_image – a decoded video frame buffer.
Holds a raw pixel buffer together with its format metadata (width, height, image format, colorspace). Supports multi-plane formats via plane() and stride(). Use alloc() to allocate a new buffer, or construct from an existing mlt_image handle obtained from a Frame.
| Image::Image | ( | ) |
| Image::Image | ( | mlt_image | image | ) |
| Image::Image | ( | int | width, |
| int | height, | ||
| mlt_image_format | format | ||
| ) |
|
virtual |
| void Image::alloc | ( | int | width, |
| int | height, | ||
| mlt_image_format | format, | ||
| bool | alpha = false |
||
| ) |
| int Image::colorspace | ( | ) |
| mlt_image_format Image::format | ( | ) |
| int Image::height | ( | ) |
| void Image::init_alpha | ( | ) |
| uint8_t * Image::plane | ( | int | plane | ) |
| void Image::set_colorspace | ( | int | colorspace | ) |
| int Image::stride | ( | int | plane | ) |
| int Image::width | ( | ) |
|
private |