Banuba SDK
Loading...
Searching...
No Matches
bnb::player_api::opengl_frame_output Class Referenceabstract
Inheritance diagram for bnb::player_api::opengl_frame_output:
bnb::player_api::frame_output bnb::player_api::interfaces::output bnb::player_api::orientable

Public Member Functions

virtual void set_yuv_format_params (bnb::color_std std, bnb::color_range rng)=0
Public Member Functions inherited from bnb::player_api::frame_output
virtual void once ()=0
 Process one frame and pause.
virtual void loop ()=0
 Process frames as it arrives.
Public Member Functions inherited from bnb::player_api::interfaces::output
virtual void attach ()=0
 Attach output to the player.
virtual void detach ()=0
 Detach output from the player.
virtual void present (const render_target_sptr &render_target)=0
 Present the drawn frame by the player to the output.
Public Member Functions inherited from bnb::player_api::orientable
virtual void set_orientation (orientation orient, bool mirroring=false)=0

Static Public Member Functions

static std::shared_ptr< opengl_frame_outputcreate (const pixel_buffer_callback &callback, pixel_buffer_format format, bool start_receiving_frames=true)

Additional Inherited Members

Public Types inherited from bnb::player_api::frame_output
using pixel_buffer_callback = std::function<void(const bnb::full_image_t& pb)>

Detailed Description

Definition at line 8 of file opengl_frame_output.hpp.


The documentation for this class was generated from the following file: