score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
Scale.hpp
1
#pragma once
2
3
namespace
score::gfx
4
{
5
9
enum
ScaleMode
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
20
enum
PlaybackMode
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
}
score::gfx
Graphics rendering pipeline for ossia score.
Definition
Filter/PreviewWidget.hpp:12
score::gfx::PlaybackMode
PlaybackMode
How to choose the video renderer.
Definition
Scale.hpp:21
score::gfx::ScaleMode
ScaleMode
How to resize a texture to adapt it to a viewport.
Definition
Scale.hpp:10