3 #include <bnb/player_api/interfaces/render_target.hpp>
4 #include <bnb/player_api/interfaces/types/content_mode.hpp>
5 #include <bnb/types/base_types.hpp>
7 namespace bnb::player_api
13 void update_content_mode(content_mode new_content_mode);
15 void update_orientation(
orientation orient,
bool mirroring =
false);
17 const float*
const get_orientation_matrix(
bool y_invert =
false);
19 void oriented_frame_size(
const render_target_sptr& rt, int32_t& oriented_width, int32_t& oriented_height)
const;
21 void oriented_frame_layout(
const render_target_sptr& rt, int32_t surface_width, int32_t surface_height, int32_t& left, int32_t& top, int32_t& width, int32_t& height)
const;
24 content_mode m_content_mode{content_mode::aspect_fit};
26 bool m_mirroring{
false};