MLT 7.40.0
Multimedia Framework
MltTransition.h
Go to the documentation of this file.
1
20#ifndef MLTPP_TRANSITION_H
21#define MLTPP_TRANSITION_H
22
23#include "MltConfig.h"
24
25#include "MltService.h"
26#include <framework/mlt.h>
27
28namespace Mlt {
29class Service;
30class Profile;
31class Frame;
32class Chain;
33class Link;
34
45{
46private:
48
49public:
50 Transition();
52 Transition(Profile &profile, const char *id, const char *arg = NULL);
53 Transition(mlt_profile profile, const char *id, const char *arg = NULL);
54 Transition(Service &transition);
55 Transition(Transition &transition);
56 Transition(const Transition &transition);
58 Transition(mlt_transition transition);
59 virtual ~Transition();
60 Transition &operator=(const Transition &transition);
61 virtual mlt_transition get_transition();
62 mlt_service get_service() override;
64 void set_in_and_out(int in, int out);
66 void set_tracks(int a_track, int b_track);
67 int connect(Producer &producer, int a_track, int b_track);
68 int connect(Service &service, int a_track, int b_track);
70 int get_a_track();
72 int get_b_track();
74 int get_in();
76 int get_out();
78 int get_length();
80 int get_position(Frame &frame);
82 double get_progress(Frame &frame);
84 double get_progress_delta(Frame &frame);
85};
86} // namespace Mlt
87
88#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_frame — a single unit of audio/video data.
Definition MltFrame.h:43
C++ wrapper for mlt_producer — origin of audio/video data.
Definition MltProducer.h:46
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
C++ wrapper for mlt_transition — blends two tracks together.
Definition MltTransition.h:45
mlt_transition instance
Definition MltTransition.h:47
header file for lazy client and implementation code :-)
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition MltAnimation.h:27
Profile class.
Definition mlt_profile.h:36
Service abstract base class.
Definition mlt_service.h:59
Transition abstract service class.
Definition mlt_transition.h:44