OpenShot Library | libopenshot
0.4.0
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
v
w
Functions
Variables
Typedefs
Enumerations
Enumerator
a
b
c
e
f
g
h
l
m
p
r
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Related Functions
Files
File List
File Members
All
_
a
c
e
f
h
i
k
m
n
o
p
q
r
s
t
u
Functions
Variables
Typedefs
Macros
_
a
e
f
h
i
k
m
n
o
p
q
r
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
RendererBase.h
Go to the documentation of this file.
1
9
// Copyright (c) 2008-2019 OpenShot Studios, LLC
10
//
11
// SPDX-License-Identifier: LGPL-3.0-or-later
12
13
#ifndef OPENSHOT_RENDERER_BASE_H
14
#define OPENSHOT_RENDERER_BASE_H
15
16
#include "
Frame.h
"
17
#include <cstdlib>
// for realloc
18
#include <memory>
19
20
namespace
openshot
21
{
22
class
Frame;
23
30
class
RendererBase
31
{
32
public
:
33
35
void
paint
(
const
std::shared_ptr<openshot::Frame> & frame);
36
38
virtual
void
OverrideWidget
(int64_t qwidget_address) = 0;
39
40
protected
:
41
RendererBase
();
42
virtual
~RendererBase
();
43
44
virtual
void
render
(std::shared_ptr<QImage> image) = 0;
45
};
46
47
}
48
49
#endif
openshot::RendererBase::RendererBase
RendererBase()
Definition:
RendererBase.cpp:16
openshot
This namespace is the default namespace for all code in the openshot library.
Definition:
Compressor.h:28
openshot::RendererBase::paint
void paint(const std::shared_ptr< openshot::Frame > &frame)
Paint(render) a video Frame.
Definition:
RendererBase.cpp:24
Frame.h
Header file for Frame class.
openshot::RendererBase::~RendererBase
virtual ~RendererBase()
Definition:
RendererBase.cpp:20
openshot::RendererBase
This is the base class of all Renderers in libopenshot.
Definition:
RendererBase.h:30
openshot::RendererBase::render
virtual void render(std::shared_ptr< QImage > image)=0
openshot::RendererBase::OverrideWidget
virtual void OverrideWidget(int64_t qwidget_address)=0
Allow manual override of the QWidget that is used to display.
Generated by
1.8.17