Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ftl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Pope
ftl
Merge requests
!196
High resolution colour
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
High resolution colour
feature/resolution
into
master
Overview
0
Commits
16
Pipelines
1
Changes
4
Merged
Nicolas Pope
requested to merge
feature/resolution
into
master
5 years ago
Overview
0
Commits
16
Pipelines
1
Changes
4
Expand
0
0
Merge request reports
Viewing commit
86524a77
Prev
Next
Show latest version
4 files
+
7
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
86524a77
fix scaling
· 86524a77
Sebastian Hahta
authored
5 years ago
components/codecs/include/ftl/codecs/bitrates.hpp
+
4
−
4
Options
@@ -49,6 +49,8 @@ enum struct definition_t : uint8_t {
Invalid
};
definition_t
findDefinition
(
int
width
,
int
height
);
/**
* Get width in pixels of definition.
*/
@@ -97,10 +99,8 @@ static const preset_t kPresetMinimum = -1;
* Represents the details of each preset codec configuration.
*/
struct
CodecPreset
{
definition_t
colour_res
;
definition_t
depth_res
;
bitrate_t
colour_qual
;
bitrate_t
depth_qual
;
definition_t
res
;
bitrate_t
qual
;
};
/**
Loading