mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Video: split frame dumping settings into 3 resolution dumping modes
also polish aspect ratio related code for clarity
This commit is contained in:
@ -107,10 +107,13 @@ private:
|
||||
|
||||
void OnBackBufferSizeChanged();
|
||||
|
||||
// Scales a raw XFB resolution to the target (display) aspect ratio,
|
||||
// also accounting for crop and other minor adjustments
|
||||
std::tuple<int, int> CalculateOutputDimensions(int width, int height,
|
||||
bool allow_stretch = true) const;
|
||||
std::tuple<float, float> ApplyStandardAspectCrop(float width, float height,
|
||||
bool allow_stretch = true) const;
|
||||
// Scales a raw XFB resolution to the target (display) aspect ratio
|
||||
std::tuple<float, float> ScaleToDisplayAspectRatio(int width, int height,
|
||||
bool allow_stretch = true) const;
|
||||
|
||||
|
Reference in New Issue
Block a user