Merge pull request #26350 from jjd-uk/estuary_media_align
[xbmc.git] / xbmc / cores / GameSettings.h
blobf9e0a3e9ca0a79943dd3aaeab531ad9faa7e8f23
1 /*
2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 namespace KODI
13 namespace RETRO
16 // NOTE: Only append
17 enum class SCALINGMETHOD
19 AUTO = 0,
20 NEAREST = 1,
21 LINEAR = 2,
22 MAX = LINEAR
25 /*!
26 * \ingroup games
27 * \brief Methods for stretching the game to the viewing area
29 enum class STRETCHMODE
31 /*!
32 * \brief Show the game at its normal aspect ratio
34 Normal,
36 /*!
37 * \brief Stretch the game to maintain a 4:3 aspect ratio
39 Stretch4x3,
41 /*!
42 * \brief Stretch the game to fill the viewing area
44 Fullscreen,
46 /*!
47 * \brief Show the game at its original size (humorous for old consoles
48 * on 4K TVs)
50 Original,
52 /*!
53 * \brief Show the game at its normal aspect ratio but zoom to fill the
54 * viewing area
56 Zoom,
59 constexpr const char* STRETCHMODE_NORMAL_ID = "normal";
60 constexpr const char* STRETCHMODE_STRETCH_4_3_ID = "4:3";
61 constexpr const char* STRETCHMODE_FULLSCREEN_ID = "fullscreen";
62 constexpr const char* STRETCHMODE_ORIGINAL_ID = "original";
63 constexpr const char* STRETCHMODE_ZOOM_ID = "zoom";
65 enum class RENDERFEATURE
67 ROTATION,
68 STRETCH,
69 ZOOM,
70 PIXEL_RATIO,