Banuba SDK
libs
effect_player
bnb
effect_player
interfaces
effect_player_configuration.hpp
Go to the documentation of this file.
1
/// \file
2
/// \addtogroup EffectPlayer
3
/// @{
4
///
5
// AUTOGENERATED FILE - DO NOT MODIFY!
6
// This file generated by Djinni from effect_player.djinni
7
8
#pragma once
9
10
#include "
bnb/effect_player/interfaces/nn_mode.hpp
"
11
#include "
bnb/recognizer/interfaces/face_search_mode.hpp
"
12
#include <cstdint>
13
#include <utility>
14
15
namespace
bnb {
namespace
interfaces {
16
17
/** Configuration for EffectPlayer */
18
struct
effect_player_configuration
final {
19
/** Width of effect rendering area */
20
int32_t
fx_width
;
21
/** Height of effect rendering area */
22
int32_t
fx_height
;
23
/** Neural Networks enabling mode */
24
nn_mode
nn_enable
;
25
/** This setting is used for real time only. Mode is always "good" for photo and video */
26
::bnb::interfaces::face_search_mode
face_search
;
27
bool
js_debugger_enable;
28
/** Init audio device. Works only on iOs */
29
bool
manual_audio
;
30
31
effect_player_configuration
(int32_t fx_width_,
32
int32_t fx_height_,
33
nn_mode nn_enable_,
34
::bnb::interfaces::face_search_mode face_search_,
35
bool
js_debugger_enable_,
36
bool
manual_audio_)
37
:
fx_width
(std::move(fx_width_))
38
,
fx_height
(std::move(fx_height_))
39
,
nn_enable
(std::move(nn_enable_))
40
,
face_search
(std::move(face_search_))
41
, js_debugger_enable(std::move(js_debugger_enable_))
42
,
manual_audio
(std::move(manual_audio_))
43
{}
44
};
45
46
} }
// namespace bnb::interfaces
47
/// @}
48
bnb::interfaces::effect_player_configuration
Configuration for EffectPlayer.
Definition:
effect_player_configuration.hpp:18
bnb::interfaces::effect_player_configuration::face_search
::bnb::interfaces::face_search_mode face_search
This setting is used for real time only.
Definition:
effect_player_configuration.hpp:26
bnb::interfaces::effect_player_configuration::fx_width
int32_t fx_width
Width of effect rendering area.
Definition:
effect_player_configuration.hpp:20
bnb::interfaces::effect_player_configuration::nn_enable
nn_mode nn_enable
Neural Networks enabling mode.
Definition:
effect_player_configuration.hpp:24
bnb::interfaces::effect_player_configuration::manual_audio
bool manual_audio
Init audio device.
Definition:
effect_player_configuration.hpp:29
bnb::interfaces::effect_player_configuration::fx_height
int32_t fx_height
Height of effect rendering area.
Definition:
effect_player_configuration.hpp:22
face_search_mode.hpp
nn_mode.hpp
Generated by
1.8.20