Debian Codegraph @

xbmc/cores/RetroPlayer/messages/video.fbs

raw
1 //
2 // Copyright (C) 2023 Team Kodi
3 // This file is part of Kodi - https://kodi.tv
4 //
5 // SPDX-License-Identifier: MIT
6 // See LICENSES/README.md for more information.
7 //
8
9 namespace KODI.RETRO;
10
11 enum PixelFormat : uint8 {
12 /// @brief Value for unknown pixel formats
13 Unknown,
14
15 /// @brief packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
16 /// This is the preferred format for web compatibility
17 RGBA_8888,
18
19 /// @brief packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined
20 XRGB_8888,
21
22 /// @brief packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
23 BGRX_8888,
24
25 /// @brief packed RGB 5:6:5, 16bpp, (msb), 5R 6G 5B(lsb), big-endian
26 RGB_565_BE,
27
28 /// @brief packed RGB 5:6:5, 16bpp, (msb), 5R 6G 5B(lsb), little-endian
29 RGB_565_LE,
30
31 /// @brief packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian, X=unused/undefined
32 RGB_555_BE,
33
34 /// @brief packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined
35 RGB_555_LE,
36 }
37
38 enum VideoRotation : uint8 {
39 CCW_0,
40 CCW_90,
41 CCW_180,
42 CCW_270,
43 }