Skip to content
Snippets Groups Projects

Implements #210 Choose definition from source resolution

3 files
+ 44
3
Compare changes
  • Side-by-side
  • Inline

Files

@@ -40,9 +40,11 @@ enum struct definition_t : uint8_t {
@@ -40,9 +40,11 @@ enum struct definition_t : uint8_t {
LD360 = 6,
LD360 = 6,
Any = 7,
Any = 7,
HTC_VIVE = 8
HTC_VIVE = 8,
// TODO: Add audio definitions
// TODO: Add audio definitions
 
 
Invalid
};
};
/**
/**
@@ -87,6 +89,8 @@ static const preset_t kPresetLQThreshold = 4;
@@ -87,6 +89,8 @@ static const preset_t kPresetLQThreshold = 4;
static const preset_t kPresetHTCVive = -1;
static const preset_t kPresetHTCVive = -1;
 
static const preset_t kPresetMinimum = -1;
 
/**
/**
* Represents the details of each preset codec configuration.
* Represents the details of each preset codec configuration.
*/
*/
@@ -125,6 +129,8 @@ preset_t findPreset(definition_t, definition_t);
@@ -125,6 +129,8 @@ preset_t findPreset(definition_t, definition_t);
*/
*/
preset_t findPreset(definition_t);
preset_t findPreset(definition_t);
 
preset_t findPreset(size_t width, size_t height);
 
}
}
}
}
Loading