Skip to content

Xbox Cloud Gaming app for PS5 Homebrew

C

Display: reuse Vulkan GPU pipeline (FSR 1, Anime4K, RCAS, deband) on SDL3 desktop

Rafael Abud Ferreira828687203d70
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5be425d..9887de0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -83,7 +83,8 @@ jobs:
sudo apt-get install -y -q cmake ninja-build clang llvm nasm pkg-config \
libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev \
libxkbcommon-dev libwayland-dev libdecor-0-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev \
- libdrm-dev libgbm-dev libasound2-dev libpulse-dev libpipewire-0.3-dev libjack-jackd2-dev \
+ libdrm-dev libgbm-dev libvulkan-dev mesa-vulkan-drivers \
+ libasound2-dev libpulse-dev libpipewire-0.3-dev libjack-jackd2-dev \
libdbus-1-dev libibus-1.0-dev libudev-dev libusb-1.0-0-dev
- name: SDL3 cache
diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml
index 7020be6..6768d95 100644
--- a/.github/workflows/release-linux.yml
+++ b/.github/workflows/release-linux.yml
@@ -44,7 +44,8 @@ jobs:
sudo apt-get install -y -q cmake ninja-build clang llvm nasm pkg-config \
libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev \
libxkbcommon-dev libwayland-dev libdecor-0-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev \
- libdrm-dev libgbm-dev libasound2-dev libpulse-dev libpipewire-0.3-dev libjack-jackd2-dev \
+ libdrm-dev libgbm-dev libvulkan-dev mesa-vulkan-drivers \
+ libasound2-dev libpulse-dev libpipewire-0.3-dev libjack-jackd2-dev \
libdbus-1-dev libibus-1.0-dev libudev-dev libusb-1.0-0-dev
- name: SDL3 cache
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d1cd19c..521646a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -204,10 +204,11 @@ if(XC_DESKTOP_APP)
)
target_link_libraries(xcloud_backends_sdl_io PUBLIC xcloud_core xcloud_media SDL3::SDL3)
- # The window, its renderer and events, the self-test; no hardware
- # decoder yet (FFmpeg decodes).
+ # The window, its Vulkan / SDL_Renderer display and events, the self-test;
+ # no hardware decoder yet (FFmpeg decodes).
add_library(xcloud_backends_desktop OBJECT
src/display/display_sdl.cpp
+ src/display/gpu.cpp
src/app/shell_desktop.cpp
src/app/desktop_selftest.cpp
src/media/hw_decoder_null.cpp
diff --git a/ROADMAP.md b/ROADMAP.md
index 62744e6..0860b1e 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -227,6 +227,7 @@ is rolled back at the next start), then the app restarts itself
| DualSense button remapping (done), touchpad mouse | Full DualSense button customization in Settings and each game's settings (Edge back buttons/paddles too), with its own remapping screen like keyboard keys (done); touchpad as a mouse for MKB games | medium |
| Gamepad report physicality & touchpad click robustness (#39) | In `src/stream/input_packet.cpp`: compute accurate `physicalPhysicality` bitmask (0 when idle) and send 0 for `virtualPhysicality` (LE), preventing idle secondary controllers/bridges from continuously reporting active physical input to xCloud. In `src/app/stream_screen.cpp`: suppress touchpad swipe gesture detection while `btnTouchpad` is physically pressed. Add one-time diagnostic log on first `kView` / `kMenu` sent per stream session | small |
| Gyro in Settings | Gyro aiming in Settings and the game settings too (now in the game menu only); an inverted / separate horizontal sensitivity if asked | small |
+| Desktop Vulkan display (done) | `display/gpu.cpp` shared with the SDL3 desktop window (`SDL_Vulkan_*`): FSR 1, Anime4K x2, Anime4K Restore, CAS sharpening and block smoothing on Linux, with `SDL_Renderer` kept as fallback | medium |
| Favourites, game language | A favourites row; the game's language apart from the app's | small |
| Lost audio filled | Opus concealment / in-band FEC for lost audio packets: needs libopus (FFmpeg's own Opus decoder has neither) | small–medium |
| Home-screen tile per game | The PS5 Forwarder Format (ProsperoLight): a tile that starts one cloud game directly | small |
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index 4e42233..ef2fe52 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -49,12 +49,12 @@ the end.
## The Linux package (`PSBox-*-linux-x86_64.tar.gz`)
`psbox` statically links the same Mbed TLS, libdatachannel (libjuice,
-usrsctp, libSRTP, plog), FFmpeg slice, stb and QR Code generator listed
-above; the PS5 runtime, the payload SDK, Mesa, FSR 1 and Anime4K are not in
-it. Their texts, with this file and `LICENSE`, are in `PSBox/licenses/`;
-`FFmpeg-NOTE.txt` there gives FFmpeg's version and configure flags. It
-links the system's C and C++ libraries (glibc, libstdc++, libgcc_s)
-dynamically, and carries:
+usrsctp, libSRTP, plog), FFmpeg slice, stb, QR Code generator, FSR 1 and
+Anime4K shaders listed above; the PS5 runtime, the payload SDK and PS5_Mesa
+are not in it. Their texts, with this file and `LICENSE`, are in
+`PSBox/licenses/`; `FFmpeg-NOTE.txt` there gives FFmpeg's version and
+configure flags. It links the system's C and C++ libraries (glibc,
+libstdc++, libgcc_s) dynamically, and carries:
| File | Component | License |
| --- | --- | --- |
diff --git a/cmake/desktop_package.cmake b/cmake/desktop_package.cmake
index ff06bdd..4dc21d5 100644
--- a/cmake/desktop_package.cmake
+++ b/cmake/desktop_package.cmake
@@ -66,8 +66,8 @@ configure_file("${_src}/linux/README-linux.txt" "${CMAKE_CURRENT_BINARY_DIR}/REA
install(FILES "${_src}/linux/psbox.desktop" "${_icon}" "${CMAKE_CURRENT_BINARY_DIR}/README-linux.txt"
DESTINATION ${_pkg})
-# The licenses of what psbox links or the package carries (the PS5 runtime,
-# Mesa, FSR and Anime4K are not in it).
+# The licenses of what psbox links or the package carries (the PS5 runtime
+# and PS5_Mesa are not in it).
install(FILES "${_src}/LICENSE" "${_src}/THIRD_PARTY_NOTICES.md" DESTINATION ${_pkg}/licenses)
install(FILES "${_src}/linux/FFmpeg-NOTE.txt" DESTINATION ${_pkg}/licenses)
set(_lic
@@ -78,7 +78,9 @@ set(_lic
"deps/libdatachannel/deps/libsrtp/LICENSE=libsrtp-LICENSE.txt"
"deps/libdatachannel/deps/plog/LICENSE=plog-LICENSE.txt"
"deps/ffmpeg/COPYING.LGPLv2.1=FFmpeg-LGPL-2.1.txt"
- "extern/stb/LICENSE=stb-LICENSE.txt")
+ "extern/stb/LICENSE=stb-LICENSE.txt"
+ "extern/fsr1/LICENSE.txt=FSR1-MIT.txt"
+ "extern/anime4k/LICENSE=Anime4K-MIT.txt")
foreach(_pair IN LISTS _lic)
string(REPLACE "=" ";" _pair "${_pair}")
list(GET _pair 0 _from)
diff --git a/docs/multiplatform.md b/docs/multiplatform.md
index 1f0e92c..2053d24 100644
--- a/docs/multiplatform.md
+++ b/docs/multiplatform.md
@@ -57,7 +57,7 @@ links those objects with its backends:
SDL: it proves the shared app builds and starts off the PS5. It uses the
desktop data folder like `xcloud-cli`; Ctrl+C closes it.
- `psbox` (desktop, SDL3): core + `xcloud_backends_desktop` (`display_sdl.cpp`,
- `shell_desktop.cpp`, the self-test, `hw_decoder_null.cpp`) +
+ `gpu.cpp`, `shell_desktop.cpp`, the self-test, `hw_decoder_null.cpp`) +
`xcloud_backends_sdl_io` (controllers, keyboard / mouse, sound) +
`desktop_main.cpp`. See "M1: the Linux app" below.
- `xcloud-cli` and `xcloud-tests` stay SDL-free; the tests link the null backends.
@@ -66,7 +66,7 @@ links those objects with its backends:
| Area | Header | PS5 | Desktop (planned) | Null |
|-----------------------|---------------------------|---------------------------------------|----------------------------|---------------------------|
-| Display | `display/display.h` | `display_ps5.cpp` (+ `gpu.cpp`, RADV) | `display_sdl.cpp` | `display_null.cpp` |
+| Display | `display/display.h` | `display_ps5.cpp` (+ `gpu.cpp`, RADV) | `display_sdl.cpp` (+ `gpu.cpp`, `SDL_Renderer` fallback) | `display_null.cpp` |
| Controllers | `input/controller.h`, `input_ext.h` | `controller_ps5.cpp` | `controller_sdl.cpp`, `sdl_input.cpp` | `controller_null.cpp` |
| USB keyboard / mouse | `input/kbm.h` | `kbm_ps5.cpp` | `kbm_sdl.cpp` | `kbm_null.cpp` |
| Audio out / in | `media/audio_out.h`, `audio_in.h` | `audio_out_ps5.cpp`, `audio_in_ps5.cpp` | `audio_out_sdl.cpp`, `audio_in_sdl.cpp` | `audio_*_null.cpp` (no device) |
@@ -76,8 +76,9 @@ links those objects with its backends:
Portable, shared by every backend: `controller_common.cpp`, `sdl_mapping.cpp`
(pure tables), `media/audio_queue.cpp`, `audio_in_common.cpp`, `kbm_map.cpp`,
-`key_map.cpp`, `keyboard_nav.cpp`, `gyro.cpp`, the UI (`src/ui`), decoding
-(`media/decoder.cpp`), the protocol (`src/stream`, `src/xcloud`, `src/auth`).
+`key_map.cpp`, `keyboard_nav.cpp`, `gyro.cpp`, `display/gpu.cpp` (Vulkan 1.3
+compute pipeline), the UI (`src/ui`), decoding (`media/decoder.cpp`), the
+protocol (`src/stream`, `src/xcloud`, `src/auth`).
The shell's hooks, in the order `app_core.cpp` calls them:
`beforeSettings()` (PS5: an update cut short rolled back, a store update's
@@ -100,8 +101,9 @@ shared code:
- `display::caps()` returns a `DisplayCaps`: `upscalers` (FSR 1 / Anime4K),
`deband`, `sharpen`, `highRefreshSwitch` (120 Hz per stream),
- `presentTiming`. On the PS5 it is what the GPU path supports; the null
- display says false to all. The desktop UI hides the options it can't
+ `presentTiming`. On the PS5 and on a Vulkan 1.3 desktop it is what the GPU
+ path supports; the `SDL_Renderer` fallback says false to the GPU filters, and
+ the null display says false to all. The desktop UI hides the options it can't
honour; the calls themselves are always safe (no-ops).
- `input::padCaps(i)` / `anyPadCaps()` (`input_ext.h`): rumble, trigger
rumble, adaptive triggers, light bar, gyro, touchpad. The PS5 always
@@ -124,8 +126,10 @@ shared code:
the GPU's switches behind `display::` and `display::caps()`; the app core
and shell split; `psbox-headless`; `tools/check-platform-boundaries.sh`
in CI; the microphone gain fix.
-- **M1, Linux app on SDL3** (done, below): a window; an `SDL_Renderer` display with a single
- render thread and a video mailbox; `controller_sdl` with the DualSense's
+- **M1, Linux app on SDL3** (done, below): a window; a Vulkan display reusing
+ `gpu.cpp` (FSR 1, Anime4K x2, Anime4K Restore, CAS sharpening, deband) with
+ an `SDL_Renderer` fallback, driven from a single render thread and a video
+ mailbox; `controller_sdl` with the DualSense's
effects, light bar, gyro and touchpad (and the `controller_common` split);
`kbm_sdl` with relative mouse; SDL audio, with a portable AudioQueue
splitting `audio_out.cpp` / `audio_in.cpp`; the XDG data folder; toasts for
@@ -145,8 +149,7 @@ shared code:
release, the app's self-test), the Linux tarball and its optional signed
release assets, the notices of what the desktop package carries. The
Windows half comes with M2.
-- **Later**: a Vulkan desktop display reusing `gpu.cpp` (FSR, Anime4K),
- FFmpeg hardware decoding, a desktop updater.
+- **Later**: FFmpeg hardware decoding, a desktop updater.
## M1: the Linux app
@@ -162,20 +165,24 @@ build-desktop/psbox # --fullscreen, --windowed (this run), -
SDL_VIDEO_DRIVER=offscreen SDL_AUDIO_DRIVER=dummy build-desktop/psbox --selftest /tmp/psbox-selftest
```
-- **Display** (`display_sdl.cpp`): fullscreen at the desktop's own mode by
+- **Display** (`display_sdl.cpp` + `gpu.cpp`): fullscreen at the desktop's own mode by
default, else a 1600x900 resizable window: Settings > Display mode (a row
only a desktop shows, `UiCaps::desktopWindow`; `desktopFullscreen` in
settings.json), F11 / Alt+Enter switch it and the setting follows,
- `--fullscreen` / `--windowed` choose for one run. An `SDL_Renderer` with vsync, the 1920x1080 picture
- letterboxed. SDL renders on the main thread only: the drawing threads fill a
+ `--fullscreen` / `--windowed` choose for one run. When a Vulkan 1.3 device
+ with storage-image writes is present (`SDL_WINDOW_VULKAN` +
+ `SDL_Vulkan_CreateSurface`), `gpu.cpp` runs the same compute pipeline as the
+ PS5 (BT.709 limited-range YUV + deband, Anime4K Restore, FSR 1 EASU or
+ Anime4K x2 upscale into the largest 16:9 box in the window, RCAS sharpening
+ and overlay blend, swapchain recreated on resize); otherwise (or with
+ `XC_SDL_RENDERER=1`) an `SDL_Renderer` with vsync is used as a fallback.
+ Either way, rendering runs on the main thread only: the drawing threads fill a
back frame, `present()` puts it in a one-slot mailbox (the newest wins; the
video thread never waits for vsync) and `display::pump()`, each pass of the
- main loop, uploads it (YUV into a BT.709 limited IYUV texture; the menu as
- ABGR8888), blends the overlay and presents. `idleWait()` wakes on a new
+ main loop, uploads and presents it. `idleWait()` wakes on a new
frame. `readBackRgb()` reads on the main thread; asked from another one
(the video thread's screenshots: autoplay's `screen.ppm`) it waits up to
- 500 ms for the next `pump()` to do it. No upscalers,
- sharpening, block smoothing or 120 Hz (`caps()`).
+ 500 ms for the next `pump()` to do it. 120 Hz switching stays PS5-only (`caps()`).
- **Shell** (`shell_desktop.cpp`): SDL starts before the display, every event
goes to `input::sdlInputEvent()`, focus lost lets the mouse go, closing the
window or Ctrl+C / SIGTERM closes the app in order (the worker leaves its
@@ -245,7 +252,7 @@ PSBox/psbox.png 256 px icon, drawn by xcloud-cli render-icon
PSBox/README-linux.txt running it, the data folder, hidraw / udev for DualSense features
PSBox/licenses/ LICENSE, THIRD_PARTY_NOTICES.md, Mbed TLS, libdatachannel, usrsctp,
libSRTP, plog, FFmpeg (LGPL-2.1 + FFmpeg-NOTE.txt: the configure
- flags), stb, Inter (OFL), SDL3 (zlib)
+ flags), stb, FSR 1 (MIT), Anime4K (MIT), Inter (OFL), SDL3 (zlib)
```
The release: `tools/release.sh <X.Y.Z> --linux` adds
diff --git a/linux/README-linux.txt b/linux/README-linux.txt
index 82df47f..2eb47b7 100644
--- a/linux/README-linux.txt
+++ b/linux/README-linux.txt
@@ -58,8 +58,11 @@ rule, e.g. /etc/udev/rules.d/70-dualsense.rules:
KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0df2", MODE="0660", TAG+="uaccess"
then "sudo udevadm control --reload && sudo udevadm trigger" and plug the
-pad in again. Options the PC can't honour (the PS5's upscalers, 120 Hz,
-a light bar without a DualSense) are hidden.
+pad in again. With a Vulkan 1.3 driver, the app uses the same GPU compute
+pipeline as the PS5 (FSR 1, Anime4K x2, Anime4K Restore, CAS sharpening and
+block smoothing), falling back to SDL_Renderer otherwise. Options the PC
+can't honour (the PS5's 120 Hz mode switch, a light bar without a DualSense)
+are hidden.
Updates
@@ -73,7 +76,7 @@ Licenses
--------
PSBox is GPL-3.0-or-later (licenses/LICENSE). It links Mbed TLS,
libdatachannel, usrsctp, libSRTP, plog, FFmpeg (LGPL-2.1, see
-licenses/FFmpeg-NOTE.txt), stb, and bundles SDL3 (zlib) and the Inter fonts
-(OFL): their texts are in licenses/, the list in
-licenses/THIRD_PARTY_NOTICES.md. Source code: the repository at this
+licenses/FFmpeg-NOTE.txt), stb, FSR 1 and Anime4K shaders (MIT), and bundles
+SDL3 (zlib) and the Inter fonts (OFL): their texts are in licenses/, the
+list in licenses/THIRD_PARTY_NOTICES.md. Source code: the repository at this
release's tag, https://github.com/RafaelNGP/xbox-cloud-gaming-ps5
diff --git a/src/app/desktop_selftest.cpp b/src/app/desktop_selftest.cpp
index 2197d92..5215ef1 100644
--- a/src/app/desktop_selftest.cpp
+++ b/src/app/desktop_selftest.cpp
@@ -179,7 +179,9 @@ int desktopSelftest(const std::string& dir) {
ui.setCaps(caps);
ui.setSettings(ui::SettingsChoice{});
ui.setUpdateState(XC_APP_VERSION, {}, false);
- check(!caps.console && caps.openUrl && !caps.selfUpdate && !caps.highRefresh && !caps.upscalers,
+ const display::DisplayCaps dc = display::caps();
+ check(!caps.console && caps.openUrl && !caps.selfUpdate && !caps.highRefresh &&
+ caps.upscalers == dc.upscalers && caps.sharpen == dc.sharpen && caps.deband == dc.deband,
"desktop capabilities");
ui::Canvas canvas(static_cast<int>(display::kWidth), static_cast<int>(display::kHeight));
@@ -341,6 +343,20 @@ int desktopSelftest(const std::string& dir) {
for (int b = 0; b < 8 && barsOk; ++b) barsOk = barMatches(shot, b, 540);
check(barsOk, "colour bars through drawYuv420 + pump (3-video.png)");
check(display::lastPresentId() > 0, "present ids counted");
+ if (dc.upscalers) {
+ display::setSharpness(176);
+ display::setDeband(2);
+ display::setUpscaler(1);
+ display::setRestore(true);
+ drawVideo(bars);
+ bool gpuOk = screenshot(dir, "3c-video-upscaled.png", shot);
+ for (int b = 0; b < 8 && gpuOk; ++b) gpuOk = barMatches(shot, b, 540);
+ check(gpuOk, "GPU filters: Anime4K + Restore + RCAS + deband (3c-video-upscaled.png)");
+ display::setSharpness(0);
+ display::setDeband(1);
+ display::setUpscaler(0);
+ display::setRestore(false);
+ }
// A read back asked from another thread (the video thread's
// screenshots), done by the main loop's pump().
{
@@ -406,6 +422,17 @@ int desktopSelftest(const std::string& dir) {
shell::beforeShutdown();
input::shutdown();
display::shutdown();
+ if (dc.upscalers) {
+ bool fb = display::init(false);
+ bool fbOk = fb && !display::caps().upscalers;
+ if (fbOk) {
+ drawVideo(bars);
+ fbOk = screenshot(dir, "3d-video-fallback.png", shot);
+ for (int b = 0; b < 8 && fbOk; ++b) fbOk = barMatches(shot, b, 540);
+ }
+ display::shutdown();
+ check(fbOk, "SDL_Renderer fallback (3d-video-fallback.png)");
+ }
std::printf("selftest: %s (%d failed)\n", g_failures ? "FAILED" : "all passed", g_failures);
XC_LOGI("self-test: %d failed", g_failures);
log::setFile(nullptr);
diff --git a/src/display/display_sdl.cpp b/src/display/display_sdl.cpp
index c016c31..c2b5a74 100644
--- a/src/display/display_sdl.cpp
+++ b/src/display/display_sdl.cpp
@@ -1,26 +1,29 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// Copyright (C) 2026 RafaelNGP
-// display.h on SDL3's renderer (the desktop app): a resizable window showing
-// the app's 1920x1080 picture letterboxed. SDL's render calls are only made
-// on the main thread, so the threads that draw (the menu on the main thread,
-// the video thread while streaming) hand their picture over instead: draw
-// into a back frame under frameMutex(), present() swaps it into a one-slot
-// mailbox (the newest wins, nobody waits for the screen), and pump(), each
-// pass of the main loop, uploads the mailbox's frame (YUV straight into an
-// IYUV texture, the GPU converts it) with the overlay and presents it,
-// paced by vsync. No upscalers, sharpening or block smoothing here: caps()
-// says so and their setters do nothing.
+// display.h on SDL3 (the desktop app): a resizable window showing the app's
+// 1920x1080 picture letterboxed. When Vulkan 1.3 comes up on the window,
+// display/gpu.cpp runs the same compute pipeline as the PS5 (BT.709 YUV +
+// deband, Anime4K Restore, FSR 1 EASU or Anime4K x2 upscale, RCAS sharpening
+// and overlay blend); otherwise an SDL_Renderer is used as a fallback.
+//
+// Either way, window and GPU/renderer calls stay on the main thread: drawing
+// threads fill a back frame under frameMutex(), present() swaps it into a
+// one-slot mailbox (the newest wins, nobody waits for the screen), and
+// pump(), each pass of the main loop, presents it.
#include "display/display.h"
#include "display/display_sdl.h"
+#include "display/gpu.h"
#include "platform/platform.h"
#include "util/log.h"
#include <SDL3/SDL.h>
+#include <SDL3/SDL_vulkan.h>
#include <atomic>
#include <chrono>
#include <condition_variable>
+#include <cstdlib>
#include <cstring>
#include <utility>
@@ -163,6 +166,33 @@ void renderScene() {
}
}
+bool drawGpuFront() {
+ if (g_front.kind == Kind::Menu) {
+ gpu::drawRgba(g_front.rgba.data());
+ } else if (g_front.kind == Kind::Video) {
+ int cw = (g_front.width + 1) / 2;
+ if (!gpu::drawYuv420(g_front.y.data(), g_front.u.data(), g_front.v.data(), g_front.width, cw, cw,
+ g_front.width, g_front.height, true))
+ return false;
+ } else {
+ return false;
+ }
+ g_frontPending = false;
+ g_overlayPending = false;
+ if (!g_shown) {
+ SDL_ShowWindow(g_window);
+ g_shown = true;
+ }
+ gpu::present();
+ if (g_front.kind == Kind::Video) {
+ std::lock_guard<std::mutex> lock(g_shownMutex);
+ g_shownId = g_front.id;
+ uint64_t gpuId = 0, gpuAtUs = 0;
+ g_shownAtUs = gpu::lastShown(gpuId, gpuAtUs) ? gpuAtUs : platform::nowUs();
+ }
+ return true;
+}
+
} // namespace
void sdlStartFullscreen(bool on) { g_startFullscreen = on, g_startForced = true; }
@@ -170,7 +200,10 @@ void sdlStartFullscreenSetting(bool on) {
if (!g_startForced) g_startFullscreen = on;
}
SDL_Window* sdlWindow() { return g_window; }
-const char* sdlRendererName() { return g_renderer ? SDL_GetRendererName(g_renderer) : ""; }
+const char* sdlRendererName() {
+ if (gpu::ready()) return "vulkan";
+ return g_renderer ? SDL_GetRendererName(g_renderer) : "";
+}
void sdlRepaint() { g_repaint = true; }
bool sdlIsFullscreen() { return g_window && (SDL_GetWindowFlags(g_window) & SDL_WINDOW_FULLSCREEN) != 0; }
@@ -187,7 +220,7 @@ void sdlToggleFullscreen() { sdlSetFullscreen(!sdlIsFullscreen()); }
std::mutex& frameMutex() { return g_frameMutex; }
-bool init(bool) {
+bool init(bool preferGpu) {
if (!SDL_InitSubSystem(SDL_INIT_VIDEO)) {
XC_LOGE("display: SDL video: %s", SDL_GetError());
return false;
@@ -195,6 +228,45 @@ bool init(bool) {
g_mainThread = SDL_GetCurrentThreadID();
SDL_WindowFlags flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY | SDL_WINDOW_HIDDEN;
if (g_startFullscreen) flags |= SDL_WINDOW_FULLSCREEN;
+
+ const char* forceSdl = std::getenv("XC_SDL_RENDERER");
+ if (preferGpu && !(forceSdl && forceSdl[0] && forceSdl[0] != '0')) {
+ g_window = SDL_CreateWindow("PSBox Cloud Gaming", 1600, 900, flags | SDL_WINDOW_VULKAN);
+ if (g_window) {
+ SDL_SetWindowMinimumSize(g_window, 640, 360);
+ Uint32 extCount = 0;
+ const char* const* exts = SDL_Vulkan_GetInstanceExtensions(&extCount);
+ gpu::Wsi wsi;
+ wsi.getInstanceProcAddr = reinterpret_cast<void*>(SDL_Vulkan_GetVkGetInstanceProcAddr());
+ wsi.extensions = exts;
+ wsi.extensionCount = extCount;
+ wsi.user = g_window;
+ wsi.createSurface = [](void* u, void* inst, void* surfOut) -> bool {
+ return SDL_Vulkan_CreateSurface(static_cast<SDL_Window*>(u), static_cast<VkInstance>(inst), nullptr,
+ static_cast<VkSurfaceKHR*>(surfOut));
+ };
+ wsi.getExtent = [](void* u, uint32_t& w, uint32_t& h) {
+ int pw = 0, ph = 0;
+ SDL_GetWindowSizeInPixels(static_cast<SDL_Window*>(u), &pw, &ph);
+ w = pw > 0 ? static_cast<uint32_t>(pw) : 0u;
+ h = ph > 0 ? static_cast<uint32_t>(ph) : 0u;
+ };
+ // Poll present completion without blocking the main thread's event loop.
+ gpu::setPresentWait(false);
+ if (wsi.getInstanceProcAddr && exts && gpu::init(wsi)) {
+ XC_LOGI("display: SDL %d.%d.%d, video driver %s, renderer vulkan%s",
+ SDL_VERSIONNUM_MAJOR(SDL_GetVersion()), SDL_VERSIONNUM_MINOR(SDL_GetVersion()),
+ SDL_VERSIONNUM_MICRO(SDL_GetVersion()), SDL_GetCurrentVideoDriver(),
+ g_startFullscreen ? ", fullscreen" : "");
+ return true;
+ }
+ gpu::shutdown();
+ SDL_DestroyWindow(g_window);
+ g_window = nullptr;
+ }
+ XC_LOGW("display: Vulkan GPU path unavailable; falling back to SDL_Renderer");
+ }
+
g_window = SDL_CreateWindow("PSBox Cloud Gaming", 1600, 900, flags);
if (!g_window) {
XC_LOGE("display: window: %s", SDL_GetError());
@@ -225,11 +297,18 @@ bool init(bool) {
void shutdown() {
if (!g_window) return;
+ gpu::shutdown();
for (SDL_Texture** t : {&g_uiTex, &g_videoTex, &g_overlayTex, &g_readTex})
if (*t) SDL_DestroyTexture(*t), *t = nullptr;
if (g_renderer) SDL_DestroyRenderer(g_renderer), g_renderer = nullptr;
SDL_DestroyWindow(g_window);
g_window = nullptr;
+ g_shown = false;
+ g_front = Frame{};
+ g_back = Frame{};
+ g_mailbox = Frame{};
+ g_mailboxFull = false;
+ g_frontPending = g_overlayPending = false;
g_videoW = g_videoH = g_overlayW = g_overlayH = 0;
SDL_QuitSubSystem(SDL_INIT_VIDEO);
}
@@ -289,7 +368,7 @@ void serveReadBack() {
} // namespace
void pump() {
- if (!g_renderer || !onMainThread()) return;
+ if ((!g_renderer && !gpu::ready()) || !onMainThread()) return;
{
std::lock_guard<std::mutex> lock(g_mailboxMutex);
if (g_mailboxFull) {
@@ -313,6 +392,10 @@ void pump() {
bool repaint = g_repaint.exchange(false);
if (!g_frontPending && !g_overlayPending && !repaint) return;
if (g_front.kind == Kind::None) return;
+ if (gpu::ready()) {
+ drawGpuFront();
+ return;
+ }
upload();
renderScene();
if (!g_shown) {
@@ -333,6 +416,7 @@ void idleWait(uint32_t ms) {
}
void setOverlay(const uint32_t* pixels, int x, int y, int w, int h, uint8_t opacity) {
+ gpu::setOverlay(pixels, x, y, w, h, opacity);
Overlay next;
if (pixels && w > 0 && h > 0) {
next.pixels.assign(pixels, pixels + static_cast<size_t>(w) * h);
@@ -346,17 +430,30 @@ void setOverlay(const uint32_t* pixels, int x, int y, int w, int h, uint8_t opac
g_mailboxCv.notify_all();
}
-void setSharpness(int) {}
-void setDeband(int) {}
-void setUpscaler(int) {}
-void setRestore(bool) {}
+void setSharpness(int amount) {
+ gpu::setSharpness(amount);
+ g_repaint = true;
+}
+void setDeband(int level) {
+ gpu::setDeband(level);
+ g_repaint = true;
+}
+void setUpscaler(int mode) {
+ gpu::setUpscaler(mode);
+ g_repaint = true;
+}
+void setRestore(bool on) {
+ gpu::setRestore(on);
+ g_repaint = true;
+}
DisplayCaps caps() {
DisplayCaps c;
+ c.upscalers = c.deband = c.sharpen = gpu::ready();
c.presentTiming = true; // the frame handed over, and when pump() presented it
return c;
}
-void setSwapImages(int) {}
-void setPresentWait(bool) {}
+void setSwapImages(int count) { gpu::setSwapImages(count); }
+void setPresentWait(bool on) { gpu::setPresentWait(on); }
bool setHighRefresh(bool) { return false; }
bool canSwitchRefresh() { return false; }
bool bringUpTest(int) {
@@ -378,6 +475,10 @@ namespace {
// The picture on screen read back (main thread).
bool readBackMain(std::vector<uint8_t>& rgb, int& width, int& height) {
if (g_front.kind == Kind::None) return false;
+ if (gpu::ready()) {
+ if (g_frontPending || g_overlayPending || g_repaint.exchange(false)) drawGpuFront();
+ return gpu::readBack(rgb, width, height);
+ }
upload();
if (!g_readTex)
g_readTex = SDL_CreateTexture(g_renderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_TARGET, kWidth, kHeight);
@@ -408,7 +509,7 @@ bool readBackMain(std::vector<uint8_t>& rgb, int& width, int& height) {
} // namespace
bool readBackRgb(std::vector<uint8_t>& rgb, int& width, int& height) {
- if (!g_renderer) return false;
+ if (!g_renderer && !gpu::ready()) return false;
if (onMainThread()) return readBackMain(rgb, width, height);
// The renderer is the main thread's: asked of its next pump(), waited
// for a while (the main loop pumps each pass; not while it is closing).
diff --git a/src/display/gpu.cpp b/src/display/gpu.cpp
index 0494c1e..ef576ba 100644
--- a/src/display/gpu.cpp
+++ b/src/display/gpu.cpp
@@ -28,9 +28,15 @@
#include "display/shaders/rcas.spv.h"
#include "display/shaders/yuv2rgb.spv.h"
-// RADV is linked in whole (no loader): its ICD entry point resolves the rest.
-extern "C" VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr(VkInstance instance, const char* name);
-// RADV with tools/ps5/patches (weak: absent from an unpatched RADV).
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+
+// RADV on the PS5 is linked in whole (no loader): its ICD entry point resolves
+// the rest. Weak so the desktop build links without it and supplies SDL's
+// vkGetInstanceProcAddr through Wsi instead.
+extern "C" VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr(VkInstance instance, const char* name)
+ __attribute__((weak));
+// RADV with tools/ps5/patches (weak: absent from an unpatched RADV or desktop).
extern "C" int wsi_videoout_set_high_refresh(bool on) __attribute__((weak));
namespace xc::display::gpu {
@@ -40,25 +46,32 @@ namespace {
#define XC_VK_GLOBAL(X) X(CreateInstance) X(EnumerateInstanceExtensionProperties)
#define XC_VK_INSTANCE(X) \
+ X(DestroyInstance) X(DestroySurfaceKHR) \
X(EnumeratePhysicalDevices) X(GetPhysicalDeviceProperties) X(GetPhysicalDeviceQueueFamilyProperties) \
X(GetPhysicalDeviceMemoryProperties) X(GetPhysicalDeviceFeatures) X(CreateDevice) X(GetDeviceProcAddr) \
X(EnumerateDeviceExtensionProperties) \
X(GetPhysicalDeviceDisplayPropertiesKHR) X(GetDisplayModePropertiesKHR) X(CreateDisplayPlaneSurfaceKHR) \
X(GetPhysicalDeviceSurfaceSupportKHR) X(GetPhysicalDeviceSurfaceCapabilitiesKHR) \
- X(GetPhysicalDeviceSurfacePresentModesKHR)
+ X(GetPhysicalDeviceSurfaceFormatsKHR) X(GetPhysicalDeviceSurfacePresentModesKHR)
#define XC_VK_DEVICE(X) \
- X(GetDeviceQueue) X(DeviceWaitIdle) X(CreateSwapchainKHR) X(GetSwapchainImagesKHR) \
- X(AcquireNextImageKHR) X(QueuePresentKHR) X(CreateSemaphore) X(CreateFence) X(WaitForFences) \
- X(ResetFences) X(CreateCommandPool) X(AllocateCommandBuffers) X(BeginCommandBuffer) X(EndCommandBuffer) \
- X(ResetCommandBuffer) X(QueueSubmit) X(CmdPipelineBarrier2) X(CmdClearColorImage) \
+ X(DestroyDevice) X(GetDeviceQueue) X(DeviceWaitIdle) \
+ X(CreateSwapchainKHR) X(DestroySwapchainKHR) X(GetSwapchainImagesKHR) \
+ X(AcquireNextImageKHR) X(QueuePresentKHR) \
+ X(CreateSemaphore) X(DestroySemaphore) X(CreateFence) X(DestroyFence) X(WaitForFences) X(ResetFences) \
+ X(CreateCommandPool) X(DestroyCommandPool) X(AllocateCommandBuffers) \
+ X(BeginCommandBuffer) X(EndCommandBuffer) X(ResetCommandBuffer) X(QueueSubmit) \
+ X(CmdPipelineBarrier2) X(CmdClearColorImage) \
X(CreateBuffer) X(DestroyBuffer) X(GetBufferMemoryRequirements) X(BindBufferMemory) X(CreateImage) \
X(DestroyImage) X(GetImageMemoryRequirements) X(BindImageMemory) X(AllocateMemory) X(FreeMemory) \
- X(MapMemory) X(CreateImageView) X(DestroyImageView) X(CreateSampler) X(CreateShaderModule) \
- X(CreateDescriptorSetLayout) X(CreatePipelineLayout) X(CreateComputePipelines) \
- X(CreateDescriptorPool) X(AllocateDescriptorSets) X(UpdateDescriptorSets) X(CmdBindPipeline) \
- X(CmdBindDescriptorSets) X(CmdPushConstants) X(CmdDispatch) X(CmdCopyBufferToImage) \
- X(CmdCopyImageToBuffer)
+ X(MapMemory) X(CreateImageView) X(DestroyImageView) X(CreateSampler) X(DestroySampler) \
+ X(CreateShaderModule) X(DestroyShaderModule) \
+ X(CreateDescriptorSetLayout) X(DestroyDescriptorSetLayout) \
+ X(CreatePipelineLayout) X(DestroyPipelineLayout) \
+ X(CreateComputePipelines) X(DestroyPipeline) \
+ X(CreateDescriptorPool) X(DestroyDescriptorPool) X(AllocateDescriptorSets) X(UpdateDescriptorSets) \
+ X(CmdBindPipeline) X(CmdBindDescriptorSets) X(CmdPushConstants) X(CmdDispatch) \
+ X(CmdCopyBufferToImage) X(CmdCopyImageToBuffer)
#define XC_VK_DECLARE(name) PFN_vk##name vk##name = nullptr;
XC_VK_GLOBAL(XC_VK_DECLARE)
@@ -89,6 +102,8 @@ struct Pipeline {
struct State {
bool ready = false;
+ Wsi wsi{};
+ PFN_vkGetInstanceProcAddr getProc = nullptr;
VkInstance instance = VK_NULL_HANDLE;
VkPhysicalDevice physical = VK_NULL_HANDLE;
VkPhysicalDeviceMemoryProperties memory{};
@@ -97,11 +112,14 @@ struct State {
VkQueue queue = VK_NULL_HANDLE;
VkSurfaceKHR surface = VK_NULL_HANDLE;
VkSwapchainKHR swapchain = VK_NULL_HANDLE;
+ VkFormat swapFormat = VK_FORMAT_B8G8R8A8_UNORM;
VkExtent2D extent{3840, 2160};
+ uint32_t boxW = 3840, boxH = 2160; // largest 16:9 box inside extent
uint32_t refreshMilliHz = 60000;
VkImage images[8]{};
VkImageView views[8]{};
uint32_t imageCount = 0;
+ bool needSwapchain = false;
VkCommandPool pool = VK_NULL_HANDLE;
VkCommandBuffer cmd = VK_NULL_HANDLE;
VkSemaphore acquired = VK_NULL_HANDLE, rendered = VK_NULL_HANDLE;
@@ -113,9 +131,10 @@ struct State {
VkSampler nearest = VK_NULL_HANDLE, linear = VK_NULL_HANDLE;
Pipeline yuv, easu, rcas;
// Anime4K x2 (S): four convolutions at the picture's size, then the
- // depth-to-space into the 4K image; in place of EASU when chosen.
+ // depth-to-space into the 2x image (or straight into upscaled when the
+ // display box is already 2x); in place of EASU when chosen.
Pipeline a4kConv[4], a4kD2s;
- VkDescriptorSet a4kConvSets[4]{}, a4kD2sSet = VK_NULL_HANDLE;
+ VkDescriptorSet a4kConvSets[4]{}, a4kD2sSet = VK_NULL_HANDLE, easuA4kSet = VK_NULL_HANDLE;
bool a4kReady = false;
// Anime4K Restore (S): four convolutions that clean compression artefacts
// off the picture before it is upscaled (FSR or Anime4K), in place.
@@ -128,6 +147,7 @@ struct State {
Image luma, chromaU, chromaV, rgb; // the video picture, at its size
Image features[2]; // Anime4K's feature maps, ping-ponged
+ Image a4k; // 2x intermediate when the display box != 2x stream
Image ui, upscaled, overlay;
Buffer staging; // this frame's planes or canvas
Buffer overlayStaging; // the overlay, when it changed
@@ -168,50 +188,129 @@ bool fail(const char* step, VkResult r) {
return false;
}
+void updateBox() {
+ g.boxW = g.extent.width;
+ g.boxH = g.extent.height;
+ if (g.boxW * 9 > g.boxH * 16) g.boxW = std::max(1u, (g.boxH * 16 + 4) / 9);
+ else if (g.boxH * 16 > g.boxW * 9) g.boxH = std::max(1u, (g.boxW * 9 + 8) / 16);
+}
+
// --- device -------------------------------------------------------------------
bool createInstance() {
-#define XC_VK_LOAD_GLOBAL(name) vk##name = reinterpret_cast<PFN_vk##name>(vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vk" #name));
+ g.getProc = g.wsi.getInstanceProcAddr ? reinterpret_cast<PFN_vkGetInstanceProcAddr>(g.wsi.getInstanceProcAddr)
+ : vk_icdGetInstanceProcAddr;
+ if (!g.getProc) {
+ XC_LOGE("gpu: no vkGetInstanceProcAddr");
+ return false;
+ }
+#define XC_VK_LOAD_GLOBAL(name) vk##name = reinterpret_cast<PFN_vk##name>(g.getProc(VK_NULL_HANDLE, "vk" #name));
XC_VK_GLOBAL(XC_VK_LOAD_GLOBAL)
if (!vkCreateInstance || !vkEnumerateInstanceExtensionProperties) {
- XC_LOGE("gpu: the RADV ICD has no vkCreateInstance");
+ XC_LOGE("gpu: no vkCreateInstance");
return false;
}
- VkExtensionProperties ext[64];
- uint32_t n = 64;
- bool display = false;
- if (vkEnumerateInstanceExtensionProperties(nullptr, &n, ext) >= VK_SUCCESS)
- for (uint32_t i = 0; i < n; ++i) display |= std::strcmp(ext[i].extensionName, VK_KHR_DISPLAY_EXTENSION_NAME) == 0;
- if (!display) {
- XC_LOGE("gpu: VK_KHR_display is not reported");
- return false;
+ const char* const ps5Names[] = {VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_DISPLAY_EXTENSION_NAME};
+ const char* const* extNames = ps5Names;
+ uint32_t extCount = 2;
+ if (g.wsi.createSurface) {
+ extNames = g.wsi.extensions;
+ extCount = g.wsi.extensionCount;
+ } else {
+ VkExtensionProperties ext[64];
+ uint32_t n = 64;
+ bool display = false;
+ if (vkEnumerateInstanceExtensionProperties(nullptr, &n, ext) >= VK_SUCCESS)
+ for (uint32_t i = 0; i < n; ++i) display |= std::strcmp(ext[i].extensionName, VK_KHR_DISPLAY_EXTENSION_NAME) == 0;
+ if (!display) {
+ XC_LOGE("gpu: VK_KHR_display is not reported");
+ return false;
+ }
}
- const char* const names[] = {VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_DISPLAY_EXTENSION_NAME};
VkApplicationInfo app{VK_STRUCTURE_TYPE_APPLICATION_INFO};
app.pApplicationName = "PSBox Cloud Gaming";
app.apiVersion = VK_API_VERSION_1_3;
VkInstanceCreateInfo info{VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO};
info.pApplicationInfo = &app;
- info.enabledExtensionCount = 2;
- info.ppEnabledExtensionNames = names;
+ info.enabledExtensionCount = extCount;
+ info.ppEnabledExtensionNames = extNames;
VkResult r = vkCreateInstance(&info, nullptr, &g.instance);
if (r != VK_SUCCESS) return fail("vkCreateInstance", r);
-#define XC_VK_LOAD_INSTANCE(name) vk##name = reinterpret_cast<PFN_vk##name>(vk_icdGetInstanceProcAddr(g.instance, "vk" #name));
+#define XC_VK_LOAD_INSTANCE(name) vk##name = reinterpret_cast<PFN_vk##name>(g.getProc(g.instance, "vk" #name));
XC_VK_INSTANCE(XC_VK_LOAD_INSTANCE)
- return vkEnumeratePhysicalDevices && vkCreateDevice && vkCreateDisplayPlaneSurfaceKHR;
+ if (!vkEnumeratePhysicalDevices || !vkCreateDevice) return false;
+ if (g.wsi.createSurface) {
+ if (!g.wsi.createSurface(g.wsi.user, g.instance, &g.surface) || !g.surface) {
+ XC_LOGE("gpu: window surface creation failed");
+ return false;
+ }
+ return true;
+ }
+ return vkCreateDisplayPlaneSurfaceKHR != nullptr;
}
bool createDevice() {
- uint32_t n = 1;
- VkResult r = vkEnumeratePhysicalDevices(g.instance, &n, &g.physical);
- if ((r != VK_SUCCESS && r != VK_INCOMPLETE) || n == 0) return fail("vkEnumeratePhysicalDevices", r);
+ VkPhysicalDevice devs[8]{};
+ uint32_t devCount = 8;
+ VkResult r = vkEnumeratePhysicalDevices(g.instance, &devCount, devs);
+ if ((r != VK_SUCCESS && r != VK_INCOMPLETE) || devCount == 0) return fail("vkEnumeratePhysicalDevices", r);
+
+ int bestScore = -1;
+ uint32_t bestFamily = UINT32_MAX;
+ for (uint32_t d = 0; d < devCount; ++d) {
+ VkPhysicalDevice dev = devs[d];
+ VkPhysicalDeviceProperties props{};
+ vkGetPhysicalDeviceProperties(dev, &props);
+ if (props.apiVersion < VK_API_VERSION_1_3) continue;
+ VkPhysicalDeviceFeatures supported{};
+ vkGetPhysicalDeviceFeatures(dev, &supported);
+ if (!supported.shaderStorageImageWriteWithoutFormat) continue;
+ static VkExtensionProperties ext[512];
+ uint32_t count = 512;
+ bool hasSwapchain = false;
+ if (vkEnumerateDeviceExtensionProperties(dev, nullptr, &count, ext) >= VK_SUCCESS)
+ for (uint32_t i = 0; i < count; ++i)
+ hasSwapchain |= std::strcmp(ext[i].extensionName, VK_KHR_SWAPCHAIN_EXTENSION_NAME) == 0;
+ if (!hasSwapchain) continue;
+ VkQueueFamilyProperties families[16]{};
+ uint32_t qCount = 16;
+ vkGetPhysicalDeviceQueueFamilyProperties(dev, &qCount, families);
+ uint32_t fam = UINT32_MAX;
+ for (uint32_t i = 0; i < qCount; ++i) {
+ if ((families[i].queueFlags & (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT)) !=
+ (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT))
+ continue;
+ if (g.surface) {
+ VkBool32 surfOk = VK_FALSE;
+ if (vkGetPhysicalDeviceSurfaceSupportKHR(dev, i, g.surface, &surfOk) != VK_SUCCESS || !surfOk) continue;
+ }
+ fam = i;
+ break;
+ }
+ if (fam == UINT32_MAX) continue;
+ int score = props.deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU ? 4
+ : props.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU ? 3
+ : props.deviceType == VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU ? 2
+ : 1;
+ if (score > bestScore) {
+ bestScore = score;
+ g.physical = dev;
+ bestFamily = fam;
+ }
+ }
+ if (!g.physical || bestFamily == UINT32_MAX) {
+ XC_LOGE("gpu: no Vulkan 1.3 graphics+compute device with storage image writes");
+ return false;
+ }
+ g.family = bestFamily;
+
VkPhysicalDeviceProperties props;
vkGetPhysicalDeviceProperties(g.physical, &props);
XC_LOGI("gpu: %s, Vulkan %u.%u.%u", props.deviceName, VK_API_VERSION_MAJOR(props.apiVersion),
VK_API_VERSION_MINOR(props.apiVersion), VK_API_VERSION_PATCH(props.apiVersion));
vkGetPhysicalDeviceMemoryProperties(g.physical, &g.memory);
- VkQueueFamilyProperties families[8];
- n = 8;
+ VkQueueFamilyProperties families[16];
+ uint32_t n = 16;
vkGetPhysicalDeviceQueueFamilyProperties(g.physical, &n, families);
// What the driver offers for hardware video decoding (Vulkan Video).
for (uint32_t i = 0; i < n; ++i)
@@ -233,21 +332,6 @@ bool createDevice() {
XC_LOGI("gpu: %u device extensions; video/present/swapchain/display:%s", count,
video.empty() ? " none" : video.c_str());
}
- g.family = UINT32_MAX;
- for (uint32_t i = 0; i < n && g.family == UINT32_MAX; ++i)
- if ((families[i].queueFlags & (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT)) ==
- (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT))
- g.family = i;
- if (g.family == UINT32_MAX) {
- XC_LOGE("gpu: no graphics queue");
- return false;
- }
- VkPhysicalDeviceFeatures supported;
- vkGetPhysicalDeviceFeatures(g.physical, &supported);
- if (!supported.shaderStorageImageWriteWithoutFormat) {
- XC_LOGE("gpu: no shaderStorageImageWriteWithoutFormat");
- return false;
- }
const float priority = 1.0f;
VkDeviceQueueCreateInfo queue{VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO};
queue.queueFamilyIndex = g.family;
@@ -278,6 +362,12 @@ bool createDevice() {
info.ppEnabledExtensionNames = ext;
info.pEnabledFeatures = &features;
r = vkCreateDevice(g.physical, &info, nullptr, &g.device);
+ if (r != VK_SUCCESS && g.presentWait) {
+ g.presentWait = false;
+ v13.pNext = nullptr;
+ info.enabledExtensionCount = 1;
+ r = vkCreateDevice(g.physical, &info, nullptr, &g.device);
+ }
if (r != VK_SUCCESS) return fail("vkCreateDevice", r);
#define XC_VK_LOAD_DEVICE(name) vk##name = reinterpret_cast<PFN_vk##name>(vkGetDeviceProcAddr(g.device, "vk" #name));
XC_VK_DEVICE(XC_VK_LOAD_DEVICE)
@@ -291,31 +381,21 @@ bool createDevice() {
return true;
}
-bool createSwapchain() {
- VkDisplayPropertiesKHR display;
- uint32_t n = 1;
- VkResult r = vkGetPhysicalDeviceDisplayPropertiesKHR(g.physical, &n, &display);
- if ((r != VK_SUCCESS && r != VK_INCOMPLETE) || n == 0) return fail("vkGetPhysicalDeviceDisplayPropertiesKHR", r);
- VkDisplayModePropertiesKHR modes[4];
- n = 4;
- r = vkGetDisplayModePropertiesKHR(g.physical, display.display, &n, modes);
- if ((r != VK_SUCCESS && r != VK_INCOMPLETE) || n == 0) return fail("vkGetDisplayModePropertiesKHR", r);
- g.extent = display.physicalResolution;
- g.refreshMilliHz = modes[0].parameters.refreshRate;
- XC_LOGI("gpu: display %ux%u at %.3f Hz", g.extent.width, g.extent.height, g.refreshMilliHz / 1000.0);
-
- VkDisplaySurfaceCreateInfoKHR surface{VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR};
- surface.displayMode = modes[0].displayMode;
- surface.transform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR;
- surface.alphaMode = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR;
- surface.imageExtent = g.extent;
- r = vkCreateDisplayPlaneSurfaceKHR(g.instance, &surface, nullptr, &g.surface);
- if (r != VK_SUCCESS) return fail("vkCreateDisplayPlaneSurfaceKHR", r);
- VkBool32 supported = VK_FALSE;
- vkGetPhysicalDeviceSurfaceSupportKHR(g.physical, g.family, g.surface, &supported);
- VkSurfaceCapabilitiesKHR caps;
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR(g.physical, g.surface, &caps);
- {
+bool buildSwapchain(bool first) {
+ VkSurfaceCapabilitiesKHR caps{};
+ if (vkGetPhysicalDeviceSurfaceCapabilitiesKHR(g.physical, g.surface, &caps) != VK_SUCCESS)
+ return fail("vkGetPhysicalDeviceSurfaceCapabilitiesKHR", VK_ERROR_SURFACE_LOST_KHR);
+ if (g.wsi.createSurface) {
+ uint32_t w = caps.currentExtent.width, h = caps.currentExtent.height;
+ if ((w == UINT32_MAX || h == UINT32_MAX || w == 0 || h == 0) && g.wsi.getExtent)
+ g.wsi.getExtent(g.wsi.user, w, h);
+ if (w == UINT32_MAX || h == UINT32_MAX) w = 1600, h = 900;
+ if (w == 0 || h == 0) return false;
+ g.extent.width = std::clamp(w, caps.minImageExtent.width, std::max(caps.minImageExtent.width, caps.maxImageExtent.width));
+ g.extent.height = std::clamp(h, caps.minImageExtent.height, std::max(caps.minImageExtent.height, caps.maxImageExtent.height));
+ }
+ updateBox();
+ if (first) {
VkPresentModeKHR modes[8];
uint32_t count = 8;
vkGetPhysicalDeviceSurfacePresentModesKHR(g.physical, g.surface, &count, modes);
@@ -326,36 +406,69 @@ bool createSwapchain() {
}
const VkImageUsageFlags usage =
VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT;
- if (!supported || (caps.supportedUsageFlags & usage) != usage) {
- XC_LOGE("gpu: the display can't take storage writes (usage 0x%x)", caps.supportedUsageFlags);
+ if ((caps.supportedUsageFlags & usage) != usage) {
+ XC_LOGE("gpu: the surface can't take storage writes (usage 0x%x)", caps.supportedUsageFlags);
return false;
}
-
+ g.swapFormat = VK_FORMAT_B8G8R8A8_UNORM;
+ VkColorSpaceKHR colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR;
+ if (vkGetPhysicalDeviceSurfaceFormatsKHR) {
+ VkSurfaceFormatKHR formats[32]{};
+ uint32_t fcount = 32;
+ if (vkGetPhysicalDeviceSurfaceFormatsKHR(g.physical, g.surface, &fcount, formats) >= VK_SUCCESS && fcount > 0) {
+ bool found = false;
+ for (uint32_t i = 0; i < fcount; ++i) {
+ if (formats[i].format == VK_FORMAT_B8G8R8A8_UNORM || formats[i].format == VK_FORMAT_R8G8B8A8_UNORM) {
+ g.swapFormat = formats[i].format;
+ colorSpace = formats[i].colorSpace;
+ found = true;
+ if (formats[i].format == VK_FORMAT_B8G8R8A8_UNORM) break;
+ }
+ }
+ if (!found) {
+ XC_LOGE("gpu: surface offers neither BGRA8 nor RGBA8 UNORM");
+ return false;
+ }
+ }
+ }
+ uint32_t minImages = std::max(caps.minImageCount, g_swapImages);
+ if (caps.maxImageCount > 0 && minImages > caps.maxImageCount) minImages = caps.maxImageCount;
+ VkCompositeAlphaFlagBitsKHR alpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR;
+ for (VkCompositeAlphaFlagBitsKHR a :
+ {VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR, VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR,
+ VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR, VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR}) {
+ if (caps.supportedCompositeAlpha & a) {
+ alpha = a;
+ break;
+ }
+ }
VkSwapchainCreateInfoKHR info{VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR};
info.surface = g.surface;
// Two images: one on the screen, one being drawn. With three, FIFO kept
// two finished frames queued and the one shown was ~33 ms old.
- info.minImageCount = std::max(caps.minImageCount, g_swapImages);
- info.imageFormat = VK_FORMAT_B8G8R8A8_UNORM;
- info.imageColorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR;
+ info.minImageCount = minImages;
+ info.imageFormat = g.swapFormat;
+ info.imageColorSpace = colorSpace;
info.imageExtent = g.extent;
info.imageArrayLayers = 1;
info.imageUsage = usage;
info.imageSharingMode = VK_SHARING_MODE_EXCLUSIVE;
- info.preTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR;
- info.compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR;
+ info.preTransform = (caps.supportedTransforms & VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR)
+ ? VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
+ : caps.currentTransform;
+ info.compositeAlpha = alpha;
info.presentMode = VK_PRESENT_MODE_FIFO_KHR;
info.clipped = VK_TRUE;
- r = vkCreateSwapchainKHR(g.device, &info, nullptr, &g.swapchain);
+ VkResult r = vkCreateSwapchainKHR(g.device, &info, nullptr, &g.swapchain);
if (r != VK_SUCCESS) return fail("vkCreateSwapchainKHR", r);
g.imageCount = 8;
r = vkGetSwapchainImagesKHR(g.device, g.swapchain, &g.imageCount, g.images);
- if (r != VK_SUCCESS) return fail("vkGetSwapchainImagesKHR", r);
+ if (r != VK_SUCCESS && r != VK_INCOMPLETE) return fail("vkGetSwapchainImagesKHR", r);
for (uint32_t i = 0; i < g.imageCount; ++i) {
VkImageViewCreateInfo view{VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO};
view.image = g.images[i];
view.viewType = VK_IMAGE_VIEW_TYPE_2D;
- view.format = VK_FORMAT_B8G8R8A8_UNORM;
+ view.format = g.swapFormat;
view.subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
r = vkCreateImageView(g.device, &view, nullptr, &g.views[i]);
if (r != VK_SUCCESS) return fail("swapchain image view", r);
@@ -363,6 +476,39 @@ bool createSwapchain() {
return true;
}
+bool createSwapchain() {
+ if (!g.wsi.createSurface) {
+ VkDisplayPropertiesKHR display;
+ uint32_t n = 1;
+ VkResult r = vkGetPhysicalDeviceDisplayPropertiesKHR(g.physical, &n, &display);
+ if ((r != VK_SUCCESS && r != VK_INCOMPLETE) || n == 0) return fail("vkGetPhysicalDeviceDisplayPropertiesKHR", r);
+ VkDisplayModePropertiesKHR modes[4];
+ n = 4;
+ r = vkGetDisplayModePropertiesKHR(g.physical, display.display, &n, modes);
+ if ((r != VK_SUCCESS && r != VK_INCOMPLETE) || n == 0) return fail("vkGetDisplayModePropertiesKHR", r);
+ g.extent = display.physicalResolution;
+ g.refreshMilliHz = modes[0].parameters.refreshRate;
+ XC_LOGI("gpu: display %ux%u at %.3f Hz", g.extent.width, g.extent.height, g.refreshMilliHz / 1000.0);
+
+ VkDisplaySurfaceCreateInfoKHR surface{VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR};
+ surface.displayMode = modes[0].displayMode;
+ surface.transform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR;
+ surface.alphaMode = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR;
+ surface.imageExtent = g.extent;
+ r = vkCreateDisplayPlaneSurfaceKHR(g.instance, &surface, nullptr, &g.surface);
+ if (r != VK_SUCCESS) return fail("vkCreateDisplayPlaneSurfaceKHR", r);
+ }
+ VkBool32 supported = VK_FALSE;
+ vkGetPhysicalDeviceSurfaceSupportKHR(g.physical, g.family, g.surface, &supported);
+ if (!supported) {
+ XC_LOGE("gpu: queue family %u does not support surface presentation", g.family);
+ return false;
+ }
+ if (!buildSwapchain(true)) return false;
+ if (g.wsi.createSurface) XC_LOGI("gpu: window swapchain %ux%u (16:9 box %ux%u)", g.extent.width, g.extent.height, g.boxW, g.boxH);
+ return true;
+}
+
bool createCommands() {
VkCommandPoolCreateInfo pool{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO};
pool.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT;
@@ -406,7 +552,11 @@ bool createBuffer(Buffer& b, size_t size, VkBufferUsageFlags usage) {
if (vkCreateBuffer(g.device, &info, nullptr, &b.buffer) != VK_SUCCESS) return false;
VkMemoryRequirements req;
vkGetBufferMemoryRequirements(g.device, b.buffer, &req);
- if (!allocate(req, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, b.memory)) return false;
+ const VkMemoryPropertyFlags host = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
+ if (!((usage & VK_BUFFER_USAGE_TRANSFER_DST_BIT) &&
+ allocate(req, host | VK_MEMORY_PROPERTY_HOST_CACHED_BIT, b.memory)) &&
+ !allocate(req, host, b.memory))
+ return false;
vkBindBufferMemory(g.device, b.buffer, b.memory, 0);
void* map = nullptr;
if (vkMapMemory(g.device, b.memory, 0, VK_WHOLE_SIZE, 0, &map) != VK_SUCCESS) return false;
@@ -449,6 +599,19 @@ void destroyImage(Image& img) {
img = Image{};
}
+void destroyBuffer(Buffer& b) {
+ if (b.buffer) vkDestroyBuffer(g.device, b.buffer, nullptr);
+ if (b.memory) vkFreeMemory(g.device, b.memory, nullptr);
+ b = Buffer{};
+}
+
+void destroyPipeline(Pipeline& p) {
+ if (p.pipeline) vkDestroyPipeline(g.device, p.pipeline, nullptr);
+ if (p.layout) vkDestroyPipelineLayout(g.device, p.layout, nullptr);
+ if (p.setLayout) vkDestroyDescriptorSetLayout(g.device, p.setLayout, nullptr);
+ p = Pipeline{};
+}
+
bool createPipeline(Pipeline& p, const uint32_t* code, size_t bytes, const VkDescriptorSetLayoutBinding* bindings,
uint32_t bindingCount, uint32_t pushBytes) {
VkDescriptorSetLayoutCreateInfo set{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO};
@@ -465,7 +628,7 @@ bool createPipeline(Pipeline& p, const uint32_t* code, size_t bytes, const VkDes
VkShaderModuleCreateInfo module{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO};
module.codeSize = bytes;
module.pCode = code;
- VkShaderModule shader;
+ VkShaderModule shader = VK_NULL_HANDLE;
if (vkCreateShaderModule(g.device, &module, nullptr, &shader) != VK_SUCCESS) return false;
VkComputePipelineCreateInfo info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO};
info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO};
@@ -473,7 +636,9 @@ bool createPipeline(Pipeline& p, const uint32_t* code, size_t bytes, const VkDes
info.stage.module = shader;
info.stage.pName = "main";
info.layout = p.layout;
- return vkCreateComputePipelines(g.device, VK_NULL_HANDLE, 1, &info, nullptr, &p.pipeline) == VK_SUCCESS;
+ VkResult r = vkCreateComputePipelines(g.device, VK_NULL_HANDLE, 1, &info, nullptr, &p.pipeline);
+ if (vkDestroyShaderModule) vkDestroyShaderModule(g.device, shader, nullptr);
+ return r == VK_SUCCESS;
}
VkDescriptorSetLayoutBinding binding(uint32_t index, VkDescriptorType type) {
@@ -512,6 +677,23 @@ void writeStorage(VkDescriptorSet set, uint32_t index, VkImageView view) {
vkUpdateDescriptorSets(g.device, 1, &w, 0, nullptr);
}
+void bindSwapchainSets() {
+ writeStorage(g.easuUiSet, 1, g.upscaled.view);
+ writeStorage(g.easuVideoSet, 1, g.upscaled.view);
+ if (g.a4kReady) {
+ writeStorage(g.easuA4kSet, 1, g.upscaled.view);
+ if (g.a4k.view) {
+ bool direct = (g.rgb.w * 2 == g.boxW && g.rgb.h * 2 == g.boxH);
+ writeStorage(g.a4kD2sSet, 2, direct ? g.upscaled.view : g.a4k.view);
+ }
+ }
+ for (uint32_t i = 0; i < g.imageCount; ++i) {
+ writeStorage(g.rcasSets[i], 0, g.upscaled.view);
+ writeSampled(g.rcasSets[i], 1, g.overlay.view, g.linear);
+ writeStorage(g.rcasSets[i], 2, g.views[i]);
+ }
+}
+
bool createPipelines() {
VkSamplerCreateInfo s{VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO};
s.addressModeU = s.addressModeV = s.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE;
@@ -548,19 +730,20 @@ bool createPipelines() {
g.restoreReady = createPipeline(g.restoreConv[i], rcode[i], rbytes[i], conv, 2, 0);
if (g.a4kReady && !g.restoreReady) XC_LOGW("gpu: no Anime4K Restore pipelines");
}
- const VkDescriptorPoolSize sizes[] = {{sampled, 32}, {storage, 32}};
+ const VkDescriptorPoolSize sizes[] = {{sampled, 40}, {storage, 40}};
VkDescriptorPoolCreateInfo pool{VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO};
- pool.maxSets = 24;
+ pool.maxSets = 32;
pool.poolSizeCount = 2;
pool.pPoolSizes = sizes;
if (vkCreateDescriptorPool(g.device, &pool, nullptr, &g.descriptors) != VK_SUCCESS) return false;
g.yuvSet = allocateSet(g.yuv);
g.easuVideoSet = allocateSet(g.easu);
g.easuUiSet = allocateSet(g.easu);
- for (uint32_t i = 0; i < g.imageCount; ++i) g.rcasSets[i] = allocateSet(g.rcas);
+ for (uint32_t i = 0; i < 8; ++i) g.rcasSets[i] = allocateSet(g.rcas);
if (g.a4kReady) {
for (int i = 0; i < 4; ++i) g.a4kConvSets[i] = allocateSet(g.a4kConv[i]);
g.a4kD2sSet = allocateSet(g.a4kD2s);
+ g.easuA4kSet = allocateSet(g.easu);
}
if (g.restoreReady)
for (int i = 0; i < 4; ++i) g.restoreSets[i] = allocateSet(g.restoreConv[i]);
@@ -569,7 +752,7 @@ bool createPipelines() {
const VkImageUsageFlags upload = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_SAMPLED_BIT;
if (!createImage(g.ui, VK_FORMAT_R8G8B8A8_UNORM, kUiW, kUiH, upload) ||
!createImage(g.overlay, VK_FORMAT_R8G8B8A8_UNORM, kUiW, kUiH, upload) ||
- !createImage(g.upscaled, VK_FORMAT_R8G8B8A8_UNORM, g.extent.width, g.extent.height,
+ !createImage(g.upscaled, VK_FORMAT_R8G8B8A8_UNORM, g.boxW, g.boxH,
VK_IMAGE_USAGE_STORAGE_BIT) ||
!createBuffer(g.staging, kUiW * kUiH * 4, VK_BUFFER_USAGE_TRANSFER_SRC_BIT) ||
!createBuffer(g.overlayStaging, kUiW * kUiH * 4, VK_BUFFER_USAGE_TRANSFER_SRC_BIT)) {
@@ -577,18 +760,43 @@ bool createPipelines() {
return false;
}
writeSampled(g.easuUiSet, 0, g.ui.view, g.linear);
- writeStorage(g.easuUiSet, 1, g.upscaled.view);
- writeStorage(g.easuVideoSet, 1, g.upscaled.view);
- for (uint32_t i = 0; i < g.imageCount; ++i) {
- writeStorage(g.rcasSets[i], 0, g.upscaled.view);
- writeSampled(g.rcasSets[i], 1, g.overlay.view, g.linear);
- writeStorage(g.rcasSets[i], 2, g.views[i]);
- }
+ bindSwapchainSets();
std::memset(g.overlayStaging.map, 0, g.overlayStaging.size);
g_overlayDirty = true; // the first frame clears the overlay image
return true;
}
+bool recreateSwapchain() {
+ if (!g.wsi.createSurface) return false;
+ uint32_t w = 0, h = 0;
+ if (g.wsi.getExtent) {
+ g.wsi.getExtent(g.wsi.user, w, h);
+ if (w == 0 || h == 0) return false;
+ }
+ vkDeviceWaitIdle(g.device);
+ g.fencePending = false;
+ g.frameOpen = false;
+ g.lastPresented = UINT32_MAX;
+ g.presented = 0;
+ g_shownId = 0;
+ g.needSwapchain = false;
+ for (uint32_t i = 0; i < g.imageCount; ++i) {
+ if (g.views[i]) vkDestroyImageView(g.device, g.views[i], nullptr);
+ g.views[i] = VK_NULL_HANDLE;
+ }
+ g.imageCount = 0;
+ if (g.swapchain) {
+ vkDestroySwapchainKHR(g.device, g.swapchain, nullptr);
+ g.swapchain = VK_NULL_HANDLE;
+ }
+ destroyImage(g.upscaled);
+ destroyBuffer(g.readback);
+ if (!buildSwapchain(false)) return false;
+ if (!createImage(g.upscaled, VK_FORMAT_R8G8B8A8_UNORM, g.boxW, g.boxH, VK_IMAGE_USAGE_STORAGE_BIT)) return false;
+ bindSwapchainSets();
+ return true;
+}
+
// The video's images, at the picture's size (made again when it changes).
bool videoImages(uint32_t w, uint32_t h) {
if (g.luma.w == w && g.luma.h == h) return true;
@@ -599,6 +807,7 @@ bool videoImages(uint32_t w, uint32_t h) {
destroyImage(g.rgb);
destroyImage(g.features[0]);
destroyImage(g.features[1]);
+ destroyImage(g.a4k);
const VkImageUsageFlags upload = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_SAMPLED_BIT;
uint32_t cw = (w + 1) / 2, ch = (h + 1) / 2;
if (!createImage(g.luma, VK_FORMAT_R8_UNORM, w, h, upload) ||
@@ -615,11 +824,13 @@ bool videoImages(uint32_t w, uint32_t h) {
writeSampled(g.easuVideoSet, 0, g.rgb.view, g.linear);
if (g.a4kReady) {
if (!createImage(g.features[0], VK_FORMAT_R16G16B16A16_SFLOAT, w, h, VK_IMAGE_USAGE_STORAGE_BIT) ||
- !createImage(g.features[1], VK_FORMAT_R16G16B16A16_SFLOAT, w, h, VK_IMAGE_USAGE_STORAGE_BIT)) {
+ !createImage(g.features[1], VK_FORMAT_R16G16B16A16_SFLOAT, w, h, VK_IMAGE_USAGE_STORAGE_BIT) ||
+ !createImage(g.a4k, VK_FORMAT_R8G8B8A8_UNORM, w * 2, h * 2,
+ VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_SAMPLED_BIT)) {
XC_LOGW("gpu: no Anime4K feature maps; FSR only");
g.a4kReady = false;
} else {
- // picture -> f0 -> f1 -> f0 -> f1 -> 4K
+ // picture -> f0 -> f1 -> f0 -> f1 -> 2x (direct into upscaled when 2x == box, else g.a4k -> EASU)
const VkImageView in[4] = {g.rgb.view, g.features[0].view, g.features[1].view, g.features[0].view};
const VkImageView out[4] = {g.features[0].view, g.features[1].view, g.features[0].view,
g.features[1].view};
@@ -627,9 +838,12 @@ bool videoImages(uint32_t w, uint32_t h) {
writeStorage(g.a4kConvSets[i], 0, in[i]);
writeStorage(g.a4kConvSets[i], 1, out[i]);
}
+ bool direct = (w * 2 == g.boxW && h * 2 == g.boxH);
writeStorage(g.a4kD2sSet, 0, g.features[1].view);
writeSampled(g.a4kD2sSet, 1, g.rgb.view, g.linear);
- writeStorage(g.a4kD2sSet, 2, g.upscaled.view);
+ writeStorage(g.a4kD2sSet, 2, direct ? g.upscaled.view : g.a4k.view);
+ writeSampled(g.easuA4kSet, 0, g.a4k.view, g.linear);
+ writeStorage(g.easuA4kSet, 1, g.upscaled.view);
if (g.restoreReady) {
// picture -> f0 -> f1 -> f0 -> (+ picture) -> picture
const VkImageView rin[4] = {g.rgb.view, g.features[0].view, g.features[1].view, g.features[0].view};
@@ -702,6 +916,13 @@ bool beginFrame(bool wait) {
g.fencePending = false;
}
if (g.frameOpen) return true; // drawn twice without a present: draw over it
+ if (g.wsi.getExtent) {
+ uint32_t w = 0, h = 0;
+ g.wsi.getExtent(g.wsi.user, w, h);
+ if (w == 0 || h == 0) return false;
+ if (w != g.extent.width || h != g.extent.height) g.needSwapchain = true;
+ }
+ if (g.needSwapchain && !recreateSwapchain()) return false;
if (g.presentWait && g.presented) {
if (!g_noPresentWait) {
// The frame before on the screen first (at most 50 ms, then go on).
@@ -722,7 +943,13 @@ bool beginFrame(bool wait) {
uint64_t t0 = platform::nowUs();
VkResult r = vkAcquireNextImageKHR(g.device, g.swapchain, wait ? UINT64_MAX : 0, g.acquired, VK_NULL_HANDLE,
&g.frameIndex);
+ if (r == VK_ERROR_OUT_OF_DATE_KHR && g.wsi.createSurface) {
+ if (!recreateSwapchain()) return false;
+ r = vkAcquireNextImageKHR(g.device, g.swapchain, wait ? UINT64_MAX : 0, g.acquired, VK_NULL_HANDLE,
+ &g.frameIndex);
+ }
if (r == VK_NOT_READY || r == VK_TIMEOUT) return false;
+ if (r == VK_SUBOPTIMAL_KHR) g.needSwapchain = true;
uint64_t waited = platform::nowUs() - t0;
g_acquireWaitUs += waited;
g_acquireWaitMaxUs = std::max(g_acquireWaitMaxUs, waited);
@@ -756,10 +983,11 @@ void recordRestore(uint32_t w, uint32_t h) {
}
}
-// Anime4K x2 into `upscaled`; false (nothing recorded) when it doesn't fit:
-// only the video, and only a picture of exactly half the display.
-bool recordAnime4K(uint32_t w, uint32_t h) {
- if (!g.a4kReady || w * 2 != g.extent.width || h * 2 != g.extent.height || g.features[0].w != w) return false;
+// Anime4K x2 into `upscaled` when the 16:9 display box is 2x the stream, else
+// into `g.a4k` (2*w x 2*h) so EASU scales that 2x image to the display box.
+bool recordAnime4K(uint32_t w, uint32_t h, bool& direct) {
+ if (!g.a4kReady || g.features[0].w != w || g.features[0].h != h || g.a4k.w != w * 2) return false;
+ direct = (w * 2 == g.boxW && h * 2 == g.boxH);
barrier(g.features[0].image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
barrier(g.features[1].image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
for (int i = 0; i < 4; ++i) {
@@ -769,28 +997,35 @@ bool recordAnime4K(uint32_t w, uint32_t h) {
vkCmdDispatch(g.cmd, (w + 7) / 8, (h + 7) / 8, 1);
memoryBarrier();
}
- barrier(g.upscaled.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
+ barrier(direct ? g.upscaled.image : g.a4k.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
vkCmdBindPipeline(g.cmd, VK_PIPELINE_BIND_POINT_COMPUTE, g.a4kD2s.pipeline);
vkCmdBindDescriptorSets(g.cmd, VK_PIPELINE_BIND_POINT_COMPUTE, g.a4kD2s.layout, 0, 1, &g.a4kD2sSet, 0, nullptr);
- vkCmdDispatch(g.cmd, (g.extent.width + 7) / 8, (g.extent.height + 7) / 8, 1);
+ vkCmdDispatch(g.cmd, (w * 2 + 7) / 8, (h * 2 + 7) / 8, 1);
memoryBarrier();
return true;
}
void recordUpscale(VkDescriptorSet easuSet, uint32_t w, uint32_t h, int sharpness, bool overlay, bool ai = false) {
- // EASU constants (FsrEasuCon), the picture filling the display.
- float ow = static_cast<float>(g.extent.width), oh = static_cast<float>(g.extent.height);
- float iw = static_cast<float>(w), ih = static_cast<float>(h);
- uint32_t easu[16] = {asBits(iw / ow), asBits(ih / oh), asBits(0.5f * iw / ow - 0.5f), asBits(0.5f * ih / oh - 0.5f),
- asBits(1.0f / iw), asBits(1.0f / ih), asBits(1.0f / iw), asBits(-1.0f / ih),
- asBits(-1.0f / iw), asBits(2.0f / ih), asBits(1.0f / iw), asBits(2.0f / ih),
- asBits(0.0f / iw), asBits(4.0f / ih), 0, 0};
- if (!ai || !recordAnime4K(w, h)) {
+ bool direct = false;
+ if (ai && recordAnime4K(w, h, direct)) {
+ if (!direct) {
+ easuSet = g.easuA4kSet;
+ w *= 2, h *= 2;
+ }
+ }
+ if (!direct) {
+ // EASU constants (FsrEasuCon), the picture filling the 16:9 display box.
+ float ow = static_cast<float>(g.boxW), oh = static_cast<float>(g.boxH);
+ float iw = static_cast<float>(w), ih = static_cast<float>(h);
+ uint32_t easu[16] = {asBits(iw / ow), asBits(ih / oh), asBits(0.5f * iw / ow - 0.5f), asBits(0.5f * ih / oh - 0.5f),
+ asBits(1.0f / iw), asBits(1.0f / ih), asBits(1.0f / iw), asBits(-1.0f / ih),
+ asBits(-1.0f / iw), asBits(2.0f / ih), asBits(1.0f / iw), asBits(2.0f / ih),
+ asBits(0.0f / iw), asBits(4.0f / ih), 0, 0};
barrier(g.upscaled.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
vkCmdBindPipeline(g.cmd, VK_PIPELINE_BIND_POINT_COMPUTE, g.easu.pipeline);
vkCmdBindDescriptorSets(g.cmd, VK_PIPELINE_BIND_POINT_COMPUTE, g.easu.layout, 0, 1, &easuSet, 0, nullptr);
vkCmdPushConstants(g.cmd, g.easu.layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof easu, easu);
- vkCmdDispatch(g.cmd, (g.extent.width + 7) / 8, (g.extent.height + 7) / 8, 1);
+ vkCmdDispatch(g.cmd, (g.boxW + 7) / 8, (g.boxH + 7) / 8, 1);
memoryBarrier();
}
@@ -823,16 +1058,52 @@ void recordOverlay(bool& shown) {
} // namespace
-bool init() {
+bool init(const Wsi& wsi) {
if (g.ready) return true;
+ g.wsi = wsi;
uint64_t t0 = platform::nowMs();
- if (!createInstance() || !createDevice() || !createSwapchain() || !createCommands() || !createPipelines())
+ if (!createInstance() || !createDevice() || !createSwapchain() || !createCommands() || !createPipelines()) {
+ shutdown();
return false;
+ }
g.ready = true;
XC_LOGI("gpu: ready in %llu ms", static_cast<unsigned long long>(platform::nowMs() - t0));
return true;
}
+void shutdown() {
+ if (g.device) {
+ if (vkDeviceWaitIdle) vkDeviceWaitIdle(g.device);
+ for (Image* img : {&g.luma, &g.chromaU, &g.chromaV, &g.rgb, &g.features[0], &g.features[1], &g.a4k, &g.ui,
+ &g.upscaled, &g.overlay})
+ destroyImage(*img);
+ for (Buffer* buf : {&g.staging, &g.overlayStaging, &g.readback}) destroyBuffer(*buf);
+ if (g.descriptors && vkDestroyDescriptorPool) vkDestroyDescriptorPool(g.device, g.descriptors, nullptr);
+ for (Pipeline* p : {&g.yuv, &g.easu, &g.rcas, &g.a4kD2s}) destroyPipeline(*p);
+ for (int i = 0; i < 4; ++i) {
+ destroyPipeline(g.a4kConv[i]);
+ destroyPipeline(g.restoreConv[i]);
+ }
+ if (g.nearest && vkDestroySampler) vkDestroySampler(g.device, g.nearest, nullptr);
+ if (g.linear && vkDestroySampler) vkDestroySampler(g.device, g.linear, nullptr);
+ if (g.acquired && vkDestroySemaphore) vkDestroySemaphore(g.device, g.acquired, nullptr);
+ if (g.rendered && vkDestroySemaphore) vkDestroySemaphore(g.device, g.rendered, nullptr);
+ if (g.fence && vkDestroyFence) vkDestroyFence(g.device, g.fence, nullptr);
+ if (g.pool && vkDestroyCommandPool) vkDestroyCommandPool(g.device, g.pool, nullptr);
+ for (uint32_t i = 0; i < g.imageCount; ++i)
+ if (g.views[i] && vkDestroyImageView) vkDestroyImageView(g.device, g.views[i], nullptr);
+ if (g.swapchain && vkDestroySwapchainKHR) vkDestroySwapchainKHR(g.device, g.swapchain, nullptr);
+ if (vkDestroyDevice) vkDestroyDevice(g.device, nullptr);
+ }
+ if (g.instance) {
+ if (g.surface && vkDestroySurfaceKHR) vkDestroySurfaceKHR(g.instance, g.surface, nullptr);
+ if (vkDestroyInstance) vkDestroyInstance(g.instance, nullptr);
+ }
+ g = State{};
+ g_shownId = 0, g_shownAtUs = 0;
+ g_acquires = g_acquireWaitUs = g_acquireWaitMaxUs = 0;
+}
+
bool ready() { return g.ready; }
bool drawYuv420(const uint8_t* y, const uint8_t* u, const uint8_t* v, int strideY, int strideU, int strideV,
@@ -913,9 +1184,14 @@ void present() {
present.pSwapchains = &g.swapchain;
present.pImageIndices = &g.frameIndex;
r = vkQueuePresentKHR(g.queue, &present);
- if (r != VK_SUCCESS && r != VK_SUBOPTIMAL_KHR) fail("vkQueuePresentKHR", r);
+ if (r == VK_ERROR_OUT_OF_DATE_KHR || r == VK_SUBOPTIMAL_KHR) g.needSwapchain = true;
+ else if (r != VK_SUCCESS) fail("vkQueuePresentKHR", r);
g.lastPresented = g.frameIndex;
g.presented = id;
+ if (!g.presentWait) {
+ g_shownAtUs = platform::nowUs();
+ g_shownId = id;
+ }
}
void setOverlay(const uint32_t* pixels, int x, int y, int w, int h, uint8_t opacity) {
@@ -975,8 +1251,10 @@ bool readBack(std::vector<uint8_t>& rgb, int& width, int& height) {
vkWaitForFences(g.device, 1, &g.fence, VK_TRUE, UINT64_MAX);
g.fencePending = false;
}
- size_t bytes = static_cast<size_t>(g.extent.width) * g.extent.height * 4;
- if (!g.readback.buffer && !createBuffer(g.readback, bytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT)) return false;
+ size_t bytes = static_cast<size_t>(g.boxW) * g.boxH * 4;
+ if ((!g.readback.buffer || g.readback.size < bytes) &&
+ (destroyBuffer(g.readback), !createBuffer(g.readback, bytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT)))
+ return false;
VkCommandBufferBeginInfo begin{VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO};
begin.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT;
vkResetCommandBuffer(g.cmd, 0);
@@ -985,7 +1263,9 @@ bool readBack(std::vector<uint8_t>& rgb, int& width, int& height) {
barrier(image, VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, VK_IMAGE_LAYOUT_GENERAL);
VkBufferImageCopy copy{};
copy.imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1};
- copy.imageExtent = {g.extent.width, g.extent.height, 1};
+ copy.imageOffset = {static_cast<int32_t>((g.extent.width - g.boxW) / 2),
+ static_cast<int32_t>((g.extent.height - g.boxH) / 2), 0};
+ copy.imageExtent = {g.boxW, g.boxH, 1};
vkCmdCopyImageToBuffer(g.cmd, image, VK_IMAGE_LAYOUT_GENERAL, g.readback.buffer, 1, &copy);
barrier(image, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_PRESENT_SRC_KHR);
vkEndCommandBuffer(g.cmd);
@@ -995,14 +1275,15 @@ bool readBack(std::vector<uint8_t>& rgb, int& width, int& height) {
vkResetFences(g.device, 1, &g.fence);
if (vkQueueSubmit(g.queue, 1, &submit, g.fence) != VK_SUCCESS) return false;
vkWaitForFences(g.device, 1, &g.fence, VK_TRUE, UINT64_MAX);
- width = static_cast<int>(g.extent.width);
- height = static_cast<int>(g.extent.height);
+ width = static_cast<int>(g.boxW);
+ height = static_cast<int>(g.boxH);
rgb.resize(static_cast<size_t>(width) * height * 3);
- const uint8_t* p = g.readback.map; // B, G, R, A
+ const uint8_t* p = g.readback.map;
+ const bool bgra = g.swapFormat == VK_FORMAT_B8G8R8A8_UNORM;
for (size_t i = 0, n = static_cast<size_t>(width) * height; i < n; ++i) {
- rgb[i * 3] = p[i * 4 + 2];
+ rgb[i * 3] = p[i * 4 + (bgra ? 2 : 0)];
rgb[i * 3 + 1] = p[i * 4 + 1];
- rgb[i * 3 + 2] = p[i * 4];
+ rgb[i * 3 + 2] = p[i * 4 + (bgra ? 0 : 2)];
}
return true;
}
@@ -1033,3 +1314,5 @@ void probe(int frames) {
}
} // namespace xc::display::gpu
+
+#pragma GCC diagnostic pop
diff --git a/src/display/gpu.h b/src/display/gpu.h
index 8d48191..b9e45cc 100644
--- a/src/display/gpu.h
+++ b/src/display/gpu.h
@@ -14,10 +14,22 @@
namespace xc::display::gpu {
+// Window-system hooks for a desktop window (SDL_Vulkan_*). Empty on the PS5,
+// where RADV's vk_icdGetInstanceProcAddr and VK_KHR_display are used directly.
+struct Wsi {
+ void* getInstanceProcAddr = nullptr; // PFN_vkGetInstanceProcAddr
+ const char* const* extensions = nullptr;
+ uint32_t extensionCount = 0;
+ bool (*createSurface)(void* user, void* instance, void* surfaceOut) = nullptr;
+ void (*getExtent)(void* user, uint32_t& width, uint32_t& height) = nullptr;
+ void* user = nullptr;
+};
+
// Instance, device, display surface, swapchain and the FSR pipelines. False,
-// with the step that failed in the log, when the console won't give them:
-// the CPU display is used instead.
-bool init();
+// with the step that failed in the log, when the console or desktop driver
+// won't give them: the fallback display is used instead.
+bool init(const Wsi& wsi = {});
+void shutdown();
bool ready();
// Bring-up check: `frames` frames cleared to changing colours and presented,
diff --git a/src/display/shaders/rcas.comp b/src/display/shaders/rcas.comp
index b5b751f..51d193a 100644
--- a/src/display/shaders/rcas.comp
+++ b/src/display/shaders/rcas.comp
@@ -29,14 +29,20 @@ void main() {
ivec2 p = ivec2(gl_GlobalInvocationID.xy);
ivec2 size = imageSize(target);
if (p.x >= size.x || p.y >= size.y) return;
+ ivec2 box = imageSize(upscaled);
+ ivec2 q = p - (size - box) / 2;
+ if (q.x < 0 || q.y < 0 || q.x >= box.x || q.y >= box.y) {
+ imageStore(target, p, vec4(0.0, 0.0, 0.0, 1.0));
+ return;
+ }
vec3 color;
if (pc.sharpen != 0u) {
- FsrRcasF(color.r, color.g, color.b, uvec2(p), pc.con);
+ FsrRcasF(color.r, color.g, color.b, uvec2(q), pc.con);
} else {
- color = imageLoad(upscaled, p).rgb;
+ color = imageLoad(upscaled, q).rgb;
}
if (pc.overlayOpacity > 0.0) {
- vec4 o = texture(overlayTex, (vec2(p) + 0.5) / vec2(size));
+ vec4 o = texture(overlayTex, (vec2(q) + 0.5) / vec2(box));
color = mix(color, o.rgb, o.a * pc.overlayOpacity);
}
imageStore(target, p, vec4(color, 1.0));
diff --git a/src/display/shaders/rcas.spv.h b/src/display/shaders/rcas.spv.h
index d29204f..08257b0 100644
--- a/src/display/shaders/rcas.spv.h
+++ b/src/display/shaders/rcas.spv.h
@@ -1,10 +1,10 @@
// 1116.2.0
#pragma once
const uint32_t kShader_rcas[] = {
- 0x07230203,0x00010600,0x0008000b,0x000002f7,0x00000000,0x00020011,0x00000001,0x00020011,
+ 0x07230203,0x00010600,0x0008000b,0x00000324,0x00000000,0x00020011,0x00000001,0x00020011,
0x00000032,0x00020011,0x00000038,0x0006000b,0x00000001,0x4c534c47,0x6474732e,0x3035342e,
0x00000000,0x0003000e,0x00000000,0x00000001,0x000a000f,0x00000005,0x00000004,0x6e69616d,
- 0x00000000,0x0000007b,0x00000290,0x00000297,0x000002af,0x000002d9,0x00060010,0x00000004,
+ 0x00000000,0x0000007b,0x00000290,0x00000297,0x000002dd,0x00000306,0x00060010,0x00000004,
0x00000011,0x00000008,0x00000008,0x00000001,0x00030003,0x00000002,0x000001c2,0x000a0004,
0x475f4c47,0x4c474f4f,0x70635f45,0x74735f70,0x5f656c79,0x656e696c,0x7269645f,0x69746365,
0x00006576,0x00080004,0x475f4c47,0x4c474f4f,0x6e695f45,0x64756c63,0x69645f65,0x74636572,
@@ -94,502 +94,531 @@ const uint32_t kShader_rcas[] = {
0x61726170,0x0000006d,0x00040005,0x00000251,0x61726170,0x0000006d,0x00030005,0x0000028d,
0x00000070,0x00080005,0x00000290,0x475f6c67,0x61626f6c,0x766e496c,0x7461636f,0x496e6f69,
0x00000044,0x00040005,0x00000294,0x657a6973,0x00000000,0x00040005,0x00000297,0x67726174,
- 0x00007465,0x00050005,0x000002ad,0x736e6f43,0x746e6174,0x00000073,0x00040006,0x000002ad,
- 0x00000000,0x006e6f63,0x00050006,0x000002ad,0x00000001,0x72616873,0x006e6570,0x00070006,
- 0x000002ad,0x00000002,0x7265766f,0x4f79616c,0x69636170,0x00007974,0x00030005,0x000002af,
- 0x00006370,0x00040005,0x000002b6,0x6f6c6f63,0x00000072,0x00040005,0x000002b9,0x61726170,
- 0x0000006d,0x00040005,0x000002ba,0x61726170,0x0000006d,0x00040005,0x000002bb,0x61726170,
- 0x0000006d,0x00040005,0x000002bc,0x61726170,0x0000006d,0x00040005,0x000002bd,0x61726170,
- 0x0000006d,0x00030005,0x000002d5,0x0000006f,0x00050005,0x000002d9,0x7265766f,0x5479616c,
- 0x00007865,0x00030047,0x0000007b,0x00000018,0x00040047,0x0000007b,0x00000021,0x00000000,
- 0x00040047,0x0000007b,0x00000022,0x00000000,0x00040047,0x00000290,0x0000000b,0x0000001c,
- 0x00030047,0x00000297,0x00000019,0x00040047,0x00000297,0x00000021,0x00000002,0x00040047,
- 0x00000297,0x00000022,0x00000000,0x00030047,0x000002ad,0x00000002,0x00050048,0x000002ad,
- 0x00000000,0x00000023,0x00000000,0x00050048,0x000002ad,0x00000001,0x00000023,0x00000010,
- 0x00050048,0x000002ad,0x00000002,0x00000023,0x00000014,0x00040047,0x000002d9,0x00000021,
- 0x00000001,0x00040047,0x000002d9,0x00000022,0x00000000,0x00020013,0x00000002,0x00030021,
- 0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040020,0x00000007,0x00000007,
- 0x00000006,0x00040021,0x00000008,0x00000006,0x00000007,0x00040015,0x0000000c,0x00000020,
- 0x00000000,0x00040020,0x0000000d,0x00000007,0x0000000c,0x00040021,0x0000000e,0x0000000c,
- 0x0000000d,0x00060021,0x00000012,0x00000006,0x00000007,0x00000007,0x00000007,0x00040015,
- 0x00000026,0x00000020,0x00000001,0x00040017,0x00000027,0x00000026,0x00000002,0x00040020,
- 0x00000028,0x00000007,0x00000027,0x00040017,0x00000029,0x00000006,0x00000004,0x00040021,
- 0x0000002a,0x00000029,0x00000028,0x00060021,0x0000002e,0x00000002,0x00000007,0x00000007,
- 0x00000007,0x00040017,0x00000034,0x0000000c,0x00000002,0x00040020,0x00000035,0x00000007,
- 0x00000034,0x00040017,0x00000036,0x0000000c,0x00000004,0x00040020,0x00000037,0x00000007,
- 0x00000036,0x00080021,0x00000038,0x00000002,0x00000007,0x00000007,0x00000007,0x00000035,
- 0x00000037,0x0004002b,0x00000006,0x00000054,0x3f800000,0x0004002b,0x00000006,0x0000005c,
- 0x00000000,0x0004002b,0x0000000c,0x00000065,0x7ef19fff,0x0004002b,0x00000006,0x00000071,
- 0x40000000,0x00090019,0x00000079,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,
- 0x00000002,0x00000004,0x00040020,0x0000007a,0x00000000,0x00000079,0x0004003b,0x0000007a,
- 0x0000007b,0x00000000,0x0004002b,0x00000026,0x00000080,0x00000000,0x0005002c,0x00000027,
- 0x00000081,0x00000080,0x00000080,0x0004002b,0x00000026,0x00000083,0x00000001,0x00040017,
- 0x0000008d,0x00000006,0x00000003,0x00040020,0x0000008e,0x00000007,0x0000008d,0x0004002b,
- 0x00000026,0x00000091,0xffffffff,0x0005002c,0x00000027,0x00000092,0x00000080,0x00000091,
- 0x0005002c,0x00000027,0x00000099,0x00000091,0x00000080,0x0005002c,0x00000027,0x000000a5,
- 0x00000083,0x00000080,0x0005002c,0x00000027,0x000000ac,0x00000080,0x00000083,0x0004002b,
- 0x0000000c,0x000000b2,0x00000000,0x0004002b,0x0000000c,0x000000b6,0x00000001,0x0004002b,
- 0x0000000c,0x000000ba,0x00000002,0x0004002b,0x00000006,0x00000115,0x3f000000,0x0004002b,
- 0x00000006,0x00000151,0x3e800000,0x0004002b,0x00000006,0x00000189,0xbf000000,0x00040017,
- 0x000001cd,0x00000006,0x00000002,0x00040020,0x000001ce,0x00000007,0x000001cd,0x0004002b,
- 0x00000006,0x000001d0,0xc0800000,0x0005002c,0x000001cd,0x000001d1,0x00000054,0x000001d0,
- 0x0004002b,0x00000006,0x000001d6,0x40800000,0x0004002b,0x00000006,0x00000237,0xbe400000,
- 0x00040017,0x0000028e,0x0000000c,0x00000003,0x00040020,0x0000028f,0x00000001,0x0000028e,
- 0x0004003b,0x0000028f,0x00000290,0x00000001,0x00090019,0x00000295,0x00000006,0x00000001,
- 0x00000000,0x00000000,0x00000000,0x00000002,0x00000000,0x00040020,0x00000296,0x00000000,
- 0x00000295,0x0004003b,0x00000296,0x00000297,0x00000000,0x00020014,0x0000029a,0x00040020,
- 0x0000029b,0x00000007,0x00000026,0x0005001e,0x000002ad,0x00000036,0x0000000c,0x00000006,
- 0x00040020,0x000002ae,0x00000009,0x000002ad,0x0004003b,0x000002ae,0x000002af,0x00000009,
- 0x00040020,0x000002b0,0x00000009,0x0000000c,0x00040020,0x000002be,0x00000009,0x00000036,
- 0x0004002b,0x00000026,0x000002cd,0x00000002,0x00040020,0x000002ce,0x00000009,0x00000006,
- 0x00040020,0x000002d4,0x00000007,0x00000029,0x00090019,0x000002d6,0x00000006,0x00000001,
- 0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x000002d7,0x000002d6,
- 0x00040020,0x000002d8,0x00000000,0x000002d7,0x0004003b,0x000002d8,0x000002d9,0x00000000,
- 0x0004002b,0x0000000c,0x000002e6,0x00000003,0x0004002b,0x0000000c,0x000002f5,0x00000008,
- 0x0006002c,0x0000028e,0x000002f6,0x000002f5,0x000002f5,0x000000b6,0x00050036,0x00000002,
- 0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000028,0x0000028d,
- 0x00000007,0x0004003b,0x00000028,0x00000294,0x00000007,0x0004003b,0x0000008e,0x000002b6,
- 0x00000007,0x0004003b,0x00000007,0x000002b9,0x00000007,0x0004003b,0x00000007,0x000002ba,
- 0x00000007,0x0004003b,0x00000007,0x000002bb,0x00000007,0x0004003b,0x00000035,0x000002bc,
- 0x00000007,0x0004003b,0x00000037,0x000002bd,0x00000007,0x0004003b,0x000002d4,0x000002d5,
- 0x00000007,0x0004003d,0x0000028e,0x00000291,0x00000290,0x0007004f,0x00000034,0x00000292,
- 0x00000291,0x00000291,0x00000000,0x00000001,0x0004007c,0x00000027,0x00000293,0x00000292,
- 0x0003003e,0x0000028d,0x00000293,0x0004003d,0x00000295,0x00000298,0x00000297,0x00040068,
- 0x00000027,0x00000299,0x00000298,0x0003003e,0x00000294,0x00000299,0x00050041,0x0000029b,
- 0x0000029c,0x0000028d,0x000000b2,0x0004003d,0x00000026,0x0000029d,0x0000029c,0x00050041,
- 0x0000029b,0x0000029e,0x00000294,0x000000b2,0x0004003d,0x00000026,0x0000029f,0x0000029e,
- 0x000500af,0x0000029a,0x000002a0,0x0000029d,0x0000029f,0x000400a8,0x0000029a,0x000002a1,
- 0x000002a0,0x000300f7,0x000002a3,0x00000000,0x000400fa,0x000002a1,0x000002a2,0x000002a3,
- 0x000200f8,0x000002a2,0x00050041,0x0000029b,0x000002a4,0x0000028d,0x000000b6,0x0004003d,
- 0x00000026,0x000002a5,0x000002a4,0x00050041,0x0000029b,0x000002a6,0x00000294,0x000000b6,
- 0x0004003d,0x00000026,0x000002a7,0x000002a6,0x000500af,0x0000029a,0x000002a8,0x000002a5,
- 0x000002a7,0x000200f9,0x000002a3,0x000200f8,0x000002a3,0x000700f5,0x0000029a,0x000002a9,
- 0x000002a0,0x00000005,0x000002a8,0x000002a2,0x000300f7,0x000002ab,0x00000000,0x000400fa,
- 0x000002a9,0x000002aa,0x000002ab,0x000200f8,0x000002aa,0x000100fd,0x000200f8,0x000002ab,
- 0x00050041,0x000002b0,0x000002b1,0x000002af,0x00000083,0x0004003d,0x0000000c,0x000002b2,
- 0x000002b1,0x000500ab,0x0000029a,0x000002b3,0x000002b2,0x000000b2,0x000300f7,0x000002b5,
- 0x00000000,0x000400fa,0x000002b3,0x000002b4,0x000002c8,0x000200f8,0x000002b4,0x0004003d,
- 0x00000027,0x000002b7,0x0000028d,0x0004007c,0x00000034,0x000002b8,0x000002b7,0x0003003e,
- 0x000002bc,0x000002b8,0x00050041,0x000002be,0x000002bf,0x000002af,0x00000080,0x0004003d,
- 0x00000036,0x000002c0,0x000002bf,0x0003003e,0x000002bd,0x000002c0,0x00090039,0x00000002,
- 0x000002c1,0x0000003e,0x000002b9,0x000002ba,0x000002bb,0x000002bc,0x000002bd,0x0004003d,
- 0x00000006,0x000002c2,0x000002b9,0x00050041,0x00000007,0x000002c3,0x000002b6,0x000000b2,
- 0x0003003e,0x000002c3,0x000002c2,0x0004003d,0x00000006,0x000002c4,0x000002ba,0x00050041,
- 0x00000007,0x000002c5,0x000002b6,0x000000b6,0x0003003e,0x000002c5,0x000002c4,0x0004003d,
- 0x00000006,0x000002c6,0x000002bb,0x00050041,0x00000007,0x000002c7,0x000002b6,0x000000ba,
- 0x0003003e,0x000002c7,0x000002c6,0x000200f9,0x000002b5,0x000200f8,0x000002c8,0x0004003d,
- 0x00000079,0x000002c9,0x0000007b,0x0004003d,0x00000027,0x000002ca,0x0000028d,0x00050062,
- 0x00000029,0x000002cb,0x000002c9,0x000002ca,0x0008004f,0x0000008d,0x000002cc,0x000002cb,
- 0x000002cb,0x00000000,0x00000001,0x00000002,0x0003003e,0x000002b6,0x000002cc,0x000200f9,
- 0x000002b5,0x000200f8,0x000002b5,0x00050041,0x000002ce,0x000002cf,0x000002af,0x000002cd,
- 0x0004003d,0x00000006,0x000002d0,0x000002cf,0x000500ba,0x0000029a,0x000002d1,0x000002d0,
- 0x0000005c,0x000300f7,0x000002d3,0x00000000,0x000400fa,0x000002d1,0x000002d2,0x000002d3,
- 0x000200f8,0x000002d2,0x0004003d,0x000002d7,0x000002da,0x000002d9,0x0004003d,0x00000027,
- 0x000002db,0x0000028d,0x0004006f,0x000001cd,0x000002dc,0x000002db,0x00050050,0x000001cd,
- 0x000002dd,0x00000115,0x00000115,0x00050081,0x000001cd,0x000002de,0x000002dc,0x000002dd,
- 0x0004003d,0x00000027,0x000002df,0x00000294,0x0004006f,0x000001cd,0x000002e0,0x000002df,
- 0x00050088,0x000001cd,0x000002e1,0x000002de,0x000002e0,0x00070058,0x00000029,0x000002e2,
- 0x000002da,0x000002e1,0x00000002,0x0000005c,0x0003003e,0x000002d5,0x000002e2,0x0004003d,
- 0x0000008d,0x000002e3,0x000002b6,0x0004003d,0x00000029,0x000002e4,0x000002d5,0x0008004f,
- 0x0000008d,0x000002e5,0x000002e4,0x000002e4,0x00000000,0x00000001,0x00000002,0x00050041,
- 0x00000007,0x000002e7,0x000002d5,0x000002e6,0x0004003d,0x00000006,0x000002e8,0x000002e7,
- 0x00050041,0x000002ce,0x000002e9,0x000002af,0x000002cd,0x0004003d,0x00000006,0x000002ea,
- 0x000002e9,0x00050085,0x00000006,0x000002eb,0x000002e8,0x000002ea,0x00060050,0x0000008d,
- 0x000002ec,0x000002eb,0x000002eb,0x000002eb,0x0008000c,0x0000008d,0x000002ed,0x00000001,
- 0x0000002e,0x000002e3,0x000002e5,0x000002ec,0x0003003e,0x000002b6,0x000002ed,0x000200f9,
- 0x000002d3,0x000200f8,0x000002d3,0x0004003d,0x00000295,0x000002ee,0x00000297,0x0004003d,
- 0x00000027,0x000002ef,0x0000028d,0x0004003d,0x0000008d,0x000002f0,0x000002b6,0x00050051,
- 0x00000006,0x000002f1,0x000002f0,0x00000000,0x00050051,0x00000006,0x000002f2,0x000002f0,
- 0x00000001,0x00050051,0x00000006,0x000002f3,0x000002f0,0x00000002,0x00070050,0x00000029,
- 0x000002f4,0x000002f1,0x000002f2,0x000002f3,0x00000054,0x00040063,0x000002ee,0x000002ef,
- 0x000002f4,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000a,0x00000000,0x00000008,
- 0x00030037,0x00000007,0x00000009,0x000200f8,0x0000000b,0x0004003d,0x00000006,0x00000040,
- 0x00000009,0x000200fe,0x00000040,0x00010038,0x00050036,0x0000000c,0x00000010,0x00000000,
- 0x0000000e,0x00030037,0x0000000d,0x0000000f,0x000200f8,0x00000011,0x0004003d,0x0000000c,
- 0x00000043,0x0000000f,0x000200fe,0x00000043,0x00010038,0x00050036,0x00000006,0x00000016,
- 0x00000000,0x00000012,0x00030037,0x00000007,0x00000013,0x00030037,0x00000007,0x00000014,
- 0x00030037,0x00000007,0x00000015,0x000200f8,0x00000017,0x0004003d,0x00000006,0x00000046,
- 0x00000013,0x0004003d,0x00000006,0x00000047,0x00000014,0x0004003d,0x00000006,0x00000048,
- 0x00000015,0x0007000c,0x00000006,0x00000049,0x00000001,0x00000028,0x00000047,0x00000048,
- 0x0007000c,0x00000006,0x0000004a,0x00000001,0x00000028,0x00000046,0x00000049,0x000200fe,
- 0x0000004a,0x00010038,0x00050036,0x00000006,0x0000001b,0x00000000,0x00000012,0x00030037,
- 0x00000007,0x00000018,0x00030037,0x00000007,0x00000019,0x00030037,0x00000007,0x0000001a,
- 0x000200f8,0x0000001c,0x0004003d,0x00000006,0x0000004d,0x00000018,0x0004003d,0x00000006,
- 0x0000004e,0x00000019,0x0004003d,0x00000006,0x0000004f,0x0000001a,0x0007000c,0x00000006,
- 0x00000050,0x00000001,0x00000025,0x0000004e,0x0000004f,0x0007000c,0x00000006,0x00000051,
- 0x00000001,0x00000025,0x0000004d,0x00000050,0x000200fe,0x00000051,0x00010038,0x00050036,
- 0x00000006,0x0000001e,0x00000000,0x00000008,0x00030037,0x00000007,0x0000001d,0x000200f8,
- 0x0000001f,0x0004003b,0x00000007,0x00000055,0x00000007,0x0003003e,0x00000055,0x00000054,
- 0x00050039,0x00000006,0x00000056,0x0000000a,0x00000055,0x0004003d,0x00000006,0x00000057,
- 0x0000001d,0x00050088,0x00000006,0x00000058,0x00000056,0x00000057,0x000200fe,0x00000058,
- 0x00010038,0x00050036,0x00000006,0x00000021,0x00000000,0x00000008,0x00030037,0x00000007,
- 0x00000020,0x000200f8,0x00000022,0x0004003b,0x00000007,0x0000005d,0x00000007,0x0004003b,
- 0x00000007,0x0000005f,0x00000007,0x0004003d,0x00000006,0x0000005b,0x00000020,0x0003003e,
- 0x0000005d,0x0000005c,0x00050039,0x00000006,0x0000005e,0x0000000a,0x0000005d,0x0003003e,
- 0x0000005f,0x00000054,0x00050039,0x00000006,0x00000060,0x0000000a,0x0000005f,0x0008000c,
- 0x00000006,0x00000061,0x00000001,0x0000002b,0x0000005b,0x0000005e,0x00000060,0x000200fe,
- 0x00000061,0x00010038,0x00050036,0x00000006,0x00000024,0x00000000,0x00000008,0x00030037,
- 0x00000007,0x00000023,0x000200f8,0x00000025,0x0004003b,0x00000007,0x00000064,0x00000007,
- 0x0004003b,0x0000000d,0x00000066,0x00000007,0x0004003b,0x00000007,0x00000072,0x00000007,
- 0x0003003e,0x00000066,0x00000065,0x00050039,0x0000000c,0x00000067,0x00000010,0x00000066,
- 0x0004003d,0x00000006,0x00000068,0x00000023,0x0004007c,0x0000000c,0x00000069,0x00000068,
- 0x00050082,0x0000000c,0x0000006a,0x00000067,0x00000069,0x0004007c,0x00000006,0x0000006b,
- 0x0000006a,0x0003003e,0x00000064,0x0000006b,0x0004003d,0x00000006,0x0000006c,0x00000064,
- 0x0004003d,0x00000006,0x0000006d,0x00000064,0x0004007f,0x00000006,0x0000006e,0x0000006d,
- 0x0004003d,0x00000006,0x0000006f,0x00000023,0x00050085,0x00000006,0x00000070,0x0000006e,
- 0x0000006f,0x0003003e,0x00000072,0x00000071,0x00050039,0x00000006,0x00000073,0x0000000a,
- 0x00000072,0x00050081,0x00000006,0x00000074,0x00000070,0x00000073,0x00050085,0x00000006,
- 0x00000075,0x0000006c,0x00000074,0x000200fe,0x00000075,0x00010038,0x00050036,0x00000029,
- 0x0000002c,0x00000000,0x0000002a,0x00030037,0x00000028,0x0000002b,0x000200f8,0x0000002d,
- 0x0004003b,0x00000028,0x00000078,0x00000007,0x0004003d,0x00000079,0x0000007c,0x0000007b,
- 0x00040068,0x00000027,0x0000007d,0x0000007c,0x0003003e,0x00000078,0x0000007d,0x0004003d,
- 0x00000079,0x0000007e,0x0000007b,0x0004003d,0x00000027,0x0000007f,0x0000002b,0x0004003d,
- 0x00000027,0x00000082,0x00000078,0x00050050,0x00000027,0x00000084,0x00000083,0x00000083,
- 0x00050082,0x00000027,0x00000085,0x00000082,0x00000084,0x0008000c,0x00000027,0x00000086,
- 0x00000001,0x0000002d,0x0000007f,0x00000081,0x00000085,0x00050062,0x00000029,0x00000087,
- 0x0000007e,0x00000086,0x000200fe,0x00000087,0x00010038,0x00050036,0x00000002,0x00000032,
- 0x00000000,0x0000002e,0x00030037,0x00000007,0x0000002f,0x00030037,0x00000007,0x00000030,
- 0x00030037,0x00000007,0x00000031,0x000200f8,0x00000033,0x000100fd,0x00010038,0x00050036,
- 0x00000002,0x0000003e,0x00000000,0x00000038,0x00030037,0x00000007,0x00000039,0x00030037,
- 0x00000007,0x0000003a,0x00030037,0x00000007,0x0000003b,0x00030037,0x00000035,0x0000003c,
- 0x00030037,0x00000037,0x0000003d,0x000200f8,0x0000003f,0x0004003b,0x00000028,0x0000008a,
- 0x00000007,0x0004003b,0x0000008e,0x0000008f,0x00000007,0x0004003b,0x00000028,0x00000094,
- 0x00000007,0x0004003b,0x0000008e,0x00000097,0x00000007,0x0004003b,0x00000028,0x0000009b,
- 0x00000007,0x0004003b,0x0000008e,0x0000009e,0x00000007,0x0004003b,0x00000028,0x0000009f,
- 0x00000007,0x0004003b,0x0000008e,0x000000a3,0x00000007,0x0004003b,0x00000028,0x000000a7,
- 0x00000007,0x0004003b,0x0000008e,0x000000aa,0x00000007,0x0004003b,0x00000028,0x000000ae,
- 0x00000007,0x0004003b,0x00000007,0x000000b1,0x00000007,0x0004003b,0x00000007,0x000000b5,
- 0x00000007,0x0004003b,0x00000007,0x000000b9,0x00000007,0x0004003b,0x00000007,0x000000bd,
- 0x00000007,0x0004003b,0x00000007,0x000000c0,0x00000007,0x0004003b,0x00000007,0x000000c3,
- 0x00000007,0x0004003b,0x00000007,0x000000c6,0x00000007,0x0004003b,0x00000007,0x000000c9,
- 0x00000007,0x0004003b,0x00000007,0x000000cc,0x00000007,0x0004003b,0x00000007,0x000000cf,
- 0x00000007,0x0004003b,0x00000007,0x000000d2,0x00000007,0x0004003b,0x00000007,0x000000d5,
- 0x00000007,0x0004003b,0x00000007,0x000000d8,0x00000007,0x0004003b,0x00000007,0x000000db,
- 0x00000007,0x0004003b,0x00000007,0x000000de,0x00000007,0x0004003b,0x00000007,0x000000e1,
- 0x00000007,0x0004003b,0x00000007,0x000000e3,0x00000007,0x0004003b,0x00000007,0x000000e5,
- 0x00000007,0x0004003b,0x00000007,0x000000eb,0x00000007,0x0004003b,0x00000007,0x000000ed,
- 0x00000007,0x0004003b,0x00000007,0x000000ef,0x00000007,0x0004003b,0x00000007,0x000000f5,
- 0x00000007,0x0004003b,0x00000007,0x000000f7,0x00000007,0x0004003b,0x00000007,0x000000f9,
- 0x00000007,0x0004003b,0x00000007,0x000000ff,0x00000007,0x0004003b,0x00000007,0x00000101,
- 0x00000007,0x0004003b,0x00000007,0x00000103,0x00000007,0x0004003b,0x00000007,0x00000109,
- 0x00000007,0x0004003b,0x00000007,0x0000010b,0x00000007,0x0004003b,0x00000007,0x0000010d,
- 0x00000007,0x0004003b,0x00000007,0x00000113,0x00000007,0x0004003b,0x00000007,0x00000116,
- 0x00000007,0x0004003b,0x00000007,0x0000011a,0x00000007,0x0004003b,0x00000007,0x00000120,
- 0x00000007,0x0004003b,0x00000007,0x00000122,0x00000007,0x0004003b,0x00000007,0x00000126,
- 0x00000007,0x0004003b,0x00000007,0x0000012c,0x00000007,0x0004003b,0x00000007,0x0000012e,
- 0x00000007,0x0004003b,0x00000007,0x00000132,0x00000007,0x0004003b,0x00000007,0x00000138,
- 0x00000007,0x0004003b,0x00000007,0x0000013a,0x00000007,0x0004003b,0x00000007,0x0000013e,
- 0x00000007,0x0004003b,0x00000007,0x00000144,0x00000007,0x0004003b,0x00000007,0x00000146,
- 0x00000007,0x0004003b,0x00000007,0x0000014a,0x00000007,0x0004003b,0x00000007,0x00000150,
- 0x00000007,0x0004003b,0x00000007,0x00000152,0x00000007,0x0004003b,0x00000007,0x00000156,
- 0x00000007,0x0004003b,0x00000007,0x0000015b,0x00000007,0x0004003b,0x00000007,0x00000160,
- 0x00000007,0x0004003b,0x00000007,0x00000169,0x00000007,0x0004003b,0x00000007,0x0000016b,
- 0x00000007,0x0004003b,0x00000007,0x0000016d,0x00000007,0x0004003b,0x00000007,0x00000170,
- 0x00000007,0x0004003b,0x00000007,0x00000171,0x00000007,0x0004003b,0x00000007,0x00000173,
- 0x00000007,0x0004003b,0x00000007,0x00000176,0x00000007,0x0004003b,0x00000007,0x00000178,
- 0x00000007,0x0004003b,0x00000007,0x0000017a,0x00000007,0x0004003b,0x00000007,0x0000017d,
- 0x00000007,0x0004003b,0x00000007,0x0000017e,0x00000007,0x0004003b,0x00000007,0x00000180,
- 0x00000007,0x0004003b,0x00000007,0x00000184,0x00000007,0x0004003b,0x00000007,0x00000187,
- 0x00000007,0x0004003b,0x00000007,0x0000018a,0x00000007,0x0004003b,0x00000007,0x0000018e,
- 0x00000007,0x0004003b,0x00000007,0x00000191,0x00000007,0x0004003b,0x00000007,0x00000192,
- 0x00000007,0x0004003b,0x00000007,0x00000194,0x00000007,0x0004003b,0x00000007,0x00000196,
- 0x00000007,0x0004003b,0x00000007,0x0000019b,0x00000007,0x0004003b,0x00000007,0x0000019c,
- 0x00000007,0x0004003b,0x00000007,0x0000019e,0x00000007,0x0004003b,0x00000007,0x000001a0,
- 0x00000007,0x0004003b,0x00000007,0x000001a5,0x00000007,0x0004003b,0x00000007,0x000001a6,
- 0x00000007,0x0004003b,0x00000007,0x000001a8,0x00000007,0x0004003b,0x00000007,0x000001aa,
- 0x00000007,0x0004003b,0x00000007,0x000001af,0x00000007,0x0004003b,0x00000007,0x000001b0,
- 0x00000007,0x0004003b,0x00000007,0x000001b2,0x00000007,0x0004003b,0x00000007,0x000001b4,
- 0x00000007,0x0004003b,0x00000007,0x000001b9,0x00000007,0x0004003b,0x00000007,0x000001ba,
- 0x00000007,0x0004003b,0x00000007,0x000001bc,0x00000007,0x0004003b,0x00000007,0x000001be,
- 0x00000007,0x0004003b,0x00000007,0x000001c3,0x00000007,0x0004003b,0x00000007,0x000001c4,
- 0x00000007,0x0004003b,0x00000007,0x000001c6,0x00000007,0x0004003b,0x00000007,0x000001c8,
- 0x00000007,0x0004003b,0x000001ce,0x000001cf,0x00000007,0x0004003b,0x00000007,0x000001d2,
- 0x00000007,0x0004003b,0x00000007,0x000001d7,0x00000007,0x0004003b,0x00000007,0x000001db,
- 0x00000007,0x0004003b,0x00000007,0x000001de,0x00000007,0x0004003b,0x00000007,0x000001e2,
- 0x00000007,0x0004003b,0x00000007,0x000001e6,0x00000007,0x0004003b,0x00000007,0x000001e9,
- 0x00000007,0x0004003b,0x00000007,0x000001ed,0x00000007,0x0004003b,0x00000007,0x000001f1,
- 0x00000007,0x0004003b,0x00000007,0x000001f4,0x00000007,0x0004003b,0x00000007,0x000001fb,
- 0x00000007,0x0004003b,0x00000007,0x00000202,0x00000007,0x0004003b,0x00000007,0x00000205,
- 0x00000007,0x0004003b,0x00000007,0x0000020c,0x00000007,0x0004003b,0x00000007,0x00000213,
- 0x00000007,0x0004003b,0x00000007,0x00000216,0x00000007,0x0004003b,0x00000007,0x0000021d,
- 0x00000007,0x0004003b,0x00000007,0x00000224,0x00000007,0x0004003b,0x00000007,0x00000227,
- 0x00000007,0x0004003b,0x00000007,0x0000022c,0x00000007,0x0004003b,0x00000007,0x00000231,
- 0x00000007,0x0004003b,0x00000007,0x00000236,0x00000007,0x0004003b,0x00000007,0x00000238,
- 0x00000007,0x0004003b,0x00000007,0x0000023a,0x00000007,0x0004003b,0x00000007,0x0000023c,
- 0x00000007,0x0004003b,0x00000007,0x0000023e,0x00000007,0x0004003b,0x00000007,0x00000241,
- 0x00000007,0x0004003b,0x00000007,0x00000249,0x00000007,0x0004003b,0x00000007,0x0000024a,
- 0x00000007,0x0004003b,0x00000007,0x0000024e,0x00000007,0x0004003b,0x00000007,0x00000251,
- 0x00000007,0x0004003d,0x00000034,0x0000008b,0x0000003c,0x0004007c,0x00000027,0x0000008c,
- 0x0000008b,0x0003003e,0x0000008a,0x0000008c,0x0004003d,0x00000027,0x00000090,0x0000008a,
- 0x00050080,0x00000027,0x00000093,0x00000090,0x00000092,0x0003003e,0x00000094,0x00000093,
- 0x00050039,0x00000029,0x00000095,0x0000002c,0x00000094,0x0008004f,0x0000008d,0x00000096,
- 0x00000095,0x00000095,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000008f,0x00000096,
- 0x0004003d,0x00000027,0x00000098,0x0000008a,0x00050080,0x00000027,0x0000009a,0x00000098,
- 0x00000099,0x0003003e,0x0000009b,0x0000009a,0x00050039,0x00000029,0x0000009c,0x0000002c,
- 0x0000009b,0x0008004f,0x0000008d,0x0000009d,0x0000009c,0x0000009c,0x00000000,0x00000001,
- 0x00000002,0x0003003e,0x00000097,0x0000009d,0x0004003d,0x00000027,0x000000a0,0x0000008a,
- 0x0003003e,0x0000009f,0x000000a0,0x00050039,0x00000029,0x000000a1,0x0000002c,0x0000009f,
- 0x0008004f,0x0000008d,0x000000a2,0x000000a1,0x000000a1,0x00000000,0x00000001,0x00000002,
- 0x0003003e,0x0000009e,0x000000a2,0x0004003d,0x00000027,0x000000a4,0x0000008a,0x00050080,
- 0x00000027,0x000000a6,0x000000a4,0x000000a5,0x0003003e,0x000000a7,0x000000a6,0x00050039,
- 0x00000029,0x000000a8,0x0000002c,0x000000a7,0x0008004f,0x0000008d,0x000000a9,0x000000a8,
- 0x000000a8,0x00000000,0x00000001,0x00000002,0x0003003e,0x000000a3,0x000000a9,0x0004003d,
- 0x00000027,0x000000ab,0x0000008a,0x00050080,0x00000027,0x000000ad,0x000000ab,0x000000ac,
- 0x0003003e,0x000000ae,0x000000ad,0x00050039,0x00000029,0x000000af,0x0000002c,0x000000ae,
- 0x0008004f,0x0000008d,0x000000b0,0x000000af,0x000000af,0x00000000,0x00000001,0x00000002,
- 0x0003003e,0x000000aa,0x000000b0,0x00050041,0x00000007,0x000000b3,0x0000008f,0x000000b2,
- 0x0004003d,0x00000006,0x000000b4,0x000000b3,0x0003003e,0x000000b1,0x000000b4,0x00050041,
- 0x00000007,0x000000b7,0x0000008f,0x000000b6,0x0004003d,0x00000006,0x000000b8,0x000000b7,
- 0x0003003e,0x000000b5,0x000000b8,0x00050041,0x00000007,0x000000bb,0x0000008f,0x000000ba,
- 0x0004003d,0x00000006,0x000000bc,0x000000bb,0x0003003e,0x000000b9,0x000000bc,0x00050041,
- 0x00000007,0x000000be,0x00000097,0x000000b2,0x0004003d,0x00000006,0x000000bf,0x000000be,
- 0x0003003e,0x000000bd,0x000000bf,0x00050041,0x00000007,0x000000c1,0x00000097,0x000000b6,
- 0x0004003d,0x00000006,0x000000c2,0x000000c1,0x0003003e,0x000000c0,0x000000c2,0x00050041,
- 0x00000007,0x000000c4,0x00000097,0x000000ba,0x0004003d,0x00000006,0x000000c5,0x000000c4,
- 0x0003003e,0x000000c3,0x000000c5,0x00050041,0x00000007,0x000000c7,0x0000009e,0x000000b2,
- 0x0004003d,0x00000006,0x000000c8,0x000000c7,0x0003003e,0x000000c6,0x000000c8,0x00050041,
- 0x00000007,0x000000ca,0x0000009e,0x000000b6,0x0004003d,0x00000006,0x000000cb,0x000000ca,
- 0x0003003e,0x000000c9,0x000000cb,0x00050041,0x00000007,0x000000cd,0x0000009e,0x000000ba,
- 0x0004003d,0x00000006,0x000000ce,0x000000cd,0x0003003e,0x000000cc,0x000000ce,0x00050041,
- 0x00000007,0x000000d0,0x000000a3,0x000000b2,0x0004003d,0x00000006,0x000000d1,0x000000d0,
- 0x0003003e,0x000000cf,0x000000d1,0x00050041,0x00000007,0x000000d3,0x000000a3,0x000000b6,
- 0x0004003d,0x00000006,0x000000d4,0x000000d3,0x0003003e,0x000000d2,0x000000d4,0x00050041,
- 0x00000007,0x000000d6,0x000000a3,0x000000ba,0x0004003d,0x00000006,0x000000d7,0x000000d6,
- 0x0003003e,0x000000d5,0x000000d7,0x00050041,0x00000007,0x000000d9,0x000000aa,0x000000b2,
- 0x0004003d,0x00000006,0x000000da,0x000000d9,0x0003003e,0x000000d8,0x000000da,0x00050041,
- 0x00000007,0x000000dc,0x000000aa,0x000000b6,0x0004003d,0x00000006,0x000000dd,0x000000dc,
- 0x0003003e,0x000000db,0x000000dd,0x00050041,0x00000007,0x000000df,0x000000aa,0x000000ba,
- 0x0004003d,0x00000006,0x000000e0,0x000000df,0x0003003e,0x000000de,0x000000e0,0x0004003d,
- 0x00000006,0x000000e2,0x000000b1,0x0003003e,0x000000e1,0x000000e2,0x0004003d,0x00000006,
- 0x000000e4,0x000000b5,0x0003003e,0x000000e3,0x000000e4,0x0004003d,0x00000006,0x000000e6,
- 0x000000b9,0x0003003e,0x000000e5,0x000000e6,0x00070039,0x00000002,0x000000e7,0x00000032,
- 0x000000e1,0x000000e3,0x000000e5,0x0004003d,0x00000006,0x000000e8,0x000000e1,0x0003003e,
- 0x000000b1,0x000000e8,0x0004003d,0x00000006,0x000000e9,0x000000e3,0x0003003e,0x000000b5,
- 0x000000e9,0x0004003d,0x00000006,0x000000ea,0x000000e5,0x0003003e,0x000000b9,0x000000ea,
- 0x0004003d,0x00000006,0x000000ec,0x000000bd,0x0003003e,0x000000eb,0x000000ec,0x0004003d,
- 0x00000006,0x000000ee,0x000000c0,0x0003003e,0x000000ed,0x000000ee,0x0004003d,0x00000006,
- 0x000000f0,0x000000c3,0x0003003e,0x000000ef,0x000000f0,0x00070039,0x00000002,0x000000f1,
- 0x00000032,0x000000eb,0x000000ed,0x000000ef,0x0004003d,0x00000006,0x000000f2,0x000000eb,
- 0x0003003e,0x000000bd,0x000000f2,0x0004003d,0x00000006,0x000000f3,0x000000ed,0x0003003e,
- 0x000000c0,0x000000f3,0x0004003d,0x00000006,0x000000f4,0x000000ef,0x0003003e,0x000000c3,
- 0x000000f4,0x0004003d,0x00000006,0x000000f6,0x000000c6,0x0003003e,0x000000f5,0x000000f6,
- 0x0004003d,0x00000006,0x000000f8,0x000000c9,0x0003003e,0x000000f7,0x000000f8,0x0004003d,
- 0x00000006,0x000000fa,0x000000cc,0x0003003e,0x000000f9,0x000000fa,0x00070039,0x00000002,
- 0x000000fb,0x00000032,0x000000f5,0x000000f7,0x000000f9,0x0004003d,0x00000006,0x000000fc,
- 0x000000f5,0x0003003e,0x000000c6,0x000000fc,0x0004003d,0x00000006,0x000000fd,0x000000f7,
- 0x0003003e,0x000000c9,0x000000fd,0x0004003d,0x00000006,0x000000fe,0x000000f9,0x0003003e,
- 0x000000cc,0x000000fe,0x0004003d,0x00000006,0x00000100,0x000000cf,0x0003003e,0x000000ff,
- 0x00000100,0x0004003d,0x00000006,0x00000102,0x000000d2,0x0003003e,0x00000101,0x00000102,
- 0x0004003d,0x00000006,0x00000104,0x000000d5,0x0003003e,0x00000103,0x00000104,0x00070039,
- 0x00000002,0x00000105,0x00000032,0x000000ff,0x00000101,0x00000103,0x0004003d,0x00000006,
- 0x00000106,0x000000ff,0x0003003e,0x000000cf,0x00000106,0x0004003d,0x00000006,0x00000107,
- 0x00000101,0x0003003e,0x000000d2,0x00000107,0x0004003d,0x00000006,0x00000108,0x00000103,
- 0x0003003e,0x000000d5,0x00000108,0x0004003d,0x00000006,0x0000010a,0x000000d8,0x0003003e,
- 0x00000109,0x0000010a,0x0004003d,0x00000006,0x0000010c,0x000000db,0x0003003e,0x0000010b,
- 0x0000010c,0x0004003d,0x00000006,0x0000010e,0x000000de,0x0003003e,0x0000010d,0x0000010e,
- 0x00070039,0x00000002,0x0000010f,0x00000032,0x00000109,0x0000010b,0x0000010d,0x0004003d,
- 0x00000006,0x00000110,0x00000109,0x0003003e,0x000000d8,0x00000110,0x0004003d,0x00000006,
- 0x00000111,0x0000010b,0x0003003e,0x000000db,0x00000111,0x0004003d,0x00000006,0x00000112,
- 0x0000010d,0x0003003e,0x000000de,0x00000112,0x0004003d,0x00000006,0x00000114,0x000000b9,
- 0x0003003e,0x00000116,0x00000115,0x00050039,0x00000006,0x00000117,0x0000000a,0x00000116,
- 0x00050085,0x00000006,0x00000118,0x00000114,0x00000117,0x0004003d,0x00000006,0x00000119,
- 0x000000b1,0x0003003e,0x0000011a,0x00000115,0x00050039,0x00000006,0x0000011b,0x0000000a,
- 0x0000011a,0x00050085,0x00000006,0x0000011c,0x00000119,0x0000011b,0x0004003d,0x00000006,
- 0x0000011d,0x000000b5,0x00050081,0x00000006,0x0000011e,0x0000011c,0x0000011d,0x00050081,
- 0x00000006,0x0000011f,0x00000118,0x0000011e,0x0003003e,0x00000113,0x0000011f,0x0004003d,
- 0x00000006,0x00000121,0x000000c3,0x0003003e,0x00000122,0x00000115,0x00050039,0x00000006,
- 0x00000123,0x0000000a,0x00000122,0x00050085,0x00000006,0x00000124,0x00000121,0x00000123,
- 0x0004003d,0x00000006,0x00000125,0x000000bd,0x0003003e,0x00000126,0x00000115,0x00050039,
- 0x00000006,0x00000127,0x0000000a,0x00000126,0x00050085,0x00000006,0x00000128,0x00000125,
- 0x00000127,0x0004003d,0x00000006,0x00000129,0x000000c0,0x00050081,0x00000006,0x0000012a,
- 0x00000128,0x00000129,0x00050081,0x00000006,0x0000012b,0x00000124,0x0000012a,0x0003003e,
- 0x00000120,0x0000012b,0x0004003d,0x00000006,0x0000012d,0x000000cc,0x0003003e,0x0000012e,
- 0x00000115,0x00050039,0x00000006,0x0000012f,0x0000000a,0x0000012e,0x00050085,0x00000006,
- 0x00000130,0x0000012d,0x0000012f,0x0004003d,0x00000006,0x00000131,0x000000c6,0x0003003e,
- 0x00000132,0x00000115,0x00050039,0x00000006,0x00000133,0x0000000a,0x00000132,0x00050085,
- 0x00000006,0x00000134,0x00000131,0x00000133,0x0004003d,0x00000006,0x00000135,0x000000c9,
- 0x00050081,0x00000006,0x00000136,0x00000134,0x00000135,0x00050081,0x00000006,0x00000137,
- 0x00000130,0x00000136,0x0003003e,0x0000012c,0x00000137,0x0004003d,0x00000006,0x00000139,
- 0x000000d5,0x0003003e,0x0000013a,0x00000115,0x00050039,0x00000006,0x0000013b,0x0000000a,
- 0x0000013a,0x00050085,0x00000006,0x0000013c,0x00000139,0x0000013b,0x0004003d,0x00000006,
- 0x0000013d,0x000000cf,0x0003003e,0x0000013e,0x00000115,0x00050039,0x00000006,0x0000013f,
- 0x0000000a,0x0000013e,0x00050085,0x00000006,0x00000140,0x0000013d,0x0000013f,0x0004003d,
- 0x00000006,0x00000141,0x000000d2,0x00050081,0x00000006,0x00000142,0x00000140,0x00000141,
- 0x00050081,0x00000006,0x00000143,0x0000013c,0x00000142,0x0003003e,0x00000138,0x00000143,
- 0x0004003d,0x00000006,0x00000145,0x000000de,0x0003003e,0x00000146,0x00000115,0x00050039,
- 0x00000006,0x00000147,0x0000000a,0x00000146,0x00050085,0x00000006,0x00000148,0x00000145,
- 0x00000147,0x0004003d,0x00000006,0x00000149,0x000000d8,0x0003003e,0x0000014a,0x00000115,
- 0x00050039,0x00000006,0x0000014b,0x0000000a,0x0000014a,0x00050085,0x00000006,0x0000014c,
- 0x00000149,0x0000014b,0x0004003d,0x00000006,0x0000014d,0x000000db,0x00050081,0x00000006,
- 0x0000014e,0x0000014c,0x0000014d,0x00050081,0x00000006,0x0000014f,0x00000148,0x0000014e,
- 0x0003003e,0x00000144,0x0000014f,0x0003003e,0x00000152,0x00000151,0x00050039,0x00000006,
- 0x00000153,0x0000000a,0x00000152,0x0004003d,0x00000006,0x00000154,0x00000113,0x00050085,
- 0x00000006,0x00000155,0x00000153,0x00000154,0x0003003e,0x00000156,0x00000151,0x00050039,
- 0x00000006,0x00000157,0x0000000a,0x00000156,0x0004003d,0x00000006,0x00000158,0x00000120,
- 0x00050085,0x00000006,0x00000159,0x00000157,0x00000158,0x00050081,0x00000006,0x0000015a,
- 0x00000155,0x00000159,0x0003003e,0x0000015b,0x00000151,0x00050039,0x00000006,0x0000015c,
- 0x0000000a,0x0000015b,0x0004003d,0x00000006,0x0000015d,0x00000138,0x00050085,0x00000006,
- 0x0000015e,0x0000015c,0x0000015d,0x00050081,0x00000006,0x0000015f,0x0000015a,0x0000015e,
- 0x0003003e,0x00000160,0x00000151,0x00050039,0x00000006,0x00000161,0x0000000a,0x00000160,
- 0x0004003d,0x00000006,0x00000162,0x00000144,0x00050085,0x00000006,0x00000163,0x00000161,
- 0x00000162,0x00050081,0x00000006,0x00000164,0x0000015f,0x00000163,0x0004003d,0x00000006,
- 0x00000165,0x0000012c,0x00050083,0x00000006,0x00000166,0x00000164,0x00000165,0x0003003e,
- 0x00000150,0x00000166,0x0004003d,0x00000006,0x00000167,0x00000150,0x0006000c,0x00000006,
- 0x00000168,0x00000001,0x00000004,0x00000167,0x0004003d,0x00000006,0x0000016a,0x00000113,
- 0x0003003e,0x00000169,0x0000016a,0x0004003d,0x00000006,0x0000016c,0x00000120,0x0003003e,
- 0x0000016b,0x0000016c,0x0004003d,0x00000006,0x0000016e,0x0000012c,0x0003003e,0x0000016d,
- 0x0000016e,0x00070039,0x00000006,0x0000016f,0x00000016,0x00000169,0x0000016b,0x0000016d,
- 0x0003003e,0x00000170,0x0000016f,0x0004003d,0x00000006,0x00000172,0x00000138,0x0003003e,
- 0x00000171,0x00000172,0x0004003d,0x00000006,0x00000174,0x00000144,0x0003003e,0x00000173,
- 0x00000174,0x00070039,0x00000006,0x00000175,0x00000016,0x00000170,0x00000171,0x00000173,
- 0x0004003d,0x00000006,0x00000177,0x00000113,0x0003003e,0x00000176,0x00000177,0x0004003d,
- 0x00000006,0x00000179,0x00000120,0x0003003e,0x00000178,0x00000179,0x0004003d,0x00000006,
- 0x0000017b,0x0000012c,0x0003003e,0x0000017a,0x0000017b,0x00070039,0x00000006,0x0000017c,
- 0x0000001b,0x00000176,0x00000178,0x0000017a,0x0003003e,0x0000017d,0x0000017c,0x0004003d,
- 0x00000006,0x0000017f,0x00000138,0x0003003e,0x0000017e,0x0000017f,0x0004003d,0x00000006,
- 0x00000181,0x00000144,0x0003003e,0x00000180,0x00000181,0x00070039,0x00000006,0x00000182,
- 0x0000001b,0x0000017d,0x0000017e,0x00000180,0x00050083,0x00000006,0x00000183,0x00000175,
- 0x00000182,0x0003003e,0x00000184,0x00000183,0x00050039,0x00000006,0x00000185,0x00000024,
- 0x00000184,0x00050085,0x00000006,0x00000186,0x00000168,0x00000185,0x0003003e,0x00000187,
- 0x00000186,0x00050039,0x00000006,0x00000188,0x00000021,0x00000187,0x0003003e,0x00000150,
- 0x00000188,0x0003003e,0x0000018a,0x00000189,0x00050039,0x00000006,0x0000018b,0x0000000a,
- 0x0000018a,0x0004003d,0x00000006,0x0000018c,0x00000150,0x00050085,0x00000006,0x0000018d,
- 0x0000018b,0x0000018c,0x0003003e,0x0000018e,0x00000054,0x00050039,0x00000006,0x0000018f,
- 0x0000000a,0x0000018e,0x00050081,0x00000006,0x00000190,0x0000018d,0x0000018f,0x0003003e,
- 0x00000150,0x00000190,0x0004003d,0x00000006,0x00000193,0x000000b1,0x0003003e,0x00000192,
- 0x00000193,0x0004003d,0x00000006,0x00000195,0x000000bd,0x0003003e,0x00000194,0x00000195,
- 0x0004003d,0x00000006,0x00000197,0x000000cf,0x0003003e,0x00000196,0x00000197,0x00070039,
- 0x00000006,0x00000198,0x0000001b,0x00000192,0x00000194,0x00000196,0x0004003d,0x00000006,
- 0x00000199,0x000000d8,0x0007000c,0x00000006,0x0000019a,0x00000001,0x00000025,0x00000198,
- 0x00000199,0x0003003e,0x00000191,0x0000019a,0x0004003d,0x00000006,0x0000019d,0x000000b5,
- 0x0003003e,0x0000019c,0x0000019d,0x0004003d,0x00000006,0x0000019f,0x000000c0,0x0003003e,
- 0x0000019e,0x0000019f,0x0004003d,0x00000006,0x000001a1,0x000000d2,0x0003003e,0x000001a0,
- 0x000001a1,0x00070039,0x00000006,0x000001a2,0x0000001b,0x0000019c,0x0000019e,0x000001a0,
- 0x0004003d,0x00000006,0x000001a3,0x000000db,0x0007000c,0x00000006,0x000001a4,0x00000001,
- 0x00000025,0x000001a2,0x000001a3,0x0003003e,0x0000019b,0x000001a4,0x0004003d,0x00000006,
- 0x000001a7,0x000000b9,0x0003003e,0x000001a6,0x000001a7,0x0004003d,0x00000006,0x000001a9,
- 0x000000c3,0x0003003e,0x000001a8,0x000001a9,0x0004003d,0x00000006,0x000001ab,0x000000d5,
- 0x0003003e,0x000001aa,0x000001ab,0x00070039,0x00000006,0x000001ac,0x0000001b,0x000001a6,
- 0x000001a8,0x000001aa,0x0004003d,0x00000006,0x000001ad,0x000000de,0x0007000c,0x00000006,
- 0x000001ae,0x00000001,0x00000025,0x000001ac,0x000001ad,0x0003003e,0x000001a5,0x000001ae,
- 0x0004003d,0x00000006,0x000001b1,0x000000b1,0x0003003e,0x000001b0,0x000001b1,0x0004003d,
- 0x00000006,0x000001b3,0x000000bd,0x0003003e,0x000001b2,0x000001b3,0x0004003d,0x00000006,
- 0x000001b5,0x000000cf,0x0003003e,0x000001b4,0x000001b5,0x00070039,0x00000006,0x000001b6,
- 0x00000016,0x000001b0,0x000001b2,0x000001b4,0x0004003d,0x00000006,0x000001b7,0x000000d8,
- 0x0007000c,0x00000006,0x000001b8,0x00000001,0x00000028,0x000001b6,0x000001b7,0x0003003e,
- 0x000001af,0x000001b8,0x0004003d,0x00000006,0x000001bb,0x000000b5,0x0003003e,0x000001ba,
- 0x000001bb,0x0004003d,0x00000006,0x000001bd,0x000000c0,0x0003003e,0x000001bc,0x000001bd,
- 0x0004003d,0x00000006,0x000001bf,0x000000d2,0x0003003e,0x000001be,0x000001bf,0x00070039,
- 0x00000006,0x000001c0,0x00000016,0x000001ba,0x000001bc,0x000001be,0x0004003d,0x00000006,
- 0x000001c1,0x000000db,0x0007000c,0x00000006,0x000001c2,0x00000001,0x00000028,0x000001c0,
- 0x000001c1,0x0003003e,0x000001b9,0x000001c2,0x0004003d,0x00000006,0x000001c5,0x000000b9,
- 0x0003003e,0x000001c4,0x000001c5,0x0004003d,0x00000006,0x000001c7,0x000000c3,0x0003003e,
- 0x000001c6,0x000001c7,0x0004003d,0x00000006,0x000001c9,0x000000d5,0x0003003e,0x000001c8,
- 0x000001c9,0x00070039,0x00000006,0x000001ca,0x00000016,0x000001c4,0x000001c6,0x000001c8,
- 0x0004003d,0x00000006,0x000001cb,0x000000de,0x0007000c,0x00000006,0x000001cc,0x00000001,
- 0x00000028,0x000001ca,0x000001cb,0x0003003e,0x000001c3,0x000001cc,0x0003003e,0x000001cf,
- 0x000001d1,0x0004003d,0x00000006,0x000001d3,0x00000191,0x0004003d,0x00000006,0x000001d4,
- 0x000000c6,0x0007000c,0x00000006,0x000001d5,0x00000001,0x00000025,0x000001d3,0x000001d4,
- 0x0003003e,0x000001d7,0x000001d6,0x00050039,0x00000006,0x000001d8,0x0000000a,0x000001d7,
- 0x0004003d,0x00000006,0x000001d9,0x000001af,0x00050085,0x00000006,0x000001da,0x000001d8,
- 0x000001d9,0x0003003e,0x000001db,0x000001da,0x00050039,0x00000006,0x000001dc,0x0000001e,
- 0x000001db,0x00050085,0x00000006,0x000001dd,0x000001d5,0x000001dc,0x0003003e,0x000001d2,
- 0x000001dd,0x0004003d,0x00000006,0x000001df,0x0000019b,0x0004003d,0x00000006,0x000001e0,
- 0x000000c9,0x0007000c,0x00000006,0x000001e1,0x00000001,0x00000025,0x000001df,0x000001e0,
- 0x0003003e,0x000001e2,0x000001d6,0x00050039,0x00000006,0x000001e3,0x0000000a,0x000001e2,
- 0x0004003d,0x00000006,0x000001e4,0x000001b9,0x00050085,0x00000006,0x000001e5,0x000001e3,
- 0x000001e4,0x0003003e,0x000001e6,0x000001e5,0x00050039,0x00000006,0x000001e7,0x0000001e,
- 0x000001e6,0x00050085,0x00000006,0x000001e8,0x000001e1,0x000001e7,0x0003003e,0x000001de,
- 0x000001e8,0x0004003d,0x00000006,0x000001ea,0x000001a5,0x0004003d,0x00000006,0x000001eb,
- 0x000000cc,0x0007000c,0x00000006,0x000001ec,0x00000001,0x00000025,0x000001ea,0x000001eb,
- 0x0003003e,0x000001ed,0x000001d6,0x00050039,0x00000006,0x000001ee,0x0000000a,0x000001ed,
- 0x0004003d,0x00000006,0x000001ef,0x000001c3,0x00050085,0x00000006,0x000001f0,0x000001ee,
- 0x000001ef,0x0003003e,0x000001f1,0x000001f0,0x00050039,0x00000006,0x000001f2,0x0000001e,
- 0x000001f1,0x00050085,0x00000006,0x000001f3,0x000001ec,0x000001f2,0x0003003e,0x000001e9,
- 0x000001f3,0x00050041,0x00000007,0x000001f5,0x000001cf,0x000000b2,0x0004003d,0x00000006,
- 0x000001f6,0x000001f5,0x0004003d,0x00000006,0x000001f7,0x000001af,0x0004003d,0x00000006,
- 0x000001f8,0x000000c6,0x0007000c,0x00000006,0x000001f9,0x00000001,0x00000028,0x000001f7,
- 0x000001f8,0x00050083,0x00000006,0x000001fa,0x000001f6,0x000001f9,0x0003003e,0x000001fb,
- 0x000001d6,0x00050039,0x00000006,0x000001fc,0x0000000a,0x000001fb,0x0004003d,0x00000006,
- 0x000001fd,0x00000191,0x00050085,0x00000006,0x000001fe,0x000001fc,0x000001fd,0x00050041,
- 0x00000007,0x000001ff,0x000001cf,0x000000b6,0x0004003d,0x00000006,0x00000200,0x000001ff,
- 0x00050081,0x00000006,0x00000201,0x000001fe,0x00000200,0x0003003e,0x00000202,0x00000201,
- 0x00050039,0x00000006,0x00000203,0x0000001e,0x00000202,0x00050085,0x00000006,0x00000204,
- 0x000001fa,0x00000203,0x0003003e,0x000001f4,0x00000204,0x00050041,0x00000007,0x00000206,
- 0x000001cf,0x000000b2,0x0004003d,0x00000006,0x00000207,0x00000206,0x0004003d,0x00000006,
- 0x00000208,0x000001b9,0x0004003d,0x00000006,0x00000209,0x000000c9,0x0007000c,0x00000006,
- 0x0000020a,0x00000001,0x00000028,0x00000208,0x00000209,0x00050083,0x00000006,0x0000020b,
- 0x00000207,0x0000020a,0x0003003e,0x0000020c,0x000001d6,0x00050039,0x00000006,0x0000020d,
- 0x0000000a,0x0000020c,0x0004003d,0x00000006,0x0000020e,0x0000019b,0x00050085,0x00000006,
- 0x0000020f,0x0000020d,0x0000020e,0x00050041,0x00000007,0x00000210,0x000001cf,0x000000b6,
- 0x0004003d,0x00000006,0x00000211,0x00000210,0x00050081,0x00000006,0x00000212,0x0000020f,
- 0x00000211,0x0003003e,0x00000213,0x00000212,0x00050039,0x00000006,0x00000214,0x0000001e,
- 0x00000213,0x00050085,0x00000006,0x00000215,0x0000020b,0x00000214,0x0003003e,0x00000205,
- 0x00000215,0x00050041,0x00000007,0x00000217,0x000001cf,0x000000b2,0x0004003d,0x00000006,
- 0x00000218,0x00000217,0x0004003d,0x00000006,0x00000219,0x000001c3,0x0004003d,0x00000006,
- 0x0000021a,0x000000cc,0x0007000c,0x00000006,0x0000021b,0x00000001,0x00000028,0x00000219,
- 0x0000021a,0x00050083,0x00000006,0x0000021c,0x00000218,0x0000021b,0x0003003e,0x0000021d,
- 0x000001d6,0x00050039,0x00000006,0x0000021e,0x0000000a,0x0000021d,0x0004003d,0x00000006,
- 0x0000021f,0x000001a5,0x00050085,0x00000006,0x00000220,0x0000021e,0x0000021f,0x00050041,
- 0x00000007,0x00000221,0x000001cf,0x000000b6,0x0004003d,0x00000006,0x00000222,0x00000221,
- 0x00050081,0x00000006,0x00000223,0x00000220,0x00000222,0x0003003e,0x00000224,0x00000223,
- 0x00050039,0x00000006,0x00000225,0x0000001e,0x00000224,0x00050085,0x00000006,0x00000226,
- 0x0000021c,0x00000225,0x0003003e,0x00000216,0x00000226,0x0004003d,0x00000006,0x00000228,
- 0x000001d2,0x0004007f,0x00000006,0x00000229,0x00000228,0x0004003d,0x00000006,0x0000022a,
- 0x000001f4,0x0007000c,0x00000006,0x0000022b,0x00000001,0x00000028,0x00000229,0x0000022a,
- 0x0003003e,0x00000227,0x0000022b,0x0004003d,0x00000006,0x0000022d,0x000001de,0x0004007f,
- 0x00000006,0x0000022e,0x0000022d,0x0004003d,0x00000006,0x0000022f,0x00000205,0x0007000c,
- 0x00000006,0x00000230,0x00000001,0x00000028,0x0000022e,0x0000022f,0x0003003e,0x0000022c,
- 0x00000230,0x0004003d,0x00000006,0x00000232,0x000001e9,0x0004007f,0x00000006,0x00000233,
- 0x00000232,0x0004003d,0x00000006,0x00000234,0x00000216,0x0007000c,0x00000006,0x00000235,
- 0x00000001,0x00000028,0x00000233,0x00000234,0x0003003e,0x00000231,0x00000235,0x0003003e,
- 0x00000238,0x00000237,0x00050039,0x00000006,0x00000239,0x0000000a,0x00000238,0x0004003d,
- 0x00000006,0x0000023b,0x00000227,0x0003003e,0x0000023a,0x0000023b,0x0004003d,0x00000006,
- 0x0000023d,0x0000022c,0x0003003e,0x0000023c,0x0000023d,0x0004003d,0x00000006,0x0000023f,
- 0x00000231,0x0003003e,0x0000023e,0x0000023f,0x00070039,0x00000006,0x00000240,0x00000016,
- 0x0000023a,0x0000023c,0x0000023e,0x0003003e,0x00000241,0x0000005c,0x00050039,0x00000006,
- 0x00000242,0x0000000a,0x00000241,0x0007000c,0x00000006,0x00000243,0x00000001,0x00000025,
- 0x00000240,0x00000242,0x0007000c,0x00000006,0x00000244,0x00000001,0x00000028,0x00000239,
- 0x00000243,0x00050041,0x0000000d,0x00000245,0x0000003d,0x000000b2,0x0004003d,0x0000000c,
- 0x00000246,0x00000245,0x0004007c,0x00000006,0x00000247,0x00000246,0x00050085,0x00000006,
- 0x00000248,0x00000244,0x00000247,0x0003003e,0x00000236,0x00000248,0x0003003e,0x0000024a,
- 0x000001d6,0x00050039,0x00000006,0x0000024b,0x0000000a,0x0000024a,0x0004003d,0x00000006,
- 0x0000024c,0x00000236,0x00050085,0x00000006,0x0000024d,0x0000024b,0x0000024c,0x0003003e,
- 0x0000024e,0x00000054,0x00050039,0x00000006,0x0000024f,0x0000000a,0x0000024e,0x00050081,
- 0x00000006,0x00000250,0x0000024d,0x0000024f,0x0003003e,0x00000251,0x00000250,0x00050039,
- 0x00000006,0x00000252,0x00000024,0x00000251,0x0003003e,0x00000249,0x00000252,0x0004003d,
- 0x00000006,0x00000253,0x00000236,0x0004003d,0x00000006,0x00000254,0x000000b1,0x00050085,
- 0x00000006,0x00000255,0x00000253,0x00000254,0x0004003d,0x00000006,0x00000256,0x00000236,
- 0x0004003d,0x00000006,0x00000257,0x000000bd,0x00050085,0x00000006,0x00000258,0x00000256,
- 0x00000257,0x00050081,0x00000006,0x00000259,0x00000255,0x00000258,0x0004003d,0x00000006,
- 0x0000025a,0x00000236,0x0004003d,0x00000006,0x0000025b,0x000000d8,0x00050085,0x00000006,
- 0x0000025c,0x0000025a,0x0000025b,0x00050081,0x00000006,0x0000025d,0x00000259,0x0000025c,
- 0x0004003d,0x00000006,0x0000025e,0x00000236,0x0004003d,0x00000006,0x0000025f,0x000000cf,
- 0x00050085,0x00000006,0x00000260,0x0000025e,0x0000025f,0x00050081,0x00000006,0x00000261,
- 0x0000025d,0x00000260,0x0004003d,0x00000006,0x00000262,0x000000c6,0x00050081,0x00000006,
- 0x00000263,0x00000261,0x00000262,0x0004003d,0x00000006,0x00000264,0x00000249,0x00050085,
- 0x00000006,0x00000265,0x00000263,0x00000264,0x0003003e,0x00000039,0x00000265,0x0004003d,
- 0x00000006,0x00000266,0x00000236,0x0004003d,0x00000006,0x00000267,0x000000b5,0x00050085,
- 0x00000006,0x00000268,0x00000266,0x00000267,0x0004003d,0x00000006,0x00000269,0x00000236,
- 0x0004003d,0x00000006,0x0000026a,0x000000c0,0x00050085,0x00000006,0x0000026b,0x00000269,
- 0x0000026a,0x00050081,0x00000006,0x0000026c,0x00000268,0x0000026b,0x0004003d,0x00000006,
- 0x0000026d,0x00000236,0x0004003d,0x00000006,0x0000026e,0x000000db,0x00050085,0x00000006,
- 0x0000026f,0x0000026d,0x0000026e,0x00050081,0x00000006,0x00000270,0x0000026c,0x0000026f,
- 0x0004003d,0x00000006,0x00000271,0x00000236,0x0004003d,0x00000006,0x00000272,0x000000d2,
- 0x00050085,0x00000006,0x00000273,0x00000271,0x00000272,0x00050081,0x00000006,0x00000274,
- 0x00000270,0x00000273,0x0004003d,0x00000006,0x00000275,0x000000c9,0x00050081,0x00000006,
- 0x00000276,0x00000274,0x00000275,0x0004003d,0x00000006,0x00000277,0x00000249,0x00050085,
- 0x00000006,0x00000278,0x00000276,0x00000277,0x0003003e,0x0000003a,0x00000278,0x0004003d,
- 0x00000006,0x00000279,0x00000236,0x0004003d,0x00000006,0x0000027a,0x000000b9,0x00050085,
- 0x00000006,0x0000027b,0x00000279,0x0000027a,0x0004003d,0x00000006,0x0000027c,0x00000236,
- 0x0004003d,0x00000006,0x0000027d,0x000000c3,0x00050085,0x00000006,0x0000027e,0x0000027c,
- 0x0000027d,0x00050081,0x00000006,0x0000027f,0x0000027b,0x0000027e,0x0004003d,0x00000006,
- 0x00000280,0x00000236,0x0004003d,0x00000006,0x00000281,0x000000de,0x00050085,0x00000006,
- 0x00000282,0x00000280,0x00000281,0x00050081,0x00000006,0x00000283,0x0000027f,0x00000282,
- 0x0004003d,0x00000006,0x00000284,0x00000236,0x0004003d,0x00000006,0x00000285,0x000000d5,
- 0x00050085,0x00000006,0x00000286,0x00000284,0x00000285,0x00050081,0x00000006,0x00000287,
- 0x00000283,0x00000286,0x0004003d,0x00000006,0x00000288,0x000000cc,0x00050081,0x00000006,
- 0x00000289,0x00000287,0x00000288,0x0004003d,0x00000006,0x0000028a,0x00000249,0x00050085,
- 0x00000006,0x0000028b,0x00000289,0x0000028a,0x0003003e,0x0000003b,0x0000028b,0x000100fd,
- 0x00010038
+ 0x00007465,0x00030005,0x000002ad,0x00786f62,0x00030005,0x000002b0,0x00000071,0x00050005,
+ 0x000002db,0x736e6f43,0x746e6174,0x00000073,0x00040006,0x000002db,0x00000000,0x006e6f63,
+ 0x00050006,0x000002db,0x00000001,0x72616873,0x006e6570,0x00070006,0x000002db,0x00000002,
+ 0x7265766f,0x4f79616c,0x69636170,0x00007974,0x00030005,0x000002dd,0x00006370,0x00040005,
+ 0x000002e4,0x6f6c6f63,0x00000072,0x00040005,0x000002e7,0x61726170,0x0000006d,0x00040005,
+ 0x000002e8,0x61726170,0x0000006d,0x00040005,0x000002e9,0x61726170,0x0000006d,0x00040005,
+ 0x000002ea,0x61726170,0x0000006d,0x00040005,0x000002eb,0x61726170,0x0000006d,0x00030005,
+ 0x00000302,0x0000006f,0x00050005,0x00000306,0x7265766f,0x5479616c,0x00007865,0x00030047,
+ 0x0000007b,0x00000018,0x00040047,0x0000007b,0x00000021,0x00000000,0x00040047,0x0000007b,
+ 0x00000022,0x00000000,0x00040047,0x00000290,0x0000000b,0x0000001c,0x00030047,0x00000297,
+ 0x00000019,0x00040047,0x00000297,0x00000021,0x00000002,0x00040047,0x00000297,0x00000022,
+ 0x00000000,0x00030047,0x000002db,0x00000002,0x00050048,0x000002db,0x00000000,0x00000023,
+ 0x00000000,0x00050048,0x000002db,0x00000001,0x00000023,0x00000010,0x00050048,0x000002db,
+ 0x00000002,0x00000023,0x00000014,0x00040047,0x00000306,0x00000021,0x00000001,0x00040047,
+ 0x00000306,0x00000022,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,
+ 0x00030016,0x00000006,0x00000020,0x00040020,0x00000007,0x00000007,0x00000006,0x00040021,
+ 0x00000008,0x00000006,0x00000007,0x00040015,0x0000000c,0x00000020,0x00000000,0x00040020,
+ 0x0000000d,0x00000007,0x0000000c,0x00040021,0x0000000e,0x0000000c,0x0000000d,0x00060021,
+ 0x00000012,0x00000006,0x00000007,0x00000007,0x00000007,0x00040015,0x00000026,0x00000020,
+ 0x00000001,0x00040017,0x00000027,0x00000026,0x00000002,0x00040020,0x00000028,0x00000007,
+ 0x00000027,0x00040017,0x00000029,0x00000006,0x00000004,0x00040021,0x0000002a,0x00000029,
+ 0x00000028,0x00060021,0x0000002e,0x00000002,0x00000007,0x00000007,0x00000007,0x00040017,
+ 0x00000034,0x0000000c,0x00000002,0x00040020,0x00000035,0x00000007,0x00000034,0x00040017,
+ 0x00000036,0x0000000c,0x00000004,0x00040020,0x00000037,0x00000007,0x00000036,0x00080021,
+ 0x00000038,0x00000002,0x00000007,0x00000007,0x00000007,0x00000035,0x00000037,0x0004002b,
+ 0x00000006,0x00000054,0x3f800000,0x0004002b,0x00000006,0x0000005c,0x00000000,0x0004002b,
+ 0x0000000c,0x00000065,0x7ef19fff,0x0004002b,0x00000006,0x00000071,0x40000000,0x00090019,
+ 0x00000079,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000002,0x00000004,
+ 0x00040020,0x0000007a,0x00000000,0x00000079,0x0004003b,0x0000007a,0x0000007b,0x00000000,
+ 0x0004002b,0x00000026,0x00000080,0x00000000,0x0005002c,0x00000027,0x00000081,0x00000080,
+ 0x00000080,0x0004002b,0x00000026,0x00000083,0x00000001,0x00040017,0x0000008d,0x00000006,
+ 0x00000003,0x00040020,0x0000008e,0x00000007,0x0000008d,0x0004002b,0x00000026,0x00000091,
+ 0xffffffff,0x0005002c,0x00000027,0x00000092,0x00000080,0x00000091,0x0005002c,0x00000027,
+ 0x00000099,0x00000091,0x00000080,0x0005002c,0x00000027,0x000000a5,0x00000083,0x00000080,
+ 0x0005002c,0x00000027,0x000000ac,0x00000080,0x00000083,0x0004002b,0x0000000c,0x000000b2,
+ 0x00000000,0x0004002b,0x0000000c,0x000000b6,0x00000001,0x0004002b,0x0000000c,0x000000ba,
+ 0x00000002,0x0004002b,0x00000006,0x00000115,0x3f000000,0x0004002b,0x00000006,0x00000151,
+ 0x3e800000,0x0004002b,0x00000006,0x00000189,0xbf000000,0x00040017,0x000001cd,0x00000006,
+ 0x00000002,0x00040020,0x000001ce,0x00000007,0x000001cd,0x0004002b,0x00000006,0x000001d0,
+ 0xc0800000,0x0005002c,0x000001cd,0x000001d1,0x00000054,0x000001d0,0x0004002b,0x00000006,
+ 0x000001d6,0x40800000,0x0004002b,0x00000006,0x00000237,0xbe400000,0x00040017,0x0000028e,
+ 0x0000000c,0x00000003,0x00040020,0x0000028f,0x00000001,0x0000028e,0x0004003b,0x0000028f,
+ 0x00000290,0x00000001,0x00090019,0x00000295,0x00000006,0x00000001,0x00000000,0x00000000,
+ 0x00000000,0x00000002,0x00000000,0x00040020,0x00000296,0x00000000,0x00000295,0x0004003b,
+ 0x00000296,0x00000297,0x00000000,0x00020014,0x0000029a,0x00040020,0x0000029b,0x00000007,
+ 0x00000026,0x0004002b,0x00000026,0x000002b5,0x00000002,0x0007002c,0x00000029,0x000002d9,
+ 0x0000005c,0x0000005c,0x0000005c,0x00000054,0x0005001e,0x000002db,0x00000036,0x0000000c,
+ 0x00000006,0x00040020,0x000002dc,0x00000009,0x000002db,0x0004003b,0x000002dc,0x000002dd,
+ 0x00000009,0x00040020,0x000002de,0x00000009,0x0000000c,0x00040020,0x000002ec,0x00000009,
+ 0x00000036,0x00040020,0x000002fb,0x00000009,0x00000006,0x00040020,0x00000301,0x00000007,
+ 0x00000029,0x00090019,0x00000303,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,
+ 0x00000001,0x00000000,0x0003001b,0x00000304,0x00000303,0x00040020,0x00000305,0x00000000,
+ 0x00000304,0x0004003b,0x00000305,0x00000306,0x00000000,0x0004002b,0x0000000c,0x00000313,
+ 0x00000003,0x0004002b,0x0000000c,0x00000322,0x00000008,0x0006002c,0x0000028e,0x00000323,
+ 0x00000322,0x00000322,0x000000b6,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,
+ 0x000200f8,0x00000005,0x0004003b,0x00000028,0x0000028d,0x00000007,0x0004003b,0x00000028,
+ 0x00000294,0x00000007,0x0004003b,0x00000028,0x000002ad,0x00000007,0x0004003b,0x00000028,
+ 0x000002b0,0x00000007,0x0004003b,0x0000008e,0x000002e4,0x00000007,0x0004003b,0x00000007,
+ 0x000002e7,0x00000007,0x0004003b,0x00000007,0x000002e8,0x00000007,0x0004003b,0x00000007,
+ 0x000002e9,0x00000007,0x0004003b,0x00000035,0x000002ea,0x00000007,0x0004003b,0x00000037,
+ 0x000002eb,0x00000007,0x0004003b,0x00000301,0x00000302,0x00000007,0x0004003d,0x0000028e,
+ 0x00000291,0x00000290,0x0007004f,0x00000034,0x00000292,0x00000291,0x00000291,0x00000000,
+ 0x00000001,0x0004007c,0x00000027,0x00000293,0x00000292,0x0003003e,0x0000028d,0x00000293,
+ 0x0004003d,0x00000295,0x00000298,0x00000297,0x00040068,0x00000027,0x00000299,0x00000298,
+ 0x0003003e,0x00000294,0x00000299,0x00050041,0x0000029b,0x0000029c,0x0000028d,0x000000b2,
+ 0x0004003d,0x00000026,0x0000029d,0x0000029c,0x00050041,0x0000029b,0x0000029e,0x00000294,
+ 0x000000b2,0x0004003d,0x00000026,0x0000029f,0x0000029e,0x000500af,0x0000029a,0x000002a0,
+ 0x0000029d,0x0000029f,0x000400a8,0x0000029a,0x000002a1,0x000002a0,0x000300f7,0x000002a3,
+ 0x00000000,0x000400fa,0x000002a1,0x000002a2,0x000002a3,0x000200f8,0x000002a2,0x00050041,
+ 0x0000029b,0x000002a4,0x0000028d,0x000000b6,0x0004003d,0x00000026,0x000002a5,0x000002a4,
+ 0x00050041,0x0000029b,0x000002a6,0x00000294,0x000000b6,0x0004003d,0x00000026,0x000002a7,
+ 0x000002a6,0x000500af,0x0000029a,0x000002a8,0x000002a5,0x000002a7,0x000200f9,0x000002a3,
+ 0x000200f8,0x000002a3,0x000700f5,0x0000029a,0x000002a9,0x000002a0,0x00000005,0x000002a8,
+ 0x000002a2,0x000300f7,0x000002ab,0x00000000,0x000400fa,0x000002a9,0x000002aa,0x000002ab,
+ 0x000200f8,0x000002aa,0x000100fd,0x000200f8,0x000002ab,0x0004003d,0x00000079,0x000002ae,
+ 0x0000007b,0x00040068,0x00000027,0x000002af,0x000002ae,0x0003003e,0x000002ad,0x000002af,
+ 0x0004003d,0x00000027,0x000002b1,0x0000028d,0x0004003d,0x00000027,0x000002b2,0x00000294,
+ 0x0004003d,0x00000027,0x000002b3,0x000002ad,0x00050082,0x00000027,0x000002b4,0x000002b2,
+ 0x000002b3,0x00050050,0x00000027,0x000002b6,0x000002b5,0x000002b5,0x00050087,0x00000027,
+ 0x000002b7,0x000002b4,0x000002b6,0x00050082,0x00000027,0x000002b8,0x000002b1,0x000002b7,
+ 0x0003003e,0x000002b0,0x000002b8,0x00050041,0x0000029b,0x000002b9,0x000002b0,0x000000b2,
+ 0x0004003d,0x00000026,0x000002ba,0x000002b9,0x000500b1,0x0000029a,0x000002bb,0x000002ba,
+ 0x00000080,0x000400a8,0x0000029a,0x000002bc,0x000002bb,0x000300f7,0x000002be,0x00000000,
+ 0x000400fa,0x000002bc,0x000002bd,0x000002be,0x000200f8,0x000002bd,0x00050041,0x0000029b,
+ 0x000002bf,0x000002b0,0x000000b6,0x0004003d,0x00000026,0x000002c0,0x000002bf,0x000500b1,
+ 0x0000029a,0x000002c1,0x000002c0,0x00000080,0x000200f9,0x000002be,0x000200f8,0x000002be,
+ 0x000700f5,0x0000029a,0x000002c2,0x000002bb,0x000002ab,0x000002c1,0x000002bd,0x000400a8,
+ 0x0000029a,0x000002c3,0x000002c2,0x000300f7,0x000002c5,0x00000000,0x000400fa,0x000002c3,
+ 0x000002c4,0x000002c5,0x000200f8,0x000002c4,0x00050041,0x0000029b,0x000002c6,0x000002b0,
+ 0x000000b2,0x0004003d,0x00000026,0x000002c7,0x000002c6,0x00050041,0x0000029b,0x000002c8,
+ 0x000002ad,0x000000b2,0x0004003d,0x00000026,0x000002c9,0x000002c8,0x000500af,0x0000029a,
+ 0x000002ca,0x000002c7,0x000002c9,0x000200f9,0x000002c5,0x000200f8,0x000002c5,0x000700f5,
+ 0x0000029a,0x000002cb,0x000002c2,0x000002be,0x000002ca,0x000002c4,0x000400a8,0x0000029a,
+ 0x000002cc,0x000002cb,0x000300f7,0x000002ce,0x00000000,0x000400fa,0x000002cc,0x000002cd,
+ 0x000002ce,0x000200f8,0x000002cd,0x00050041,0x0000029b,0x000002cf,0x000002b0,0x000000b6,
+ 0x0004003d,0x00000026,0x000002d0,0x000002cf,0x00050041,0x0000029b,0x000002d1,0x000002ad,
+ 0x000000b6,0x0004003d,0x00000026,0x000002d2,0x000002d1,0x000500af,0x0000029a,0x000002d3,
+ 0x000002d0,0x000002d2,0x000200f9,0x000002ce,0x000200f8,0x000002ce,0x000700f5,0x0000029a,
+ 0x000002d4,0x000002cb,0x000002c5,0x000002d3,0x000002cd,0x000300f7,0x000002d6,0x00000000,
+ 0x000400fa,0x000002d4,0x000002d5,0x000002d6,0x000200f8,0x000002d5,0x0004003d,0x00000295,
+ 0x000002d7,0x00000297,0x0004003d,0x00000027,0x000002d8,0x0000028d,0x00040063,0x000002d7,
+ 0x000002d8,0x000002d9,0x000100fd,0x000200f8,0x000002d6,0x00050041,0x000002de,0x000002df,
+ 0x000002dd,0x00000083,0x0004003d,0x0000000c,0x000002e0,0x000002df,0x000500ab,0x0000029a,
+ 0x000002e1,0x000002e0,0x000000b2,0x000300f7,0x000002e3,0x00000000,0x000400fa,0x000002e1,
+ 0x000002e2,0x000002f6,0x000200f8,0x000002e2,0x0004003d,0x00000027,0x000002e5,0x000002b0,
+ 0x0004007c,0x00000034,0x000002e6,0x000002e5,0x0003003e,0x000002ea,0x000002e6,0x00050041,
+ 0x000002ec,0x000002ed,0x000002dd,0x00000080,0x0004003d,0x00000036,0x000002ee,0x000002ed,
+ 0x0003003e,0x000002eb,0x000002ee,0x00090039,0x00000002,0x000002ef,0x0000003e,0x000002e7,
+ 0x000002e8,0x000002e9,0x000002ea,0x000002eb,0x0004003d,0x00000006,0x000002f0,0x000002e7,
+ 0x00050041,0x00000007,0x000002f1,0x000002e4,0x000000b2,0x0003003e,0x000002f1,0x000002f0,
+ 0x0004003d,0x00000006,0x000002f2,0x000002e8,0x00050041,0x00000007,0x000002f3,0x000002e4,
+ 0x000000b6,0x0003003e,0x000002f3,0x000002f2,0x0004003d,0x00000006,0x000002f4,0x000002e9,
+ 0x00050041,0x00000007,0x000002f5,0x000002e4,0x000000ba,0x0003003e,0x000002f5,0x000002f4,
+ 0x000200f9,0x000002e3,0x000200f8,0x000002f6,0x0004003d,0x00000079,0x000002f7,0x0000007b,
+ 0x0004003d,0x00000027,0x000002f8,0x000002b0,0x00050062,0x00000029,0x000002f9,0x000002f7,
+ 0x000002f8,0x0008004f,0x0000008d,0x000002fa,0x000002f9,0x000002f9,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x000002e4,0x000002fa,0x000200f9,0x000002e3,0x000200f8,0x000002e3,
+ 0x00050041,0x000002fb,0x000002fc,0x000002dd,0x000002b5,0x0004003d,0x00000006,0x000002fd,
+ 0x000002fc,0x000500ba,0x0000029a,0x000002fe,0x000002fd,0x0000005c,0x000300f7,0x00000300,
+ 0x00000000,0x000400fa,0x000002fe,0x000002ff,0x00000300,0x000200f8,0x000002ff,0x0004003d,
+ 0x00000304,0x00000307,0x00000306,0x0004003d,0x00000027,0x00000308,0x000002b0,0x0004006f,
+ 0x000001cd,0x00000309,0x00000308,0x00050050,0x000001cd,0x0000030a,0x00000115,0x00000115,
+ 0x00050081,0x000001cd,0x0000030b,0x00000309,0x0000030a,0x0004003d,0x00000027,0x0000030c,
+ 0x000002ad,0x0004006f,0x000001cd,0x0000030d,0x0000030c,0x00050088,0x000001cd,0x0000030e,
+ 0x0000030b,0x0000030d,0x00070058,0x00000029,0x0000030f,0x00000307,0x0000030e,0x00000002,
+ 0x0000005c,0x0003003e,0x00000302,0x0000030f,0x0004003d,0x0000008d,0x00000310,0x000002e4,
+ 0x0004003d,0x00000029,0x00000311,0x00000302,0x0008004f,0x0000008d,0x00000312,0x00000311,
+ 0x00000311,0x00000000,0x00000001,0x00000002,0x00050041,0x00000007,0x00000314,0x00000302,
+ 0x00000313,0x0004003d,0x00000006,0x00000315,0x00000314,0x00050041,0x000002fb,0x00000316,
+ 0x000002dd,0x000002b5,0x0004003d,0x00000006,0x00000317,0x00000316,0x00050085,0x00000006,
+ 0x00000318,0x00000315,0x00000317,0x00060050,0x0000008d,0x00000319,0x00000318,0x00000318,
+ 0x00000318,0x0008000c,0x0000008d,0x0000031a,0x00000001,0x0000002e,0x00000310,0x00000312,
+ 0x00000319,0x0003003e,0x000002e4,0x0000031a,0x000200f9,0x00000300,0x000200f8,0x00000300,
+ 0x0004003d,0x00000295,0x0000031b,0x00000297,0x0004003d,0x00000027,0x0000031c,0x0000028d,
+ 0x0004003d,0x0000008d,0x0000031d,0x000002e4,0x00050051,0x00000006,0x0000031e,0x0000031d,
+ 0x00000000,0x00050051,0x00000006,0x0000031f,0x0000031d,0x00000001,0x00050051,0x00000006,
+ 0x00000320,0x0000031d,0x00000002,0x00070050,0x00000029,0x00000321,0x0000031e,0x0000031f,
+ 0x00000320,0x00000054,0x00040063,0x0000031b,0x0000031c,0x00000321,0x000100fd,0x00010038,
+ 0x00050036,0x00000006,0x0000000a,0x00000000,0x00000008,0x00030037,0x00000007,0x00000009,
+ 0x000200f8,0x0000000b,0x0004003d,0x00000006,0x00000040,0x00000009,0x000200fe,0x00000040,
+ 0x00010038,0x00050036,0x0000000c,0x00000010,0x00000000,0x0000000e,0x00030037,0x0000000d,
+ 0x0000000f,0x000200f8,0x00000011,0x0004003d,0x0000000c,0x00000043,0x0000000f,0x000200fe,
+ 0x00000043,0x00010038,0x00050036,0x00000006,0x00000016,0x00000000,0x00000012,0x00030037,
+ 0x00000007,0x00000013,0x00030037,0x00000007,0x00000014,0x00030037,0x00000007,0x00000015,
+ 0x000200f8,0x00000017,0x0004003d,0x00000006,0x00000046,0x00000013,0x0004003d,0x00000006,
+ 0x00000047,0x00000014,0x0004003d,0x00000006,0x00000048,0x00000015,0x0007000c,0x00000006,
+ 0x00000049,0x00000001,0x00000028,0x00000047,0x00000048,0x0007000c,0x00000006,0x0000004a,
+ 0x00000001,0x00000028,0x00000046,0x00000049,0x000200fe,0x0000004a,0x00010038,0x00050036,
+ 0x00000006,0x0000001b,0x00000000,0x00000012,0x00030037,0x00000007,0x00000018,0x00030037,
+ 0x00000007,0x00000019,0x00030037,0x00000007,0x0000001a,0x000200f8,0x0000001c,0x0004003d,
+ 0x00000006,0x0000004d,0x00000018,0x0004003d,0x00000006,0x0000004e,0x00000019,0x0004003d,
+ 0x00000006,0x0000004f,0x0000001a,0x0007000c,0x00000006,0x00000050,0x00000001,0x00000025,
+ 0x0000004e,0x0000004f,0x0007000c,0x00000006,0x00000051,0x00000001,0x00000025,0x0000004d,
+ 0x00000050,0x000200fe,0x00000051,0x00010038,0x00050036,0x00000006,0x0000001e,0x00000000,
+ 0x00000008,0x00030037,0x00000007,0x0000001d,0x000200f8,0x0000001f,0x0004003b,0x00000007,
+ 0x00000055,0x00000007,0x0003003e,0x00000055,0x00000054,0x00050039,0x00000006,0x00000056,
+ 0x0000000a,0x00000055,0x0004003d,0x00000006,0x00000057,0x0000001d,0x00050088,0x00000006,
+ 0x00000058,0x00000056,0x00000057,0x000200fe,0x00000058,0x00010038,0x00050036,0x00000006,
+ 0x00000021,0x00000000,0x00000008,0x00030037,0x00000007,0x00000020,0x000200f8,0x00000022,
+ 0x0004003b,0x00000007,0x0000005d,0x00000007,0x0004003b,0x00000007,0x0000005f,0x00000007,
+ 0x0004003d,0x00000006,0x0000005b,0x00000020,0x0003003e,0x0000005d,0x0000005c,0x00050039,
+ 0x00000006,0x0000005e,0x0000000a,0x0000005d,0x0003003e,0x0000005f,0x00000054,0x00050039,
+ 0x00000006,0x00000060,0x0000000a,0x0000005f,0x0008000c,0x00000006,0x00000061,0x00000001,
+ 0x0000002b,0x0000005b,0x0000005e,0x00000060,0x000200fe,0x00000061,0x00010038,0x00050036,
+ 0x00000006,0x00000024,0x00000000,0x00000008,0x00030037,0x00000007,0x00000023,0x000200f8,
+ 0x00000025,0x0004003b,0x00000007,0x00000064,0x00000007,0x0004003b,0x0000000d,0x00000066,
+ 0x00000007,0x0004003b,0x00000007,0x00000072,0x00000007,0x0003003e,0x00000066,0x00000065,
+ 0x00050039,0x0000000c,0x00000067,0x00000010,0x00000066,0x0004003d,0x00000006,0x00000068,
+ 0x00000023,0x0004007c,0x0000000c,0x00000069,0x00000068,0x00050082,0x0000000c,0x0000006a,
+ 0x00000067,0x00000069,0x0004007c,0x00000006,0x0000006b,0x0000006a,0x0003003e,0x00000064,
+ 0x0000006b,0x0004003d,0x00000006,0x0000006c,0x00000064,0x0004003d,0x00000006,0x0000006d,
+ 0x00000064,0x0004007f,0x00000006,0x0000006e,0x0000006d,0x0004003d,0x00000006,0x0000006f,
+ 0x00000023,0x00050085,0x00000006,0x00000070,0x0000006e,0x0000006f,0x0003003e,0x00000072,
+ 0x00000071,0x00050039,0x00000006,0x00000073,0x0000000a,0x00000072,0x00050081,0x00000006,
+ 0x00000074,0x00000070,0x00000073,0x00050085,0x00000006,0x00000075,0x0000006c,0x00000074,
+ 0x000200fe,0x00000075,0x00010038,0x00050036,0x00000029,0x0000002c,0x00000000,0x0000002a,
+ 0x00030037,0x00000028,0x0000002b,0x000200f8,0x0000002d,0x0004003b,0x00000028,0x00000078,
+ 0x00000007,0x0004003d,0x00000079,0x0000007c,0x0000007b,0x00040068,0x00000027,0x0000007d,
+ 0x0000007c,0x0003003e,0x00000078,0x0000007d,0x0004003d,0x00000079,0x0000007e,0x0000007b,
+ 0x0004003d,0x00000027,0x0000007f,0x0000002b,0x0004003d,0x00000027,0x00000082,0x00000078,
+ 0x00050050,0x00000027,0x00000084,0x00000083,0x00000083,0x00050082,0x00000027,0x00000085,
+ 0x00000082,0x00000084,0x0008000c,0x00000027,0x00000086,0x00000001,0x0000002d,0x0000007f,
+ 0x00000081,0x00000085,0x00050062,0x00000029,0x00000087,0x0000007e,0x00000086,0x000200fe,
+ 0x00000087,0x00010038,0x00050036,0x00000002,0x00000032,0x00000000,0x0000002e,0x00030037,
+ 0x00000007,0x0000002f,0x00030037,0x00000007,0x00000030,0x00030037,0x00000007,0x00000031,
+ 0x000200f8,0x00000033,0x000100fd,0x00010038,0x00050036,0x00000002,0x0000003e,0x00000000,
+ 0x00000038,0x00030037,0x00000007,0x00000039,0x00030037,0x00000007,0x0000003a,0x00030037,
+ 0x00000007,0x0000003b,0x00030037,0x00000035,0x0000003c,0x00030037,0x00000037,0x0000003d,
+ 0x000200f8,0x0000003f,0x0004003b,0x00000028,0x0000008a,0x00000007,0x0004003b,0x0000008e,
+ 0x0000008f,0x00000007,0x0004003b,0x00000028,0x00000094,0x00000007,0x0004003b,0x0000008e,
+ 0x00000097,0x00000007,0x0004003b,0x00000028,0x0000009b,0x00000007,0x0004003b,0x0000008e,
+ 0x0000009e,0x00000007,0x0004003b,0x00000028,0x0000009f,0x00000007,0x0004003b,0x0000008e,
+ 0x000000a3,0x00000007,0x0004003b,0x00000028,0x000000a7,0x00000007,0x0004003b,0x0000008e,
+ 0x000000aa,0x00000007,0x0004003b,0x00000028,0x000000ae,0x00000007,0x0004003b,0x00000007,
+ 0x000000b1,0x00000007,0x0004003b,0x00000007,0x000000b5,0x00000007,0x0004003b,0x00000007,
+ 0x000000b9,0x00000007,0x0004003b,0x00000007,0x000000bd,0x00000007,0x0004003b,0x00000007,
+ 0x000000c0,0x00000007,0x0004003b,0x00000007,0x000000c3,0x00000007,0x0004003b,0x00000007,
+ 0x000000c6,0x00000007,0x0004003b,0x00000007,0x000000c9,0x00000007,0x0004003b,0x00000007,
+ 0x000000cc,0x00000007,0x0004003b,0x00000007,0x000000cf,0x00000007,0x0004003b,0x00000007,
+ 0x000000d2,0x00000007,0x0004003b,0x00000007,0x000000d5,0x00000007,0x0004003b,0x00000007,
+ 0x000000d8,0x00000007,0x0004003b,0x00000007,0x000000db,0x00000007,0x0004003b,0x00000007,
+ 0x000000de,0x00000007,0x0004003b,0x00000007,0x000000e1,0x00000007,0x0004003b,0x00000007,
+ 0x000000e3,0x00000007,0x0004003b,0x00000007,0x000000e5,0x00000007,0x0004003b,0x00000007,
+ 0x000000eb,0x00000007,0x0004003b,0x00000007,0x000000ed,0x00000007,0x0004003b,0x00000007,
+ 0x000000ef,0x00000007,0x0004003b,0x00000007,0x000000f5,0x00000007,0x0004003b,0x00000007,
+ 0x000000f7,0x00000007,0x0004003b,0x00000007,0x000000f9,0x00000007,0x0004003b,0x00000007,
+ 0x000000ff,0x00000007,0x0004003b,0x00000007,0x00000101,0x00000007,0x0004003b,0x00000007,
+ 0x00000103,0x00000007,0x0004003b,0x00000007,0x00000109,0x00000007,0x0004003b,0x00000007,
+ 0x0000010b,0x00000007,0x0004003b,0x00000007,0x0000010d,0x00000007,0x0004003b,0x00000007,
+ 0x00000113,0x00000007,0x0004003b,0x00000007,0x00000116,0x00000007,0x0004003b,0x00000007,
+ 0x0000011a,0x00000007,0x0004003b,0x00000007,0x00000120,0x00000007,0x0004003b,0x00000007,
+ 0x00000122,0x00000007,0x0004003b,0x00000007,0x00000126,0x00000007,0x0004003b,0x00000007,
+ 0x0000012c,0x00000007,0x0004003b,0x00000007,0x0000012e,0x00000007,0x0004003b,0x00000007,
+ 0x00000132,0x00000007,0x0004003b,0x00000007,0x00000138,0x00000007,0x0004003b,0x00000007,
+ 0x0000013a,0x00000007,0x0004003b,0x00000007,0x0000013e,0x00000007,0x0004003b,0x00000007,
+ 0x00000144,0x00000007,0x0004003b,0x00000007,0x00000146,0x00000007,0x0004003b,0x00000007,
+ 0x0000014a,0x00000007,0x0004003b,0x00000007,0x00000150,0x00000007,0x0004003b,0x00000007,
+ 0x00000152,0x00000007,0x0004003b,0x00000007,0x00000156,0x00000007,0x0004003b,0x00000007,
+ 0x0000015b,0x00000007,0x0004003b,0x00000007,0x00000160,0x00000007,0x0004003b,0x00000007,
+ 0x00000169,0x00000007,0x0004003b,0x00000007,0x0000016b,0x00000007,0x0004003b,0x00000007,
+ 0x0000016d,0x00000007,0x0004003b,0x00000007,0x00000170,0x00000007,0x0004003b,0x00000007,
+ 0x00000171,0x00000007,0x0004003b,0x00000007,0x00000173,0x00000007,0x0004003b,0x00000007,
+ 0x00000176,0x00000007,0x0004003b,0x00000007,0x00000178,0x00000007,0x0004003b,0x00000007,
+ 0x0000017a,0x00000007,0x0004003b,0x00000007,0x0000017d,0x00000007,0x0004003b,0x00000007,
+ 0x0000017e,0x00000007,0x0004003b,0x00000007,0x00000180,0x00000007,0x0004003b,0x00000007,
+ 0x00000184,0x00000007,0x0004003b,0x00000007,0x00000187,0x00000007,0x0004003b,0x00000007,
+ 0x0000018a,0x00000007,0x0004003b,0x00000007,0x0000018e,0x00000007,0x0004003b,0x00000007,
+ 0x00000191,0x00000007,0x0004003b,0x00000007,0x00000192,0x00000007,0x0004003b,0x00000007,
+ 0x00000194,0x00000007,0x0004003b,0x00000007,0x00000196,0x00000007,0x0004003b,0x00000007,
+ 0x0000019b,0x00000007,0x0004003b,0x00000007,0x0000019c,0x00000007,0x0004003b,0x00000007,
+ 0x0000019e,0x00000007,0x0004003b,0x00000007,0x000001a0,0x00000007,0x0004003b,0x00000007,
+ 0x000001a5,0x00000007,0x0004003b,0x00000007,0x000001a6,0x00000007,0x0004003b,0x00000007,
+ 0x000001a8,0x00000007,0x0004003b,0x00000007,0x000001aa,0x00000007,0x0004003b,0x00000007,
+ 0x000001af,0x00000007,0x0004003b,0x00000007,0x000001b0,0x00000007,0x0004003b,0x00000007,
+ 0x000001b2,0x00000007,0x0004003b,0x00000007,0x000001b4,0x00000007,0x0004003b,0x00000007,
+ 0x000001b9,0x00000007,0x0004003b,0x00000007,0x000001ba,0x00000007,0x0004003b,0x00000007,
+ 0x000001bc,0x00000007,0x0004003b,0x00000007,0x000001be,0x00000007,0x0004003b,0x00000007,
+ 0x000001c3,0x00000007,0x0004003b,0x00000007,0x000001c4,0x00000007,0x0004003b,0x00000007,
+ 0x000001c6,0x00000007,0x0004003b,0x00000007,0x000001c8,0x00000007,0x0004003b,0x000001ce,
+ 0x000001cf,0x00000007,0x0004003b,0x00000007,0x000001d2,0x00000007,0x0004003b,0x00000007,
+ 0x000001d7,0x00000007,0x0004003b,0x00000007,0x000001db,0x00000007,0x0004003b,0x00000007,
+ 0x000001de,0x00000007,0x0004003b,0x00000007,0x000001e2,0x00000007,0x0004003b,0x00000007,
+ 0x000001e6,0x00000007,0x0004003b,0x00000007,0x000001e9,0x00000007,0x0004003b,0x00000007,
+ 0x000001ed,0x00000007,0x0004003b,0x00000007,0x000001f1,0x00000007,0x0004003b,0x00000007,
+ 0x000001f4,0x00000007,0x0004003b,0x00000007,0x000001fb,0x00000007,0x0004003b,0x00000007,
+ 0x00000202,0x00000007,0x0004003b,0x00000007,0x00000205,0x00000007,0x0004003b,0x00000007,
+ 0x0000020c,0x00000007,0x0004003b,0x00000007,0x00000213,0x00000007,0x0004003b,0x00000007,
+ 0x00000216,0x00000007,0x0004003b,0x00000007,0x0000021d,0x00000007,0x0004003b,0x00000007,
+ 0x00000224,0x00000007,0x0004003b,0x00000007,0x00000227,0x00000007,0x0004003b,0x00000007,
+ 0x0000022c,0x00000007,0x0004003b,0x00000007,0x00000231,0x00000007,0x0004003b,0x00000007,
+ 0x00000236,0x00000007,0x0004003b,0x00000007,0x00000238,0x00000007,0x0004003b,0x00000007,
+ 0x0000023a,0x00000007,0x0004003b,0x00000007,0x0000023c,0x00000007,0x0004003b,0x00000007,
+ 0x0000023e,0x00000007,0x0004003b,0x00000007,0x00000241,0x00000007,0x0004003b,0x00000007,
+ 0x00000249,0x00000007,0x0004003b,0x00000007,0x0000024a,0x00000007,0x0004003b,0x00000007,
+ 0x0000024e,0x00000007,0x0004003b,0x00000007,0x00000251,0x00000007,0x0004003d,0x00000034,
+ 0x0000008b,0x0000003c,0x0004007c,0x00000027,0x0000008c,0x0000008b,0x0003003e,0x0000008a,
+ 0x0000008c,0x0004003d,0x00000027,0x00000090,0x0000008a,0x00050080,0x00000027,0x00000093,
+ 0x00000090,0x00000092,0x0003003e,0x00000094,0x00000093,0x00050039,0x00000029,0x00000095,
+ 0x0000002c,0x00000094,0x0008004f,0x0000008d,0x00000096,0x00000095,0x00000095,0x00000000,
+ 0x00000001,0x00000002,0x0003003e,0x0000008f,0x00000096,0x0004003d,0x00000027,0x00000098,
+ 0x0000008a,0x00050080,0x00000027,0x0000009a,0x00000098,0x00000099,0x0003003e,0x0000009b,
+ 0x0000009a,0x00050039,0x00000029,0x0000009c,0x0000002c,0x0000009b,0x0008004f,0x0000008d,
+ 0x0000009d,0x0000009c,0x0000009c,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000097,
+ 0x0000009d,0x0004003d,0x00000027,0x000000a0,0x0000008a,0x0003003e,0x0000009f,0x000000a0,
+ 0x00050039,0x00000029,0x000000a1,0x0000002c,0x0000009f,0x0008004f,0x0000008d,0x000000a2,
+ 0x000000a1,0x000000a1,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000009e,0x000000a2,
+ 0x0004003d,0x00000027,0x000000a4,0x0000008a,0x00050080,0x00000027,0x000000a6,0x000000a4,
+ 0x000000a5,0x0003003e,0x000000a7,0x000000a6,0x00050039,0x00000029,0x000000a8,0x0000002c,
+ 0x000000a7,0x0008004f,0x0000008d,0x000000a9,0x000000a8,0x000000a8,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x000000a3,0x000000a9,0x0004003d,0x00000027,0x000000ab,0x0000008a,
+ 0x00050080,0x00000027,0x000000ad,0x000000ab,0x000000ac,0x0003003e,0x000000ae,0x000000ad,
+ 0x00050039,0x00000029,0x000000af,0x0000002c,0x000000ae,0x0008004f,0x0000008d,0x000000b0,
+ 0x000000af,0x000000af,0x00000000,0x00000001,0x00000002,0x0003003e,0x000000aa,0x000000b0,
+ 0x00050041,0x00000007,0x000000b3,0x0000008f,0x000000b2,0x0004003d,0x00000006,0x000000b4,
+ 0x000000b3,0x0003003e,0x000000b1,0x000000b4,0x00050041,0x00000007,0x000000b7,0x0000008f,
+ 0x000000b6,0x0004003d,0x00000006,0x000000b8,0x000000b7,0x0003003e,0x000000b5,0x000000b8,
+ 0x00050041,0x00000007,0x000000bb,0x0000008f,0x000000ba,0x0004003d,0x00000006,0x000000bc,
+ 0x000000bb,0x0003003e,0x000000b9,0x000000bc,0x00050041,0x00000007,0x000000be,0x00000097,
+ 0x000000b2,0x0004003d,0x00000006,0x000000bf,0x000000be,0x0003003e,0x000000bd,0x000000bf,
+ 0x00050041,0x00000007,0x000000c1,0x00000097,0x000000b6,0x0004003d,0x00000006,0x000000c2,
+ 0x000000c1,0x0003003e,0x000000c0,0x000000c2,0x00050041,0x00000007,0x000000c4,0x00000097,
+ 0x000000ba,0x0004003d,0x00000006,0x000000c5,0x000000c4,0x0003003e,0x000000c3,0x000000c5,
+ 0x00050041,0x00000007,0x000000c7,0x0000009e,0x000000b2,0x0004003d,0x00000006,0x000000c8,
+ 0x000000c7,0x0003003e,0x000000c6,0x000000c8,0x00050041,0x00000007,0x000000ca,0x0000009e,
+ 0x000000b6,0x0004003d,0x00000006,0x000000cb,0x000000ca,0x0003003e,0x000000c9,0x000000cb,
+ 0x00050041,0x00000007,0x000000cd,0x0000009e,0x000000ba,0x0004003d,0x00000006,0x000000ce,
+ 0x000000cd,0x0003003e,0x000000cc,0x000000ce,0x00050041,0x00000007,0x000000d0,0x000000a3,
+ 0x000000b2,0x0004003d,0x00000006,0x000000d1,0x000000d0,0x0003003e,0x000000cf,0x000000d1,
+ 0x00050041,0x00000007,0x000000d3,0x000000a3,0x000000b6,0x0004003d,0x00000006,0x000000d4,
+ 0x000000d3,0x0003003e,0x000000d2,0x000000d4,0x00050041,0x00000007,0x000000d6,0x000000a3,
+ 0x000000ba,0x0004003d,0x00000006,0x000000d7,0x000000d6,0x0003003e,0x000000d5,0x000000d7,
+ 0x00050041,0x00000007,0x000000d9,0x000000aa,0x000000b2,0x0004003d,0x00000006,0x000000da,
+ 0x000000d9,0x0003003e,0x000000d8,0x000000da,0x00050041,0x00000007,0x000000dc,0x000000aa,
+ 0x000000b6,0x0004003d,0x00000006,0x000000dd,0x000000dc,0x0003003e,0x000000db,0x000000dd,
+ 0x00050041,0x00000007,0x000000df,0x000000aa,0x000000ba,0x0004003d,0x00000006,0x000000e0,
+ 0x000000df,0x0003003e,0x000000de,0x000000e0,0x0004003d,0x00000006,0x000000e2,0x000000b1,
+ 0x0003003e,0x000000e1,0x000000e2,0x0004003d,0x00000006,0x000000e4,0x000000b5,0x0003003e,
+ 0x000000e3,0x000000e4,0x0004003d,0x00000006,0x000000e6,0x000000b9,0x0003003e,0x000000e5,
+ 0x000000e6,0x00070039,0x00000002,0x000000e7,0x00000032,0x000000e1,0x000000e3,0x000000e5,
+ 0x0004003d,0x00000006,0x000000e8,0x000000e1,0x0003003e,0x000000b1,0x000000e8,0x0004003d,
+ 0x00000006,0x000000e9,0x000000e3,0x0003003e,0x000000b5,0x000000e9,0x0004003d,0x00000006,
+ 0x000000ea,0x000000e5,0x0003003e,0x000000b9,0x000000ea,0x0004003d,0x00000006,0x000000ec,
+ 0x000000bd,0x0003003e,0x000000eb,0x000000ec,0x0004003d,0x00000006,0x000000ee,0x000000c0,
+ 0x0003003e,0x000000ed,0x000000ee,0x0004003d,0x00000006,0x000000f0,0x000000c3,0x0003003e,
+ 0x000000ef,0x000000f0,0x00070039,0x00000002,0x000000f1,0x00000032,0x000000eb,0x000000ed,
+ 0x000000ef,0x0004003d,0x00000006,0x000000f2,0x000000eb,0x0003003e,0x000000bd,0x000000f2,
+ 0x0004003d,0x00000006,0x000000f3,0x000000ed,0x0003003e,0x000000c0,0x000000f3,0x0004003d,
+ 0x00000006,0x000000f4,0x000000ef,0x0003003e,0x000000c3,0x000000f4,0x0004003d,0x00000006,
+ 0x000000f6,0x000000c6,0x0003003e,0x000000f5,0x000000f6,0x0004003d,0x00000006,0x000000f8,
+ 0x000000c9,0x0003003e,0x000000f7,0x000000f8,0x0004003d,0x00000006,0x000000fa,0x000000cc,
+ 0x0003003e,0x000000f9,0x000000fa,0x00070039,0x00000002,0x000000fb,0x00000032,0x000000f5,
+ 0x000000f7,0x000000f9,0x0004003d,0x00000006,0x000000fc,0x000000f5,0x0003003e,0x000000c6,
+ 0x000000fc,0x0004003d,0x00000006,0x000000fd,0x000000f7,0x0003003e,0x000000c9,0x000000fd,
+ 0x0004003d,0x00000006,0x000000fe,0x000000f9,0x0003003e,0x000000cc,0x000000fe,0x0004003d,
+ 0x00000006,0x00000100,0x000000cf,0x0003003e,0x000000ff,0x00000100,0x0004003d,0x00000006,
+ 0x00000102,0x000000d2,0x0003003e,0x00000101,0x00000102,0x0004003d,0x00000006,0x00000104,
+ 0x000000d5,0x0003003e,0x00000103,0x00000104,0x00070039,0x00000002,0x00000105,0x00000032,
+ 0x000000ff,0x00000101,0x00000103,0x0004003d,0x00000006,0x00000106,0x000000ff,0x0003003e,
+ 0x000000cf,0x00000106,0x0004003d,0x00000006,0x00000107,0x00000101,0x0003003e,0x000000d2,
+ 0x00000107,0x0004003d,0x00000006,0x00000108,0x00000103,0x0003003e,0x000000d5,0x00000108,
+ 0x0004003d,0x00000006,0x0000010a,0x000000d8,0x0003003e,0x00000109,0x0000010a,0x0004003d,
+ 0x00000006,0x0000010c,0x000000db,0x0003003e,0x0000010b,0x0000010c,0x0004003d,0x00000006,
+ 0x0000010e,0x000000de,0x0003003e,0x0000010d,0x0000010e,0x00070039,0x00000002,0x0000010f,
+ 0x00000032,0x00000109,0x0000010b,0x0000010d,0x0004003d,0x00000006,0x00000110,0x00000109,
+ 0x0003003e,0x000000d8,0x00000110,0x0004003d,0x00000006,0x00000111,0x0000010b,0x0003003e,
+ 0x000000db,0x00000111,0x0004003d,0x00000006,0x00000112,0x0000010d,0x0003003e,0x000000de,
+ 0x00000112,0x0004003d,0x00000006,0x00000114,0x000000b9,0x0003003e,0x00000116,0x00000115,
+ 0x00050039,0x00000006,0x00000117,0x0000000a,0x00000116,0x00050085,0x00000006,0x00000118,
+ 0x00000114,0x00000117,0x0004003d,0x00000006,0x00000119,0x000000b1,0x0003003e,0x0000011a,
+ 0x00000115,0x00050039,0x00000006,0x0000011b,0x0000000a,0x0000011a,0x00050085,0x00000006,
+ 0x0000011c,0x00000119,0x0000011b,0x0004003d,0x00000006,0x0000011d,0x000000b5,0x00050081,
+ 0x00000006,0x0000011e,0x0000011c,0x0000011d,0x00050081,0x00000006,0x0000011f,0x00000118,
+ 0x0000011e,0x0003003e,0x00000113,0x0000011f,0x0004003d,0x00000006,0x00000121,0x000000c3,
+ 0x0003003e,0x00000122,0x00000115,0x00050039,0x00000006,0x00000123,0x0000000a,0x00000122,
+ 0x00050085,0x00000006,0x00000124,0x00000121,0x00000123,0x0004003d,0x00000006,0x00000125,
+ 0x000000bd,0x0003003e,0x00000126,0x00000115,0x00050039,0x00000006,0x00000127,0x0000000a,
+ 0x00000126,0x00050085,0x00000006,0x00000128,0x00000125,0x00000127,0x0004003d,0x00000006,
+ 0x00000129,0x000000c0,0x00050081,0x00000006,0x0000012a,0x00000128,0x00000129,0x00050081,
+ 0x00000006,0x0000012b,0x00000124,0x0000012a,0x0003003e,0x00000120,0x0000012b,0x0004003d,
+ 0x00000006,0x0000012d,0x000000cc,0x0003003e,0x0000012e,0x00000115,0x00050039,0x00000006,
+ 0x0000012f,0x0000000a,0x0000012e,0x00050085,0x00000006,0x00000130,0x0000012d,0x0000012f,
+ 0x0004003d,0x00000006,0x00000131,0x000000c6,0x0003003e,0x00000132,0x00000115,0x00050039,
+ 0x00000006,0x00000133,0x0000000a,0x00000132,0x00050085,0x00000006,0x00000134,0x00000131,
+ 0x00000133,0x0004003d,0x00000006,0x00000135,0x000000c9,0x00050081,0x00000006,0x00000136,
+ 0x00000134,0x00000135,0x00050081,0x00000006,0x00000137,0x00000130,0x00000136,0x0003003e,
+ 0x0000012c,0x00000137,0x0004003d,0x00000006,0x00000139,0x000000d5,0x0003003e,0x0000013a,
+ 0x00000115,0x00050039,0x00000006,0x0000013b,0x0000000a,0x0000013a,0x00050085,0x00000006,
+ 0x0000013c,0x00000139,0x0000013b,0x0004003d,0x00000006,0x0000013d,0x000000cf,0x0003003e,
+ 0x0000013e,0x00000115,0x00050039,0x00000006,0x0000013f,0x0000000a,0x0000013e,0x00050085,
+ 0x00000006,0x00000140,0x0000013d,0x0000013f,0x0004003d,0x00000006,0x00000141,0x000000d2,
+ 0x00050081,0x00000006,0x00000142,0x00000140,0x00000141,0x00050081,0x00000006,0x00000143,
+ 0x0000013c,0x00000142,0x0003003e,0x00000138,0x00000143,0x0004003d,0x00000006,0x00000145,
+ 0x000000de,0x0003003e,0x00000146,0x00000115,0x00050039,0x00000006,0x00000147,0x0000000a,
+ 0x00000146,0x00050085,0x00000006,0x00000148,0x00000145,0x00000147,0x0004003d,0x00000006,
+ 0x00000149,0x000000d8,0x0003003e,0x0000014a,0x00000115,0x00050039,0x00000006,0x0000014b,
+ 0x0000000a,0x0000014a,0x00050085,0x00000006,0x0000014c,0x00000149,0x0000014b,0x0004003d,
+ 0x00000006,0x0000014d,0x000000db,0x00050081,0x00000006,0x0000014e,0x0000014c,0x0000014d,
+ 0x00050081,0x00000006,0x0000014f,0x00000148,0x0000014e,0x0003003e,0x00000144,0x0000014f,
+ 0x0003003e,0x00000152,0x00000151,0x00050039,0x00000006,0x00000153,0x0000000a,0x00000152,
+ 0x0004003d,0x00000006,0x00000154,0x00000113,0x00050085,0x00000006,0x00000155,0x00000153,
+ 0x00000154,0x0003003e,0x00000156,0x00000151,0x00050039,0x00000006,0x00000157,0x0000000a,
+ 0x00000156,0x0004003d,0x00000006,0x00000158,0x00000120,0x00050085,0x00000006,0x00000159,
+ 0x00000157,0x00000158,0x00050081,0x00000006,0x0000015a,0x00000155,0x00000159,0x0003003e,
+ 0x0000015b,0x00000151,0x00050039,0x00000006,0x0000015c,0x0000000a,0x0000015b,0x0004003d,
+ 0x00000006,0x0000015d,0x00000138,0x00050085,0x00000006,0x0000015e,0x0000015c,0x0000015d,
+ 0x00050081,0x00000006,0x0000015f,0x0000015a,0x0000015e,0x0003003e,0x00000160,0x00000151,
+ 0x00050039,0x00000006,0x00000161,0x0000000a,0x00000160,0x0004003d,0x00000006,0x00000162,
+ 0x00000144,0x00050085,0x00000006,0x00000163,0x00000161,0x00000162,0x00050081,0x00000006,
+ 0x00000164,0x0000015f,0x00000163,0x0004003d,0x00000006,0x00000165,0x0000012c,0x00050083,
+ 0x00000006,0x00000166,0x00000164,0x00000165,0x0003003e,0x00000150,0x00000166,0x0004003d,
+ 0x00000006,0x00000167,0x00000150,0x0006000c,0x00000006,0x00000168,0x00000001,0x00000004,
+ 0x00000167,0x0004003d,0x00000006,0x0000016a,0x00000113,0x0003003e,0x00000169,0x0000016a,
+ 0x0004003d,0x00000006,0x0000016c,0x00000120,0x0003003e,0x0000016b,0x0000016c,0x0004003d,
+ 0x00000006,0x0000016e,0x0000012c,0x0003003e,0x0000016d,0x0000016e,0x00070039,0x00000006,
+ 0x0000016f,0x00000016,0x00000169,0x0000016b,0x0000016d,0x0003003e,0x00000170,0x0000016f,
+ 0x0004003d,0x00000006,0x00000172,0x00000138,0x0003003e,0x00000171,0x00000172,0x0004003d,
+ 0x00000006,0x00000174,0x00000144,0x0003003e,0x00000173,0x00000174,0x00070039,0x00000006,
+ 0x00000175,0x00000016,0x00000170,0x00000171,0x00000173,0x0004003d,0x00000006,0x00000177,
+ 0x00000113,0x0003003e,0x00000176,0x00000177,0x0004003d,0x00000006,0x00000179,0x00000120,
+ 0x0003003e,0x00000178,0x00000179,0x0004003d,0x00000006,0x0000017b,0x0000012c,0x0003003e,
+ 0x0000017a,0x0000017b,0x00070039,0x00000006,0x0000017c,0x0000001b,0x00000176,0x00000178,
+ 0x0000017a,0x0003003e,0x0000017d,0x0000017c,0x0004003d,0x00000006,0x0000017f,0x00000138,
+ 0x0003003e,0x0000017e,0x0000017f,0x0004003d,0x00000006,0x00000181,0x00000144,0x0003003e,
+ 0x00000180,0x00000181,0x00070039,0x00000006,0x00000182,0x0000001b,0x0000017d,0x0000017e,
+ 0x00000180,0x00050083,0x00000006,0x00000183,0x00000175,0x00000182,0x0003003e,0x00000184,
+ 0x00000183,0x00050039,0x00000006,0x00000185,0x00000024,0x00000184,0x00050085,0x00000006,
+ 0x00000186,0x00000168,0x00000185,0x0003003e,0x00000187,0x00000186,0x00050039,0x00000006,
+ 0x00000188,0x00000021,0x00000187,0x0003003e,0x00000150,0x00000188,0x0003003e,0x0000018a,
+ 0x00000189,0x00050039,0x00000006,0x0000018b,0x0000000a,0x0000018a,0x0004003d,0x00000006,
+ 0x0000018c,0x00000150,0x00050085,0x00000006,0x0000018d,0x0000018b,0x0000018c,0x0003003e,
+ 0x0000018e,0x00000054,0x00050039,0x00000006,0x0000018f,0x0000000a,0x0000018e,0x00050081,
+ 0x00000006,0x00000190,0x0000018d,0x0000018f,0x0003003e,0x00000150,0x00000190,0x0004003d,
+ 0x00000006,0x00000193,0x000000b1,0x0003003e,0x00000192,0x00000193,0x0004003d,0x00000006,
+ 0x00000195,0x000000bd,0x0003003e,0x00000194,0x00000195,0x0004003d,0x00000006,0x00000197,
+ 0x000000cf,0x0003003e,0x00000196,0x00000197,0x00070039,0x00000006,0x00000198,0x0000001b,
+ 0x00000192,0x00000194,0x00000196,0x0004003d,0x00000006,0x00000199,0x000000d8,0x0007000c,
+ 0x00000006,0x0000019a,0x00000001,0x00000025,0x00000198,0x00000199,0x0003003e,0x00000191,
+ 0x0000019a,0x0004003d,0x00000006,0x0000019d,0x000000b5,0x0003003e,0x0000019c,0x0000019d,
+ 0x0004003d,0x00000006,0x0000019f,0x000000c0,0x0003003e,0x0000019e,0x0000019f,0x0004003d,
+ 0x00000006,0x000001a1,0x000000d2,0x0003003e,0x000001a0,0x000001a1,0x00070039,0x00000006,
+ 0x000001a2,0x0000001b,0x0000019c,0x0000019e,0x000001a0,0x0004003d,0x00000006,0x000001a3,
+ 0x000000db,0x0007000c,0x00000006,0x000001a4,0x00000001,0x00000025,0x000001a2,0x000001a3,
+ 0x0003003e,0x0000019b,0x000001a4,0x0004003d,0x00000006,0x000001a7,0x000000b9,0x0003003e,
+ 0x000001a6,0x000001a7,0x0004003d,0x00000006,0x000001a9,0x000000c3,0x0003003e,0x000001a8,
+ 0x000001a9,0x0004003d,0x00000006,0x000001ab,0x000000d5,0x0003003e,0x000001aa,0x000001ab,
+ 0x00070039,0x00000006,0x000001ac,0x0000001b,0x000001a6,0x000001a8,0x000001aa,0x0004003d,
+ 0x00000006,0x000001ad,0x000000de,0x0007000c,0x00000006,0x000001ae,0x00000001,0x00000025,
+ 0x000001ac,0x000001ad,0x0003003e,0x000001a5,0x000001ae,0x0004003d,0x00000006,0x000001b1,
+ 0x000000b1,0x0003003e,0x000001b0,0x000001b1,0x0004003d,0x00000006,0x000001b3,0x000000bd,
+ 0x0003003e,0x000001b2,0x000001b3,0x0004003d,0x00000006,0x000001b5,0x000000cf,0x0003003e,
+ 0x000001b4,0x000001b5,0x00070039,0x00000006,0x000001b6,0x00000016,0x000001b0,0x000001b2,
+ 0x000001b4,0x0004003d,0x00000006,0x000001b7,0x000000d8,0x0007000c,0x00000006,0x000001b8,
+ 0x00000001,0x00000028,0x000001b6,0x000001b7,0x0003003e,0x000001af,0x000001b8,0x0004003d,
+ 0x00000006,0x000001bb,0x000000b5,0x0003003e,0x000001ba,0x000001bb,0x0004003d,0x00000006,
+ 0x000001bd,0x000000c0,0x0003003e,0x000001bc,0x000001bd,0x0004003d,0x00000006,0x000001bf,
+ 0x000000d2,0x0003003e,0x000001be,0x000001bf,0x00070039,0x00000006,0x000001c0,0x00000016,
+ 0x000001ba,0x000001bc,0x000001be,0x0004003d,0x00000006,0x000001c1,0x000000db,0x0007000c,
+ 0x00000006,0x000001c2,0x00000001,0x00000028,0x000001c0,0x000001c1,0x0003003e,0x000001b9,
+ 0x000001c2,0x0004003d,0x00000006,0x000001c5,0x000000b9,0x0003003e,0x000001c4,0x000001c5,
+ 0x0004003d,0x00000006,0x000001c7,0x000000c3,0x0003003e,0x000001c6,0x000001c7,0x0004003d,
+ 0x00000006,0x000001c9,0x000000d5,0x0003003e,0x000001c8,0x000001c9,0x00070039,0x00000006,
+ 0x000001ca,0x00000016,0x000001c4,0x000001c6,0x000001c8,0x0004003d,0x00000006,0x000001cb,
+ 0x000000de,0x0007000c,0x00000006,0x000001cc,0x00000001,0x00000028,0x000001ca,0x000001cb,
+ 0x0003003e,0x000001c3,0x000001cc,0x0003003e,0x000001cf,0x000001d1,0x0004003d,0x00000006,
+ 0x000001d3,0x00000191,0x0004003d,0x00000006,0x000001d4,0x000000c6,0x0007000c,0x00000006,
+ 0x000001d5,0x00000001,0x00000025,0x000001d3,0x000001d4,0x0003003e,0x000001d7,0x000001d6,
+ 0x00050039,0x00000006,0x000001d8,0x0000000a,0x000001d7,0x0004003d,0x00000006,0x000001d9,
+ 0x000001af,0x00050085,0x00000006,0x000001da,0x000001d8,0x000001d9,0x0003003e,0x000001db,
+ 0x000001da,0x00050039,0x00000006,0x000001dc,0x0000001e,0x000001db,0x00050085,0x00000006,
+ 0x000001dd,0x000001d5,0x000001dc,0x0003003e,0x000001d2,0x000001dd,0x0004003d,0x00000006,
+ 0x000001df,0x0000019b,0x0004003d,0x00000006,0x000001e0,0x000000c9,0x0007000c,0x00000006,
+ 0x000001e1,0x00000001,0x00000025,0x000001df,0x000001e0,0x0003003e,0x000001e2,0x000001d6,
+ 0x00050039,0x00000006,0x000001e3,0x0000000a,0x000001e2,0x0004003d,0x00000006,0x000001e4,
+ 0x000001b9,0x00050085,0x00000006,0x000001e5,0x000001e3,0x000001e4,0x0003003e,0x000001e6,
+ 0x000001e5,0x00050039,0x00000006,0x000001e7,0x0000001e,0x000001e6,0x00050085,0x00000006,
+ 0x000001e8,0x000001e1,0x000001e7,0x0003003e,0x000001de,0x000001e8,0x0004003d,0x00000006,
+ 0x000001ea,0x000001a5,0x0004003d,0x00000006,0x000001eb,0x000000cc,0x0007000c,0x00000006,
+ 0x000001ec,0x00000001,0x00000025,0x000001ea,0x000001eb,0x0003003e,0x000001ed,0x000001d6,
+ 0x00050039,0x00000006,0x000001ee,0x0000000a,0x000001ed,0x0004003d,0x00000006,0x000001ef,
+ 0x000001c3,0x00050085,0x00000006,0x000001f0,0x000001ee,0x000001ef,0x0003003e,0x000001f1,
+ 0x000001f0,0x00050039,0x00000006,0x000001f2,0x0000001e,0x000001f1,0x00050085,0x00000006,
+ 0x000001f3,0x000001ec,0x000001f2,0x0003003e,0x000001e9,0x000001f3,0x00050041,0x00000007,
+ 0x000001f5,0x000001cf,0x000000b2,0x0004003d,0x00000006,0x000001f6,0x000001f5,0x0004003d,
+ 0x00000006,0x000001f7,0x000001af,0x0004003d,0x00000006,0x000001f8,0x000000c6,0x0007000c,
+ 0x00000006,0x000001f9,0x00000001,0x00000028,0x000001f7,0x000001f8,0x00050083,0x00000006,
+ 0x000001fa,0x000001f6,0x000001f9,0x0003003e,0x000001fb,0x000001d6,0x00050039,0x00000006,
+ 0x000001fc,0x0000000a,0x000001fb,0x0004003d,0x00000006,0x000001fd,0x00000191,0x00050085,
+ 0x00000006,0x000001fe,0x000001fc,0x000001fd,0x00050041,0x00000007,0x000001ff,0x000001cf,
+ 0x000000b6,0x0004003d,0x00000006,0x00000200,0x000001ff,0x00050081,0x00000006,0x00000201,
+ 0x000001fe,0x00000200,0x0003003e,0x00000202,0x00000201,0x00050039,0x00000006,0x00000203,
+ 0x0000001e,0x00000202,0x00050085,0x00000006,0x00000204,0x000001fa,0x00000203,0x0003003e,
+ 0x000001f4,0x00000204,0x00050041,0x00000007,0x00000206,0x000001cf,0x000000b2,0x0004003d,
+ 0x00000006,0x00000207,0x00000206,0x0004003d,0x00000006,0x00000208,0x000001b9,0x0004003d,
+ 0x00000006,0x00000209,0x000000c9,0x0007000c,0x00000006,0x0000020a,0x00000001,0x00000028,
+ 0x00000208,0x00000209,0x00050083,0x00000006,0x0000020b,0x00000207,0x0000020a,0x0003003e,
+ 0x0000020c,0x000001d6,0x00050039,0x00000006,0x0000020d,0x0000000a,0x0000020c,0x0004003d,
+ 0x00000006,0x0000020e,0x0000019b,0x00050085,0x00000006,0x0000020f,0x0000020d,0x0000020e,
+ 0x00050041,0x00000007,0x00000210,0x000001cf,0x000000b6,0x0004003d,0x00000006,0x00000211,
+ 0x00000210,0x00050081,0x00000006,0x00000212,0x0000020f,0x00000211,0x0003003e,0x00000213,
+ 0x00000212,0x00050039,0x00000006,0x00000214,0x0000001e,0x00000213,0x00050085,0x00000006,
+ 0x00000215,0x0000020b,0x00000214,0x0003003e,0x00000205,0x00000215,0x00050041,0x00000007,
+ 0x00000217,0x000001cf,0x000000b2,0x0004003d,0x00000006,0x00000218,0x00000217,0x0004003d,
+ 0x00000006,0x00000219,0x000001c3,0x0004003d,0x00000006,0x0000021a,0x000000cc,0x0007000c,
+ 0x00000006,0x0000021b,0x00000001,0x00000028,0x00000219,0x0000021a,0x00050083,0x00000006,
+ 0x0000021c,0x00000218,0x0000021b,0x0003003e,0x0000021d,0x000001d6,0x00050039,0x00000006,
+ 0x0000021e,0x0000000a,0x0000021d,0x0004003d,0x00000006,0x0000021f,0x000001a5,0x00050085,
+ 0x00000006,0x00000220,0x0000021e,0x0000021f,0x00050041,0x00000007,0x00000221,0x000001cf,
+ 0x000000b6,0x0004003d,0x00000006,0x00000222,0x00000221,0x00050081,0x00000006,0x00000223,
+ 0x00000220,0x00000222,0x0003003e,0x00000224,0x00000223,0x00050039,0x00000006,0x00000225,
+ 0x0000001e,0x00000224,0x00050085,0x00000006,0x00000226,0x0000021c,0x00000225,0x0003003e,
+ 0x00000216,0x00000226,0x0004003d,0x00000006,0x00000228,0x000001d2,0x0004007f,0x00000006,
+ 0x00000229,0x00000228,0x0004003d,0x00000006,0x0000022a,0x000001f4,0x0007000c,0x00000006,
+ 0x0000022b,0x00000001,0x00000028,0x00000229,0x0000022a,0x0003003e,0x00000227,0x0000022b,
+ 0x0004003d,0x00000006,0x0000022d,0x000001de,0x0004007f,0x00000006,0x0000022e,0x0000022d,
+ 0x0004003d,0x00000006,0x0000022f,0x00000205,0x0007000c,0x00000006,0x00000230,0x00000001,
+ 0x00000028,0x0000022e,0x0000022f,0x0003003e,0x0000022c,0x00000230,0x0004003d,0x00000006,
+ 0x00000232,0x000001e9,0x0004007f,0x00000006,0x00000233,0x00000232,0x0004003d,0x00000006,
+ 0x00000234,0x00000216,0x0007000c,0x00000006,0x00000235,0x00000001,0x00000028,0x00000233,
+ 0x00000234,0x0003003e,0x00000231,0x00000235,0x0003003e,0x00000238,0x00000237,0x00050039,
+ 0x00000006,0x00000239,0x0000000a,0x00000238,0x0004003d,0x00000006,0x0000023b,0x00000227,
+ 0x0003003e,0x0000023a,0x0000023b,0x0004003d,0x00000006,0x0000023d,0x0000022c,0x0003003e,
+ 0x0000023c,0x0000023d,0x0004003d,0x00000006,0x0000023f,0x00000231,0x0003003e,0x0000023e,
+ 0x0000023f,0x00070039,0x00000006,0x00000240,0x00000016,0x0000023a,0x0000023c,0x0000023e,
+ 0x0003003e,0x00000241,0x0000005c,0x00050039,0x00000006,0x00000242,0x0000000a,0x00000241,
+ 0x0007000c,0x00000006,0x00000243,0x00000001,0x00000025,0x00000240,0x00000242,0x0007000c,
+ 0x00000006,0x00000244,0x00000001,0x00000028,0x00000239,0x00000243,0x00050041,0x0000000d,
+ 0x00000245,0x0000003d,0x000000b2,0x0004003d,0x0000000c,0x00000246,0x00000245,0x0004007c,
+ 0x00000006,0x00000247,0x00000246,0x00050085,0x00000006,0x00000248,0x00000244,0x00000247,
+ 0x0003003e,0x00000236,0x00000248,0x0003003e,0x0000024a,0x000001d6,0x00050039,0x00000006,
+ 0x0000024b,0x0000000a,0x0000024a,0x0004003d,0x00000006,0x0000024c,0x00000236,0x00050085,
+ 0x00000006,0x0000024d,0x0000024b,0x0000024c,0x0003003e,0x0000024e,0x00000054,0x00050039,
+ 0x00000006,0x0000024f,0x0000000a,0x0000024e,0x00050081,0x00000006,0x00000250,0x0000024d,
+ 0x0000024f,0x0003003e,0x00000251,0x00000250,0x00050039,0x00000006,0x00000252,0x00000024,
+ 0x00000251,0x0003003e,0x00000249,0x00000252,0x0004003d,0x00000006,0x00000253,0x00000236,
+ 0x0004003d,0x00000006,0x00000254,0x000000b1,0x00050085,0x00000006,0x00000255,0x00000253,
+ 0x00000254,0x0004003d,0x00000006,0x00000256,0x00000236,0x0004003d,0x00000006,0x00000257,
+ 0x000000bd,0x00050085,0x00000006,0x00000258,0x00000256,0x00000257,0x00050081,0x00000006,
+ 0x00000259,0x00000255,0x00000258,0x0004003d,0x00000006,0x0000025a,0x00000236,0x0004003d,
+ 0x00000006,0x0000025b,0x000000d8,0x00050085,0x00000006,0x0000025c,0x0000025a,0x0000025b,
+ 0x00050081,0x00000006,0x0000025d,0x00000259,0x0000025c,0x0004003d,0x00000006,0x0000025e,
+ 0x00000236,0x0004003d,0x00000006,0x0000025f,0x000000cf,0x00050085,0x00000006,0x00000260,
+ 0x0000025e,0x0000025f,0x00050081,0x00000006,0x00000261,0x0000025d,0x00000260,0x0004003d,
+ 0x00000006,0x00000262,0x000000c6,0x00050081,0x00000006,0x00000263,0x00000261,0x00000262,
+ 0x0004003d,0x00000006,0x00000264,0x00000249,0x00050085,0x00000006,0x00000265,0x00000263,
+ 0x00000264,0x0003003e,0x00000039,0x00000265,0x0004003d,0x00000006,0x00000266,0x00000236,
+ 0x0004003d,0x00000006,0x00000267,0x000000b5,0x00050085,0x00000006,0x00000268,0x00000266,
+ 0x00000267,0x0004003d,0x00000006,0x00000269,0x00000236,0x0004003d,0x00000006,0x0000026a,
+ 0x000000c0,0x00050085,0x00000006,0x0000026b,0x00000269,0x0000026a,0x00050081,0x00000006,
+ 0x0000026c,0x00000268,0x0000026b,0x0004003d,0x00000006,0x0000026d,0x00000236,0x0004003d,
+ 0x00000006,0x0000026e,0x000000db,0x00050085,0x00000006,0x0000026f,0x0000026d,0x0000026e,
+ 0x00050081,0x00000006,0x00000270,0x0000026c,0x0000026f,0x0004003d,0x00000006,0x00000271,
+ 0x00000236,0x0004003d,0x00000006,0x00000272,0x000000d2,0x00050085,0x00000006,0x00000273,
+ 0x00000271,0x00000272,0x00050081,0x00000006,0x00000274,0x00000270,0x00000273,0x0004003d,
+ 0x00000006,0x00000275,0x000000c9,0x00050081,0x00000006,0x00000276,0x00000274,0x00000275,
+ 0x0004003d,0x00000006,0x00000277,0x00000249,0x00050085,0x00000006,0x00000278,0x00000276,
+ 0x00000277,0x0003003e,0x0000003a,0x00000278,0x0004003d,0x00000006,0x00000279,0x00000236,
+ 0x0004003d,0x00000006,0x0000027a,0x000000b9,0x00050085,0x00000006,0x0000027b,0x00000279,
+ 0x0000027a,0x0004003d,0x00000006,0x0000027c,0x00000236,0x0004003d,0x00000006,0x0000027d,
+ 0x000000c3,0x00050085,0x00000006,0x0000027e,0x0000027c,0x0000027d,0x00050081,0x00000006,
+ 0x0000027f,0x0000027b,0x0000027e,0x0004003d,0x00000006,0x00000280,0x00000236,0x0004003d,
+ 0x00000006,0x00000281,0x000000de,0x00050085,0x00000006,0x00000282,0x00000280,0x00000281,
+ 0x00050081,0x00000006,0x00000283,0x0000027f,0x00000282,0x0004003d,0x00000006,0x00000284,
+ 0x00000236,0x0004003d,0x00000006,0x00000285,0x000000d5,0x00050085,0x00000006,0x00000286,
+ 0x00000284,0x00000285,0x00050081,0x00000006,0x00000287,0x00000283,0x00000286,0x0004003d,
+ 0x00000006,0x00000288,0x000000cc,0x00050081,0x00000006,0x00000289,0x00000287,0x00000288,
+ 0x0004003d,0x00000006,0x0000028a,0x00000249,0x00050085,0x00000006,0x0000028b,0x00000289,
+ 0x0000028a,0x0003003e,0x0000003b,0x0000028b,0x000100fd,0x00010038
};
diff --git a/tools/check-platform-boundaries.sh b/tools/check-platform-boundaries.sh
index 24b4db8..2b8eeba 100755
--- a/tools/check-platform-boundaries.sh
+++ b/tools/check-platform-boundaries.sh
@@ -22,7 +22,6 @@ cd "$root"
allowed=(
'src/platform/ps5/*' # the PS5's platform layer
'src/*_ps5.cpp' # PS5 backends: display, controller, kbm, hw_decoder, shell...
- 'src/display/gpu.cpp' # RADV on the PS5 (the GPU path only the PS5 builds)
'ps5/*' # link stubs and compat headers for the PS5 SDK
# Legacy: these still pick their PS5 code with #if. Each comes off the
# list once it is split into a PS5 backend and a portable part.
diff --git a/tools/desktop/package-linux.sh b/tools/desktop/package-linux.sh
index 719bf98..99cb08e 100755
--- a/tools/desktop/package-linux.sh
+++ b/tools/desktop/package-linux.sh
@@ -61,7 +61,8 @@ ok "no private file, everything under PSBox/ ($(grep -vc '/$' <<<"$list") files)
for f in psbox lib/libSDL3.so.0 psbox.desktop psbox.png README-linux.txt assets/cacert.pem assets/fonts/Inter-Regular.ttf \
licenses/LICENSE licenses/THIRD_PARTY_NOTICES.md licenses/FFmpeg-LGPL-2.1.txt licenses/FFmpeg-NOTE.txt \
licenses/SDL3-LICENSE.txt licenses/Inter-OFL.txt licenses/mbedtls-LICENSE.txt licenses/libdatachannel-MPL-2.0.txt \
- licenses/usrsctp-LICENSE.md licenses/libsrtp-LICENSE.txt licenses/plog-LICENSE.txt licenses/stb-LICENSE.txt; do
+ licenses/usrsctp-LICENSE.md licenses/libsrtp-LICENSE.txt licenses/plog-LICENSE.txt licenses/stb-LICENSE.txt \
+ licenses/FSR1-MIT.txt licenses/Anime4K-MIT.txt; do
grep -qx "PSBox/$f" <<<"$list" || fail "missing PSBox/$f"
done
ok "app, SDL3, assets, desktop entry, icon, README and licenses in place"