MLT 7.40.0
Multimedia Framework
MltFilter.h
Go to the documentation of this file.
1
20#ifndef MLTPP_FILTER_H
21#define MLTPP_FILTER_H
22
23#include "MltConfig.h"
24
25#include <framework/mlt.h>
26
27#include "MltService.h"
28
29namespace Mlt {
30class Service;
31class Profile;
32class Frame;
33
44{
45private:
47
48public:
49 Filter();
51 Filter(Profile &profile, const char *id, const char *service = NULL);
52 Filter(mlt_profile profile, const char *id, const char *service = NULL);
53 Filter(Service &filter);
54 Filter(Filter &filter);
55 Filter(const Filter &filter);
57 Filter(mlt_filter filter);
58 Filter(Filter *filter);
59 virtual ~Filter();
60 Filter &operator=(const Filter &filter);
61 virtual mlt_filter get_filter();
62 mlt_service get_service() override;
64 int connect(Service &service, int index = 0);
66 void set_in_and_out(int in, int out);
68 int get_in();
70 int get_out();
72 int get_length();
74 int get_length2(Frame &frame);
76 int get_track();
78 int get_position(Frame &frame);
80 double get_progress(Frame &frame);
82 void process(Frame &frame);
83};
84} // namespace Mlt
85
86#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_filter — modifies a single producer's output.
Definition MltFilter.h:44
mlt_filter instance
Definition MltFilter.h:46
C++ wrapper for mlt_frame — a single unit of audio/video data.
Definition MltFrame.h:43
C++ wrapper for mlt_profile — video format parameters.
Definition MltProfile.h:45
C++ wrapper for mlt_service — abstract base for all MLT services.
Definition MltService.h:47
header file for lazy client and implementation code :-)
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition MltAnimation.h:27
Filter abstract service class.
Definition mlt_filter.h:41
Profile class.
Definition mlt_profile.h:36
Service abstract base class.
Definition mlt_service.h:59