Banuba SDK
pixel_buffer.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup Types
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file was generated by Djinni from types.djinni
7 
8 #pragma once
9 
11 #include <bnb/types/base_types.hpp>
12 #include <cstdint>
13 #include <utility>
14 
15 namespace bnb { namespace interfaces {
16 
17 struct pixel_buffer final {
18  ::bnb::data_t data;
19  pixel_format format;
20  int32_t width;
21  int32_t heigth;
22 
23  pixel_buffer(::bnb::data_t data_,
24  pixel_format format_,
25  int32_t width_,
26  int32_t heigth_)
27  : data(std::move(data_))
28  , format(std::move(format_))
29  , width(std::move(width_))
30  , heigth(std::move(heigth_))
31  {}
32 };
33 
34 } } // namespace bnb::interfaces
35 /// @}
36 
bnb::interfaces::pixel_buffer
Definition: pixel_buffer.hpp:17
pixel_format.hpp