MLT 7.40.0
Multimedia Framework
MltImage.h
Go to the documentation of this file.
1
20#ifndef MLTPP_IMAGE_H
21#define MLTPP_IMAGE_H
22
23#include "MltConfig.h"
24
25#include <framework/mlt.h>
26
27namespace Mlt {
38{
39private:
41
42public:
43 Image();
44 Image(mlt_image image);
45 Image(int width, int height, mlt_image_format format);
46 virtual ~Image();
47 mlt_image_format format();
48 int width();
49 int height();
50 void set_colorspace(int colorspace);
51 int colorspace();
52 void alloc(int width, int height, mlt_image_format format, bool alpha = false);
53 void init_alpha();
54 uint8_t *plane(int plane);
55 int stride(int plane);
56};
57} // namespace Mlt
58
59#endif
#define MLTPP_DECLSPEC
MltConfig.h - Convenience header file for all mlt++ objects Copyright (C) 2004-2026 Meltytech,...
Definition MltConfig.h:33
C++ wrapper for mlt_image – a decoded video frame buffer.
Definition MltImage.h:38
mlt_image instance
Definition MltImage.h:40
header file for lazy client and implementation code :-)
mlt_image_format
The set of supported image formats.
Definition mlt_types.h:40
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition MltAnimation.h:27
Definition mlt_image.h:36