Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
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
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
_
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
Typedefs
a
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
shared
depthai-shared
include
depthai-shared
properties
VideoEncoderProperties.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
depthai-shared/common/optional.hpp
>
4
5
#include "
depthai-shared/properties/Properties.hpp
"
6
7
namespace
dai
{
8
12
struct
VideoEncoderProperties
:
PropertiesSerializable
<Properties, VideoEncoderProperties> {
16
enum class
RateControlMode
: int {
CBR
,
VBR
};
17
21
enum class
Profile
: int {
H264_BASELINE
,
H264_HIGH
,
H264_MAIN
,
H265_MAIN
,
MJPEG
};
28
std::int32_t
bitrate
= 0;
32
std::int32_t
keyframeFrequency
= 30;
38
std::int32_t
maxBitrate
= 0;
42
std::int32_t
numBFrames
= 0;
49
std::uint32_t
numFramesPool
= 0;
54
std::int32_t
outputFrameSize
= 0;
58
Profile
profile
=
Profile::H264_BASELINE
;
62
std::int32_t
quality
= 80;
66
bool
lossless
=
false
;
70
RateControlMode
rateCtrlMode
=
RateControlMode::CBR
;
74
float
frameRate
= 30.0f;
75
};
76
77
DEPTHAI_SERIALIZE_EXT
(
VideoEncoderProperties
,
78
bitrate,
79
keyframeFrequency,
80
maxBitrate,
81
numBFrames,
82
numFramesPool,
83
outputFrameSize,
84
profile,
85
quality,
86
lossless,
87
rateCtrlMode,
88
frameRate);
89
90
}
// namespace dai
dai::VideoEncoderProperties::lossless
bool lossless
Definition:
VideoEncoderProperties.hpp:66
optional.hpp
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
dai::VideoEncoderProperties::maxBitrate
std::int32_t maxBitrate
Definition:
VideoEncoderProperties.hpp:38
dai::VideoEncoderProperties::Profile::H264_HIGH
@ H264_HIGH
dai::VideoEncoderProperties::quality
std::int32_t quality
Definition:
VideoEncoderProperties.hpp:62
dai::VideoEncoderProperties::Profile
Profile
Definition:
VideoEncoderProperties.hpp:21
dai::VideoEncoderProperties::RateControlMode::VBR
@ VBR
dai::VideoEncoderProperties::Profile::MJPEG
@ MJPEG
dai::VideoEncoderProperties::RateControlMode::CBR
@ CBR
dai::VideoEncoderProperties::rateCtrlMode
RateControlMode rateCtrlMode
Definition:
VideoEncoderProperties.hpp:70
dai::VideoEncoderProperties::RateControlMode
RateControlMode
Definition:
VideoEncoderProperties.hpp:16
dai::VideoEncoderProperties::bitrate
std::int32_t bitrate
Definition:
VideoEncoderProperties.hpp:28
dai::VideoEncoderProperties::numBFrames
std::int32_t numBFrames
Definition:
VideoEncoderProperties.hpp:42
dai::VideoEncoderProperties::profile
Profile profile
Definition:
VideoEncoderProperties.hpp:58
dai::VideoEncoderProperties::numFramesPool
std::uint32_t numFramesPool
Definition:
VideoEncoderProperties.hpp:49
dai::VideoEncoderProperties::keyframeFrequency
std::int32_t keyframeFrequency
Definition:
VideoEncoderProperties.hpp:32
dai::VideoEncoderProperties::frameRate
float frameRate
Definition:
VideoEncoderProperties.hpp:74
dai::VideoEncoderProperties::Profile::H265_MAIN
@ H265_MAIN
Properties.hpp
dai::VideoEncoderProperties::Profile::H264_MAIN
@ H264_MAIN
dai::VideoEncoderProperties
Definition:
VideoEncoderProperties.hpp:12
dai::VideoEncoderProperties::Profile::H264_BASELINE
@ H264_BASELINE
dai::PropertiesSerializable
Serializable properties.
Definition:
Properties.hpp:16
dai
Definition:
CameraExposureOffset.hpp:6
dai::VideoEncoderProperties::outputFrameSize
std::int32_t outputFrameSize
Definition:
VideoEncoderProperties.hpp:54
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19