Banuba SDK
Loading...
Searching...
No Matches
opengl_frame_output.hpp
1#pragma once
2
3#include <bnb/player_api/interfaces/output/frame_output.hpp>
4
5namespace 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
color_std
Enum class represents suppotred color standarts.
color_range
Enum class represents color range.
pixel_buffer_format
bt601 and bt709 - two standards for representing color space that use the same image encoding/decodin...