Banuba SDK
opengl_frame_output.hpp
1 #pragma once
2 
3 #include <bnb/player_api/interfaces/output/frame_output.hpp>
4 
5 namespace bnb::player_api
6 {
7 
8  class BNB_EXPORT opengl_frame_output
9  : public frame_output
10  {
11  public:
12  static std::shared_ptr<opengl_frame_output> create(const pixel_buffer_callback& callback, pixel_buffer_format format, bool start_receiving_frames = true);
13 
14  virtual void set_yuv_format_params(bnb::color_std std, bnb::color_range rng) = 0;
15  }; // class opengl_frame_output
16 
17 } // namespace bnb::player_api
bnb::player_api::opengl_frame_output
Definition: opengl_frame_output.hpp:8
bnb::pixel_buffer_format
pixel_buffer_format
bt601 and bt709 - two standards for representing color space that use the same image encoding/decodin...
Definition: full_image.hpp:28
bnb::color_std
color_std
Enum class represents suppotred color standarts.
Definition: full_image.hpp:281
bnb::color_range
color_range
Enum class represents color range.
Definition: full_image.hpp:271
bnb::player_api::frame_output
Definition: frame_output.hpp:12