Loading...
Searching...
No Matches
Scale.hpp
1#pragma once
2
3namespace score::gfx
4{
5
10{
11 Original, // 1 pixel in = 1 pixel out
12 BlackBars, // Keep aspect ratio and scale so that the whole picture is visible
13 Fill, // Keep aspect ratio and scale so that the whole screen is filled
14 Stretch // Stretch to the viewport size
15};
16
21{
22 AutoPlayback, // Intra-only codecs use Direct, others use FrameQueue
23 Direct, // Always use DirectVideoNodeRenderer (seek per frame)
24 FrameQueue // Always use VideoNodeRenderer (frame queue)
25};
26
27}
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:12
PlaybackMode
How to choose the video renderer.
Definition Scale.hpp:21
ScaleMode
How to resize a texture to adapt it to a viewport.
Definition Scale.hpp:10