diff --git a/.github/trusted-test-builds.txt b/.github/trusted-test-builds.txt
index 4f94e6c268..99d73b6ac9 100644
--- a/.github/trusted-test-builds.txt
+++ b/.github/trusted-test-builds.txt
@@ -6,3 +6,4 @@ KeegantheVeganat0r
kingokksa
ovurrsl
KeegantheVeganat0r
+EnzoDLofi
diff --git a/.github/workflows/build-bionic-runtime.yml b/.github/workflows/build-bionic-runtime.yml
new file mode 100644
index 0000000000..2bc5091fd9
--- /dev/null
+++ b/.github/workflows/build-bionic-runtime.yml
@@ -0,0 +1,35 @@
+name: Build bionic runtime pack and DroidDeck-Bionic tool
+
+on:
+ push:
+ paths:
+ - 'tools/bionic-runtime/**'
+ - 'tools/gamescope/patches/0117-wsi-cache-present-bypass-check.patch'
+ - 'tools/gamescope/patches/0119-wsi-default-images-under-limiter.patch'
+ - 'app/src/main/cpp/fakeinput_steam.cpp'
+ - 'tools/gpuload/**'
+ - '.github/workflows/build-bionic-runtime.yml'
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-24.04
+ timeout-minutes: 45
+ steps:
+ - uses: actions/checkout@v4
+ - name: Host tools
+ run: |
+ set -euo pipefail
+ sudo apt-get update -qq
+ sudo apt-get install -y -qq --no-install-recommends libwayland-bin libwayland-dev libx11-dev libx11-xcb-dev \
+ libxcb1-dev libxcb-composite0-dev libglm-dev zstd
+ - name: Build
+ run: |
+ set -euo pipefail
+ export NDK="${ANDROID_NDK_LATEST_HOME:-${ANDROID_NDK_HOME:-$ANDROID_NDK_ROOT}}"
+ export BUILD_NUMBER=${{ github.run_number }}
+ tools/bionic-runtime/build.sh "$RUNNER_TEMP/bionic-runtime" "$PWD/out"
+ - uses: actions/upload-artifact@v4
+ with:
+ name: droiddeck-bionic-runtime-${{ github.sha }}
+ path: out/*
diff --git a/.github/workflows/build-fex.yml b/.github/workflows/build-fex.yml
index deb099100a..08d3ba957b 100644
--- a/.github/workflows/build-fex.yml
+++ b/.github/workflows/build-fex.yml
@@ -29,11 +29,14 @@ jobs:
persist-credentials: false
- name: Build in Arch Linux ARM
env:
+ GH_TOKEN: ${{ github.token }}
FEX_EXTRA_CXXFLAGS: ${{ inputs.cxxflags }}
FEX_THUNKS: ${{ inputs.thunks == 'true' && '1' || '0' }}
run: |
set -euo pipefail
- docker run --rm -e FEX_EXTRA_CXXFLAGS="$FEX_EXTRA_CXXFLAGS" -e FEX_THUNKS="$FEX_THUNKS" -v "$PWD:/work" -w /work menci/archlinuxarm:base-devel bash tools/fex/build-in-arch.sh
+ FEX_VERSION=$(gh api repos/FEX-Emu/FEX/releases/latest --jq .tag_name)
+ echo "Building $FEX_VERSION, FEX's latest release"
+ docker run --rm -e FEX_VERSION="$FEX_VERSION" -e FEX_EXTRA_CXXFLAGS="$FEX_EXTRA_CXXFLAGS" -e FEX_THUNKS="$FEX_THUNKS" -v "$PWD:/work" -w /work menci/archlinuxarm:base-devel bash tools/fex/build-in-arch.sh
sudo chown -R "$(id -u):$(id -g)" .
- uses: actions/upload-artifact@v4
with:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ba8049c2ff..9b32d1b442 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -164,6 +164,9 @@ jobs:
!/docs/releases/media/
sparse-checkout-cone-mode: false
persist-credentials: false
+ - name: Clear scratch earlier runs left behind
+ if: runner.environment == 'self-hosted'
+ run: bash tools/ci/clear-runner-scratch.sh "$GITHUB_WORKSPACE"
- name: Merge the pinned APK base
if: github.event_name == 'pull_request'
env:
@@ -291,7 +294,7 @@ jobs:
- name: Build the non-Adreno test additions (Mali bridge client, Venus GL probe, Xclipse layer)
run: |
set -euo pipefail
- bash tools/ci/install-ubuntu-packages.sh gcc-aarch64-linux-gnu libvulkan-dev
+ bash tools/ci/install-ubuntu-packages.sh gcc-aarch64-linux-gnu libc6-dev-arm64-cross libvulkan-dev
D=app/src/main/assets/linuxfs
mkdir -p "$D/usr/local/bin" "$D/usr/local/lib/droiddeck-xclipse"
aarch64-linux-gnu-gcc -shared -fPIC -O2 -Wall -Wextra -Wno-unused-parameter -fvisibility=hidden -pthread \
@@ -367,6 +370,10 @@ jobs:
persist-credentials: false
submodules: recursive
+ - name: Clear scratch earlier runs left behind
+ if: runner.environment == 'self-hosted'
+ run: bash tools/ci/clear-runner-scratch.sh "$GITHUB_WORKSPACE"
+
- name: Check human authorship
env:
EVENT_NAME: ${{ github.event_name }}
@@ -565,17 +572,65 @@ jobs:
SOURCE_TREE: ${{ needs.source.outputs.tree-sha }}
run: python3 tools/components/prepare.py unpack --tree "$SOURCE_TREE"
+ # A hosted runner needs over 20 minutes per launcher; rebuild only when its sources change, and save each
+ # build as soon as it finishes so a later timeout cannot discard it.
+ - name: Restore the Ubisoft launcher build
+ id: ubisoft-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: app/src/main/assets/linuxfs/usr/local/lib/droiddeck-ubisoft
+ key: ubisoft-launcher-v1-${{ steps.rust.outputs.rustc }}-${{ hashFiles('tools/ubisoft-launcher/src/**', 'tools/ubisoft-launcher/Cargo.toml', 'tools/ubisoft-launcher/Cargo.lock', 'tools/ubisoft-launcher/build.sh', 'tools/ubisoft-launcher/build.rs', 'tools/ubisoft-launcher/.cargo/**') }}
- name: Ubisoft launcher service (x86_64-pc-windows-gnu)
+ if: steps.ubisoft-cache.outputs.cache-hit != 'true'
run: |
set -euo pipefail
command -v x86_64-w64-mingw32-gcc >/dev/null || { sudo apt-get update -qq && sudo apt-get install -y -qq gcc-mingw-w64-x86-64; }
bash tools/ubisoft-launcher/build.sh
+ - name: Save the Ubisoft launcher build
+ if: steps.ubisoft-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: app/src/main/assets/linuxfs/usr/local/lib/droiddeck-ubisoft
+ key: ${{ steps.ubisoft-cache.outputs.cache-primary-key }}
+ - name: Restore the Rockstar launcher build
+ id: rockstar-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: app/src/main/assets/linuxfs/usr/local/lib/droiddeck-rockstar
+ key: rockstar-launcher-v1-${{ steps.rust.outputs.rustc }}-${{ hashFiles('tools/rockstar-launcher/src/**', 'tools/rockstar-launcher/Cargo.toml', 'tools/rockstar-launcher/Cargo.lock', 'tools/rockstar-launcher/build.sh', 'tools/rockstar-launcher/build.rs', 'tools/rockstar-launcher/.cargo/**') }}
- name: Rockstar launcher service (32-bit and 64-bit)
+ if: steps.rockstar-cache.outputs.cache-hit != 'true'
run: |
set -euo pipefail
command -v i686-w64-mingw32-gcc >/dev/null || { sudo apt-get update -qq && sudo apt-get install -y -qq gcc-mingw-w64-i686; }
+ command -v x86_64-w64-mingw32-gcc >/dev/null || { sudo apt-get update -qq && sudo apt-get install -y -qq gcc-mingw-w64-x86-64; }
bash tools/rockstar-launcher/build.sh
+ - name: Save the Rockstar launcher build
+ if: steps.rockstar-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: app/src/main/assets/linuxfs/usr/local/lib/droiddeck-rockstar
+ key: ${{ steps.rockstar-cache.outputs.cache-primary-key }}
+
+ - name: Restore the Epic launcher build
+ id: epic-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: app/src/main/assets/linuxfs/usr/local/lib/droiddeck-epic
+ key: epic-launcher-v1-${{ steps.rust.outputs.rustc }}-${{ hashFiles('tools/epic-launcher/src/**', 'tools/epic-launcher/Cargo.toml', 'tools/epic-launcher/Cargo.lock', 'tools/epic-launcher/build.sh', 'tools/epic-launcher/build.rs', 'tools/epic-launcher/.cargo/**') }}
+ - name: Epic Games Launcher parent stand-in (x86_64-pc-windows-gnu)
+ if: steps.epic-cache.outputs.cache-hit != 'true'
+ run: |
+ set -euo pipefail
+ command -v x86_64-w64-mingw32-gcc >/dev/null || { sudo apt-get update -qq && sudo apt-get install -y -qq gcc-mingw-w64-x86-64; }
+ bash tools/epic-launcher/build.sh
+ - name: Save the Epic launcher build
+ if: steps.epic-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: app/src/main/assets/linuxfs/usr/local/lib/droiddeck-epic
+ key: ${{ steps.epic-cache.outputs.cache-primary-key }}
- uses: actions/download-artifact@v4
with:
@@ -588,7 +643,7 @@ jobs:
path: |
~/.cache/droiddeck-pack-inputs
~/.cache/droiddeck-build
- key: pack-inputs-v2-${{ hashFiles('tools/packs/build.sh', 'tools/packs/fetch-verified.sh', 'tools/packs/tracking/release.env', 'tools/powervr/release.json') }}
+ key: pack-inputs-v2-${{ hashFiles('tools/packs/build.sh', 'tools/packs/fetch-verified.sh', 'tools/packs/tracking/release.env', 'tools/packs/zstd/release.env', 'tools/powervr/release.json') }}
restore-keys: pack-inputs-v2-
- name: Build the add-on packs
run: |
@@ -619,14 +674,18 @@ jobs:
export NDK="$ANDROID_HOME/ndk/$NDK_VERSION"
tools/syncthing/build.sh app/src/main/jniLibs/arm64-v8a
- - name: Note when the proot pack pin is behind this build
+ - name: Check the proot pack pin against this build
run: |
set -euo pipefail
# shellcheck disable=SC1091
source tools/packs/proot/release.env
sha=$(sha256sum app/build/packs/proot.tar.zst | cut -d' ' -f1)
- if [ "$sha" != "$PROOT_PACK_SHA256" ]; then
- echo "::warning::built proot pack $sha does not match tools/packs/proot/release.env ($PROOT_PACK_SHA256). This build publishes the pack it just built. Source builds keep downloading the pinned pack until release.env is updated."
+ size=$(stat -c %s app/build/packs/proot.tar.zst)
+ if [ "$sha" != "$PROOT_PACK_SHA256" ] || [ "$size" != "$PROOT_PACK_SIZE" ]; then
+ level=warning
+ if [ "$GITHUB_EVENT_NAME" = pull_request ]; then level=error; fi
+ echo "::$level::built proot pack $sha ($size bytes) does not match tools/packs/proot/release.env ($PROOT_PACK_SHA256, $PROOT_PACK_SIZE bytes). Source builds download the pinned pack, so set PROOT_PACK_SHA256=$sha and PROOT_PACK_SIZE=$size in tools/packs/proot/release.env."
+ if [ "$level" = error ]; then exit 1; fi
fi
- name: Check out MaliBridge
@@ -675,6 +734,37 @@ jobs:
if-no-files-found: ignore
overwrite: true
+ - name: Resolve the Robolectric version
+ id: robolectric
+ run: |
+ echo "version=$(grep -o "org.robolectric:robolectric:[0-9.]*" app/build.gradle | cut -d: -f3)" >> "$GITHUB_OUTPUT"
+ # Robolectric downloads these from Maven Central on first use without retrying, and 429s fail whole test classes.
+ # The cache path sits beside the workspace because runner homes are at different depths from it, and
+ # actions/cache stores paths relative to the workspace. Runners that keep their own ~/.m2 skip the cache.
+ - name: Place Robolectric's Android jars beside the workspace
+ id: robolectric-jars
+ run: |
+ set -euo pipefail
+ jars="$GITHUB_WORKSPACE/../robolectric-jars"
+ m2="$HOME/.m2/repository/org/robolectric/android-all-instrumented"
+ if [ -d "$m2" ] && [ ! -L "$m2" ]; then
+ echo "cache=false" >> "$GITHUB_OUTPUT"
+ else
+ mkdir -p "$jars" "$(dirname "$m2")"
+ ln -sfn "$(cd "$jars" && pwd)" "$m2"
+ echo "cache=true" >> "$GITHUB_OUTPUT"
+ fi
+ - name: Restore Robolectric's Android jars
+ id: robolectric-cache
+ if: steps.robolectric-jars.outputs.cache == 'true'
+ uses: actions/cache/restore@v4
+ with:
+ path: ../robolectric-jars
+ key: robolectric-android-all-v3-${{ steps.robolectric.outputs.version }}-${{ github.run_id }}
+ restore-keys: robolectric-android-all-v3-${{ steps.robolectric.outputs.version }}-
+ - name: Count the restored Robolectric jars
+ if: steps.robolectric-jars.outputs.cache == 'true'
+ run: echo "ROBOLECTRIC_JARS_BEFORE=$(find "$GITHUB_WORKSPACE/../robolectric-jars" -name '*.jar' | wc -l)" >> "$GITHUB_ENV"
- name: Unit tests
id: unit-tests
env:
@@ -685,6 +775,34 @@ jobs:
mkdir -p app/build
./gradlew testReleaseUnitTest --console=plain --info --stacktrace -Drobolectric.logging=stderr -PndkVersion="$NDK_VERSION" 2>&1 | tee app/build/unit-tests.log
+ # actions/cache only saves when the job succeeds, so a run whose tests died on a Maven 429 never filled the cache.
+ # Save the complete jars even after a failed test step, when this run added some; a partial download is dropped first.
+ - name: Save Robolectric's Android jars
+ id: robolectric-jars-final
+ if: always() && steps.robolectric-jars.outputs.cache == 'true'
+ run: |
+ python3 - <<'PY'
+ import glob, os, zipfile
+ root = os.path.join(os.environ['GITHUB_WORKSPACE'], '..', 'robolectric-jars')
+ for f in glob.glob(os.path.join(root, '**', '*'), recursive=True):
+ if not os.path.isfile(f):
+ continue
+ try:
+ ok = f.endswith('.jar') and zipfile.ZipFile(f).testzip() is None
+ except Exception:
+ ok = False
+ if not ok:
+ os.remove(f)
+ PY
+ after=$(find "$GITHUB_WORKSPACE/../robolectric-jars" -name '*.jar' | wc -l)
+ [ "$after" -gt "${ROBOLECTRIC_JARS_BEFORE:-0}" ] && echo "save=true" >> "$GITHUB_OUTPUT" || true
+ - name: Store Robolectric's Android jars
+ if: always() && steps.robolectric-jars-final.outputs.save == 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: ../robolectric-jars
+ key: robolectric-android-all-v3-${{ steps.robolectric.outputs.version }}-${{ github.run_id }}
+
- name: Upload unit test diagnostics
id: unit-test-diagnostics
if: always() && steps.unit-tests.outcome != 'skipped'
@@ -765,7 +883,6 @@ jobs:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
runs-on: ubuntu-24.04
timeout-minutes: 15
- continue-on-error: true
permissions:
contents: read
actions: read
@@ -811,7 +928,6 @@ jobs:
stores-host-v1-${{ runner.os }}-${{ runner.arch }}-${{ steps.rust.outputs.rustc }}-
- name: Store engines host unit tests
timeout-minutes: 10
- continue-on-error: true
run: |
set -o pipefail
cd app/src/main/rust/stores
@@ -821,6 +937,7 @@ jobs:
run: |
cargo test --locked --manifest-path tools/ubisoft-launcher/Cargo.toml
cargo test --locked --manifest-path tools/rockstar-launcher/Cargo.toml
+ cargo test --locked --manifest-path tools/epic-launcher/Cargo.toml
python-tests:
name: Python and native regression tests
@@ -900,7 +1017,7 @@ jobs:
checks:
name: Compile and test APK
- needs: [build, python-tests]
+ needs: [build, python-tests, store-tests]
if: ${{ !cancelled() && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
runs-on: ubuntu-24.04
timeout-minutes: 5
@@ -909,7 +1026,8 @@ jobs:
env:
BUILD_RESULT: ${{ needs.build.result }}
PYTHON_RESULT: ${{ needs.python-tests.result }}
- run: test "$BUILD_RESULT" = success && test "$PYTHON_RESULT" = success
+ STORE_RESULT: ${{ needs.store-tests.result }}
+ run: test "$BUILD_RESULT" = success && test "$PYTHON_RESULT" = success && test "$STORE_RESULT" = success
sign:
needs: [build, checks]
diff --git a/.github/workflows/publish-packs.yml b/.github/workflows/publish-packs.yml
index c9e036f2db..a3c46b8f8b 100644
--- a/.github/workflows/publish-packs.yml
+++ b/.github/workflows/publish-packs.yml
@@ -55,7 +55,7 @@ jobs:
jq -r --arg n "$2" '.assets // [] | .[] | select(.name == $n) | .digest // empty'
}
commit=$(gh api "repos/$GITHUB_REPOSITORY/actions/runs/$BUILD_RUN" --jq .head_sha 2>/dev/null || echo "$GITHUB_SHA")
- for name in proot directaudio tracking xbox comet butler powervr ubisoft rockstar dirt; do
+ for name in proot directaudio tracking xbox comet butler powervr ubisoft rockstar dirt epic; do
file="packs/$name.tar.zst"
[ -f "$file" ] || { echo "::error::$name.tar.zst is missing from Build APK run $BUILD_RUN"; exit 1; }
sha=$(sha256sum "$file" | cut -d' ' -f1)
diff --git a/.gitignore b/.gitignore
index eeb1404467..395d551a1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,3 +37,4 @@ app/src/main/assets/directaudio/
app/src/main/assets/hybris/
/tools/vr/out/
app/src/main/assets/linuxfs/usr/local/lib/droiddeck-rockstar/
+app/src/main/assets/linuxfs/usr/local/lib/droiddeck-epic/
diff --git a/AGENTS.md b/AGENTS.md
index 447807615b..97930d6563 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -2,7 +2,42 @@
- Comments should be rare, factual, and explain only non-obvious external constraints or business invariants.
-# Working on the device
+# Building and testing
+
+- For an install-and-look iteration, use `tools/quick_deploy.sh` (build without lint, sign, install, about 30 s). Run `tools/build_local.sh` once to prepare the runtime and again only before a PR. It is not a per-change step.
+- `tools/build_local.sh` reuses the components a main CI run prepared when every recipe identity matches the local tree (it prints `components: … reusing`). It builds them locally when no usable CI artifact matches (after you change their inputs, or when the lookup fails) or with `DROIDDECK_CI_COMPONENTS=0`.
+- Helper scripts (`tools/linuxfs/overlay`, `tools/linuxfs/desktop`) are staged on every Gradle build, so editing them needs no `build_local.sh`. After preloads or other runtime components change, the fast loop warns and reuses the old binaries; run `tools/build_local.sh` when those matter. "Missing or changed runtime input" means the prepared files themselves changed: run `tools/build_local.sh` once. Do not revert scripts or copy `app/build` between checkouts; `tools/seed_worktree.sh` seeds a new worktree from the main checkout.
+- Every build defaults to the NDK in `tools/ci/toolchains.env`, as CI does. CI runs `testReleaseUnitTest`; when a test fails only in CI, run the release variant locally.
+- Run the tests that cover what you changed, including unchanged tests of code you edited: `./gradlew -PskipRust=true :app:testDebugUnitTest --tests ''` and `python3 -m unittest discover -s tools/tests -p 'test_*.py'`. The full Python suite takes about 9 minutes, and some preload tests fail on any host without zram/ntsync. Leave full runs to CI.
+- For UI screenshots without a device, run `./gradlew -PskipRust=true :app:testDebugUnitTest --tests '*PreviewRenderTest'` and read `app/build/preview-renders/{handheld,portrait}/`. Add cases per `docs/compose-previews.md`. Check portrait, not just landscape.
+- After changing `SettingsIndex`, regenerate the doc: `UPDATE_SETTINGS_MAP=1 ./gradlew -PskipRust=true :app:testDebugUnitTest --tests '*SettingsMapTest*'`.
+- Compile errors in code you didn't touch, after switching branches, are usually stale incremental state. Rebuild once before you change anything.
+
+# Worktrees and shared machines
+
+- After `git worktree add`, run `git submodule update --init --recursive`. Without it, `buildVkBridgeServer` fails on missing `external/MaliBridge`. Do not commit the `tools/syncthing/syncthing-android` pointer the build dirties.
+- Other agents may be building on the same machine. Never run `./gradlew --stop` or kill Gradle/Kotlin daemons you did not start. If you need isolation, use `GRADLE_USER_HOME= GRADLE_RO_DEP_CACHE=$HOME/.gradle/caches`.
+
+# Driving the app and device
+
+- Do it yourself with `tools/droiddeckctl` (see `docs/agent-control.md`) instead of asking the user: `cdp eval` for Steam's UI (`SteamClient.Apps.TerminateApp('', false)` quits a game, including on a Remote Play host), `input`, `quit`, `displays`, `screenshot --display `.
+- A stream has started only when the session state reads `Streaming`. `SteamClient.Apps.StreamGame` alone can leave Steam on its menu, so open the game page and press Stream.
+- Test controller navigation with `tools/droiddeckctl input gamepad ...`, a real uinput pad. `adb shell input keyevent DPAD_*` does not arrive as a joystick event and hides d-pad/stick bugs.
+- A release-signed build installs over a release-signed install with `adb install -r`. Don't back up, uninstall or clear data to update. Scope `pm` and permission resets to `com.droiddeck.launcher`, never the whole device.
+
+# CI
+
+- Before pushing a PR, run `tools/pre_pr.sh`. It checks authorship and the merge onto `main`, then, when app sources change, compiles and runs lint as CI does. It picks tests by name: `*Test` for changed Kotlin files, and `tools/tests` modules that mention a changed path. Add any other tests that cover your change, and leave the full suites to CI.
+- CI builds the PR merged onto `main`. Before pushing, merge or rebase onto `origin/main` and compile: most "works locally" Kotlin failures come from that merge.
+- Before a PR that touches strings or resources, run `./gradlew :app:lintVitalRelease`. The fast loop skips lint, and lint catches `ExtraTranslation` and missing-locale errors.
+- Commit messages and PR bodies must not carry `Co-Authored-By` or other bot trailers. `tools/release/check_authorship.py` fails the build on them.
+- `gh run view --log-failed` truncates the unit-test log, so the failing test may not show. Read the whole job log with `gh api repos/Droid-Deck/DroidDeck/actions/jobs//logs`, or `gh run download -n unit-test-results`. Don't call a failure a runner problem until you have read it.
+- Only these are known flakes worth a `gh run rerun --failed`: `ProtonMenuAutoTest` "Proton work did not finish", Robolectric `HTTP response code: 429` from Maven, `Gradle Test Executor N finished with non-zero exit value 2`, apt mirror and GitHub API rate-limit errors. Treat any other failure as real.
+- A workflow step that names a script your branch lacks means the branch predates a CI change. Rebase onto `main`.
+
+# Agents running on the device (DroidDeck's in-app agent)
+
+These apply only where `dd-lab-build` exists. Agents on a dev host use `tools/quick_deploy.sh` instead.
- `dd-lab-build` builds only committed work. Check `git status` and `gh api user` for the identity before committing; if `git config user.name` is empty, use the `gh` login's name and noreply email for this repo, never a guess.
- Do not commit or start a build in the same step: a build started next to a failed commit fails too. Commit first, check it, then build.
diff --git a/README.md b/README.md
index 7154309b06..576cf61c59 100644
--- a/README.md
+++ b/README.md
@@ -7,10 +7,10 @@
DroidDeck brings the SteamOS experience to Android: Steam Gaming Mode, full Linux desktop, integration with GOG, Epic Games, Xbox, and other storefronts, Steam VR, and more!
-100% open source. No ads. No telemetry. No proprietary components. No source withheld.
+100% open source. No ads. No Subscriptions. No telemetry. No proprietary components. No source withheld.
-
+
@@ -23,7 +23,7 @@ DroidDeck brings the SteamOS experience to Android: Steam Gaming Mode, full Linu
-
+
> The official website is [droid-deck.dev](https://droid-deck.dev). Only download DroidDeck from this repository's [Releases](https://github.com/Droid-Deck/DroidDeck/releases).
@@ -38,7 +38,7 @@ DroidDeck brings the SteamOS experience to Android: Steam Gaming Mode, full Linu
1. Android 9 or newer on Adreno 730 or newer, or any 8xx. Adreno 6xx, Mali, Xclipse and PowerVR are experimental. Adreno 710 is currently unsupported. No root needed.
2. About 3 GB free for the runtime, plus 1.1 GB for the desktop and emulators.
-3. Install the [APK](https://github.com/Droid-Deck/DroidDeck/releases/download/0.7.1/DroidDeck-0.7.1.apk), install the Linux runtime, press **Play** and sign in to Steam.
+3. Install the [APK](https://github.com/Droid-Deck/DroidDeck/releases/download/0.7.11/DroidDeck-0.7.11.apk), install the Linux runtime, press **Play** and sign in to Steam.
4. On Android 14 and newer, turn on **Disable child process restrictions** in Developer options. On Android 12 and 13, Steam's first launch shows a **Fix it for me** button that walks you through it.
Smart glasses setup is in the [support matrix](docs/smart-glasses-support.md). Release notes are in [docs/releases](docs/releases).
@@ -57,9 +57,6 @@ The APK lands in `app/build/outputs/apk/release/`. Install it with `tools/deploy
On Windows, see `tools/run_windows.ps1` and `tools/prepare_windows_runtime.py`.
-## Limits
-
-Compatibility and performance vary by device. Desktop compositing is software rendered, and Firefox sandboxing is reduced under proot.
## Credits and licence
@@ -70,8 +67,10 @@ DroidDeck is [GPL-3.0](LICENSE). Steam and Proton belong to Valve Corporation. V
- Runtime, shim, input and controller work build on WinNative and Bannerlator by maxjivi05.
- mmap ring buffer controller input by ribbit384 ([WinNative #345](https://github.com/WinNative-Emu/WinNative/pull/345)).
-- [FEX](https://github.com/FEX-Emu/FEX) (MIT) runs x86 code. DroidDeck's build puts the platform name under `AT_PLATFORM` so [sharun](https://github.com/VHSgunzo/sharun) AppImages by VHSgunzo (MIT) start through its [userland-execve](https://crates.io/crates/userland-execve) loader (MIT), and its GL thunk hands X errors to the program's own error handler. FEX's code disk cache was checked in its source.
+- [FEX](https://github.com/FEX-Emu/FEX) (MIT) runs x86 code. DroidDeck's build puts the platform name under `AT_PLATFORM` so [sharun](https://github.com/VHSgunzo/sharun) AppImages by VHSgunzo (MIT) start through its [userland-execve](https://crates.io/crates/userland-execve) loader (MIT), and its GL thunk hands X errors to the program's own error handler. FEX's code disk cache was checked in its source. The fix for host stack left behind when a program leaves a signal handler without returning follows the approach suggested in [FEX-Emu/FEX#2487](https://github.com/FEX-Emu/FEX/issues/2487). The host stack fix for system calls that end a block is a backport of Ryan Houdek's [FEX-Emu/FEX#6122](https://github.com/FEX-Emu/FEX/pull/6122).
+- x86-64 programs on Wayland reach the GPU through FEX's Wayland client, wayland-egl and EGL thunks. The guest `wl_list` and `wl_array` helpers follow [libwayland](https://gitlab.freedesktop.org/wayland/wayland)'s `src/wayland-util.c` (MIT). The EGL extension table comes from the [Khronos EGL registry](https://github.com/KhronosGroup/EGL-Registry) (Apache-2.0) and Mesa's `egl_other.xml` (MIT).
- x86 AppImages, and arm64 ones whose runtime can't unpack on Android, are unpacked with [uruntime](https://github.com/VHSgunzo/uruntime) by VHSgunzo (MIT), shipped unmodified with its licence.
+- DwarFS AppImages are unpacked without proot by `dwarfsextract` from [DwarFS](https://github.com/mhx/dwarfs) by Marcus Holland-Moritz (MIT), the release binary uruntime embeds, taken out of its self-extracting wrapper and shipped with its licence.
- x86 programs linking OpenSSL 3 use the copy in the [Steam Linux Runtime 4.0](https://gitlab.steamos.cloud/steamrt/steamrt). x86 Linux games get the `/etc/asound.conf` that [pressure-vessel](https://gitlab.steamos.cloud/steamrt/steam-runtime-tools) writes.
- `WriteProcessMemory` hooks fall back to `/proc//mem` the way [Wine](https://gitlab.winehq.org/wine/wine)'s `server/ptrace.c` did before Wine 11.
- Windows programs on noexec storage get executable copies of their image pages, following [@yujikaido](https://github.com/yujikaido)'s finding in [droiddeck-rp4pro](https://github.com/yujikaido/droiddeck-rp4pro) that Wine's own processes need the noexec shim.
@@ -91,7 +90,7 @@ DroidDeck is [GPL-3.0](LICENSE). Steam and Proton belong to Valve Corporation. V
Stores
-- Epic Games and GOG build on [Phobos](https://github.com/phobos665)'s adaptation of [Legendary](https://github.com/legendary-gl/legendary) and [gogdl](https://github.com/Heroic-Games-Launcher/heroic-gogdl). GOG install script registry entries are read the way [Heroic Games Launcher](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher) (GPL-3.0) reads them. GOG cloud storage requests send the Galaxy communication-service User-Agent that gogdl and [Lutris](https://github.com/lutris/lutris) (GPL-3.0) send.
+- Epic Games and GOG build on [Phobos](https://github.com/phobos665)'s adaptation of [Legendary](https://github.com/legendary-gl/legendary) and [gogdl](https://github.com/Heroic-Games-Launcher/heroic-gogdl). GOG install script registry entries are read the way [Heroic Games Launcher](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher) (GPL-3.0) reads them. GOG cloud storage requests send the Galaxy communication-service User-Agent that gogdl and [Lutris](https://github.com/lutris/lutris) (GPL-3.0) send. Deleted GOG cloud saves are recognised by the empty-gzip deletion hash gogdl and Lutris skip.
- Epic's official Linux launcher preview runs through FEX. That setup is outside Epic's listed Linux support.
- The launcher's .deb gets the WebKitGTK and GTK 3 libraries it needs from unmodified [Debian](https://www.debian.org) 13 packages, following [@zooluis](https://github.com/zooluis)'s research in [#2268](https://github.com/Droid-Deck/DroidDeck/pull/2268).
- Battle.net is by [@kayakyakr](https://github.com/kayakyakr). It runs Blizzard's own client in Proton (downloaded from Blizzard, not included) and shows key art from the [Battle.net Shop](https://shop.battle.net). Without Steam, its games see the pad as an Xbox 360 controller via `PROTON_SPOOF_STEAMINPUT_VIDPID` in [Proton](https://github.com/ValveSoftware/wine)'s `dlls/winebus.sys`.
@@ -99,7 +98,7 @@ DroidDeck is [GPL-3.0](LICENSE). Steam and Proton belong to Valve Corporation. V
- Battle.net installs drive Blizzard's Agent the way [@barncastle](https://github.com/barncastle)'s [Battle.Net-Installer](https://github.com/barncastle/Battle.Net-Installer) does, with requests from [wowdev.wiki](https://wowdev.wiki/Agent). Read without taking code: [@mubaraknumann](https://github.com/mubaraknumann)'s [unifideck](https://github.com/mubaraknumann/unifideck), [@djmittens](https://github.com/djmittens)'s [neo-mittens](https://github.com/djmittens/neo-mittens) `bnetswitch`, [@BCD1210](https://github.com/BCD1210)'s [soju](https://github.com/BCD1210/soju) and [Lutris](https://github.com/lutris/lutris)'s `product.db` reader.
- The Rockstar launcher service looks for launcher pipe names in the executables beside the game, since [CitizenFX](https://github.com/citizenfx/fivem)'s `ros-patches-five` shows GTA V opening `GTAVLauncher_Pipe` and [@pingod](https://github.com/pingod)'s [rdr2-linux-launcher](https://github.com/pingod/rdr2-linux-launcher) notes that Rockstar's protected executables resolve such strings only at run time. Read without taking code.
- World of Warcraft addon imports replace an addon's folder from a temporary copy, as [WowUp](https://github.com/WowUp/WowUp) does, and read flavour folders the way [WoWDeck](https://github.com/sigboe/wowdeck) does. No code from either is used.
-- The World of Warcraft addon Download window searches [WoWInterface](https://www.wowinterface.com) through its MMOUI API. [CurseForge](https://www.curseforge.com/wow) opens in the user's browser, with no API and no key.
+- The World of Warcraft addon Download window searches [WoWInterface](https://www.wowinterface.com) through its MMOUI API. Installed addons show their `.toc` version and `X-WoWI-ID`, and are checked against that list for updates, as [WowUp](https://github.com/WowUp/WowUp) does. The Addons tab installs the official [CurseForge](https://www.curseforge.com/download/app) Linux app from CurseForge's own update feed (downloaded at install time and checked against its SHA-512, not included), which keeps its own sign-in.
- The Xbox store runs [@domsvoboda](https://github.com/domsvoboda)'s [nexus-backend](https://github.com/domsvoboda/nexus-backend) 0.2.15 (GPL-3.0, a fork of [Xodus](https://github.com/xodus-gaming/xodus)), and Xbox games load the Windows modules of his [nexus-runtime](https://github.com/domsvoboda/nexus-runtime) (LGPL-2.1-or-later), including the C++ [nexus-xgameruntime](https://github.com/domsvoboda/nexus-xgameruntime) and `wintypes.dll`. Content licensing sends delegation-compact device tickets in the licensing wire form, as nexus-backend's Store license path (commit `27c335e`) does. Minecraft's GameInput setup was checked against [@Wyze3306](https://github.com/Wyze3306)'s [BedrockOnLinux](https://github.com/Wyze3306/BedrockOnLinux) (MIT).
- The Xbox Cloud Gaming player uses the WebRTC client of [@unknownskl](https://github.com/unknownskl)'s [Greenlight](https://github.com/unknownskl/greenlight) (MIT), and its offer tweaks and sharpening follow [@redphx](https://github.com/redphx)'s [Better xCloud](https://github.com/redphx/better-xcloud) (MIT). See `tools/xcloud-player/NOTICE.md`.
- The itch.io butler pack ships butler's `7z.so`, itch.io's build of [7-Zip](https://www.7-zip.org) by Igor Pavlov (LGPL-2.1, unRAR restriction on RAR code), unmodified. Other archives use Apache Commons Compress and the runtime's bsdtar (libarchive).
diff --git a/app/build.gradle b/app/build.gradle
index cb5b882ec7..70336a0472 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -93,7 +93,7 @@ def trackingPack = rootProject.file('tools/packs/tracking/release.env').readLine
def prootPackPin = rootProject.file('tools/packs/proot/release.env').readLines()
.findAll { it.contains('=') && !it.startsWith('#') }
.collectEntries { def kv = it.split('=', 2); [(kv[0].trim()): kv[1].trim()] }
-def addonPacks = ['proot', 'directaudio', 'tracking', 'xbox', 'comet', 'butler', 'powervr', 'ubisoft', 'rockstar', 'dirt'].collectEntries { name ->
+def addonPacks = ['proot', 'directaudio', 'tracking', 'xbox', 'comet', 'butler', 'powervr', 'ubisoft', 'rockstar', 'dirt', 'epic'].collectEntries { name ->
def pack = file("build/packs/${name}.tar.zst")
if (!pack.isFile()) {
if (ciBuild) throw new GradleException("Add-on pack ${pack} is missing: run tools/packs/build.sh app/build/packs")
@@ -125,14 +125,15 @@ def variantSuffixes = rootProject.file('tools/release/variants.txt').readLines()
android {
namespace 'com.droiddeck.launcher'
compileSdk 34
- ndkVersion project.findProperty('ndkVersion') ?: '27.3.13750724'
+ ndkVersion project.findProperty('ndkVersion') ?: providers.fileContents(rootProject.layout.projectDirectory.file('tools/ci/toolchains.env'))
+ .asText.get().readLines().find { it.startsWith('CI_ANDROID_NDK_VERSION=') }.split('=', 2)[1].trim()
defaultConfig {
applicationId "com.droiddeck.launcher"
minSdkVersion 26
targetSdkVersion 34
- versionCode 19
- versionName "0.7.1"
+ versionCode 20
+ versionName "0.7.11"
buildConfigField "String", "BUILD_LABEL", "\"${escapedBuildLabel}\""
buildConfigField "String", "SOURCE_COMMIT", "\"${sourceCommit}\""
buildConfigField "int", "PR_NUMBER", "${prNumber}"
@@ -202,7 +203,7 @@ android {
}
androidResources {
- ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:_*:!CVS:!thumbs.db:!picasa.ini:!*~:droiddeck-xbox:droiddeck-comet:droiddeck-ubisoft:droiddeck-rockstar:droiddeck-dirt:directaudio:hybris'
+ ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:_*:!CVS:!thumbs.db:!picasa.ini:!*~:droiddeck-xbox:droiddeck-comet:droiddeck-ubisoft:droiddeck-rockstar:droiddeck-dirt:droiddeck-epic:directaudio:hybris'
}
packagingOptions {
@@ -232,6 +233,9 @@ android {
}
maxHeapSize = '2g'
maxParallelForks = 2
+ def jvmTemp = new File(temporaryDir, 'jvm')
+ systemProperty 'java.io.tmpdir', jvmTemp.absolutePath
+ doFirst { jvmTemp.mkdirs() }
def logTarget = providers.systemProperty('robolectric.logging').orNull
if (logTarget != null) systemProperty 'robolectric.logging', logTarget
}
@@ -261,11 +265,9 @@ if (vitureSdkDir) {
tasks.named('preBuild').configure { dependsOn(stageVitureNotices) }
}
-def stageSessionScripts = tasks.register('stageSessionScripts', Copy) {
- from(rootProject.file('tools/linuxfs/overlay')) {
- include 'usr/local/bin/droiddeck-*', 'usr/local/bin/steam-compatibility', 'usr/bin/**'
- }
- into(layout.projectDirectory.dir('src/main/assets/linuxfs'))
+def stageSessionScripts = tasks.register('stageSessionScripts', Exec) {
+ workingDir rootProject.projectDir
+ commandLine pythonExecutable, 'tools/release/check_session_assets.py', '--stage'
}
tasks.named('preBuild').configure { dependsOn(stageSessionScripts) }
@@ -282,6 +284,12 @@ def stageRuntimeAssets = tasks.register('stageRuntimeAssets', Sync) {
into(runtimeAssetsDir)
}
android.sourceSets.main.assets.setSrcDirs([runtimeAssetsDir])
+def stageGraphicsNotices = tasks.register('stageGraphicsNotices', Copy) {
+ from(layout.projectDirectory.file('src/main/cpp/shaders/THIRD_PARTY_NOTICES.txt'))
+ into(layout.buildDirectory.dir('graphicsNotices/licenses/graphics'))
+}
+android.sourceSets.main.assets.srcDir(layout.buildDirectory.dir('graphicsNotices'))
+tasks.named('preBuild').configure { dependsOn(stageGraphicsNotices) }
if (vitureSdkDir) android.sourceSets.main.assets.srcDir(layout.buildDirectory.dir('vitureAssets'))
if (uvcDir) {
def stageUvcNotices = tasks.register('stageUvcNotices', Copy) {
@@ -388,6 +396,8 @@ dependencies {
implementation 'androidx.compose.material3:material3'
implementation 'androidx.compose.ui:ui-tooling-preview'
debugImplementation 'androidx.compose.ui:ui-tooling'
+ // Declares the ComponentActivity that createComposeRule launches, for PreviewRenderTest.
+ debugImplementation 'androidx.compose.ui:ui-test-manifest'
implementation 'androidx.activity:activity-compose:1.8.2'
implementation 'androidx.compose.material:material-icons-extended'
implementation 'io.coil-kt:coil-compose:2.6.0'
diff --git a/app/src/debug/java/com/droiddeck/launcher/ui/LauncherPreviews.kt b/app/src/debug/java/com/droiddeck/launcher/ui/LauncherPreviews.kt
new file mode 100644
index 0000000000..0ab0ab8216
--- /dev/null
+++ b/app/src/debug/java/com/droiddeck/launcher/ui/LauncherPreviews.kt
@@ -0,0 +1,83 @@
+package com.droiddeck.launcher.ui
+
+import androidx.compose.foundation.background
+import androidx.compose.foundation.layout.Column
+import androidx.compose.foundation.layout.fillMaxSize
+import androidx.compose.foundation.layout.padding
+import androidx.compose.foundation.layout.size
+import androidx.compose.ui.unit.dp
+import androidx.compose.runtime.Composable
+import androidx.compose.ui.Modifier
+import androidx.compose.ui.graphics.Color
+import com.droiddeck.launcher.R
+import com.droiddeck.launcher.input.SecondScreenMode
+
+/** The launcher as a whole: rail and page, opened on each tab through FrontEndState.navigate. */
+@Composable
+private fun Launcher(tab: String, games: List = sampleGames, ready: Boolean = true) =
+ PreviewHost { FrontEndScreen(sampleState(games = games, navigate = tab, ready = ready), sampleActions) }
+
+@DroidDeckPreviews @Composable private fun SteamTabPreview() = Launcher("steam")
+@DroidDeckPreviews @Composable private fun SteamEmptyPreview() = Launcher("steam", games = emptyList())
+@DroidDeckPreviews @Composable private fun LibraryPreview() = Launcher("games")
+@DroidDeckPreviews @Composable private fun LibraryEmptyPreview() = Launcher("games", games = emptyList())
+@DroidDeckPreviews @Composable private fun StoresPreview() = Launcher("stores")
+@DroidDeckPreviews @Composable private fun DownloadsPreview() = Launcher("downloads")
+@DroidDeckPreviews @Composable private fun SettingsPreview() = Launcher("setup")
+@DroidDeckPreviews @Composable private fun RuntimeMissingPreview() = Launcher("setup", ready = false)
+
+/** The in-game menu on one page, as a session shows it. */
+@Composable
+private fun SessionMenu(page: SessionDrawerPage, steam: Boolean = true, desktop: Boolean = false) = PreviewHost {
+ SessionDrawer(true, page, controllerActive = true, onPageChange = {}, a = sampleDrawerActions(steam, desktop))
+}
+
+@DroidDeckPreviews @Composable private fun SessionMenuControllerPreview() = SessionMenu(SessionDrawerPage.CONTROLLER)
+@DroidDeckPreviews @Composable private fun SessionMenuDisplayPreview() = SessionMenu(SessionDrawerPage.DISPLAY)
+@DroidDeckPreviews @Composable private fun SessionMenuHudPreview() = SessionMenu(SessionDrawerPage.HUD)
+@DroidDeckPreviews @Composable private fun SessionMenuSessionPreview() = SessionMenu(SessionDrawerPage.SESSION)
+@DroidDeckPreviews @Composable private fun SessionMenuDesktopPreview() = SessionMenu(SessionDrawerPage.CONTROLLER, steam = false, desktop = true)
+
+/** The in-game menu docked on the bottom screen, with the screen picker in its header. */
+@Composable
+private fun DockedMenu(page: SessionDrawerPage) = PreviewHost {
+ SessionDrawer(true, page, controllerActive = false, onPageChange = {},
+ a = sampleDrawerActions(secondScreen = SecondScreenMode.KEYBOARD_TRACKPAD), docked = true)
+}
+
+/** The bottom screen's bar on a panel: the panel's name is the screen picker. */
+@Composable
+private fun BottomPanelBar() = PreviewHost {
+ val modes = secondScreenModes(false, deckPad = false, dashboard = true, desktop = false)
+ Column(Modifier.fillMaxSize().background(Color.Black)) {
+ BottomScreenBar(BottomBarModel("Keyboard + trackpad", {}, {}, {}, {},
+ listOf(BarExtra("Keyboard", icon = R.drawable.ic_bottom_keyboard) {}),
+ picker = ScreenPicker(modes, SecondScreenMode.KEYBOARD_TRACKPAD, {}, onMenu = {})))
+ }
+}
+
+@DroidDeckPreviews @Composable private fun SessionMenuDockedPreview() = DockedMenu(SessionDrawerPage.CONTROLLER)
+@DroidDeckPreviews @Composable private fun SessionMenuDockedDisplayPreview() = DockedMenu(SessionDrawerPage.DISPLAY)
+@DroidDeckPreviews @Composable private fun BottomPanelBarPreview() = BottomPanelBar()
+
+/** The Library and Stores tabs read store accounts, which load on a background thread. */
+private val storesLoaded = { com.droiddeck.launcher.stores.StoresState.accountsLoaded }
+
+/** Every preview above, for the render test. Add a case when adding a preview. */
+internal val previewCases: List = listOf(
+ PreviewCase("steam-tab") { Launcher("steam") },
+ PreviewCase("library", storesLoaded) { Launcher("games") },
+ PreviewCase("library-empty", storesLoaded) { Launcher("games", games = emptyList()) },
+ PreviewCase("stores", storesLoaded) { Launcher("stores") },
+ PreviewCase("downloads") { Launcher("downloads") },
+ PreviewCase("settings") { Launcher("setup") },
+ PreviewCase("runtime-missing") { Launcher("setup", ready = false) },
+ PreviewCase("session-menu-controller") { SessionMenu(SessionDrawerPage.CONTROLLER) },
+ PreviewCase("session-menu-display") { SessionMenu(SessionDrawerPage.DISPLAY) },
+ PreviewCase("session-menu-hud") { SessionMenu(SessionDrawerPage.HUD) },
+ PreviewCase("session-menu-session") { SessionMenu(SessionDrawerPage.SESSION) },
+ PreviewCase("session-menu-desktop") { SessionMenu(SessionDrawerPage.CONTROLLER, steam = false, desktop = true) },
+ PreviewCase("session-menu-docked") { DockedMenu(SessionDrawerPage.CONTROLLER) },
+ PreviewCase("session-menu-docked-display") { DockedMenu(SessionDrawerPage.DISPLAY) },
+ PreviewCase("bottom-panel-bar") { BottomPanelBar() },
+)
diff --git a/app/src/debug/java/com/droiddeck/launcher/ui/PreviewSupport.kt b/app/src/debug/java/com/droiddeck/launcher/ui/PreviewSupport.kt
new file mode 100644
index 0000000000..96a958e719
--- /dev/null
+++ b/app/src/debug/java/com/droiddeck/launcher/ui/PreviewSupport.kt
@@ -0,0 +1,88 @@
+package com.droiddeck.launcher.ui
+
+import androidx.compose.foundation.background
+import androidx.compose.foundation.layout.Box
+import androidx.compose.foundation.layout.fillMaxSize
+import androidx.compose.material3.MaterialTheme
+import androidx.compose.runtime.Composable
+import androidx.compose.ui.Modifier
+import androidx.compose.ui.tooling.preview.Preview
+import com.droiddeck.launcher.frontend.Library
+import com.droiddeck.launcher.gpu.FrameGen
+import com.droiddeck.launcher.gpu.Lossless
+import com.droiddeck.launcher.input.SecondScreenDisplay
+import com.droiddeck.launcher.input.SecondScreenMode
+import com.droiddeck.launcher.session.SessionPrefs
+
+/**
+ * Debug-only support for Compose previews: the production theme around a screen, and sample state and no-op actions so
+ * production composables render without a device, a runtime or a network. See docs/compose-previews.md.
+ */
+
+/** The sizes the previews come in. The Duo's top screen is 1920x1080 at xhdpi, i.e. 960x540 dp. */
+@Preview(name = "Handheld", widthDp = 960, heightDp = 540, device = "spec:width=960dp,height=540dp,dpi=320,orientation=landscape")
+@Preview(name = "Portrait", widthDp = 540, heightDp = 960, device = "spec:width=540dp,height=960dp,dpi=320")
+internal annotation class DroidDeckPreviews
+
+@Composable
+internal fun PreviewHost(content: @Composable () -> Unit) {
+ DroidDeckTheme {
+ Box(Modifier.fillMaxSize().background(MaterialTheme.colorScheme.background)) { content() }
+ }
+}
+
+/**
+ * A case the render test draws: a name for its PNG and the preview's content. [ready] is what the test waits for before
+ * drawing, for a screen that loads something off the main thread first.
+ */
+internal class PreviewCase(val name: String, val ready: () -> Boolean = { true }, val content: @Composable () -> Unit) {
+ override fun toString() = name
+}
+
+internal val sampleGames: List = listOf(
+ "Portal 2" to 620, "Hades" to 1145360, "Celeste" to 504230, "Stardew Valley" to 413150, "Hollow Knight" to 367520,
+ "Balatro" to 2379780, "Dead Cells" to 588650, "Terraria" to 105600, "Vampire Survivors" to 1794680, "Slay the Spire" to 646570,
+).mapIndexed { i, (name, appId) ->
+ Library.SteamGame(appId, name, art = null, library = "steam", lastPlayed = 1_700_000_000_000L - i * 86_400_000L)
+}
+
+internal fun sampleState(
+ games: List = sampleGames,
+ navigate: String? = null,
+ ready: Boolean = true,
+): FrontEndState = FrontEndState(
+ installed = "ubuntu-r1", ready = ready, available = "ubuntu-r1", busy = false, stage = "", percent = 0,
+ desktopInstalled = true, offlineAccount = null, offline = false, frameGenLabel = "Off", romsDir = null, logsEnabled = true,
+ steamGames = games, emulators = emptyList(), running = null, navigate = navigate,
+)
+
+internal val sampleActions: FrontEndActions = FrontEndActions(
+ onPlay = {}, onPlayDesktopUi = {}, onSteamGame = {}, onDesktop = {}, onEmulator = {}, onRom = {}, onResume = {},
+ onSteamSettings = {}, onDesktopSettings = {}, onInstallPackage = {}, onRemovePackage = {}, onRuntime = {},
+ onFrameGenPick = {}, onImportLossless = {}, onProtons = {}, onComponents = {}, onPerformance = {}, onRoms = {},
+ onFiles = {}, onLogs = {}, onOffline = {},
+ onSetPhantomProcessLimit = { _, _ -> },
+)
+
+/** The in-game menu's actions with settled sample values; its switches do nothing. */
+internal fun sampleDrawerActions(
+ steam: Boolean = true, desktop: Boolean = false, secondScreen: SecondScreenMode? = null,
+): DrawerActions = DrawerActions(
+ steam = steam, desktop = desktop, title = if (!steam && !desktop) "Hades" else null,
+ isHomeApp = false, androidApps = emptyList(),
+ hudOn = true, onHud = {},
+ frameGen = FrameGen.Mode.OFF, onFrameGenPick = {},
+ lossless = Lossless.State.NONE,
+ oscMode = SessionPrefs.OSC_AUTO, onOsc = {},
+ suspendPolicy = SessionPrefs.SUSPEND_MANUAL, onSuspendPolicy = {},
+ backActionsInverted = false, onBackActionsInverted = {},
+ touchMode = SessionPrefs.TOUCH_AUTO, onTouch = {}, touchAuto = "Auto (direct)",
+ fexPreset = "", onFexPreset = {},
+ secondScreenMode = secondScreen ?: SecondScreenMode.NONE, onSecondScreenMode = {}, secondScreenNone = secondScreen == null,
+ secondScreenDisplays = listOfNotNull(secondScreen?.let { SecondScreenDisplay(2, "Built-in · 1240×1080") }),
+ selectedSecondScreenDisplay = if (secondScreen != null) 2 else -1, onSecondScreenDisplay = {},
+ gameSwapAvailable = secondScreen != null, dashboardAvailable = secondScreen != null,
+ onImportLossless = {}, onKeyboard = {}, onHardwareKeyboard = {},
+ onSteamMenu = if (steam) ({}) else null, onQam = if (steam) ({}) else null,
+ onLaunchAndroidApp = { _, _ -> }, onBackground = {}, onShareLogs = {}, onStop = {}, onClose = {},
+)
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index aff5658bbe..55b75d36df 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -232,6 +232,7 @@
android:exported="false"
android:screenOrientation="user"
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|density"
+ android:windowSoftInputMode="adjustResize"
android:theme="@style/AppTheme" />
-
= size) die("bad PT_INTERP", path, 0);
+ if (xpread(fd, interp, ph[i].p_filesz, (long)ph[i].p_offset) != (long)ph[i].p_filesz)
+ die("truncated PT_INTERP", path, 0);
+ interp[ph[i].p_filesz] = 0;
+ }
+}
+
+static int read_headers(const char *path, Elf64_Ehdr *eh, Elf64_Phdr *ph) {
int fd = (int)sys6(SYS_openat, AT_FDCWD_, (long)path, O_RDONLY_ | O_CLOEXEC_, 0, 0, 0);
if (fd < 0) die("cannot open", path, fd);
- Elf64_Ehdr eh;
- if (xpread(fd, &eh, sizeof(eh), 0) != (long)sizeof(eh)) die("not an ELF file", path, 0);
- if (eh.e_ident[EI_MAG0] != ELFMAG0 || eh.e_ident[EI_MAG1] != ELFMAG1 || eh.e_ident[EI_MAG2] != ELFMAG2 ||
- eh.e_ident[EI_MAG3] != ELFMAG3 || eh.e_ident[EI_CLASS] != ELFCLASS64 || eh.e_machine != EM_AARCH64 ||
- (eh.e_type != ET_EXEC && eh.e_type != ET_DYN) || eh.e_phentsize != sizeof(Elf64_Phdr) ||
- eh.e_phnum == 0 || eh.e_phnum > MAX_PHDRS)
+ if (xpread(fd, eh, sizeof(*eh), 0) != (long)sizeof(*eh)) die("not an ELF file", path, 0);
+ if (eh->e_ident[EI_MAG0] != ELFMAG0 || eh->e_ident[EI_MAG1] != ELFMAG1 || eh->e_ident[EI_MAG2] != ELFMAG2 ||
+ eh->e_ident[EI_MAG3] != ELFMAG3 || eh->e_ident[EI_CLASS] != ELFCLASS64 || eh->e_machine != EM_AARCH64 ||
+ (eh->e_type != ET_EXEC && eh->e_type != ET_DYN) || eh->e_phentsize != sizeof(Elf64_Phdr) ||
+ eh->e_phnum == 0 || eh->e_phnum > MAX_PHDRS)
die("not a 64-bit ARM ELF program", path, 0);
+ long size = (long)eh->e_phnum * (long)sizeof(Elf64_Phdr);
+ if (xpread(fd, ph, (size_t)size, (long)eh->e_phoff) != size) die("truncated program headers", path, 0);
+ return fd;
+}
+
+static void interp_of(const char *path, char *interp, size_t size) {
+ Elf64_Ehdr eh;
Elf64_Phdr ph[MAX_PHDRS];
- long size = (long)eh.e_phnum * (long)sizeof(Elf64_Phdr);
- if (xpread(fd, ph, (size_t)size, (long)eh.e_phoff) != size) die("truncated program headers", path, 0);
+ int fd = read_headers(path, &eh, ph);
+ read_interp(fd, ph, eh.e_phnum, interp, size, path);
+ sys6(SYS_close, fd, 0, 0, 0, 0, 0);
+}
+
+static void load(const char *path, struct image *im, uintptr_t page) {
+ Elf64_Ehdr eh;
+ Elf64_Phdr ph[MAX_PHDRS];
+ int fd = read_headers(path, &eh, ph);
uintptr_t lo = UINTPTR_MAX, hi = 0;
for (int i = 0; i < eh.e_phnum; i++) {
@@ -173,16 +213,9 @@ static void load(const char *path, struct image *im, uintptr_t page) {
im->phnum = eh.e_phnum;
im->phent = eh.e_phentsize;
im->phdr = 0;
- im->interp[0] = 0;
- for (int i = 0; i < eh.e_phnum; i++) {
+ read_interp(fd, ph, eh.e_phnum, im->interp, sizeof(im->interp), path);
+ for (int i = 0; i < eh.e_phnum; i++)
if (ph[i].p_type == PT_PHDR) im->phdr = bias + ph[i].p_vaddr;
- if (ph[i].p_type == PT_INTERP) {
- if (ph[i].p_filesz == 0 || ph[i].p_filesz >= sizeof(im->interp)) die("bad PT_INTERP", path, 0);
- if (xpread(fd, im->interp, ph[i].p_filesz, (long)ph[i].p_offset) != (long)ph[i].p_filesz)
- die("truncated PT_INTERP", path, 0);
- im->interp[ph[i].p_filesz] = 0;
- }
- }
if (!im->phdr) {
for (int i = 0; i < eh.e_phnum; i++) {
Elf64_Phdr *p = &ph[i];
@@ -202,6 +235,36 @@ static unsigned long auxv_get(const uintptr_t *auxv, unsigned long type, unsigne
return fallback;
}
+static int is_self_exe(const char *execfn) {
+ if (!execfn) return 0;
+ if (seq(execfn, "/proc/self/exe") || seq(execfn, "/proc/thread-self/exe")) return 1;
+ const char *p = "/proc/";
+ while (*p && *p == *execfn) p++, execfn++;
+ if (*p) return 0;
+ char num[24];
+ int i = (int)sizeof(num) - 1;
+ num[i] = 0;
+ unsigned long pid = (unsigned long)sys6(SYS_getpid, 0, 0, 0, 0, 0, 0);
+ do {
+ num[--i] = (char)('0' + pid % 10);
+ pid /= 10;
+ } while (pid && i > 0);
+ const char *d = num + i;
+ while (*d && *d == *execfn) d++, execfn++;
+ return !*d && seq(execfn, "/exe");
+}
+
+static const char *guest_interp(char **envp, const char *interp, char *buf, size_t size) {
+ const char *root = env_get(envp, "DDNATV_ROOT");
+ if (!root || interp[0] != '/') return interp;
+ size_t a = slen(root), b = slen(interp);
+ if (a + b + 1 > size) return interp;
+ for (size_t i = 0; i < a; i++) buf[i] = root[i];
+ for (size_t i = 0; i <= b; i++) buf[a + i] = interp[i];
+ if (sys6(SYS_faccessat, AT_FDCWD_, (long)buf, 0, 0, 0, 0) != 0) return interp;
+ return buf;
+}
+
__attribute__((used, noreturn)) void ddexec_main(uintptr_t *sp) {
long argc = (long)sp[0];
char **argv = (char **)(sp + 1);
@@ -211,25 +274,66 @@ __attribute__((used, noreturn)) void ddexec_main(uintptr_t *sp) {
uintptr_t *auxv = (uintptr_t *)(envp + nenv + 1);
long naux = 0;
while (auxv[naux * 2] != AT_NULL) naux++;
- if (argc < 3) die("usage: libddexec.so [args...]", 0, 0);
+ int reexec = is_self_exe((const char *)auxv_get(auxv, AT_EXECFN, 0));
+ const char *path;
+ char **args = argv + 2;
+ long nargs = argc - 2;
+ char interp_buf[4096];
+ char hook_buf[4096];
+ if (reexec) {
+ path = env_get(envp, "DDNATV_REAL_EXE");
+ if (!path || !path[0]) die("re-executed without DDNATV_REAL_EXE", 0, 0);
+ args = argv;
+ nargs = argc;
+ const char *lib_path = env_get(envp, "DDNATV_LIBRARY_PATH");
+ char prog_interp[256];
+ interp_of(path, prog_interp, sizeof(prog_interp));
+ if (prog_interp[0] && lib_path && lib_path[0]) {
+ const char *ld_so = guest_interp(envp, prog_interp, interp_buf, sizeof(interp_buf));
+ const char *hook = guest_interp(envp, "/usr/lib/libddnatv-hook.so", hook_buf, sizeof(hook_buf));
+ if (hook != (const char *)hook_buf) hook = guest_interp(envp, "/lib/libddnatv-hook.so", hook_buf, sizeof(hook_buf));
+ long n = argc > 1 ? argc - 1 : 0;
+ char **v = (char **)__builtin_alloca((size_t)(n + 9) * sizeof(char *));
+ long k = 0;
+ v[k++] = (char *)ld_so;
+ if (hook == (const char *)hook_buf) {
+ v[k++] = (char *)"--preload";
+ v[k++] = (char *)hook;
+ }
+ v[k++] = (char *)"--library-path";
+ v[k++] = (char *)lib_path;
+ v[k++] = (char *)"--argv0";
+ v[k++] = argc > 0 ? argv[0] : (char *)path;
+ v[k++] = (char *)path;
+ for (long i = 0; i < n; i++) v[k++] = argv[1 + i];
+ v[k] = 0;
+ args = v;
+ nargs = k;
+ path = ld_so;
+ }
+ } else if (argc < 3) {
+ die("usage: libddexec.so [args...]", 0, 0);
+ } else {
+ path = argv[1];
+ }
uintptr_t page = auxv_get(auxv, AT_PAGESZ, 4096);
- const char *path = argv[1];
struct image prog, interp;
load(path, &prog, page);
int has_interp = prog.interp[0] != 0;
- if (has_interp) load(prog.interp, &interp, page);
+ if (has_interp) load(reexec ? guest_interp(envp, prog.interp, interp_buf, sizeof(interp_buf)) : prog.interp, &interp, page);
// The new stack: argc, argv, envp and auxv as the kernel lays them out, below the current one.
// The strings stay where the kernel put them.
static const unsigned long replaced[] = {AT_PHDR, AT_PHENT, AT_PHNUM, AT_BASE, AT_ENTRY, AT_EXECFN};
long nreplaced = (long)(sizeof(replaced) / sizeof(replaced[0]));
- long new_argc = argc - 2;
+ long new_argc = nargs;
long words = 1 + (new_argc + 1) + (nenv + 1) + (naux + nreplaced + 1) * 2;
- uintptr_t *nsp = (uintptr_t *)(((uintptr_t)sp - STACK_GAP - (uintptr_t)words * sizeof(uintptr_t)) & ~(uintptr_t)15);
+ uintptr_t top = (uintptr_t)args < (uintptr_t)sp ? (uintptr_t)args : (uintptr_t)sp;
+ uintptr_t *nsp = (uintptr_t *)((top - STACK_GAP - (uintptr_t)words * sizeof(uintptr_t)) & ~(uintptr_t)15);
uintptr_t *w = nsp;
*w++ = (uintptr_t)new_argc;
- for (long i = 0; i < new_argc; i++) *w++ = (uintptr_t)argv[i + 2];
+ for (long i = 0; i < new_argc; i++) *w++ = (uintptr_t)args[i];
*w++ = 0;
for (long i = 0; i < nenv; i++) *w++ = (uintptr_t)envp[i];
*w++ = 0;
diff --git a/app/src/main/cpp/fakeinput_steam.cpp b/app/src/main/cpp/fakeinput_steam.cpp
index 75609e5b73..2e0aaa927d 100644
--- a/app/src/main/cpp/fakeinput_steam.cpp
+++ b/app/src/main/cpp/fakeinput_steam.cpp
@@ -25,6 +25,7 @@
#include
#endif
#include
+#include
#include
#include
#include
@@ -58,6 +59,59 @@
#define EXPORT extern "C" __attribute__((visibility("default")))
+struct SymbolSlot {
+ std::atomic fn{nullptr};
+ std::atomic resolved{false};
+};
+
+template static Fn resolved_symbol(SymbolSlot &slot, void *handle, const char *name) {
+ if (!slot.resolved.load(std::memory_order_acquire)) {
+ slot.fn.store(dlsym(handle, name), std::memory_order_relaxed);
+ slot.resolved.store(true, std::memory_order_release);
+ }
+ return reinterpret_cast(slot.fn.load(std::memory_order_relaxed));
+}
+
+enum class Next : size_t {
+ open,
+ openat,
+ close,
+ write,
+ ioctl,
+ poll,
+ ppoll,
+ select,
+ stat,
+ stat64,
+ fstat,
+ fstat64,
+ xstat,
+ xstat64,
+ fxstat,
+ fxstat64,
+ statx,
+ statfs,
+ fstatfs,
+ access,
+ faccessat,
+ opendir,
+ scandir,
+ inotify_add_watch,
+ count
+};
+
+static const char *const next_names[] = {"open", "openat", "close", "write", "ioctl", "poll", "ppoll", "select", "stat", "stat64", "fstat", "fstat64", "__xstat", "__xstat64", "__fxstat", "__fxstat64", "statx", "statfs", "fstatfs", "access", "faccessat", "opendir", "scandir", "inotify_add_watch"};
+static_assert(sizeof(next_names) / sizeof(next_names[0]) == static_cast(Next::count), "next_names");
+static SymbolSlot next_slots[static_cast(Next::count)];
+
+template static Fn next_symbol(Next which) {
+ return resolved_symbol(next_slots[static_cast(which)], RTLD_NEXT, next_names[static_cast(which)]);
+}
+
+static void resolve_next_symbols() {
+ for (size_t i = 0; i < static_cast(Next::count); i++) next_symbol(static_cast(i));
+}
+
#ifdef __GLIBC__
typedef unsigned long ioctl_request_t;
#else
@@ -205,6 +259,11 @@ static void controller_fork_prepare();
static void controller_fork_parent();
static void controller_fork_child();
+// bionic: libc's own start-up calls hooked functions (access) before environ is set. Settings read
+// then would be empty and cached for good, so until environ exists hooks see defaults, uncached.
+extern "C" char **environ;
+static bool env_ready() { return environ != nullptr; }
+
struct FakeConfig {
const char *hook_dir;
const char *udev_data_dir;
@@ -218,6 +277,10 @@ struct FakeConfig {
// would throw a recursive-init error there, so the fields are filled without allocating, and a
// reentry on the initializing thread gets them while other threads wait for the fork handlers.
static FakeConfig &config() {
+ if (!env_ready()) {
+ static FakeConfig early = {"/data/data/com.termux/files/home/fake-input", nullptr, false, false, false};
+ return early;
+ }
static FakeConfig cfg;
static std::atomic state{0};
static __thread bool initializing __attribute__((tls_model("initial-exec")));
@@ -433,6 +496,7 @@ void log(const char *message, ...) {
}
__attribute__((constructor)) static void library_init() {
+ resolve_next_symbols();
config();
controller_mutex();
controller_map();
@@ -587,7 +651,7 @@ get_fake_input_rdev(const char *event) {
__attribute__((visibility("hidden"))) static void load_ring_paths() {
std::lock_guard guard(controller_mutex());
- if (ring_paths_loaded)
+ if (ring_paths_loaded || !env_ready())
return;
const char *spec = getenv("FAKE_EVDEV_MEMFD_PATHS");
@@ -648,6 +712,19 @@ ring_header_is_valid(const FakeInputRingHeader *ring) {
ring->capacity == FAKE_INPUT_RING_CAPACITY;
}
+__attribute__((visibility("hidden"))) static int ring_wait(const FakeInputRingHeader *ring, uint64_t seen, long ns) {
+ struct timespec wait = {0, ns};
+ if (syscall(SYS_futex, &ring->write_seq, FUTEX_WAIT, static_cast(seen), &wait, nullptr, 0) == 0 ||
+ errno == EAGAIN || errno == ETIMEDOUT)
+ return 0;
+ if (errno == EINTR) return -1;
+ return nanosleep(&wait, nullptr);
+}
+
+__attribute__((visibility("hidden"))) static void ring_wake(const FakeInputRingHeader *ring) {
+ syscall(SYS_futex, &ring->write_seq, FUTEX_WAKE, INT_MAX, nullptr, nullptr, 0);
+}
+
struct SnapshotState {
uint64_t sequence = 0;
uint64_t write_seq = 0;
@@ -724,7 +801,7 @@ open_fake_input_ring(const char *event, int flags) {
return -1;
}
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
int fd = my_open(ring_path.c_str(), O_RDWR | (flags & (O_NONBLOCK | O_CLOEXEC)));
if (fd < 0)
@@ -807,12 +884,25 @@ __attribute__((visibility("hidden"))) static bool is_steam_client() {
__attribute__((visibility("hidden"))) static bool presents_steam_virtual() {
static int known;
if (known == 0) {
+ if (!env_ready()) return false;
const char *enabled = getenv("FAKE_EVDEV_STEAM_VIRTUAL");
known = enabled && atoi(enabled) && !is_steam_client() ? 1 : -1;
}
return known == 1;
}
+// The bionic Proton layer's winebus has no udev bus, and its SDL bus skips 28de:11ff (Proton reads Steam's virtual
+// pad through udev/evdev), so with FAKE_EVDEV_STEAM_PAD_AS_X360=1 other processes see that pad as a plain Xbox 360 pad.
+__attribute__((visibility("hidden"))) static bool steam_pad_as_x360() {
+ static int known;
+ if (known == 0) {
+ if (!env_ready()) return false;
+ const char *v = getenv("FAKE_EVDEV_STEAM_PAD_AS_X360");
+ known = v && atoi(v) && !is_steam_client() ? 1 : -1;
+ }
+ return known == 1;
+}
+
__attribute__((visibility("hidden"))) static bool
presents_xbox_triggers(const FakeController &fake) {
return fake.uinput || !is_steam_client();
@@ -978,7 +1068,7 @@ __attribute__((visibility("hidden"))) static void unpublish_uinput(UinputWriter
}
__attribute__((visibility("hidden"))) static int claim_uinput_node(int *fd_out) {
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
for (int node = UINPUT_EVENT_BASE; node < UINPUT_EVENT_LIMIT; node++) {
std::string path = uinput_ring_path(node);
int fd = my_open(path.c_str(), O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, 0644);
@@ -1005,7 +1095,7 @@ __attribute__((visibility("hidden"))) static int claim_uinput_node(int *fd_out)
}
__attribute__((visibility("hidden"))) static int publish_uinput(UinputWriter &w) {
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
int fd = -1;
int node = claim_uinput_node(&fd);
if (node < 0) return -1;
@@ -1091,6 +1181,7 @@ __attribute__((visibility("hidden"))) static void flush_uinput(UinputWriter &w)
__atomic_thread_fence(__ATOMIC_RELEASE);
__atomic_store_n(&ring->snapshot_seq, sequence + 2, __ATOMIC_RELEASE);
__atomic_store_n(&ring->write_seq, write_seq, __ATOMIC_RELEASE);
+ ring_wake(ring);
}
__attribute__((visibility("hidden"))) static ssize_t
@@ -1391,6 +1482,7 @@ static std::unordered_map> &deck_map() {
static bool fake_deck_enabled() {
static int enabled = -1;
+ if (enabled < 0 && !env_ready()) return false;
if (enabled < 0) enabled = getenv("FAKE_EVDEV_DECK") && atoi(getenv("FAKE_EVDEV_DECK")) ? 1 : 0;
return enabled == 1;
}
@@ -1398,6 +1490,7 @@ static bool fake_deck_enabled() {
__attribute__((visibility("hidden"))) static uint32_t session_pad_type() {
static int type = -1;
if (type < 0) {
+ if (!env_ready()) return PAD_TYPE_DECK;
const char *env = getenv("FAKE_EVDEV_PAD_TYPE");
type = env && !strcmp(env, "steamcontroller") ? PAD_TYPE_STEAM
: env && !strcmp(env, "xbox360") ? PAD_TYPE_XBOX
@@ -1416,7 +1509,7 @@ __attribute__((visibility("hidden"))) static const uint8_t *ring_blocks() {
std::lock_guard guard(lock);
if ((mapped = block.load(std::memory_order_acquire))) return mapped;
tries.fetch_add(1, std::memory_order_relaxed);
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
std::string path = get_ring_path_for_slot(0);
int fd = path.empty() ? -1 : my_open(path.c_str(), O_RDONLY | O_CLOEXEC);
if (fd < 0) return nullptr;
@@ -1462,6 +1555,12 @@ __attribute__((visibility("hidden"))) static void sleep_us(int us) {
nanosleep(&interval, nullptr);
}
+__attribute__((visibility("hidden"))) static void
+report_wait(const FakeInputRingHeader *ring, bool fresh, uint64_t seen, int us) {
+ if (fresh) ring_wait(ring, seen, us * 1000L);
+ else sleep_us(us);
+}
+
__attribute__((visibility("hidden"))) static uint64_t monotonic_us() {
struct timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
@@ -1470,6 +1569,7 @@ __attribute__((visibility("hidden"))) static uint64_t monotonic_us() {
static bool fake_triton_enabled() {
static int enabled = -1;
+ if (enabled < 0 && !env_ready()) return false;
if (enabled < 0)
enabled = fake_deck_enabled() && getenv("FAKE_EVDEV_TRITON") && atoi(getenv("FAKE_EVDEV_TRITON")) ? 1 : 0;
return enabled == 1;
@@ -1633,7 +1733,8 @@ __attribute__((visibility("hidden"))) static void *deck_report_thread(void *arg)
int32_t axes[8] = {};
DeckExtras extras;
while (live_pad_type() == PAD_TYPE_DECK) {
- if (read_snapshot(self->ring, snap) && snap.generation == ring_generation(self->ring)) {
+ bool fresh = read_snapshot(self->ring, snap);
+ if (fresh && snap.generation == ring_generation(self->ring)) {
buttons = snap.buttons;
memcpy(axes, snap.axes, sizeof(axes));
}
@@ -1643,7 +1744,7 @@ __attribute__((visibility("hidden"))) static void *deck_report_thread(void *arg)
if (send(self->peer, report, sizeof(report), MSG_DONTWAIT | MSG_NOSIGNAL) < 0 &&
errno != EAGAIN && errno != EWOULDBLOCK)
break;
- sleep_us(controller_report_interval_us(DECK_REPORT_INTERVAL_US));
+ report_wait(self->ring, fresh, snap.write_seq, controller_report_interval_us(DECK_REPORT_INTERVAL_US));
}
syscall(SYS_close, self->peer);
munmap(self->ring, self->mapping_size);
@@ -1749,7 +1850,8 @@ __attribute__((visibility("hidden"))) static void *sony_report_thread(void *arg)
SonyTouch touch;
const uint64_t start_us = monotonic_us();
while (live_pad_type() == type) {
- if (read_snapshot(self->ring, snap) && snap.generation == ring_generation(self->ring)) {
+ bool fresh = read_snapshot(self->ring, snap);
+ if (fresh && snap.generation == ring_generation(self->ring)) {
buttons = snap.buttons;
memcpy(axes, snap.axes, sizeof(axes));
}
@@ -1759,7 +1861,7 @@ __attribute__((visibility("hidden"))) static void *sony_report_thread(void *arg)
if (send(self->peer, report, sizeof(report), MSG_DONTWAIT | MSG_NOSIGNAL) < 0 &&
errno != EAGAIN && errno != EWOULDBLOCK)
break;
- sleep_us(controller_report_interval_us(DECK_REPORT_INTERVAL_US));
+ report_wait(self->ring, fresh, snap.write_seq, controller_report_interval_us(DECK_REPORT_INTERVAL_US));
}
syscall(SYS_close, self->peer);
munmap(self->ring, self->mapping_size);
@@ -1768,7 +1870,7 @@ __attribute__((visibility("hidden"))) static void *sony_report_thread(void *arg)
__attribute__((visibility("hidden"))) static int open_deck_hidraw(int flags, uint8_t sony = 0) {
const char *path = sony == 4 ? DS4_HIDRAW_PATH : sony == 5 ? DUALSENSE_HIDRAW_PATH : DECK_HIDRAW_PATH;
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
if (!process_reads_pads()) {
Logger::log("deck: %s refused: not the Steam client\n", path);
errno = ENOENT;
@@ -1958,7 +2060,8 @@ __attribute__((visibility("hidden"))) static void *triton_pad_thread(void *arg)
DeckExtras extras;
const uint64_t start_us = monotonic_us();
while (live_pad_type() == PAD_TYPE_STEAM) {
- if (read_snapshot(self->ring, snap) && snap.generation == ring_generation(self->ring)) {
+ bool fresh = read_snapshot(self->ring, snap);
+ if (fresh && snap.generation == ring_generation(self->ring)) {
buttons = snap.buttons;
memcpy(axes, snap.axes, sizeof(axes));
}
@@ -1969,7 +2072,7 @@ __attribute__((visibility("hidden"))) static void *triton_pad_thread(void *arg)
if (send(self->peer, report, sizeof(report), MSG_DONTWAIT | MSG_NOSIGNAL) < 0 &&
errno != EAGAIN && errno != EWOULDBLOCK)
break;
- sleep_us(controller_report_interval_us(TRITON_REPORT_INTERVAL_US));
+ report_wait(self->ring, fresh, snap.write_seq, controller_report_interval_us(TRITON_REPORT_INTERVAL_US));
}
syscall(SYS_close, self->peer);
munmap(self->ring, self->mapping_size);
@@ -1977,7 +2080,7 @@ __attribute__((visibility("hidden"))) static void *triton_pad_thread(void *arg)
}
__attribute__((visibility("hidden"))) static int open_triton_hidraw(int flags, bool emulated) {
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
if (!process_reads_pads()) {
errno = ENOENT;
return -1;
@@ -2091,11 +2194,12 @@ static_assert(sizeof(TouchRingFile) <= TOUCH_RING_SIZE, "TouchRingFile layout");
__attribute__((visibility("hidden"))) static TouchRingFile *touch_ring() {
static TouchRingFile *ring = nullptr;
+ if (!env_ready()) return nullptr;
static std::once_flag once;
std::call_once(once, [] {
const char *path = getenv("FAKE_TOUCHCTL_RING");
if (!path || !*path || !fake_deck_enabled()) return;
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
int fd = my_open(path, O_RDWR | O_CLOEXEC);
if (fd < 0) {
Logger::log("touch: %s not openable (%s)\n", path, strerror(errno));
@@ -2312,7 +2416,8 @@ __attribute__((visibility("hidden"))) static int inject_uevent(const char *actio
const char *subsystem, const char *devname,
unsigned major, unsigned minor) {
using inject_fn = int (*)(const char *, const char *, const char *, const char *, unsigned, unsigned);
- static auto inject = reinterpret_cast(dlsym(RTLD_DEFAULT, "dd_udevmon_inject"));
+ static SymbolSlot inject_slot;
+ const auto inject = resolved_symbol(inject_slot, RTLD_DEFAULT, "dd_udevmon_inject");
return inject ? inject(action, devpath, subsystem, devname, major, minor) : -1;
}
@@ -2434,6 +2539,7 @@ __attribute__((constructor)) static void start_touch_controller() {
static constexpr long SYSFS_FS_MAGIC = 0x62656572;
__attribute__((visibility("hidden"))) static const char *deck_listing_dir() {
+ if (!env_ready()) return nullptr;
static const char *dir = getenv("FAKE_DECK_SYSFS_LISTING");
return dir && *dir ? dir : nullptr;
}
@@ -2469,7 +2575,7 @@ __attribute__((visibility("hidden"))) static void note_deck_sysfs(const char *ho
}
EXPORT int fstatfs(int fd, struct statfs *buf) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "fstatfs"));
+ const auto real = next_symbol(Next::fstatfs);
int result = real(fd, buf);
if (fake_deck_enabled() && is_deck_sysfs_fd(fd)) {
note_deck_sysfs("fstatfs", result);
@@ -2479,7 +2585,7 @@ EXPORT int fstatfs(int fd, struct statfs *buf) {
}
EXPORT int statfs(const char *path, struct statfs *buf) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "statfs"));
+ const auto real = next_symbol(Next::statfs);
int result = real(path, buf);
if (fake_deck_enabled() && is_deck_sysfs_path(path)) {
note_deck_sysfs(path, result);
@@ -2528,7 +2634,7 @@ __attribute__((visibility("hidden"))) static int deck_imu_mode_change(const uint
}
__attribute__((visibility("hidden"))) static void publish_imu_mode(const DeckHidraw &deck, int mode) {
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
if (deck.mapping_size < FAKE_INPUT_RING_SIZE + DECK_IMU_BLOCK_SIZE) return;
std::string path = get_ring_path_for_slot(0);
int fd = path.empty() ? -1 : my_open(path.c_str(), O_WRONLY | O_CLOEXEC);
@@ -3037,7 +3143,7 @@ static int real_fstat(int fd, struct stat *buf);
__attribute__((visibility("hidden"))) static bool deck_mount_id_from_fdinfo(
int dirfd, const char *path, int flags, struct statx *buf) {
- static auto real_openat = reinterpret_cast(dlsym(RTLD_NEXT, "openat"));
+ const auto real_openat = next_symbol(Next::openat);
int target;
if (!path || !*path) {
if (!(flags & AT_EMPTY_PATH)) return false;
@@ -3075,7 +3181,7 @@ __attribute__((visibility("hidden"))) static bool deck_mount_id_from_fdinfo(
}
EXPORT int statx(int dirfd, const char *path, int flags, unsigned mask, struct statx *buf) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "statx"));
+ const auto real = next_symbol(Next::statx);
int result = real(dirfd, path, flags, mask, buf);
int saved_errno = errno;
constexpr unsigned unique_mount_id = 0x4000;
@@ -3096,7 +3202,7 @@ EXPORT int statx(int dirfd, const char *path, int flags, unsigned mask, struct s
#endif
EXPORT DIR *opendir(const char *name) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "opendir"));
+ const auto real = next_symbol(Next::opendir);
DIR *dir = real(name);
if (!dir) {
note_sys_failure(AT_FDCWD, name);
@@ -3126,7 +3232,7 @@ EXPORT int open(const char *pathname, int flags, ...) {
va_end(va);
- static auto my_open = reinterpret_cast(dlsym(RTLD_NEXT, "open"));
+ const auto my_open = next_symbol(Next::open);
if (fake_uinput_enabled() && is_uinput_path(pathname)) return open_uinput(flags);
if (is_deck_hidraw_path(pathname)) return open_deck_hidraw(flags);
@@ -3204,7 +3310,7 @@ EXPORT int openat(int dirfd, const char *pathname, int flags, ...) {
va_end(va);
- static auto my_openat = reinterpret_cast(dlsym(RTLD_NEXT, "openat"));
+ const auto my_openat = next_symbol(Next::openat);
if (fake_uinput_enabled() && is_uinput_path(pathname)) return open_uinput(flags);
if (is_deck_hidraw_path(pathname)) return open_deck_hidraw(flags);
@@ -3363,10 +3469,10 @@ static int fake_stat_fd(int fd, S *buf, Real real) {
}
static int real_stat(const char *pathname, struct stat *statbuf) {
- static auto fn = reinterpret_cast(dlsym(RTLD_NEXT, "stat"));
+ const auto fn = next_symbol(Next::stat);
if (fn) return fn(pathname, statbuf);
#ifdef _STAT_VER
- static auto xfn = reinterpret_cast(dlsym(RTLD_NEXT, "__xstat"));
+ const auto xfn = next_symbol(Next::xstat);
if (xfn) return xfn(_STAT_VER, pathname, statbuf);
#endif
errno = ENOSYS;
@@ -3374,10 +3480,10 @@ static int real_stat(const char *pathname, struct stat *statbuf) {
}
static int real_fstat(int fd, struct stat *buf) {
- static auto fn = reinterpret_cast(dlsym(RTLD_NEXT, "fstat"));
+ const auto fn = next_symbol(Next::fstat);
if (fn) return fn(fd, buf);
#ifdef _STAT_VER
- static auto xfn = reinterpret_cast(dlsym(RTLD_NEXT, "__fxstat"));
+ const auto xfn = next_symbol(Next::fxstat);
if (xfn) return xfn(_STAT_VER, fd, buf);
#endif
errno = ENOSYS;
@@ -3393,7 +3499,7 @@ EXPORT int fstat(int fd, struct stat *buf) {
}
EXPORT int access(const char *pathname, int mode) {
- static auto my_access = reinterpret_cast(dlsym(RTLD_NEXT, "access"));
+ const auto my_access = next_symbol(Next::access);
if (fake_uinput_enabled() && is_uinput_path(pathname)) return 0;
if (is_deck_hidraw_path(pathname) && process_reads_pads()) return 0;
if ((is_triton_hidraw_path(pathname) || is_triton_pad_path(pathname) || sony_pad_path(pathname)) &&
@@ -3434,7 +3540,7 @@ EXPORT int access(const char *pathname, int mode) {
}
EXPORT int faccessat(int dirfd, const char *pathname, int mode, int flags) {
- static auto my_faccessat = reinterpret_cast(dlsym(RTLD_NEXT, "faccessat"));
+ const auto my_faccessat = next_symbol(Next::faccessat);
if (fake_uinput_enabled() && is_uinput_path(pathname)) return 0;
if (is_deck_hidraw_path(pathname) && process_reads_pads()) return 0;
if ((is_triton_hidraw_path(pathname) || is_triton_pad_path(pathname) || sony_pad_path(pathname)) &&
@@ -3478,7 +3584,7 @@ EXPORT int scandir(const char *dirp, struct dirent ***namelist,
int (*filter)(const struct dirent *),
int (*compar)(const struct dirent **,
const struct dirent **)) {
- static auto my_scandir = reinterpret_cast(dlsym(RTLD_NEXT, "scandir"));
+ const auto my_scandir = next_symbol(Next::scandir);
if (dirp) {
if (!strcmp(dirp, "/dev/input")) {
@@ -3492,7 +3598,7 @@ EXPORT int scandir(const char *dirp, struct dirent ***namelist,
}
EXPORT int inotify_add_watch(int fd, const char *pathname, uint32_t mask) {
- static auto my_inotify_add_watch = reinterpret_cast(dlsym(RTLD_NEXT, "inotify_add_watch"));
+ const auto my_inotify_add_watch = next_symbol(Next::inotify_add_watch);
char *fake_path = nullptr;
if (pathname) {
@@ -3631,7 +3737,7 @@ static bool wait_snapshot(std::shared_ptr fake,
static int forward_ioctl(int fd, ioctl_request_t op, void *argp) {
using ioctl_fn = int (*)(int, ioctl_request_t, ...);
- static const auto next = reinterpret_cast(dlsym(RTLD_NEXT, "ioctl"));
+ const auto next = next_symbol(Next::ioctl);
return next ? next(fd, op, argp) : static_cast(syscall(SYS_ioctl, fd, op, argp));
}
@@ -3689,6 +3795,10 @@ EXPORT int ioctl(int fd, ioctl_request_t op, ...) {
id.bustype = 0x03;
if (made) {
id = made->id;
+ if (steam_pad_as_x360() && id.vendor == STEAM_VIRTUAL_VENDOR_ID && id.product == STEAM_VIRTUAL_PRODUCT_ID) {
+ id.vendor = X360_VENDOR_ID;
+ id.product = X360_PRODUCT_ID;
+ }
} else if (presents_steam_virtual()) {
id.vendor = STEAM_VIRTUAL_VENDOR_ID;
id.product = STEAM_VIRTUAL_PRODUCT_ID;
@@ -3866,7 +3976,7 @@ EXPORT int ioctl(int fd, ioctl_request_t op, ...) {
}
EXPORT int close(int fd) {
- static auto my_close = reinterpret_cast(dlsym(RTLD_NEXT, "close"));
+ const auto my_close = next_symbol(Next::close);
if (!watched(fd)) return my_close(fd);
close_uinput(fd);
@@ -3930,6 +4040,7 @@ static ssize_t read_input(int fd, void *buf, size_t count) {
errno = ENODEV;
return -1;
}
+ bool idle = false;
for (int attempt = 0; attempt < 8; ++attempt) {
size_t requested = count / sizeof(struct input_event);
if (fake.keyframe_remaining == 0) {
@@ -3951,7 +4062,10 @@ static ssize_t read_input(int fd, void *buf, size_t count) {
capture_keyframe(fake, snap);
} else {
size_t events = std::min(requested, snap.write_seq - fake.read_seq);
- if (events == 0) break;
+ if (events == 0) {
+ idle = true;
+ break;
+ }
const uint8_t *ring_events = reinterpret_cast(fake.ring) +
FAKE_INPUT_RING_HEADER_SIZE;
std::vector input_events(events);
@@ -3997,9 +4111,14 @@ static ssize_t read_input(int fd, void *buf, size_t count) {
errno = EAGAIN;
return -1;
}
+ const FakeInputRingHeader *ring = fake.ring;
+ uint64_t seen = fake.read_seq;
guard.unlock();
+#ifdef __GLIBC__
+ pthread_testcancel();
+#endif
struct timespec sleep_time = {0, backoff_ns};
- int result = nanosleep(&sleep_time, nullptr);
+ int result = idle ? ring_wait(ring, seen, backoff_ns) : nanosleep(&sleep_time, nullptr);
guard.lock();
if (result < 0) return -1;
if (low_latency(LATENCY_CONTROLLER)) backoff_ns = kLowLatencyRingWaitUs * 1000;
@@ -4054,7 +4173,7 @@ EXPORT ssize_t readv(int fd, const struct iovec *iov, int iovcnt) {
}
EXPORT ssize_t write(int fd, const void *buf, size_t count) {
- static auto my_write = reinterpret_cast(dlsym(RTLD_NEXT, "write"));
+ const auto my_write = next_symbol(Next::write);
if (!watched(fd)) return my_write(fd, buf, count);
std::unique_lock guard(controller_mutex());
@@ -4129,8 +4248,8 @@ EXPORT ssize_t writev(int fd, const struct iovec *iov, int iovcnt) {
static int poll_fake(struct pollfd *fds, nfds_t nfds, int timeout,
const sigset_t *sigmask) {
- static auto my_poll = reinterpret_cast(dlsym(RTLD_NEXT, "poll"));
- static auto my_ppoll = reinterpret_cast(dlsym(RTLD_NEXT, "ppoll"));
+ const auto my_poll = next_symbol(Next::poll);
+ const auto my_ppoll = next_symbol(Next::ppoll);
nfds_t first = 0;
while (first < nfds && !watched(fds[first].fd)) first++;
@@ -4234,7 +4353,7 @@ EXPORT int poll(struct pollfd *fds, nfds_t nfds, int timeout) {
EXPORT int ppoll(struct pollfd *fds, nfds_t nfds,
const struct timespec *timeout, const sigset_t *sigmask) {
- static auto my_ppoll = reinterpret_cast(dlsym(RTLD_NEXT, "ppoll"));
+ const auto my_ppoll = next_symbol(Next::ppoll);
if (timeout && (timeout->tv_sec < 0 || timeout->tv_nsec < 0 || timeout->tv_nsec >= 1000000000L)) {
errno = EINVAL;
return -1;
@@ -4261,7 +4380,7 @@ EXPORT int ppoll(struct pollfd *fds, nfds_t nfds,
EXPORT int select(int nfds, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout) {
- static auto my_select = reinterpret_cast(dlsym(RTLD_NEXT, "select"));
+ const auto my_select = next_symbol(Next::select);
fd_set original_readfds;
fd_set original_writefds;
@@ -4423,10 +4542,10 @@ EXPORT int openat64(int dirfd, const char *pathname, int flags, ...) {
}
static int real_stat64(const char *pathname, struct stat64 *statbuf) {
- static auto fn = reinterpret_cast(dlsym(RTLD_NEXT, "stat64"));
+ const auto fn = next_symbol(Next::stat64);
if (fn) return fn(pathname, statbuf);
#ifdef _STAT_VER
- static auto xfn = reinterpret_cast(dlsym(RTLD_NEXT, "__xstat64"));
+ const auto xfn = next_symbol(Next::xstat64);
if (xfn) return xfn(_STAT_VER, pathname, statbuf);
#endif
errno = ENOSYS;
@@ -4434,10 +4553,10 @@ static int real_stat64(const char *pathname, struct stat64 *statbuf) {
}
static int real_fstat64(int fd, struct stat64 *buf) {
- static auto fn = reinterpret_cast(dlsym(RTLD_NEXT, "fstat64"));
+ const auto fn = next_symbol(Next::fstat64);
if (fn) return fn(fd, buf);
#ifdef _STAT_VER
- static auto xfn = reinterpret_cast(dlsym(RTLD_NEXT, "__fxstat64"));
+ const auto xfn = next_symbol(Next::fxstat64);
if (xfn) return xfn(_STAT_VER, fd, buf);
#endif
errno = ENOSYS;
@@ -4453,27 +4572,27 @@ EXPORT int fstat64(int fd, struct stat64 *buf) {
}
EXPORT int __xstat(int version, const char *pathname, struct stat *statbuf) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "__xstat"));
+ const auto real = next_symbol(Next::xstat);
if (!real) return stat(pathname, statbuf);
- return fake_stat_path(pathname, statbuf, [version](const char *path, struct stat *buf) { return real(version, path, buf); });
+ return fake_stat_path(pathname, statbuf, [version, real](const char *path, struct stat *buf) { return real(version, path, buf); });
}
EXPORT int __xstat64(int version, const char *pathname, struct stat64 *statbuf) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "__xstat64"));
+ const auto real = next_symbol(Next::xstat64);
if (!real) return stat64(pathname, statbuf);
- return fake_stat_path(pathname, statbuf, [version](const char *path, struct stat64 *buf) { return real(version, path, buf); });
+ return fake_stat_path(pathname, statbuf, [version, real](const char *path, struct stat64 *buf) { return real(version, path, buf); });
}
EXPORT int __fxstat(int version, int fd, struct stat *buf) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "__fxstat"));
+ const auto real = next_symbol(Next::fxstat);
if (!real) return fstat(fd, buf);
- return fake_stat_fd(fd, buf, [version](int f, struct stat *b) { return real(version, f, b); });
+ return fake_stat_fd(fd, buf, [version, real](int f, struct stat *b) { return real(version, f, b); });
}
EXPORT int __fxstat64(int version, int fd, struct stat64 *buf) {
- static auto real = reinterpret_cast(dlsym(RTLD_NEXT, "__fxstat64"));
+ const auto real = next_symbol(Next::fxstat64);
if (!real) return fstat64(fd, buf);
- return fake_stat_fd(fd, buf, [version](int f, struct stat64 *b) { return real(version, f, b); });
+ return fake_stat_fd(fd, buf, [version, real](int f, struct stat64 *b) { return real(version, f, b); });
}
#if defined(__x86_64__) || defined(__i386__)
@@ -4487,18 +4606,37 @@ static const char *const interposed_names[] = {
};
static dlsym_fn next_dlsym() {
- static const dlsym_fn fn = [] {
+ static std::atomic fn{nullptr};
+ static std::atomic resolved{false};
+ if (!resolved.load(std::memory_order_acquire)) {
#ifdef __x86_64__
const char *base = "GLIBC_2.2.5";
#else
const char *base = "GLIBC_2.0";
#endif
+ dlsym_fn found{};
for (const char *version : {base, "GLIBC_2.34"}) {
- if (auto found = reinterpret_cast(dlvsym(RTLD_NEXT, "dlsym", version))) return found;
+ if ((found = reinterpret_cast(dlvsym(RTLD_NEXT, "dlsym", version)))) break;
}
- return dlsym_fn{};
- }();
- return fn;
+ fn.store(found, std::memory_order_relaxed);
+ resolved.store(true, std::memory_order_release);
+ }
+ return fn.load(std::memory_order_relaxed);
+}
+
+static void *libc_handle() {
+ static std::atomic handle{nullptr};
+ static std::atomic resolved{false};
+ if (!resolved.load(std::memory_order_acquire)) {
+ handle.store(dlopen(LIBC_SO, RTLD_LAZY | RTLD_NOLOAD), std::memory_order_relaxed);
+ resolved.store(true, std::memory_order_release);
+ }
+ return handle.load(std::memory_order_relaxed);
+}
+
+__attribute__((constructor)) static void resolve_dlsym_targets() {
+ next_dlsym();
+ libc_handle();
}
static void *global_dlsym(void *, const char *name) { return next_dlsym()(RTLD_DEFAULT, name); }
@@ -4516,8 +4654,7 @@ extern "C" __attribute__((visibility("hidden"), used)) void *fakeinput_dlsym_tar
dlsym_fn next = next_dlsym();
if (!next) return reinterpret_cast(missing_dlsym);
if (handle == RTLD_DEFAULT || handle == RTLD_NEXT || name == nullptr) return reinterpret_cast(next);
- static void *const libc = dlopen(LIBC_SO, RTLD_LAZY | RTLD_NOLOAD);
- if (handle != libc || !interposed(name)) return reinterpret_cast(next);
+ if (handle != libc_handle() || !interposed(name)) return reinterpret_cast(next);
return reinterpret_cast(global_dlsym);
}
diff --git a/app/src/main/cpp/framegen/ddfg/embedded_shaders.hpp b/app/src/main/cpp/framegen/ddfg/embedded_shaders.hpp
index 61f5c154c7..af09e777d6 100644
--- a/app/src/main/cpp/framegen/ddfg/embedded_shaders.hpp
+++ b/app/src/main/cpp/framegen/ddfg/embedded_shaders.hpp
@@ -6,8 +6,216 @@ static const uint32_t OF3_LUMA_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00
static const size_t OF3_LUMA_LEN = 481;
static const uint32_t OF3_DOWNSAMPLE_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x0000008au,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x0000000du,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00030005u,0x00000009u,0x00646967u,0x00080005u,0x0000000du,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x00000012u,0x006d6964u,0x00040005u,0x00000016u,0x74734475u,0x00000000u,0x00040005u,0x00000030u,0x44637273u,0x00006d69u,0x00040005u,0x00000034u,0x63725375u,0x00000000u,0x00040005u,0x0000003au,0x65736162u,0x00000000u,0x00030005u,0x00000044u,0x00000068u,0x00030005u,0x0000004au,0x00000061u,0x00030005u,0x00000059u,0x00000062u,0x00030005u,0x00000065u,0x00000063u,0x00030005u,0x00000071u,0x00000064u,0x00040047u,0x0000000du,0x0000000bu,0x0000001cu,0x00030047u,0x00000016u,0x00000019u,0x00040047u,0x00000016u,0x00000021u,0x00000030u,0x00040047u,0x00000016u,0x00000022u,0x00000000u,0x00040047u,0x00000034u,0x00000021u,0x00000020u,0x00040047u,0x00000034u,0x00000022u,0x00000000u,0x00040047u,0x00000089u,0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00040015u,0x00000006u,0x00000020u,0x00000001u,0x00040017u,0x00000007u,0x00000006u,0x00000002u,0x00040020u,0x00000008u,0x00000007u,0x00000007u,0x00040015u,0x0000000au,0x00000020u,0x00000000u,0x00040017u,0x0000000bu,0x0000000au,0x00000003u,0x00040020u,0x0000000cu,0x00000001u,0x0000000bu,0x0004003bu,0x0000000cu,0x0000000du,0x00000001u,0x00040017u,0x0000000eu,0x0000000au,0x00000002u,0x00030016u,0x00000013u,0x00000020u,0x00090019u,0x00000014u,0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000003u,0x00040020u,0x00000015u,0x00000000u,0x00000014u,0x0004003bu,0x00000015u,0x00000016u,0x00000000u,0x00020014u,0x00000019u,0x0004002bu,0x0000000au,0x0000001au,0x00000000u,0x00040020u,0x0000001bu,0x00000007u,0x00000006u,0x0004002bu,0x0000000au,0x00000024u,0x00000001u,0x00040017u,0x0000002eu,0x00000013u,0x00000002u,0x00040020u,0x0000002fu,0x00000007u,0x0000002eu,0x00090019u,0x00000031u,0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x00000032u,0x00000031u,0x00040020u,0x00000033u,0x00000000u,0x00000032u,0x0004003bu,0x00000033u,0x00000034u,0x00000000u,0x0004002bu,0x00000006u,0x00000036u,0x00000000u,0x0004002bu,0x00000013u,0x0000003du,0x40000000u,0x0004002bu,0x00000013u,0x0000003fu,0x3f800000u,0x0004002bu,0x00000013u,0x00000045u,0x3f000000u,0x00040020u,0x00000049u,0x00000007u,0x00000013u,0x0004002bu,0x00000013u,0x00000055u,0x00000000u,0x00040017u,0x00000056u,0x00000013u,0x00000004u,0x0004002bu,0x00000013u,0x00000085u,0x3e800000u,0x0004002bu,0x0000000au,0x00000088u,0x00000010u,0x0006002cu,0x0000000bu,0x00000089u,0x00000088u,0x00000088u,0x00000024u,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x00000008u,0x00000009u,0x00000007u,0x0004003bu,0x00000008u,0x00000012u,0x00000007u,0x0004003bu,0x0000002fu,0x00000030u,0x00000007u,0x0004003bu,0x0000002fu,0x0000003au,0x00000007u,0x0004003bu,0x0000002fu,0x00000044u,0x00000007u,0x0004003bu,0x00000049u,0x0000004au,0x00000007u,0x0004003bu,0x00000049u,0x00000059u,0x00000007u,0x0004003bu,0x00000049u,0x00000065u,0x00000007u,0x0004003bu,0x00000049u,0x00000071u,0x00000007u,0x0004003du,0x0000000bu,0x0000000fu,0x0000000du,0x0007004fu,0x0000000eu,0x00000010u,0x0000000fu,0x0000000fu,0x00000000u,0x00000001u,0x0004007cu,0x00000007u,0x00000011u,0x00000010u,0x0003003eu,0x00000009u,0x00000011u,0x0004003du,0x00000014u,0x00000017u,0x00000016u,0x00040068u,0x00000007u,0x00000018u,0x00000017u,0x0003003eu,0x00000012u,0x00000018u,0x00050041u,0x0000001bu,0x0000001cu,0x00000009u,0x0000001au,0x0004003du,0x00000006u,0x0000001du,0x0000001cu,0x00050041u,0x0000001bu,0x0000001eu,0x00000012u,0x0000001au,0x0004003du,0x00000006u,0x0000001fu,0x0000001eu,0x000500afu,0x00000019u,0x00000020u,0x0000001du,0x0000001fu,0x000400a8u,0x00000019u,0x00000021u,0x00000020u,0x000300f7u,0x00000023u,0x00000000u,0x000400fau,0x00000021u,0x00000022u,0x00000023u,0x000200f8u,0x00000022u,0x00050041u,0x0000001bu,0x00000025u,0x00000009u,0x00000024u,0x0004003du,0x00000006u,0x00000026u,0x00000025u,0x00050041u,0x0000001bu,0x00000027u,0x00000012u,0x00000024u,0x0004003du,0x00000006u,0x00000028u,0x00000027u,0x000500afu,0x00000019u,0x00000029u,0x00000026u,0x00000028u,0x000200f9u,0x00000023u,0x000200f8u,0x00000023u,0x000700f5u,0x00000019u,0x0000002au,0x00000020u,0x00000005u,0x00000029u,0x00000022u,0x000300f7u,0x0000002cu,0x00000000u,0x000400fau,0x0000002au,0x0000002bu,0x0000002cu,0x000200f8u,0x0000002bu,0x000100fdu,0x000200f8u,0x0000002cu,0x0004003du,0x00000032u,0x00000035u,0x00000034u,0x00040064u,0x00000031u,0x00000037u,0x00000035u,0x00050067u,0x00000007u,0x00000038u,0x00000037u,0x00000036u,0x0004006fu,0x0000002eu,0x00000039u,0x00000038u,0x0003003eu,0x00000030u,0x00000039u,0x0004003du,0x00000007u,0x0000003bu,0x00000009u,0x0004006fu,0x0000002eu,0x0000003cu,0x0000003bu,0x0005008eu,0x0000002eu,0x0000003eu,0x0000003cu,0x0000003du,0x00050050u,0x0000002eu,0x00000040u,0x0000003fu,0x0000003fu,0x00050081u,0x0000002eu,0x00000041u,0x0000003eu,0x00000040u,0x0004003du,0x0000002eu,0x00000042u,0x00000030u,0x00050088u,0x0000002eu,0x00000043u,0x00000041u,0x00000042u,0x0003003eu,0x0000003au,0x00000043u,0x0004003du,0x0000002eu,0x00000046u,0x00000030u,0x00050050u,0x0000002eu,0x00000047u,0x00000045u,0x00000045u,0x00050088u,0x0000002eu,0x00000048u,0x00000047u,0x00000046u,0x0003003eu,0x00000044u,0x00000048u,0x0004003du,0x00000032u,0x0000004bu,0x00000034u,0x0004003du,0x0000002eu,0x0000004cu,0x0000003au,0x00050041u,0x00000049u,0x0000004du,0x00000044u,0x0000001au,0x0004003du,0x00000013u,0x0000004eu,0x0000004du,0x0004007fu,0x00000013u,0x0000004fu,0x0000004eu,0x00050041u,0x00000049u,0x00000050u,0x00000044u,0x00000024u,0x0004003du,0x00000013u,0x00000051u,0x00000050u,0x0004007fu,0x00000013u,0x00000052u,0x00000051u,0x00050050u,0x0000002eu,0x00000053u,0x0000004fu,0x00000052u,0x00050081u,0x0000002eu,0x00000054u,0x0000004cu,0x00000053u,0x00070058u,0x00000056u,0x00000057u,0x0000004bu,0x00000054u,0x00000002u,0x00000055u,0x00050051u,0x00000013u,0x00000058u,0x00000057u,0x00000000u,0x0003003eu,0x0000004au,0x00000058u,0x0004003du,0x00000032u,0x0000005au,0x00000034u,0x0004003du,0x0000002eu,0x0000005bu,0x0000003au,0x00050041u,0x00000049u,0x0000005cu,0x00000044u,0x0000001au,0x0004003du,0x00000013u,0x0000005du,0x0000005cu,0x00050041u,0x00000049u,0x0000005eu,0x00000044u,0x00000024u,0x0004003du,0x00000013u,0x0000005fu,0x0000005eu,0x0004007fu,0x00000013u,0x00000060u,0x0000005fu,0x00050050u,0x0000002eu,0x00000061u,0x0000005du,0x00000060u,0x00050081u,0x0000002eu,0x00000062u,0x0000005bu,0x00000061u,0x00070058u,0x00000056u,0x00000063u,0x0000005au,0x00000062u,0x00000002u,0x00000055u,0x00050051u,0x00000013u,0x00000064u,0x00000063u,0x00000000u,0x0003003eu,0x00000059u,0x00000064u,0x0004003du,0x00000032u,0x00000066u,0x00000034u,0x0004003du,0x0000002eu,0x00000067u,0x0000003au,0x00050041u,0x00000049u,0x00000068u,0x00000044u,0x0000001au,0x0004003du,0x00000013u,0x00000069u,0x00000068u,0x0004007fu,0x00000013u,0x0000006au,0x00000069u,0x00050041u,0x00000049u,0x0000006bu,0x00000044u,0x00000024u,0x0004003du,0x00000013u,0x0000006cu,0x0000006bu,0x00050050u,0x0000002eu,0x0000006du,0x0000006au,0x0000006cu,0x00050081u,0x0000002eu,0x0000006eu,0x00000067u,0x0000006du,0x00070058u,0x00000056u,0x0000006fu,0x00000066u,0x0000006eu,0x00000002u,0x00000055u,0x00050051u,0x00000013u,0x00000070u,0x0000006fu,0x00000000u,0x0003003eu,0x00000065u,0x00000070u,0x0004003du,0x00000032u,0x00000072u,0x00000034u,0x0004003du,0x0000002eu,0x00000073u,0x0000003au,0x00050041u,0x00000049u,0x00000074u,0x00000044u,0x0000001au,0x0004003du,0x00000013u,0x00000075u,0x00000074u,0x00050041u,0x00000049u,0x00000076u,0x00000044u,0x00000024u,0x0004003du,0x00000013u,0x00000077u,0x00000076u,0x00050050u,0x0000002eu,0x00000078u,0x00000075u,0x00000077u,0x00050081u,0x0000002eu,0x00000079u,0x00000073u,0x00000078u,0x00070058u,0x00000056u,0x0000007au,0x00000072u,0x00000079u,0x00000002u,0x00000055u,0x00050051u,0x00000013u,0x0000007bu,0x0000007au,0x00000000u,0x0003003eu,0x00000071u,0x0000007bu,0x0004003du,0x00000014u,0x0000007cu,0x00000016u,0x0004003du,0x00000007u,0x0000007du,0x00000009u,0x0004003du,0x00000013u,0x0000007eu,0x0000004au,0x0004003du,0x00000013u,0x0000007fu,0x00000059u,0x00050081u,0x00000013u,0x00000080u,0x0000007eu,0x0000007fu,0x0004003du,0x00000013u,0x00000081u,0x00000065u,0x00050081u,0x00000013u,0x00000082u,0x00000080u,0x00000081u,0x0004003du,0x00000013u,0x00000083u,0x00000071u,0x00050081u,0x00000013u,0x00000084u,0x00000082u,0x00000083u,0x00050085u,0x00000013u,0x00000086u,0x00000084u,0x00000085u,0x00070050u,0x00000056u,0x00000087u,0x00000086u,0x00000055u,0x00000055u,0x00000055u,0x00040063u,0x0000007cu,0x0000007du,0x00000087u,0x000100fdu,0x00010038u};
static const size_t OF3_DOWNSAMPLE_LEN = 753;
-static const uint32_t OF3_FLOW_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00000185u,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x0000000du,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00030005u,0x00000009u,0x00646967u,0x00080005u,0x0000000du,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x00000012u,0x006d6964u,0x00040005u,0x00000016u,0x6f6c4675u,0x00000077u,0x00040005u,0x00000030u,0x44766e69u,0x00006d69u,0x00030005u,0x00000036u,0x00007675u,0x00040005u,0x0000003fu,0x654c6f74u,0x006c6576u,0x00030005u,0x00000040u,0x00000055u,0x00060006u,0x00000040u,0x00000000u,0x776f6c66u,0x6c616353u,0x00000065u,0x00050006u,0x00000040u,0x00000001u,0x6576656cu,0x0000006cu,0x00050006u,0x00000040u,0x00000002u,0x30646170u,0x00000000u,0x00050006u,0x00000040u,0x00000003u,0x31646170u,0x00000000u,0x00030005u,0x00000042u,0x00000000u,0x00050005u,0x0000004au,0x64657270u,0x6c6c7546u,0x00000000u,0x00050005u,0x0000004eu,0x65725075u,0x74636964u,0x0000726fu,0x00050005u,0x00000055u,0x64657270u,0x6576654cu,0x0000006cu,0x00040005u,0x00000059u,0x74736562u,0x00646153u,0x00050005u,0x0000005bu,0x74736562u,0x70736944u,0x00000000u,0x00030005u,0x0000005du,0x00007973u,0x00030005u,0x00000067u,0x00007873u,0x00040005u,0x0000006fu,0x646e6163u,0x00000000u,0x00030005u,0x00000077u,0x00646173u,0x00030005u,0x00000078u,0x00007962u,0x00030005u,0x00000081u,0x00007862u,0x00030005u,0x00000089u,0x00006f62u,0x00030005u,0x0000008fu,0x00000070u,0x00050005u,0x00000090u,0x6d754c75u,0x65725061u,0x00000076u,0x00030005u,0x00000099u,0x00000063u,0x00050005u,0x0000009au,0x6d754c75u,0x72754361u,0x00000072u,0x00040005u,0x000000cau,0x43646173u,0x00000000u,0x00040005u,0x000000ccu,0x58646173u,0x0000006du,0x00040005u,0x000000cdu,0x58646173u,0x00000070u,0x00040005u,0x000000ceu,0x59646173u,0x0000006du,0x00040005u,0x000000cfu,0x59646173u,0x00000070u,0x00030005u,0x000000d0u,0x00007962u,0x00030005u,0x000000d8u,0x00007862u,0x00030005u,0x000000e0u,0x00006f62u,0x00030005u,0x000000e6u,0x00000070u,0x00040005u,0x000000efu,0x646e6163u,0x00006d58u,0x00040005u,0x000000f4u,0x646e6163u,0x00007058u,0x00040005u,0x000000f8u,0x646e6163u,0x00006d59u,0x00040005u,0x000000fcu,0x646e6163u,0x00007059u,0x00030005u,0x00000148u,0x00007864u,0x00030005u,0x00000149u,0x00007964u,0x00040005u,0x0000014au,0x6f6e6564u,0x0000586du,0x00040005u,0x00000152u,0x6f6e6564u,0x0000596du,0x00050005u,0x00000176u,0x776f6c66u,0x6c6c7546u,0x00000000u,0x00040047u,0x0000000du,0x0000000bu,0x0000001cu,0x00030047u,0x00000016u,0x00000019u,0x00040047u,0x00000016u,0x00000021u,0x00000030u,0x00040047u,0x00000016u,0x00000022u,0x00000000u,0x00030047u,0x00000040u,0x00000002u,0x00050048u,0x00000040u,0x00000000u,0x00000023u,0x00000000u,0x00050048u,0x00000040u,0x00000001u,0x00000023u,0x00000004u,0x00050048u,0x00000040u,0x00000002u,0x00000023u,0x00000008u,0x00050048u,0x00000040u,0x00000003u,0x00000023u,0x0000000cu,0x00040047u,0x00000042u,0x00000021u,0x00000000u,0x00040047u,0x00000042u,0x00000022u,0x00000000u,0x00040047u,0x0000004eu,0x00000021u,0x00000022u,0x00040047u,0x0000004eu,0x00000022u,0x00000000u,0x00040047u,0x00000090u,0x00000021u,0x00000020u,0x00040047u,0x00000090u,0x00000022u,0x00000000u,0x00040047u,0x0000009au,0x00000021u,0x00000021u,0x00040047u,0x0000009au,0x00000022u,0x00000000u,0x00040047u,0x00000184u,0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00040015u,0x00000006u,0x00000020u,0x00000001u,0x00040017u,0x00000007u,0x00000006u,0x00000002u,0x00040020u,0x00000008u,0x00000007u,0x00000007u,0x00040015u,0x0000000au,0x00000020u,0x00000000u,0x00040017u,0x0000000bu,0x0000000au,0x00000003u,0x00040020u,0x0000000cu,0x00000001u,0x0000000bu,0x0004003bu,0x0000000cu,0x0000000du,0x00000001u,0x00040017u,0x0000000eu,0x0000000au,0x00000002u,0x00030016u,0x00000013u,0x00000020u,0x00090019u,0x00000014u,0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000002u,0x00040020u,0x00000015u,0x00000000u,0x00000014u,0x0004003bu,0x00000015u,0x00000016u,0x00000000u,0x00020014u,0x00000019u,0x0004002bu,0x0000000au,0x0000001au,0x00000000u,0x00040020u,0x0000001bu,0x00000007u,0x00000006u,0x0004002bu,0x0000000au,0x00000024u,0x00000001u,0x00040017u,0x0000002eu,0x00000013u,0x00000002u,0x00040020u,0x0000002fu,0x00000007u,0x0000002eu,0x0004002bu,0x00000013u,0x00000031u,0x3f800000u,0x0004002bu,0x00000013u,0x00000039u,0x3f000000u,0x00040020u,0x0000003eu,0x00000007u,0x00000013u,0x0006001eu,0x00000040u,0x00000013u,0x0000000au,0x0000000au,0x0000000au,0x00040020u,0x00000041u,0x00000002u,0x00000040u,0x0004003bu,0x00000041u,0x00000042u,0x00000002u,0x0004002bu,0x00000006u,0x00000043u,0x00000001u,0x00040020u,0x00000044u,0x00000002u,0x0000000au,0x00090019u,0x0000004bu,0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x0000004cu,0x0000004bu,0x00040020u,0x0000004du,0x00000000u,0x0000004cu,0x0004003bu,0x0000004du,0x0000004eu,0x00000000u,0x0004002bu,0x00000013u,0x00000051u,0x00000000u,0x00040017u,0x00000052u,0x00000013u,0x00000004u,0x0004002bu,0x00000013u,0x0000005au,0x7f7fffffu,0x0004002bu,0x00000006u,0x0000005eu,0xfffffffdu,0x0004002bu,0x00000006u,0x00000065u,0x00000003u,0x0004002bu,0x00000006u,0x00000079u,0xffffffffu,0x0004003bu,0x0000004du,0x00000090u,0x00000000u,0x0004003bu,0x0000004du,0x0000009au,0x00000000u,0x0004002bu,0x00000013u,0x000000afu,0x3bc49ba6u,0x0004002bu,0x00000013u,0x000000f1u,0xbf800000u,0x0005002cu,0x0000002eu,0x000000f2u,0x000000f1u,0x00000051u,0x0005002cu,0x0000002eu,0x000000f6u,0x00000031u,0x00000051u,0x0005002cu,0x0000002eu,0x000000fau,0x00000051u,0x000000f1u,0x0005002cu,0x0000002eu,0x000000feu,0x00000051u,0x00000031u,0x0004002bu,0x00000013u,0x0000014cu,0x40000000u,0x0004002bu,0x00000013u,0x0000015au,0x358637bdu,0x0004002bu,0x00000013u,0x00000164u,0xbf000000u,0x0004002bu,0x0000000au,0x00000183u,0x00000010u,0x0006002cu,0x0000000bu,0x00000184u,0x00000183u,0x00000183u,0x00000024u,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x00000008u,0x00000009u,0x00000007u,0x0004003bu,0x00000008u,0x00000012u,0x00000007u,0x0004003bu,0x0000002fu,0x00000030u,0x00000007u,0x0004003bu,0x0000002fu,0x00000036u,0x00000007u,0x0004003bu,0x0000003eu,0x0000003fu,0x00000007u,0x0004003bu,0x0000002fu,0x0000004au,0x00000007u,0x0004003bu,0x0000002fu,0x00000055u,0x00000007u,0x0004003bu,0x0000003eu,0x00000059u,0x00000007u,0x0004003bu,0x0000002fu,0x0000005bu,0x00000007u,0x0004003bu,0x0000001bu,0x0000005du,0x00000007u,0x0004003bu,0x0000001bu,0x00000067u,0x00000007u,0x0004003bu,0x0000002fu,0x0000006fu,0x00000007u,0x0004003bu,0x0000003eu,0x00000077u,0x00000007u,0x0004003bu,0x0000001bu,0x00000078u,0x00000007u,0x0004003bu,0x0000001bu,0x00000081u,0x00000007u,0x0004003bu,0x0000002fu,0x00000089u,0x00000007u,0x0004003bu,0x0000003eu,0x0000008fu,0x00000007u,0x0004003bu,0x0000003eu,0x00000099u,0x00000007u,0x0004003bu,0x0000003eu,0x000000cau,0x00000007u,0x0004003bu,0x0000003eu,0x000000ccu,0x00000007u,0x0004003bu,0x0000003eu,0x000000cdu,0x00000007u,0x0004003bu,0x0000003eu,0x000000ceu,0x00000007u,0x0004003bu,0x0000003eu,0x000000cfu,0x00000007u,0x0004003bu,0x0000001bu,0x000000d0u,0x00000007u,0x0004003bu,0x0000001bu,0x000000d8u,0x00000007u,0x0004003bu,0x0000002fu,0x000000e0u,0x00000007u,0x0004003bu,0x0000003eu,0x000000e6u,0x00000007u,0x0004003bu,0x0000002fu,0x000000efu,0x00000007u,0x0004003bu,0x0000002fu,0x000000f4u,0x00000007u,0x0004003bu,0x0000002fu,0x000000f8u,0x00000007u,0x0004003bu,0x0000002fu,0x000000fcu,0x00000007u,0x0004003bu,0x0000003eu,0x00000148u,0x00000007u,0x0004003bu,0x0000003eu,0x00000149u,0x00000007u,0x0004003bu,0x0000003eu,0x0000014au,0x00000007u,0x0004003bu,0x0000003eu,0x00000152u,0x00000007u,0x0004003bu,0x0000002fu,0x00000176u,0x00000007u,0x0004003du,0x0000000bu,0x0000000fu,0x0000000du,0x0007004fu,0x0000000eu,0x00000010u,0x0000000fu,0x0000000fu,0x00000000u,0x00000001u,0x0004007cu,0x00000007u,0x00000011u,0x00000010u,0x0003003eu,0x00000009u,0x00000011u,0x0004003du,0x00000014u,0x00000017u,0x00000016u,0x00040068u,0x00000007u,0x00000018u,0x00000017u,0x0003003eu,0x00000012u,0x00000018u,0x00050041u,0x0000001bu,0x0000001cu,0x00000009u,0x0000001au,0x0004003du,0x00000006u,0x0000001du,0x0000001cu,0x00050041u,0x0000001bu,0x0000001eu,0x00000012u,0x0000001au,0x0004003du,0x00000006u,0x0000001fu,0x0000001eu,0x000500afu,0x00000019u,0x00000020u,0x0000001du,0x0000001fu,0x000400a8u,0x00000019u,0x00000021u,0x00000020u,0x000300f7u,0x00000023u,0x00000000u,0x000400fau,0x00000021u,0x00000022u,0x00000023u,0x000200f8u,0x00000022u,0x00050041u,0x0000001bu,0x00000025u,0x00000009u,0x00000024u,0x0004003du,0x00000006u,0x00000026u,0x00000025u,0x00050041u,0x0000001bu,0x00000027u,0x00000012u,0x00000024u,0x0004003du,0x00000006u,0x00000028u,0x00000027u,0x000500afu,0x00000019u,0x00000029u,0x00000026u,0x00000028u,0x000200f9u,0x00000023u,0x000200f8u,0x00000023u,0x000700f5u,0x00000019u,0x0000002au,0x00000020u,0x00000005u,0x00000029u,0x00000022u,0x000300f7u,0x0000002cu,0x00000000u,0x000400fau,0x0000002au,0x0000002bu,0x0000002cu,0x000200f8u,0x0000002bu,0x000100fdu,0x000200f8u,0x0000002cu,0x0004003du,0x00000007u,0x00000032u,0x00000012u,0x0004006fu,0x0000002eu,0x00000033u,0x00000032u,0x00050050u,0x0000002eu,0x00000034u,0x00000031u,0x00000031u,0x00050088u,0x0000002eu,0x00000035u,0x00000034u,0x00000033u,0x0003003eu,0x00000030u,0x00000035u,0x0004003du,0x00000007u,0x00000037u,0x00000009u,0x0004006fu,0x0000002eu,0x00000038u,0x00000037u,0x00050050u,0x0000002eu,0x0000003au,0x00000039u,0x00000039u,0x00050081u,0x0000002eu,0x0000003bu,0x00000038u,0x0000003au,0x0004003du,0x0000002eu,0x0000003cu,0x00000030u,0x00050085u,0x0000002eu,0x0000003du,0x0000003bu,0x0000003cu,0x0003003eu,0x00000036u,0x0000003du,0x00050041u,0x00000044u,0x00000045u,0x00000042u,0x00000043u,0x0004003du,0x0000000au,0x00000046u,0x00000045u,0x00040070u,0x00000013u,0x00000047u,0x00000046u,0x0004007fu,0x00000013u,0x00000048u,0x00000047u,0x0006000cu,0x00000013u,0x00000049u,0x00000001u,0x0000001du,0x00000048u,0x0003003eu,0x0000003fu,0x00000049u,0x0004003du,0x0000004cu,0x0000004fu,0x0000004eu,0x0004003du,0x0000002eu,0x00000050u,0x00000036u,0x00070058u,0x00000052u,0x00000053u,0x0000004fu,0x00000050u,0x00000002u,0x00000051u,0x0007004fu,0x0000002eu,0x00000054u,0x00000053u,0x00000053u,0x00000000u,0x00000001u,0x0003003eu,0x0000004au,0x00000054u,0x0004003du,0x0000002eu,0x00000056u,0x0000004au,0x0004003du,0x00000013u,0x00000057u,0x0000003fu,0x0005008eu,0x0000002eu,0x00000058u,0x00000056u,0x00000057u,0x0003003eu,0x00000055u,0x00000058u,0x0003003eu,0x00000059u,0x0000005au,0x0004003du,0x0000002eu,0x0000005cu,0x00000055u,0x0003003eu,0x0000005bu,0x0000005cu,0x0003003eu,0x0000005du,0x0000005eu,0x000200f9u,0x0000005fu,0x000200f8u,0x0000005fu,0x000400f6u,0x00000061u,0x00000062u,0x00000000u,0x000200f9u,0x00000063u,0x000200f8u,0x00000063u,0x0004003du,0x00000006u,0x00000064u,0x0000005du,0x000500b3u,0x00000019u,0x00000066u,0x00000064u,0x00000065u,0x000400fau,0x00000066u,0x00000060u,0x00000061u,0x000200f8u,0x00000060u,0x0003003eu,0x00000067u,0x0000005eu,0x000200f9u,0x00000068u,0x000200f8u,0x00000068u,0x000400f6u,0x0000006au,0x0000006bu,0x00000000u,0x000200f9u,0x0000006cu,0x000200f8u,0x0000006cu,0x0004003du,0x00000006u,0x0000006du,0x00000067u,0x000500b3u,0x00000019u,0x0000006eu,0x0000006du,0x00000065u,0x000400fau,0x0000006eu,0x00000069u,0x0000006au,0x000200f8u,0x00000069u,0x0004003du,0x0000002eu,0x00000070u,0x00000055u,0x0004003du,0x00000006u,0x00000071u,0x00000067u,0x0004006fu,0x00000013u,0x00000072u,0x00000071u,0x0004003du,0x00000006u,0x00000073u,0x0000005du,0x0004006fu,0x00000013u,0x00000074u,0x00000073u,0x00050050u,0x0000002eu,0x00000075u,0x00000072u,0x00000074u,0x00050081u,0x0000002eu,0x00000076u,0x00000070u,0x00000075u,0x0003003eu,0x0000006fu,0x00000076u,0x0003003eu,0x00000077u,0x00000051u,0x0003003eu,0x00000078u,0x00000079u,0x000200f9u,0x0000007au,0x000200f8u,0x0000007au,0x000400f6u,0x0000007cu,0x0000007du,0x00000000u,0x000200f9u,0x0000007eu,0x000200f8u,0x0000007eu,0x0004003du,0x00000006u,0x0000007fu,0x00000078u,0x000500b3u,0x00000019u,0x00000080u,0x0000007fu,0x00000043u,0x000400fau,0x00000080u,0x0000007bu,0x0000007cu,0x000200f8u,0x0000007bu,0x0003003eu,0x00000081u,0x00000079u,0x000200f9u,0x00000082u,0x000200f8u,0x00000082u,0x000400f6u,0x00000084u,0x00000085u,0x00000000u,0x000200f9u,0x00000086u,0x000200f8u,0x00000086u,0x0004003du,0x00000006u,0x00000087u,0x00000081u,0x000500b3u,0x00000019u,0x00000088u,0x00000087u,0x00000043u,0x000400fau,0x00000088u,0x00000083u,0x00000084u,0x000200f8u,0x00000083u,0x0004003du,0x00000006u,0x0000008au,0x00000081u,0x0004006fu,0x00000013u,0x0000008bu,0x0000008au,0x0004003du,0x00000006u,0x0000008cu,0x00000078u,0x0004006fu,0x00000013u,0x0000008du,0x0000008cu,0x00050050u,0x0000002eu,0x0000008eu,0x0000008bu,0x0000008du,0x0003003eu,0x00000089u,0x0000008eu,0x0004003du,0x0000004cu,0x00000091u,0x00000090u,0x0004003du,0x0000002eu,0x00000092u,0x00000036u,0x0004003du,0x0000002eu,0x00000093u,0x00000089u,0x0004003du,0x0000002eu,0x00000094u,0x00000030u,0x00050085u,0x0000002eu,0x00000095u,0x00000093u,0x00000094u,0x00050081u,0x0000002eu,0x00000096u,0x00000092u,0x00000095u,0x00070058u,0x00000052u,0x00000097u,0x00000091u,0x00000096u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000098u,0x00000097u,0x00000000u,0x0003003eu,0x0000008fu,0x00000098u,0x0004003du,0x0000004cu,0x0000009bu,0x0000009au,0x0004003du,0x0000002eu,0x0000009cu,0x00000036u,0x0004003du,0x0000002eu,0x0000009du,0x00000089u,0x0004003du,0x0000002eu,0x0000009eu,0x0000006fu,0x00050081u,0x0000002eu,0x0000009fu,0x0000009du,0x0000009eu,0x0004003du,0x0000002eu,0x000000a0u,0x00000030u,0x00050085u,0x0000002eu,0x000000a1u,0x0000009fu,0x000000a0u,0x00050081u,0x0000002eu,0x000000a2u,0x0000009cu,0x000000a1u,0x00070058u,0x00000052u,0x000000a3u,0x0000009bu,0x000000a2u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x000000a4u,0x000000a3u,0x00000000u,0x0003003eu,0x00000099u,0x000000a4u,0x0004003du,0x00000013u,0x000000a5u,0x0000008fu,0x0004003du,0x00000013u,0x000000a6u,0x00000099u,0x00050083u,0x00000013u,0x000000a7u,0x000000a5u,0x000000a6u,0x0006000cu,0x00000013u,0x000000a8u,0x00000001u,0x00000004u,0x000000a7u,0x0004003du,0x00000013u,0x000000a9u,0x00000077u,0x00050081u,0x00000013u,0x000000aau,0x000000a9u,0x000000a8u,0x0003003eu,0x00000077u,0x000000aau,0x000200f9u,0x00000085u,0x000200f8u,0x00000085u,0x0004003du,0x00000006u,0x000000abu,0x00000081u,0x00050080u,0x00000006u,0x000000acu,0x000000abu,0x00000043u,0x0003003eu,0x00000081u,0x000000acu,0x000200f9u,0x00000082u,0x000200f8u,0x00000084u,0x000200f9u,0x0000007du,0x000200f8u,0x0000007du,0x0004003du,0x00000006u,0x000000adu,0x00000078u,0x00050080u,0x00000006u,0x000000aeu,0x000000adu,0x00000043u,0x0003003eu,0x00000078u,0x000000aeu,0x000200f9u,0x0000007au,0x000200f8u,0x0000007cu,0x0004003du,0x00000006u,0x000000b0u,0x00000067u,0x0004006fu,0x00000013u,0x000000b1u,0x000000b0u,0x0006000cu,0x00000013u,0x000000b2u,0x00000001u,0x00000004u,0x000000b1u,0x0004003du,0x00000006u,0x000000b3u,0x0000005du,0x0004006fu,0x00000013u,0x000000b4u,0x000000b3u,0x0006000cu,0x00000013u,0x000000b5u,0x00000001u,0x00000004u,0x000000b4u,0x00050081u,0x00000013u,0x000000b6u,0x000000b2u,0x000000b5u,0x00050085u,0x00000013u,0x000000b7u,0x000000afu,0x000000b6u,0x0004003du,0x00000013u,0x000000b8u,0x00000077u,0x00050081u,0x00000013u,0x000000b9u,0x000000b8u,0x000000b7u,0x0003003eu,0x00000077u,0x000000b9u,0x0004003du,0x00000013u,0x000000bau,0x00000077u,0x0004003du,0x00000013u,0x000000bbu,0x00000059u,0x000500b8u,0x00000019u,0x000000bcu,0x000000bau,0x000000bbu,0x000300f7u,0x000000beu,0x00000000u,0x000400fau,0x000000bcu,0x000000bdu,0x000000beu,0x000200f8u,0x000000bdu,0x0004003du,0x00000013u,0x000000bfu,0x00000077u,0x0003003eu,0x00000059u,0x000000bfu,0x0004003du,0x0000002eu,0x000000c0u,0x0000006fu,0x0003003eu,0x0000005bu,0x000000c0u,0x000200f9u,0x000000beu,0x000200f8u,0x000000beu,0x000200f9u,0x0000006bu,0x000200f8u,0x0000006bu,0x0004003du,0x00000006u,0x000000c1u,0x00000067u,0x00050080u,0x00000006u,0x000000c2u,0x000000c1u,0x00000043u,0x0003003eu,0x00000067u,0x000000c2u,0x000200f9u,0x00000068u,0x000200f8u,0x0000006au,0x000200f9u,0x00000062u,0x000200f8u,0x00000062u,0x0004003du,0x00000006u,0x000000c3u,0x0000005du,0x00050080u,0x00000006u,0x000000c4u,0x000000c3u,0x00000043u,0x0003003eu,0x0000005du,0x000000c4u,0x000200f9u,0x0000005fu,0x000200f8u,0x00000061u,0x00050041u,0x00000044u,0x000000c5u,0x00000042u,0x00000043u,0x0004003du,0x0000000au,0x000000c6u,0x000000c5u,0x000500aau,0x00000019u,0x000000c7u,0x000000c6u,0x0000001au,0x000300f7u,0x000000c9u,0x00000000u,0x000400fau,0x000000c7u,0x000000c8u,0x000000c9u,0x000200f8u,0x000000c8u,0x0004003du,0x00000013u,0x000000cbu,0x00000059u,0x0003003eu,0x000000cau,0x000000cbu,0x0003003eu,0x000000ccu,0x00000051u,0x0003003eu,0x000000cdu,0x00000051u,0x0003003eu,0x000000ceu,0x00000051u,0x0003003eu,0x000000cfu,0x00000051u,0x0003003eu,0x000000d0u,0x00000079u,0x000200f9u,0x000000d1u,0x000200f8u,0x000000d1u,0x000400f6u,0x000000d3u,0x000000d4u,0x00000000u,0x000200f9u,0x000000d5u,0x000200f8u,0x000000d5u,0x0004003du,0x00000006u,0x000000d6u,0x000000d0u,0x000500b3u,0x00000019u,0x000000d7u,0x000000d6u,0x00000043u,0x000400fau,0x000000d7u,0x000000d2u,0x000000d3u,0x000200f8u,0x000000d2u,0x0003003eu,0x000000d8u,0x00000079u,0x000200f9u,0x000000d9u,0x000200f8u,0x000000d9u,0x000400f6u,0x000000dbu,0x000000dcu,0x00000000u,0x000200f9u,0x000000ddu,0x000200f8u,0x000000ddu,0x0004003du,0x00000006u,0x000000deu,0x000000d8u,0x000500b3u,0x00000019u,0x000000dfu,0x000000deu,0x00000043u,0x000400fau,0x000000dfu,0x000000dau,0x000000dbu,0x000200f8u,0x000000dau,0x0004003du,0x00000006u,0x000000e1u,0x000000d8u,0x0004006fu,0x00000013u,0x000000e2u,0x000000e1u,0x0004003du,0x00000006u,0x000000e3u,0x000000d0u,0x0004006fu,0x00000013u,0x000000e4u,0x000000e3u,0x00050050u,0x0000002eu,0x000000e5u,0x000000e2u,0x000000e4u,0x0003003eu,0x000000e0u,0x000000e5u,0x0004003du,0x0000004cu,0x000000e7u,0x00000090u,0x0004003du,0x0000002eu,0x000000e8u,0x00000036u,0x0004003du,0x0000002eu,0x000000e9u,0x000000e0u,0x0004003du,0x0000002eu,0x000000eau,0x00000030u,0x00050085u,0x0000002eu,0x000000ebu,0x000000e9u,0x000000eau,0x00050081u,0x0000002eu,0x000000ecu,0x000000e8u,0x000000ebu,0x00070058u,0x00000052u,0x000000edu,0x000000e7u,0x000000ecu,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x000000eeu,0x000000edu,0x00000000u,0x0003003eu,0x000000e6u,0x000000eeu,0x0004003du,0x0000002eu,0x000000f0u,0x0000005bu,0x00050081u,0x0000002eu,0x000000f3u,0x000000f0u,0x000000f2u,0x0003003eu,0x000000efu,0x000000f3u,0x0004003du,0x0000002eu,0x000000f5u,0x0000005bu,0x00050081u,0x0000002eu,0x000000f7u,0x000000f5u,0x000000f6u,0x0003003eu,0x000000f4u,0x000000f7u,0x0004003du,0x0000002eu,0x000000f9u,0x0000005bu,0x00050081u,0x0000002eu,0x000000fbu,0x000000f9u,0x000000fau,0x0003003eu,0x000000f8u,0x000000fbu,0x0004003du,0x0000002eu,0x000000fdu,0x0000005bu,0x00050081u,0x0000002eu,0x000000ffu,0x000000fdu,0x000000feu,0x0003003eu,0x000000fcu,0x000000ffu,0x0004003du,0x00000013u,0x00000100u,0x000000e6u,0x0004003du,0x0000004cu,0x00000101u,0x0000009au,0x0004003du,0x0000002eu,0x00000102u,0x00000036u,0x0004003du,0x0000002eu,0x00000103u,0x000000e0u,0x0004003du,0x0000002eu,0x00000104u,0x000000efu,0x00050081u,0x0000002eu,0x00000105u,0x00000103u,0x00000104u,0x0004003du,0x0000002eu,0x00000106u,0x00000030u,0x00050085u,0x0000002eu,0x00000107u,0x00000105u,0x00000106u,0x00050081u,0x0000002eu,0x00000108u,0x00000102u,0x00000107u,0x00070058u,0x00000052u,0x00000109u,0x00000101u,0x00000108u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x0000010au,0x00000109u,0x00000000u,0x00050083u,0x00000013u,0x0000010bu,0x00000100u,0x0000010au,0x0006000cu,0x00000013u,0x0000010cu,0x00000001u,0x00000004u,0x0000010bu,0x0004003du,0x00000013u,0x0000010du,0x000000ccu,0x00050081u,0x00000013u,0x0000010eu,0x0000010du,0x0000010cu,0x0003003eu,0x000000ccu,0x0000010eu,0x0004003du,0x00000013u,0x0000010fu,0x000000e6u,0x0004003du,0x0000004cu,0x00000110u,0x0000009au,0x0004003du,0x0000002eu,0x00000111u,0x00000036u,0x0004003du,0x0000002eu,0x00000112u,0x000000e0u,0x0004003du,0x0000002eu,0x00000113u,0x000000f4u,0x00050081u,0x0000002eu,0x00000114u,0x00000112u,0x00000113u,0x0004003du,0x0000002eu,0x00000115u,0x00000030u,0x00050085u,0x0000002eu,0x00000116u,0x00000114u,0x00000115u,0x00050081u,0x0000002eu,0x00000117u,0x00000111u,0x00000116u,0x00070058u,0x00000052u,0x00000118u,0x00000110u,0x00000117u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000119u,0x00000118u,0x00000000u,0x00050083u,0x00000013u,0x0000011au,0x0000010fu,0x00000119u,0x0006000cu,0x00000013u,0x0000011bu,0x00000001u,0x00000004u,0x0000011au,0x0004003du,0x00000013u,0x0000011cu,0x000000cdu,0x00050081u,0x00000013u,0x0000011du,0x0000011cu,0x0000011bu,0x0003003eu,0x000000cdu,0x0000011du,0x0004003du,0x00000013u,0x0000011eu,0x000000e6u,0x0004003du,0x0000004cu,0x0000011fu,0x0000009au,0x0004003du,0x0000002eu,0x00000120u,0x00000036u,0x0004003du,0x0000002eu,0x00000121u,0x000000e0u,0x0004003du,0x0000002eu,0x00000122u,0x000000f8u,0x00050081u,0x0000002eu,0x00000123u,0x00000121u,0x00000122u,0x0004003du,0x0000002eu,0x00000124u,0x00000030u,0x00050085u,0x0000002eu,0x00000125u,0x00000123u,0x00000124u,0x00050081u,0x0000002eu,0x00000126u,0x00000120u,0x00000125u,0x00070058u,0x00000052u,0x00000127u,0x0000011fu,0x00000126u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000128u,0x00000127u,0x00000000u,0x00050083u,0x00000013u,0x00000129u,0x0000011eu,0x00000128u,0x0006000cu,0x00000013u,0x0000012au,0x00000001u,0x00000004u,0x00000129u,0x0004003du,0x00000013u,0x0000012bu,0x000000ceu,0x00050081u,0x00000013u,0x0000012cu,0x0000012bu,0x0000012au,0x0003003eu,0x000000ceu,0x0000012cu,0x0004003du,0x00000013u,0x0000012du,0x000000e6u,0x0004003du,0x0000004cu,0x0000012eu,0x0000009au,0x0004003du,0x0000002eu,0x0000012fu,0x00000036u,0x0004003du,0x0000002eu,0x00000130u,0x000000e0u,0x0004003du,0x0000002eu,0x00000131u,0x000000fcu,0x00050081u,0x0000002eu,0x00000132u,0x00000130u,0x00000131u,0x0004003du,0x0000002eu,0x00000133u,0x00000030u,0x00050085u,0x0000002eu,0x00000134u,0x00000132u,0x00000133u,0x00050081u,0x0000002eu,0x00000135u,0x0000012fu,0x00000134u,0x00070058u,0x00000052u,0x00000136u,0x0000012eu,0x00000135u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000137u,0x00000136u,0x00000000u,0x00050083u,0x00000013u,0x00000138u,0x0000012du,0x00000137u,0x0006000cu,0x00000013u,0x00000139u,0x00000001u,0x00000004u,0x00000138u,0x0004003du,0x00000013u,0x0000013au,0x000000cfu,0x00050081u,0x00000013u,0x0000013bu,0x0000013au,0x00000139u,0x0003003eu,0x000000cfu,0x0000013bu,0x000200f9u,0x000000dcu,0x000200f8u,0x000000dcu,0x0004003du,0x00000006u,0x0000013cu,0x000000d8u,0x00050080u,0x00000006u,0x0000013du,0x0000013cu,0x00000043u,0x0003003eu,0x000000d8u,0x0000013du,0x000200f9u,0x000000d9u,0x000200f8u,0x000000dbu,0x000200f9u,0x000000d4u,0x000200f8u,0x000000d4u,0x0004003du,0x00000006u,0x0000013eu,0x000000d0u,0x00050080u,0x00000006u,0x0000013fu,0x0000013eu,0x00000043u,0x0003003eu,0x000000d0u,0x0000013fu,0x000200f9u,0x000000d1u,0x000200f8u,0x000000d3u,0x0004003du,0x00000013u,0x00000140u,0x000000ccu,0x00050081u,0x00000013u,0x00000141u,0x00000140u,0x000000afu,0x0003003eu,0x000000ccu,0x00000141u,0x0004003du,0x00000013u,0x00000142u,0x000000cdu,0x00050081u,0x00000013u,0x00000143u,0x00000142u,0x000000afu,0x0003003eu,0x000000cdu,0x00000143u,0x0004003du,0x00000013u,0x00000144u,0x000000ceu,0x00050081u,0x00000013u,0x00000145u,0x00000144u,0x000000afu,0x0003003eu,0x000000ceu,0x00000145u,0x0004003du,0x00000013u,0x00000146u,0x000000cfu,0x00050081u,0x00000013u,0x00000147u,0x00000146u,0x000000afu,0x0003003eu,0x000000cfu,0x00000147u,0x0003003eu,0x00000148u,0x00000051u,0x0003003eu,0x00000149u,0x00000051u,0x0004003du,0x00000013u,0x0000014bu,0x000000ccu,0x0004003du,0x00000013u,0x0000014du,0x000000cau,0x00050085u,0x00000013u,0x0000014eu,0x0000014cu,0x0000014du,0x00050083u,0x00000013u,0x0000014fu,0x0000014bu,0x0000014eu,0x0004003du,0x00000013u,0x00000150u,0x000000cdu,0x00050081u,0x00000013u,0x00000151u,0x0000014fu,0x00000150u,0x0003003eu,0x0000014au,0x00000151u,0x0004003du,0x00000013u,0x00000153u,0x000000ceu,0x0004003du,0x00000013u,0x00000154u,0x000000cau,0x00050085u,0x00000013u,0x00000155u,0x0000014cu,0x00000154u,0x00050083u,0x00000013u,0x00000156u,0x00000153u,0x00000155u,0x0004003du,0x00000013u,0x00000157u,0x000000cfu,0x00050081u,0x00000013u,0x00000158u,0x00000156u,0x00000157u,0x0003003eu,0x00000152u,0x00000158u,0x0004003du,0x00000013u,0x00000159u,0x0000014au,0x000500bau,0x00000019u,0x0000015bu,0x00000159u,0x0000015au,0x000300f7u,0x0000015du,0x00000000u,0x000400fau,0x0000015bu,0x0000015cu,0x0000015du,0x000200f8u,0x0000015cu,0x0004003du,0x00000013u,0x0000015eu,0x000000ccu,0x0004003du,0x00000013u,0x0000015fu,0x000000cdu,0x00050083u,0x00000013u,0x00000160u,0x0000015eu,0x0000015fu,0x00050085u,0x00000013u,0x00000161u,0x00000039u,0x00000160u,0x0004003du,0x00000013u,0x00000162u,0x0000014au,0x00050088u,0x00000013u,0x00000163u,0x00000161u,0x00000162u,0x0008000cu,0x00000013u,0x00000165u,0x00000001u,0x0000002bu,0x00000163u,0x00000164u,0x00000039u,0x0003003eu,0x00000148u,0x00000165u,0x000200f9u,0x0000015du,0x000200f8u,0x0000015du,0x0004003du,0x00000013u,0x00000166u,0x00000152u,0x000500bau,0x00000019u,0x00000167u,0x00000166u,0x0000015au,0x000300f7u,0x00000169u,0x00000000u,0x000400fau,0x00000167u,0x00000168u,0x00000169u,0x000200f8u,0x00000168u,0x0004003du,0x00000013u,0x0000016au,0x000000ceu,0x0004003du,0x00000013u,0x0000016bu,0x000000cfu,0x00050083u,0x00000013u,0x0000016cu,0x0000016au,0x0000016bu,0x00050085u,0x00000013u,0x0000016du,0x00000039u,0x0000016cu,0x0004003du,0x00000013u,0x0000016eu,0x00000152u,0x00050088u,0x00000013u,0x0000016fu,0x0000016du,0x0000016eu,0x0008000cu,0x00000013u,0x00000170u,0x00000001u,0x0000002bu,0x0000016fu,0x00000164u,0x00000039u,0x0003003eu,0x00000149u,0x00000170u,0x000200f9u,0x00000169u,0x000200f8u,0x00000169u,0x0004003du,0x00000013u,0x00000171u,0x00000148u,0x0004003du,0x00000013u,0x00000172u,0x00000149u,0x00050050u,0x0000002eu,0x00000173u,0x00000171u,0x00000172u,0x0004003du,0x0000002eu,0x00000174u,0x0000005bu,0x00050081u,0x0000002eu,0x00000175u,0x00000174u,0x00000173u,0x0003003eu,0x0000005bu,0x00000175u,0x000200f9u,0x000000c9u,0x000200f8u,0x000000c9u,0x0004003du,0x0000002eu,0x00000177u,0x0000005bu,0x00050041u,0x00000044u,0x00000178u,0x00000042u,0x00000043u,0x0004003du,0x0000000au,0x00000179u,0x00000178u,0x00040070u,0x00000013u,0x0000017au,0x00000179u,0x0006000cu,0x00000013u,0x0000017bu,0x00000001u,0x0000001du,0x0000017au,0x0005008eu,0x0000002eu,0x0000017cu,0x00000177u,0x0000017bu,0x0003003eu,0x00000176u,0x0000017cu,0x0004003du,0x00000014u,0x0000017du,0x00000016u,0x0004003du,0x00000007u,0x0000017eu,0x00000009u,0x0004003du,0x0000002eu,0x0000017fu,0x00000176u,0x00050051u,0x00000013u,0x00000180u,0x0000017fu,0x00000000u,0x00050051u,0x00000013u,0x00000181u,0x0000017fu,0x00000001u,0x00070050u,0x00000052u,0x00000182u,0x00000180u,0x00000181u,0x00000051u,0x00000051u,0x00040063u,0x0000017du,0x0000017eu,0x00000182u,0x000100fdu,0x00010038u};
-static const size_t OF3_FLOW_LEN = 2253;
+static const uint32_t OF3_FLOW_SPV[] = {
+ 0x07230203u,0x00010300u,0x0008000bu,0x000001feu,0x00000000u,0x00020011u,0x00000001u,0x00020011u,
+ 0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,
+ 0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x0000000du,
+ 0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,
+ 0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00080005u,0x0000000du,0x475f6c67u,
+ 0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00040005u,0x00000016u,0x6f6c4675u,
+ 0x00000077u,0x00030005u,0x00000040u,0x00000055u,0x00060006u,0x00000040u,0x00000000u,0x776f6c66u,
+ 0x6c616353u,0x00000065u,0x00050006u,0x00000040u,0x00000001u,0x6576656cu,0x0000006cu,0x00050006u,
+ 0x00000040u,0x00000002u,0x30646170u,0x00000000u,0x00050006u,0x00000040u,0x00000003u,0x31646170u,
+ 0x00000000u,0x00030005u,0x00000042u,0x00000000u,0x00050005u,0x0000004eu,0x65725075u,0x74636964u,
+ 0x0000726fu,0x00050005u,0x0000007bu,0x76657270u,0x63746150u,0x00000068u,0x00050005u,0x0000007du,
+ 0x6d754c75u,0x65725061u,0x00000076u,0x00050005u,0x000000c9u,0x6d754c75u,0x72754361u,0x00000072u,
+ 0x00040047u,0x0000000du,0x0000000bu,0x0000001cu,0x00030047u,0x00000016u,0x00000019u,0x00040047u,
+ 0x00000016u,0x00000021u,0x00000030u,0x00040047u,0x00000016u,0x00000022u,0x00000000u,0x00030047u,
+ 0x00000040u,0x00000002u,0x00050048u,0x00000040u,0x00000000u,0x00000023u,0x00000000u,0x00050048u,
+ 0x00000040u,0x00000001u,0x00000023u,0x00000004u,0x00050048u,0x00000040u,0x00000002u,0x00000023u,
+ 0x00000008u,0x00050048u,0x00000040u,0x00000003u,0x00000023u,0x0000000cu,0x00040047u,0x00000042u,
+ 0x00000021u,0x00000000u,0x00040047u,0x00000042u,0x00000022u,0x00000000u,0x00040047u,0x0000004eu,
+ 0x00000021u,0x00000022u,0x00040047u,0x0000004eu,0x00000022u,0x00000000u,0x00040047u,0x0000007du,
+ 0x00000021u,0x00000020u,0x00040047u,0x0000007du,0x00000022u,0x00000000u,0x00040047u,0x000000c9u,
+ 0x00000021u,0x00000021u,0x00040047u,0x000000c9u,0x00000022u,0x00000000u,0x00040047u,0x000001b3u,
+ 0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00040015u,
+ 0x00000006u,0x00000020u,0x00000001u,0x00040017u,0x00000007u,0x00000006u,0x00000002u,0x00040015u,
+ 0x0000000au,0x00000020u,0x00000000u,0x00040017u,0x0000000bu,0x0000000au,0x00000003u,0x00040020u,
+ 0x0000000cu,0x00000001u,0x0000000bu,0x0004003bu,0x0000000cu,0x0000000du,0x00000001u,0x00040017u,
+ 0x0000000eu,0x0000000au,0x00000002u,0x00030016u,0x00000013u,0x00000020u,0x00090019u,0x00000014u,
+ 0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000002u,0x00040020u,
+ 0x00000015u,0x00000000u,0x00000014u,0x0004003bu,0x00000015u,0x00000016u,0x00000000u,0x00020014u,
+ 0x00000019u,0x0004002bu,0x0000000au,0x0000001au,0x00000000u,0x0004002bu,0x0000000au,0x00000024u,
+ 0x00000001u,0x00040017u,0x0000002eu,0x00000013u,0x00000002u,0x0004002bu,0x00000013u,0x00000031u,
+ 0x3f800000u,0x0004002bu,0x00000013u,0x00000039u,0x3f000000u,0x00040020u,0x0000003eu,0x00000007u,
+ 0x00000013u,0x0006001eu,0x00000040u,0x00000013u,0x0000000au,0x0000000au,0x0000000au,0x00040020u,
+ 0x00000041u,0x00000002u,0x00000040u,0x0004003bu,0x00000041u,0x00000042u,0x00000002u,0x0004002bu,
+ 0x00000006u,0x00000043u,0x00000001u,0x00040020u,0x00000044u,0x00000002u,0x0000000au,0x00090019u,
+ 0x0000004bu,0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,
+ 0x0003001bu,0x0000004cu,0x0000004bu,0x00040020u,0x0000004du,0x00000000u,0x0000004cu,0x0004003bu,
+ 0x0000004du,0x0000004eu,0x00000000u,0x0004002bu,0x00000013u,0x00000051u,0x00000000u,0x00040017u,
+ 0x00000052u,0x00000013u,0x00000004u,0x0004002bu,0x00000006u,0x0000005au,0xffffffffu,0x0004002bu,
+ 0x00000006u,0x0000006du,0x00000003u,0x0004002bu,0x0000000au,0x00000078u,0x00000009u,0x0004001cu,
+ 0x00000079u,0x00000013u,0x00000078u,0x00040020u,0x0000007au,0x00000007u,0x00000079u,0x0004003bu,
+ 0x0000004du,0x0000007du,0x00000000u,0x0004002bu,0x00000013u,0x0000008cu,0x7f7fffffu,0x0004002bu,
+ 0x00000006u,0x00000090u,0xfffffffdu,0x0004003bu,0x0000004du,0x000000c9u,0x00000000u,0x0004002bu,
+ 0x00000013u,0x000000deu,0x3bc49ba6u,0x0004002bu,0x00000013u,0x00000120u,0xbf800000u,0x0005002cu,
+ 0x0000002eu,0x00000121u,0x00000120u,0x00000051u,0x0005002cu,0x0000002eu,0x00000125u,0x00000031u,
+ 0x00000051u,0x0005002cu,0x0000002eu,0x00000129u,0x00000051u,0x00000120u,0x0005002cu,0x0000002eu,
+ 0x0000012du,0x00000051u,0x00000031u,0x0004002bu,0x00000013u,0x0000017bu,0x40000000u,0x0004002bu,
+ 0x00000013u,0x00000189u,0x358637bdu,0x0004002bu,0x00000013u,0x00000193u,0xbf000000u,0x0004002bu,
+ 0x0000000au,0x000001b2u,0x00000010u,0x0006002cu,0x0000000bu,0x000001b3u,0x000001b2u,0x000001b2u,
+ 0x00000024u,0x0005002cu,0x0000002eu,0x000001efu,0x00000031u,0x00000031u,0x0005002cu,0x0000002eu,
+ 0x000001f0u,0x00000039u,0x00000039u,0x00040017u,0x000001fbu,0x00000019u,0x00000002u,0x00050036u,
+ 0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x0000007au,
+ 0x0000007bu,0x00000007u,0x000300f7u,0x000001b4u,0x00000000u,0x000300fbu,0x0000001au,0x000001b5u,
+ 0x000200f8u,0x000001b5u,0x0004003du,0x0000000bu,0x0000000fu,0x0000000du,0x0007004fu,0x0000000eu,
+ 0x00000010u,0x0000000fu,0x0000000fu,0x00000000u,0x00000001u,0x0004007cu,0x00000007u,0x00000011u,
+ 0x00000010u,0x0004003du,0x00000014u,0x00000017u,0x00000016u,0x00040068u,0x00000007u,0x00000018u,
+ 0x00000017u,0x00050051u,0x00000006u,0x0000001du,0x00000011u,0x00000000u,0x00050051u,0x00000006u,
+ 0x0000001fu,0x00000018u,0x00000000u,0x000500afu,0x00000019u,0x00000020u,0x0000001du,0x0000001fu,
+ 0x000400a8u,0x00000019u,0x00000021u,0x00000020u,0x000300f7u,0x00000023u,0x00000000u,0x000400fau,
+ 0x00000021u,0x00000022u,0x00000023u,0x000200f8u,0x00000022u,0x00050051u,0x00000006u,0x00000026u,
+ 0x00000011u,0x00000001u,0x00050051u,0x00000006u,0x00000028u,0x00000018u,0x00000001u,0x000500afu,
+ 0x00000019u,0x00000029u,0x00000026u,0x00000028u,0x000200f9u,0x00000023u,0x000200f8u,0x00000023u,
+ 0x000700f5u,0x00000019u,0x0000002au,0x00000020u,0x000001b5u,0x00000029u,0x00000022u,0x000300f7u,
+ 0x0000002cu,0x00000000u,0x000400fau,0x0000002au,0x0000002bu,0x0000002cu,0x000200f8u,0x0000002bu,
+ 0x000200f9u,0x000001b4u,0x000200f8u,0x0000002cu,0x0004006fu,0x0000002eu,0x00000033u,0x00000018u,
+ 0x00050088u,0x0000002eu,0x00000035u,0x000001efu,0x00000033u,0x0004006fu,0x0000002eu,0x00000038u,
+ 0x00000011u,0x00050081u,0x0000002eu,0x0000003bu,0x00000038u,0x000001f0u,0x00050085u,0x0000002eu,
+ 0x0000003du,0x0000003bu,0x00000035u,0x00050041u,0x00000044u,0x00000045u,0x00000042u,0x00000043u,
+ 0x0004003du,0x0000000au,0x00000046u,0x00000045u,0x00040070u,0x00000013u,0x00000047u,0x00000046u,
+ 0x0004007fu,0x00000013u,0x00000048u,0x00000047u,0x0006000cu,0x00000013u,0x00000049u,0x00000001u,
+ 0x0000001du,0x00000048u,0x0004003du,0x0000004cu,0x0000004fu,0x0000004eu,0x00070058u,0x00000052u,
+ 0x00000053u,0x0000004fu,0x0000003du,0x00000002u,0x00000051u,0x0007004fu,0x0000002eu,0x00000054u,
+ 0x00000053u,0x00000053u,0x00000000u,0x00000001u,0x0005008eu,0x0000002eu,0x00000058u,0x00000054u,
+ 0x00000049u,0x000200f9u,0x0000005bu,0x000200f8u,0x0000005bu,0x000700f5u,0x00000006u,0x000001beu,
+ 0x0000005au,0x0000002cu,0x0000008au,0x0000005eu,0x000500b3u,0x00000019u,0x00000061u,0x000001beu,
+ 0x00000043u,0x000400f6u,0x0000005du,0x0000005eu,0x00000000u,0x000400fau,0x00000061u,0x0000005cu,
+ 0x0000005du,0x000200f8u,0x0000005cu,0x000200f9u,0x00000063u,0x000200f8u,0x00000063u,0x000700f5u,
+ 0x00000006u,0x000001e4u,0x0000005au,0x0000005cu,0x00000070u,0x00000064u,0x000500b3u,0x00000019u,
+ 0x00000069u,0x000001e4u,0x00000043u,0x000400f6u,0x00000065u,0x00000064u,0x00000000u,0x000400fau,
+ 0x00000069u,0x00000064u,0x00000065u,0x000200f8u,0x00000064u,0x00050080u,0x00000006u,0x0000006cu,
+ 0x000001beu,0x00000043u,0x00050084u,0x00000006u,0x0000006eu,0x0000006cu,0x0000006du,0x00050080u,
+ 0x00000006u,0x00000070u,0x000001e4u,0x00000043u,0x00050080u,0x00000006u,0x00000071u,0x0000006eu,
+ 0x00000070u,0x0004006fu,0x00000013u,0x00000074u,0x000001e4u,0x0004006fu,0x00000013u,0x00000076u,
+ 0x000001beu,0x00050050u,0x0000002eu,0x00000077u,0x00000074u,0x00000076u,0x0004003du,0x0000004cu,
+ 0x0000007eu,0x0000007du,0x00050085u,0x0000002eu,0x00000082u,0x00000077u,0x00000035u,0x00050081u,
+ 0x0000002eu,0x00000083u,0x0000003du,0x00000082u,0x00070058u,0x00000052u,0x00000084u,0x0000007eu,
+ 0x00000083u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000085u,0x00000084u,0x00000000u,
+ 0x00050041u,0x0000003eu,0x00000086u,0x0000007bu,0x00000071u,0x0003003eu,0x00000086u,0x00000085u,
+ 0x000200f9u,0x00000063u,0x000200f8u,0x00000065u,0x000200f9u,0x0000005eu,0x000200f8u,0x0000005eu,
+ 0x00050080u,0x00000006u,0x0000008au,0x000001beu,0x00000043u,0x000200f9u,0x0000005bu,0x000200f8u,
+ 0x0000005du,0x000200f9u,0x00000091u,0x000200f8u,0x00000091u,0x000700f5u,0x0000002eu,0x000001cfu,
+ 0x00000058u,0x0000005du,0x000001e6u,0x00000094u,0x000700f5u,0x00000013u,0x000001c0u,0x0000008cu,
+ 0x0000005du,0x000001dfu,0x00000094u,0x000700f5u,0x00000006u,0x000001bfu,0x00000090u,0x0000005du,
+ 0x000000f3u,0x00000094u,0x000500b3u,0x00000019u,0x00000097u,0x000001bfu,0x0000006du,0x000400f6u,
+ 0x00000093u,0x00000094u,0x00000000u,0x000400fau,0x00000097u,0x00000092u,0x00000093u,0x000200f8u,
+ 0x00000092u,0x000200f9u,0x00000099u,0x000200f8u,0x00000099u,0x000700f5u,0x00000013u,0x000001dfu,
+ 0x000001c0u,0x00000092u,0x000001fau,0x0000009cu,0x000700f5u,0x00000006u,0x000001d8u,0x00000090u,
+ 0x00000092u,0x000000f1u,0x0000009cu,0x000700f5u,0x0000002eu,0x000001e6u,0x000001cfu,0x00000092u,
+ 0x000001fdu,0x0000009cu,0x000500b3u,0x00000019u,0x0000009fu,0x000001d8u,0x0000006du,0x000400f6u,
+ 0x0000009bu,0x0000009cu,0x00000000u,0x000400fau,0x0000009fu,0x0000009au,0x0000009bu,0x000200f8u,
+ 0x0000009au,0x0004006fu,0x00000013u,0x000000a3u,0x000001d8u,0x0004006fu,0x00000013u,0x000000a5u,
+ 0x000001bfu,0x00050050u,0x0000002eu,0x000000a6u,0x000000a3u,0x000000a5u,0x00050081u,0x0000002eu,
+ 0x000000a7u,0x00000058u,0x000000a6u,0x000200f9u,0x000000aau,0x000200f8u,0x000000aau,0x000700f5u,
+ 0x00000013u,0x000001ddu,0x00000051u,0x0000009au,0x000001e3u,0x000000adu,0x000700f5u,0x00000006u,
+ 0x000001dau,0x0000005au,0x0000009au,0x000000ddu,0x000000adu,0x000500b3u,0x00000019u,0x000000b0u,
+ 0x000001dau,0x00000043u,0x000400f6u,0x000000acu,0x000000adu,0x00000000u,0x000400fau,0x000000b0u,
+ 0x000000abu,0x000000acu,0x000200f8u,0x000000abu,0x000200f9u,0x000000b2u,0x000200f8u,0x000000b2u,
+ 0x000700f5u,0x00000013u,0x000001e3u,0x000001ddu,0x000000abu,0x000000d9u,0x000000b3u,0x000700f5u,
+ 0x00000006u,0x000001e1u,0x0000005au,0x000000abu,0x000000c4u,0x000000b3u,0x000500b3u,0x00000019u,
+ 0x000000b8u,0x000001e1u,0x00000043u,0x000400f6u,0x000000b4u,0x000000b3u,0x00000000u,0x000400fau,
+ 0x000000b8u,0x000000b3u,0x000000b4u,0x000200f8u,0x000000b3u,0x0004006fu,0x00000013u,0x000000bbu,
+ 0x000001e1u,0x0004006fu,0x00000013u,0x000000bdu,0x000001dau,0x00050050u,0x0000002eu,0x000000beu,
+ 0x000000bbu,0x000000bdu,0x00050080u,0x00000006u,0x000000c1u,0x000001dau,0x00000043u,0x00050084u,
+ 0x00000006u,0x000000c2u,0x000000c1u,0x0000006du,0x00050080u,0x00000006u,0x000000c4u,0x000001e1u,
+ 0x00000043u,0x00050080u,0x00000006u,0x000000c5u,0x000000c2u,0x000000c4u,0x00050041u,0x0000003eu,
+ 0x000000c6u,0x0000007bu,0x000000c5u,0x0004003du,0x00000013u,0x000000c7u,0x000000c6u,0x0004003du,
+ 0x0000004cu,0x000000cau,0x000000c9u,0x00050081u,0x0000002eu,0x000000ceu,0x000000beu,0x000000a7u,
+ 0x00050085u,0x0000002eu,0x000000d0u,0x000000ceu,0x00000035u,0x00050081u,0x0000002eu,0x000000d1u,
+ 0x0000003du,0x000000d0u,0x00070058u,0x00000052u,0x000000d2u,0x000000cau,0x000000d1u,0x00000002u,
+ 0x00000051u,0x00050051u,0x00000013u,0x000000d3u,0x000000d2u,0x00000000u,0x00050083u,0x00000013u,
+ 0x000000d6u,0x000000c7u,0x000000d3u,0x0006000cu,0x00000013u,0x000000d7u,0x00000001u,0x00000004u,
+ 0x000000d6u,0x00050081u,0x00000013u,0x000000d9u,0x000001e3u,0x000000d7u,0x000200f9u,0x000000b2u,
+ 0x000200f8u,0x000000b4u,0x000200f9u,0x000000adu,0x000200f8u,0x000000adu,0x00050080u,0x00000006u,
+ 0x000000ddu,0x000001dau,0x00000043u,0x000200f9u,0x000000aau,0x000200f8u,0x000000acu,0x0006000cu,
+ 0x00000013u,0x000000e1u,0x00000001u,0x00000004u,0x000000a3u,0x0006000cu,0x00000013u,0x000000e4u,
+ 0x00000001u,0x00000004u,0x000000a5u,0x00050081u,0x00000013u,0x000000e5u,0x000000e1u,0x000000e4u,
+ 0x00050085u,0x00000013u,0x000000e6u,0x000000deu,0x000000e5u,0x00050081u,0x00000013u,0x000000e8u,
+ 0x000001ddu,0x000000e6u,0x000500b8u,0x00000019u,0x000000ebu,0x000000e8u,0x000001dfu,0x000600a9u,
+ 0x00000013u,0x000001fau,0x000000ebu,0x000000e8u,0x000001dfu,0x00050050u,0x000001fbu,0x000001fcu,
+ 0x000000ebu,0x000000ebu,0x000600a9u,0x0000002eu,0x000001fdu,0x000001fcu,0x000000a7u,0x000001e6u,
+ 0x000200f9u,0x0000009cu,0x000200f8u,0x0000009cu,0x00050080u,0x00000006u,0x000000f1u,0x000001d8u,
+ 0x00000043u,0x000200f9u,0x00000099u,0x000200f8u,0x0000009bu,0x000200f9u,0x00000094u,0x000200f8u,
+ 0x00000094u,0x00050080u,0x00000006u,0x000000f3u,0x000001bfu,0x00000043u,0x000200f9u,0x00000091u,
+ 0x000200f8u,0x00000093u,0x000500aau,0x00000019u,0x000000f6u,0x00000046u,0x0000001au,0x000300f7u,
+ 0x000000f8u,0x00000000u,0x000400fau,0x000000f6u,0x000000f7u,0x000000f8u,0x000200f8u,0x000000f7u,
+ 0x000200f9u,0x00000100u,0x000200f8u,0x00000100u,0x000700f5u,0x00000013u,0x000001c5u,0x00000051u,
+ 0x000000f7u,0x000001d7u,0x00000103u,0x000700f5u,0x00000013u,0x000001c4u,0x00000051u,0x000000f7u,
+ 0x000001d6u,0x00000103u,0x000700f5u,0x00000013u,0x000001c3u,0x00000051u,0x000000f7u,0x000001d5u,
+ 0x00000103u,0x000700f5u,0x00000013u,0x000001c2u,0x00000051u,0x000000f7u,0x000001d4u,0x00000103u,
+ 0x000700f5u,0x00000006u,0x000001c1u,0x0000005au,0x000000f7u,0x0000016eu,0x00000103u,0x000500b3u,
+ 0x00000019u,0x00000106u,0x000001c1u,0x00000043u,0x000400f6u,0x00000102u,0x00000103u,0x00000000u,
+ 0x000400fau,0x00000106u,0x00000101u,0x00000102u,0x000200f8u,0x00000101u,0x000200f9u,0x00000108u,
+ 0x000200f8u,0x00000108u,0x000700f5u,0x00000013u,0x000001d7u,0x000001c5u,0x00000101u,0x0000016au,
+ 0x00000109u,0x000700f5u,0x00000013u,0x000001d6u,0x000001c4u,0x00000101u,0x0000015bu,0x00000109u,
+ 0x000700f5u,0x00000013u,0x000001d5u,0x000001c3u,0x00000101u,0x0000014cu,0x00000109u,0x000700f5u,
+ 0x00000013u,0x000001d4u,0x000001c2u,0x00000101u,0x0000013du,0x00000109u,0x000700f5u,0x00000006u,
+ 0x000001d1u,0x0000005au,0x00000101u,0x0000011au,0x00000109u,0x000500b3u,0x00000019u,0x0000010eu,
+ 0x000001d1u,0x00000043u,0x000400f6u,0x0000010au,0x00000109u,0x00000000u,0x000400fau,0x0000010eu,
+ 0x00000109u,0x0000010au,0x000200f8u,0x00000109u,0x0004006fu,0x00000013u,0x00000111u,0x000001d1u,
+ 0x0004006fu,0x00000013u,0x00000113u,0x000001c1u,0x00050050u,0x0000002eu,0x00000114u,0x00000111u,
+ 0x00000113u,0x00050080u,0x00000006u,0x00000117u,0x000001c1u,0x00000043u,0x00050084u,0x00000006u,
+ 0x00000118u,0x00000117u,0x0000006du,0x00050080u,0x00000006u,0x0000011au,0x000001d1u,0x00000043u,
+ 0x00050080u,0x00000006u,0x0000011bu,0x00000118u,0x0000011au,0x00050041u,0x0000003eu,0x0000011cu,
+ 0x0000007bu,0x0000011bu,0x0004003du,0x00000013u,0x0000011du,0x0000011cu,0x00050081u,0x0000002eu,
+ 0x00000122u,0x000001cfu,0x00000121u,0x00050081u,0x0000002eu,0x00000126u,0x000001cfu,0x00000125u,
+ 0x00050081u,0x0000002eu,0x0000012au,0x000001cfu,0x00000129u,0x00050081u,0x0000002eu,0x0000012eu,
+ 0x000001cfu,0x0000012du,0x0004003du,0x0000004cu,0x00000130u,0x000000c9u,0x00050081u,0x0000002eu,
+ 0x00000134u,0x00000114u,0x00000122u,0x00050085u,0x0000002eu,0x00000136u,0x00000134u,0x00000035u,
+ 0x00050081u,0x0000002eu,0x00000137u,0x0000003du,0x00000136u,0x00070058u,0x00000052u,0x00000138u,
+ 0x00000130u,0x00000137u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000139u,0x00000138u,
+ 0x00000000u,0x00050083u,0x00000013u,0x0000013au,0x0000011du,0x00000139u,0x0006000cu,0x00000013u,
+ 0x0000013bu,0x00000001u,0x00000004u,0x0000013au,0x00050081u,0x00000013u,0x0000013du,0x000001d4u,
+ 0x0000013bu,0x0004003du,0x0000004cu,0x0000013fu,0x000000c9u,0x00050081u,0x0000002eu,0x00000143u,
+ 0x00000114u,0x00000126u,0x00050085u,0x0000002eu,0x00000145u,0x00000143u,0x00000035u,0x00050081u,
+ 0x0000002eu,0x00000146u,0x0000003du,0x00000145u,0x00070058u,0x00000052u,0x00000147u,0x0000013fu,
+ 0x00000146u,0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000148u,0x00000147u,0x00000000u,
+ 0x00050083u,0x00000013u,0x00000149u,0x0000011du,0x00000148u,0x0006000cu,0x00000013u,0x0000014au,
+ 0x00000001u,0x00000004u,0x00000149u,0x00050081u,0x00000013u,0x0000014cu,0x000001d5u,0x0000014au,
+ 0x0004003du,0x0000004cu,0x0000014eu,0x000000c9u,0x00050081u,0x0000002eu,0x00000152u,0x00000114u,
+ 0x0000012au,0x00050085u,0x0000002eu,0x00000154u,0x00000152u,0x00000035u,0x00050081u,0x0000002eu,
+ 0x00000155u,0x0000003du,0x00000154u,0x00070058u,0x00000052u,0x00000156u,0x0000014eu,0x00000155u,
+ 0x00000002u,0x00000051u,0x00050051u,0x00000013u,0x00000157u,0x00000156u,0x00000000u,0x00050083u,
+ 0x00000013u,0x00000158u,0x0000011du,0x00000157u,0x0006000cu,0x00000013u,0x00000159u,0x00000001u,
+ 0x00000004u,0x00000158u,0x00050081u,0x00000013u,0x0000015bu,0x000001d6u,0x00000159u,0x0004003du,
+ 0x0000004cu,0x0000015du,0x000000c9u,0x00050081u,0x0000002eu,0x00000161u,0x00000114u,0x0000012eu,
+ 0x00050085u,0x0000002eu,0x00000163u,0x00000161u,0x00000035u,0x00050081u,0x0000002eu,0x00000164u,
+ 0x0000003du,0x00000163u,0x00070058u,0x00000052u,0x00000165u,0x0000015du,0x00000164u,0x00000002u,
+ 0x00000051u,0x00050051u,0x00000013u,0x00000166u,0x00000165u,0x00000000u,0x00050083u,0x00000013u,
+ 0x00000167u,0x0000011du,0x00000166u,0x0006000cu,0x00000013u,0x00000168u,0x00000001u,0x00000004u,
+ 0x00000167u,0x00050081u,0x00000013u,0x0000016au,0x000001d7u,0x00000168u,0x000200f9u,0x00000108u,
+ 0x000200f8u,0x0000010au,0x000200f9u,0x00000103u,0x000200f8u,0x00000103u,0x00050080u,0x00000006u,
+ 0x0000016eu,0x000001c1u,0x00000043u,0x000200f9u,0x00000100u,0x000200f8u,0x00000102u,0x00050081u,
+ 0x00000013u,0x00000170u,0x000001c2u,0x000000deu,0x00050081u,0x00000013u,0x00000172u,0x000001c3u,
+ 0x000000deu,0x00050081u,0x00000013u,0x00000174u,0x000001c4u,0x000000deu,0x00050081u,0x00000013u,
+ 0x00000176u,0x000001c5u,0x000000deu,0x00050085u,0x00000013u,0x0000017du,0x0000017bu,0x000001c0u,
+ 0x00050083u,0x00000013u,0x0000017eu,0x00000170u,0x0000017du,0x00050081u,0x00000013u,0x00000180u,
+ 0x0000017eu,0x00000172u,0x00050083u,0x00000013u,0x00000185u,0x00000174u,0x0000017du,0x00050081u,
+ 0x00000013u,0x00000187u,0x00000185u,0x00000176u,0x000500bau,0x00000019u,0x0000018au,0x00000180u,
+ 0x00000189u,0x000300f7u,0x0000018cu,0x00000000u,0x000400fau,0x0000018au,0x0000018bu,0x0000018cu,
+ 0x000200f8u,0x0000018bu,0x00050083u,0x00000013u,0x000001f8u,0x000001c2u,0x000001c3u,0x00050085u,
+ 0x00000013u,0x00000190u,0x00000039u,0x000001f8u,0x00050088u,0x00000013u,0x00000192u,0x00000190u,
+ 0x00000180u,0x0008000cu,0x00000013u,0x00000194u,0x00000001u,0x0000002bu,0x00000192u,0x00000193u,
+ 0x00000039u,0x000200f9u,0x0000018cu,0x000200f8u,0x0000018cu,0x000700f5u,0x00000013u,0x000001c9u,
+ 0x00000051u,0x00000102u,0x00000194u,0x0000018bu,0x000500bau,0x00000019u,0x00000196u,0x00000187u,
+ 0x00000189u,0x000300f7u,0x00000198u,0x00000000u,0x000400fau,0x00000196u,0x00000197u,0x00000198u,
+ 0x000200f8u,0x00000197u,0x00050083u,0x00000013u,0x000001f9u,0x000001c4u,0x000001c5u,0x00050085u,
+ 0x00000013u,0x0000019cu,0x00000039u,0x000001f9u,0x00050088u,0x00000013u,0x0000019eu,0x0000019cu,
+ 0x00000187u,0x0008000cu,0x00000013u,0x0000019fu,0x00000001u,0x0000002bu,0x0000019eu,0x00000193u,
+ 0x00000039u,0x000200f9u,0x00000198u,0x000200f8u,0x00000198u,0x000700f5u,0x00000013u,0x000001cau,
+ 0x00000051u,0x0000018cu,0x0000019fu,0x00000197u,0x00050050u,0x0000002eu,0x000001a2u,0x000001c9u,
+ 0x000001cau,0x00050081u,0x0000002eu,0x000001a4u,0x000001cfu,0x000001a2u,0x000200f9u,0x000000f8u,
+ 0x000200f8u,0x000000f8u,0x000700f5u,0x0000002eu,0x000001d0u,0x000001cfu,0x00000093u,0x000001a4u,
+ 0x00000198u,0x0006000cu,0x00000013u,0x000001aau,0x00000001u,0x0000001du,0x00000047u,0x0005008eu,
+ 0x0000002eu,0x000001abu,0x000001d0u,0x000001aau,0x0004003du,0x00000014u,0x000001acu,0x00000016u,
+ 0x00050051u,0x00000013u,0x000001afu,0x000001abu,0x00000000u,0x00050051u,0x00000013u,0x000001b0u,
+ 0x000001abu,0x00000001u,0x00070050u,0x00000052u,0x000001b1u,0x000001afu,0x000001b0u,0x00000051u,
+ 0x00000051u,0x00040063u,0x000001acu,0x00000011u,0x000001b1u,0x000200f9u,0x000001b4u,0x000200f8u,
+ 0x000001b4u,0x000100fdu,0x00010038u
+};
+static const size_t OF3_FLOW_LEN = sizeof(OF3_FLOW_SPV) / sizeof(OF3_FLOW_SPV[0]);
static const uint32_t OF3_EXPAND_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00000124u,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x00000049u,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00080005u,0x0000000eu,0x3564656du,0x3b316628u,0x663b3166u,0x31663b31u,0x3b31663bu,0x00000000u,0x00030005u,0x00000009u,0x00000061u,0x00030005u,0x0000000au,0x00000062u,0x00030005u,0x0000000bu,0x00000063u,0x00030005u,0x0000000cu,0x00000064u,0x00030005u,0x0000000du,0x00000065u,0x00030005u,0x00000010u,0x00000078u,0x00030005u,0x00000034u,0x00000079u,0x00030005u,0x00000045u,0x00646967u,0x00080005u,0x00000049u,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x0000004eu,0x006d6964u,0x00040005u,0x00000051u,0x64774675u,0x00000000u,0x00030005u,0x0000006bu,0x00007675u,0x00030005u,0x00000074u,0x00007366u,0x00050005u,0x00000079u,0x6f6c4675u,0x6e694677u,0x00000065u,0x00030005u,0x00000081u,0x00000063u,0x00030005u,0x00000088u,0x00006d78u,0x00030005u,0x00000091u,0x00007078u,0x00030005u,0x0000009au,0x00006d79u,0x00030005u,0x000000a3u,0x00007079u,0x00030005u,0x000000acu,0x00000064u,0x00040005u,0x000000adu,0x61726170u,0x0000006du,0x00040005u,0x000000b0u,0x61726170u,0x0000006du,0x00040005u,0x000000b3u,0x61726170u,0x0000006du,0x00040005u,0x000000b6u,0x61726170u,0x0000006du,0x00040005u,0x000000b9u,0x61726170u,0x0000006du,0x00040005u,0x000000bdu,0x61726170u,0x0000006du,0x00040005u,0x000000c0u,0x61726170u,0x0000006du,0x00040005u,0x000000c3u,0x61726170u,0x0000006du,0x00040005u,0x000000c6u,0x61726170u,0x0000006du,0x00040005u,0x000000c9u,0x61726170u,0x0000006du,0x00030005u,0x000000ceu,0x00000071u,0x00030005u,0x000000d2u,0x00787067u,0x00030005u,0x000000d3u,0x00004d47u,0x00050006u,0x000000d3u,0x00000000u,0x694c6d67u,0x0000006eu,0x00050006u,0x000000d3u,0x00000001u,0x694c6d67u,0x0000546eu,0x00050006u,0x000000d3u,0x00000002u,0x70416d67u,0x00000070u,0x00050006u,0x000000d3u,0x00000003u,0x70416d67u,0x00005470u,0x00030005u,0x000000d5u,0x00000000u,0x00030005u,0x000000fdu,0x00003241u,0x00040005u,0x0000010bu,0x6c6c7566u,0x00000000u,0x00040005u,0x00000117u,0x64774275u,0x00000000u,0x00030005u,0x00000121u,0x00000055u,0x00060006u,0x00000121u,0x00000000u,0x776f6c66u,0x6c616353u,0x00000065u,0x00050006u,0x00000121u,0x00000001u,0x6576656cu,0x0000006cu,0x00050006u,0x00000121u,0x00000002u,0x30646170u,0x00000000u,0x00050006u,0x00000121u,0x00000003u,0x31646170u,0x00000000u,0x00030005u,0x00000123u,0x00000000u,0x00040047u,0x00000049u,0x0000000bu,0x0000001cu,0x00030047u,0x00000051u,0x00000019u,0x00040047u,0x00000051u,0x00000021u,0x00000030u,0x00040047u,0x00000051u,0x00000022u,0x00000000u,0x00040047u,0x00000079u,0x00000021u,0x00000020u,0x00040047u,0x00000079u,0x00000022u,0x00000000u,0x00030047u,0x000000d3u,0x00000002u,0x00050048u,0x000000d3u,0x00000000u,0x00000023u,0x00000000u,0x00050048u,0x000000d3u,0x00000001u,0x00000023u,0x00000010u,0x00050048u,0x000000d3u,0x00000002u,0x00000023u,0x00000020u,0x00050048u,0x000000d3u,0x00000003u,0x00000023u,0x00000030u,0x00040047u,0x000000d5u,0x00000021u,0x00000001u,0x00040047u,0x000000d5u,0x00000022u,0x00000000u,0x00030047u,0x00000117u,0x00000019u,0x00040047u,0x00000117u,0x00000021u,0x00000031u,0x00040047u,0x00000117u,0x00000022u,0x00000000u,0x00040047u,0x00000120u,0x0000000bu,0x00000019u,0x00030047u,0x00000121u,0x00000002u,0x00050048u,0x00000121u,0x00000000u,0x00000023u,0x00000000u,0x00050048u,0x00000121u,0x00000001u,0x00000023u,0x00000004u,0x00050048u,0x00000121u,0x00000002u,0x00000023u,0x00000008u,0x00050048u,0x00000121u,0x00000003u,0x00000023u,0x0000000cu,0x00040047u,0x00000123u,0x00000021u,0x00000000u,0x00040047u,0x00000123u,0x00000022u,0x00000000u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00030016u,0x00000006u,0x00000020u,0x00040020u,0x00000007u,0x00000007u,0x00000006u,0x00080021u,0x00000008u,0x00000006u,0x00000007u,0x00000007u,0x00000007u,0x00000007u,0x00000007u,0x00040015u,0x00000042u,0x00000020u,0x00000001u,0x00040017u,0x00000043u,0x00000042u,0x00000002u,0x00040020u,0x00000044u,0x00000007u,0x00000043u,0x00040015u,0x00000046u,0x00000020u,0x00000000u,0x00040017u,0x00000047u,0x00000046u,0x00000003u,0x00040020u,0x00000048u,0x00000001u,0x00000047u,0x0004003bu,0x00000048u,0x00000049u,0x00000001u,0x00040017u,0x0000004au,0x00000046u,0x00000002u,0x00090019u,0x0000004fu,0x00000006u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000002u,0x00040020u,0x00000050u,0x00000000u,0x0000004fu,0x0004003bu,0x00000050u,0x00000051u,0x00000000u,0x00020014u,0x00000054u,0x0004002bu,0x00000046u,0x00000055u,0x00000000u,0x00040020u,0x00000056u,0x00000007u,0x00000042u,0x0004002bu,0x00000046u,0x0000005fu,0x00000001u,0x00040017u,0x00000069u,0x00000006u,0x00000002u,0x00040020u,0x0000006au,0x00000007u,0x00000069u,0x0004002bu,0x00000006u,0x0000006eu,0x3f000000u,0x0004002bu,0x00000006u,0x00000075u,0x3f800000u,0x00090019u,0x00000076u,0x00000006u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x00000077u,0x00000076u,0x00040020u,0x00000078u,0x00000000u,0x00000077u,0x0004003bu,0x00000078u,0x00000079u,0x00000000u,0x0004002bu,0x00000042u,0x0000007bu,0x00000000u,0x0004002bu,0x00000006u,0x00000084u,0x00000000u,0x00040017u,0x00000085u,0x00000006u,0x00000004u,0x0006001eu,0x000000d3u,0x00000085u,0x00000085u,0x00000085u,0x00000085u,0x00040020u,0x000000d4u,0x00000002u,0x000000d3u,0x0004003bu,0x000000d4u,0x000000d5u,0x00000002u,0x0004002bu,0x00000042u,0x000000d6u,0x00000002u,0x00040020u,0x000000d7u,0x00000002u,0x00000006u,0x0004002bu,0x00000046u,0x000000ddu,0x00000002u,0x0004002bu,0x00000042u,0x000000e4u,0x00000003u,0x0004002bu,0x00000046u,0x000000edu,0x00000003u,0x00040018u,0x000000fbu,0x00000069u,0x00000002u,0x00040020u,0x000000fcu,0x00000007u,0x000000fbu,0x0004003bu,0x00000050u,0x00000117u,0x00000000u,0x0004002bu,0x00000046u,0x0000011fu,0x00000010u,0x0006002cu,0x00000047u,0x00000120u,0x0000011fu,0x0000011fu,0x0000005fu,0x0006001eu,0x00000121u,0x00000006u,0x00000046u,0x00000046u,0x00000046u,0x00040020u,0x00000122u,0x00000002u,0x00000121u,0x0004003bu,0x00000122u,0x00000123u,0x00000002u,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x00000044u,0x00000045u,0x00000007u,0x0004003bu,0x00000044u,0x0000004eu,0x00000007u,0x0004003bu,0x0000006au,0x0000006bu,0x00000007u,0x0004003bu,0x0000006au,0x00000074u,0x00000007u,0x0004003bu,0x0000006au,0x00000081u,0x00000007u,0x0004003bu,0x0000006au,0x00000088u,0x00000007u,0x0004003bu,0x0000006au,0x00000091u,0x00000007u,0x0004003bu,0x0000006au,0x0000009au,0x00000007u,0x0004003bu,0x0000006au,0x000000a3u,0x00000007u,0x0004003bu,0x0000006au,0x000000acu,0x00000007u,0x0004003bu,0x00000007u,0x000000adu,0x00000007u,0x0004003bu,0x00000007u,0x000000b0u,0x00000007u,0x0004003bu,0x00000007u,0x000000b3u,0x00000007u,0x0004003bu,0x00000007u,0x000000b6u,0x00000007u,0x0004003bu,0x00000007u,0x000000b9u,0x00000007u,0x0004003bu,0x00000007u,0x000000bdu,0x00000007u,0x0004003bu,0x00000007u,0x000000c0u,0x00000007u,0x0004003bu,0x00000007u,0x000000c3u,0x00000007u,0x0004003bu,0x00000007u,0x000000c6u,0x00000007u,0x0004003bu,0x00000007u,0x000000c9u,0x00000007u,0x0004003bu,0x0000006au,0x000000ceu,0x00000007u,0x0004003bu,0x0000006au,0x000000d2u,0x00000007u,0x0004003bu,0x000000fcu,0x000000fdu,0x00000007u,0x0004003bu,0x0000006au,0x0000010bu,0x00000007u,0x0004003du,0x00000047u,0x0000004bu,0x00000049u,0x0007004fu,0x0000004au,0x0000004cu,0x0000004bu,0x0000004bu,0x00000000u,0x00000001u,0x0004007cu,0x00000043u,0x0000004du,0x0000004cu,0x0003003eu,0x00000045u,0x0000004du,0x0004003du,0x0000004fu,0x00000052u,0x00000051u,0x00040068u,0x00000043u,0x00000053u,0x00000052u,0x0003003eu,0x0000004eu,0x00000053u,0x00050041u,0x00000056u,0x00000057u,0x00000045u,0x00000055u,0x0004003du,0x00000042u,0x00000058u,0x00000057u,0x00050041u,0x00000056u,0x00000059u,0x0000004eu,0x00000055u,0x0004003du,0x00000042u,0x0000005au,0x00000059u,0x000500afu,0x00000054u,0x0000005bu,0x00000058u,0x0000005au,0x000400a8u,0x00000054u,0x0000005cu,0x0000005bu,0x000300f7u,0x0000005eu,0x00000000u,0x000400fau,0x0000005cu,0x0000005du,0x0000005eu,0x000200f8u,0x0000005du,0x00050041u,0x00000056u,0x00000060u,0x00000045u,0x0000005fu,0x0004003du,0x00000042u,0x00000061u,0x00000060u,0x00050041u,0x00000056u,0x00000062u,0x0000004eu,0x0000005fu,0x0004003du,0x00000042u,0x00000063u,0x00000062u,0x000500afu,0x00000054u,0x00000064u,0x00000061u,0x00000063u,0x000200f9u,0x0000005eu,0x000200f8u,0x0000005eu,0x000700f5u,0x00000054u,0x00000065u,0x0000005bu,0x00000005u,0x00000064u,0x0000005du,0x000300f7u,0x00000067u,0x00000000u,0x000400fau,0x00000065u,0x00000066u,0x00000067u,0x000200f8u,0x00000066u,0x000100fdu,0x000200f8u,0x00000067u,0x0004003du,0x00000043u,0x0000006cu,0x00000045u,0x0004006fu,0x00000069u,0x0000006du,0x0000006cu,0x00050050u,0x00000069u,0x0000006fu,0x0000006eu,0x0000006eu,0x00050081u,0x00000069u,0x00000070u,0x0000006du,0x0000006fu,0x0004003du,0x00000043u,0x00000071u,0x0000004eu,0x0004006fu,0x00000069u,0x00000072u,0x00000071u,0x00050088u,0x00000069u,0x00000073u,0x00000070u,0x00000072u,0x0003003eu,0x0000006bu,0x00000073u,0x0004003du,0x00000077u,0x0000007au,0x00000079u,0x00040064u,0x00000076u,0x0000007cu,0x0000007au,0x00050067u,0x00000043u,0x0000007du,0x0000007cu,0x0000007bu,0x0004006fu,0x00000069u,0x0000007eu,0x0000007du,0x00050050u,0x00000069u,0x0000007fu,0x00000075u,0x00000075u,0x00050088u,0x00000069u,0x00000080u,0x0000007fu,0x0000007eu,0x0003003eu,0x00000074u,0x00000080u,0x0004003du,0x00000077u,0x00000082u,0x00000079u,0x0004003du,0x00000069u,0x00000083u,0x0000006bu,0x00070058u,0x00000085u,0x00000086u,0x00000082u,0x00000083u,0x00000002u,0x00000084u,0x0007004fu,0x00000069u,0x00000087u,0x00000086u,0x00000086u,0x00000000u,0x00000001u,0x0003003eu,0x00000081u,0x00000087u,0x0004003du,0x00000077u,0x00000089u,0x00000079u,0x0004003du,0x00000069u,0x0000008au,0x0000006bu,0x00050041u,0x00000007u,0x0000008bu,0x00000074u,0x00000055u,0x0004003du,0x00000006u,0x0000008cu,0x0000008bu,0x00050050u,0x00000069u,0x0000008du,0x0000008cu,0x00000084u,0x00050083u,0x00000069u,0x0000008eu,0x0000008au,0x0000008du,0x00070058u,0x00000085u,0x0000008fu,0x00000089u,0x0000008eu,0x00000002u,0x00000084u,0x0007004fu,0x00000069u,0x00000090u,0x0000008fu,0x0000008fu,0x00000000u,0x00000001u,0x0003003eu,0x00000088u,0x00000090u,0x0004003du,0x00000077u,0x00000092u,0x00000079u,0x0004003du,0x00000069u,0x00000093u,0x0000006bu,0x00050041u,0x00000007u,0x00000094u,0x00000074u,0x00000055u,0x0004003du,0x00000006u,0x00000095u,0x00000094u,0x00050050u,0x00000069u,0x00000096u,0x00000095u,0x00000084u,0x00050081u,0x00000069u,0x00000097u,0x00000093u,0x00000096u,0x00070058u,0x00000085u,0x00000098u,0x00000092u,0x00000097u,0x00000002u,0x00000084u,0x0007004fu,0x00000069u,0x00000099u,0x00000098u,0x00000098u,0x00000000u,0x00000001u,0x0003003eu,0x00000091u,0x00000099u,0x0004003du,0x00000077u,0x0000009bu,0x00000079u,0x0004003du,0x00000069u,0x0000009cu,0x0000006bu,0x00050041u,0x00000007u,0x0000009du,0x00000074u,0x0000005fu,0x0004003du,0x00000006u,0x0000009eu,0x0000009du,0x00050050u,0x00000069u,0x0000009fu,0x00000084u,0x0000009eu,0x00050083u,0x00000069u,0x000000a0u,0x0000009cu,0x0000009fu,0x00070058u,0x00000085u,0x000000a1u,0x0000009bu,0x000000a0u,0x00000002u,0x00000084u,0x0007004fu,0x00000069u,0x000000a2u,0x000000a1u,0x000000a1u,0x00000000u,0x00000001u,0x0003003eu,0x0000009au,0x000000a2u,0x0004003du,0x00000077u,0x000000a4u,0x00000079u,0x0004003du,0x00000069u,0x000000a5u,0x0000006bu,0x00050041u,0x00000007u,0x000000a6u,0x00000074u,0x0000005fu,0x0004003du,0x00000006u,0x000000a7u,0x000000a6u,0x00050050u,0x00000069u,0x000000a8u,0x00000084u,0x000000a7u,0x00050081u,0x00000069u,0x000000a9u,0x000000a5u,0x000000a8u,0x00070058u,0x00000085u,0x000000aau,0x000000a4u,0x000000a9u,0x00000002u,0x00000084u,0x0007004fu,0x00000069u,0x000000abu,0x000000aau,0x000000aau,0x00000000u,0x00000001u,0x0003003eu,0x000000a3u,0x000000abu,0x00050041u,0x00000007u,0x000000aeu,0x00000081u,0x00000055u,0x0004003du,0x00000006u,0x000000afu,0x000000aeu,0x0003003eu,0x000000adu,0x000000afu,0x00050041u,0x00000007u,0x000000b1u,0x00000088u,0x00000055u,0x0004003du,0x00000006u,0x000000b2u,0x000000b1u,0x0003003eu,0x000000b0u,0x000000b2u,0x00050041u,0x00000007u,0x000000b4u,0x00000091u,0x00000055u,0x0004003du,0x00000006u,0x000000b5u,0x000000b4u,0x0003003eu,0x000000b3u,0x000000b5u,0x00050041u,0x00000007u,0x000000b7u,0x0000009au,0x00000055u,0x0004003du,0x00000006u,0x000000b8u,0x000000b7u,0x0003003eu,0x000000b6u,0x000000b8u,0x00050041u,0x00000007u,0x000000bau,0x000000a3u,0x00000055u,0x0004003du,0x00000006u,0x000000bbu,0x000000bau,0x0003003eu,0x000000b9u,0x000000bbu,0x00090039u,0x00000006u,0x000000bcu,0x0000000eu,0x000000adu,0x000000b0u,0x000000b3u,0x000000b6u,0x000000b9u,0x00050041u,0x00000007u,0x000000beu,0x00000081u,0x0000005fu,0x0004003du,0x00000006u,0x000000bfu,0x000000beu,0x0003003eu,0x000000bdu,0x000000bfu,0x00050041u,0x00000007u,0x000000c1u,0x00000088u,0x0000005fu,0x0004003du,0x00000006u,0x000000c2u,0x000000c1u,0x0003003eu,0x000000c0u,0x000000c2u,0x00050041u,0x00000007u,0x000000c4u,0x00000091u,0x0000005fu,0x0004003du,0x00000006u,0x000000c5u,0x000000c4u,0x0003003eu,0x000000c3u,0x000000c5u,0x00050041u,0x00000007u,0x000000c7u,0x0000009au,0x0000005fu,0x0004003du,0x00000006u,0x000000c8u,0x000000c7u,0x0003003eu,0x000000c6u,0x000000c8u,0x00050041u,0x00000007u,0x000000cau,0x000000a3u,0x0000005fu,0x0004003du,0x00000006u,0x000000cbu,0x000000cau,0x0003003eu,0x000000c9u,0x000000cbu,0x00090039u,0x00000006u,0x000000ccu,0x0000000eu,0x000000bdu,0x000000c0u,0x000000c3u,0x000000c6u,0x000000c9u,0x00050050u,0x00000069u,0x000000cdu,0x000000bcu,0x000000ccu,0x0003003eu,0x000000acu,0x000000cdu,0x0004003du,0x00000069u,0x000000cfu,0x0000006bu,0x00050050u,0x00000069u,0x000000d0u,0x0000006eu,0x0000006eu,0x00050083u,0x00000069u,0x000000d1u,0x000000cfu,0x000000d0u,0x0003003eu,0x000000ceu,0x000000d1u,0x00060041u,0x000000d7u,0x000000d8u,0x000000d5u,0x000000d6u,0x00000055u,0x0004003du,0x00000006u,0x000000d9u,0x000000d8u,0x00050041u,0x00000007u,0x000000dau,0x000000ceu,0x00000055u,0x0004003du,0x00000006u,0x000000dbu,0x000000dau,0x00050085u,0x00000006u,0x000000dcu,0x000000d9u,0x000000dbu,0x00060041u,0x000000d7u,0x000000deu,0x000000d5u,0x000000d6u,0x000000ddu,0x0004003du,0x00000006u,0x000000dfu,0x000000deu,0x00050041u,0x00000007u,0x000000e0u,0x000000ceu,0x0000005fu,0x0004003du,0x00000006u,0x000000e1u,0x000000e0u,0x00050085u,0x00000006u,0x000000e2u,0x000000dfu,0x000000e1u,0x00050081u,0x00000006u,0x000000e3u,0x000000dcu,0x000000e2u,0x00060041u,0x000000d7u,0x000000e5u,0x000000d5u,0x000000e4u,0x00000055u,0x0004003du,0x00000006u,0x000000e6u,0x000000e5u,0x00050081u,0x00000006u,0x000000e7u,0x000000e3u,0x000000e6u,0x00060041u,0x000000d7u,0x000000e8u,0x000000d5u,0x000000d6u,0x0000005fu,0x0004003du,0x00000006u,0x000000e9u,0x000000e8u,0x00050041u,0x00000007u,0x000000eau,0x000000ceu,0x00000055u,0x0004003du,0x00000006u,0x000000ebu,0x000000eau,0x00050085u,0x00000006u,0x000000ecu,0x000000e9u,0x000000ebu,0x00060041u,0x000000d7u,0x000000eeu,0x000000d5u,0x000000d6u,0x000000edu,0x0004003du,0x00000006u,0x000000efu,0x000000eeu,0x00050041u,0x00000007u,0x000000f0u,0x000000ceu,0x0000005fu,0x0004003du,0x00000006u,0x000000f1u,0x000000f0u,0x00050085u,0x00000006u,0x000000f2u,0x000000efu,0x000000f1u,0x00050081u,0x00000006u,0x000000f3u,0x000000ecu,0x000000f2u,0x00060041u,0x000000d7u,0x000000f4u,0x000000d5u,0x000000e4u,0x0000005fu,0x0004003du,0x00000006u,0x000000f5u,0x000000f4u,0x00050081u,0x00000006u,0x000000f6u,0x000000f3u,0x000000f5u,0x00050050u,0x00000069u,0x000000f7u,0x000000e7u,0x000000f6u,0x0004003du,0x00000043u,0x000000f8u,0x0000004eu,0x0004006fu,0x00000069u,0x000000f9u,0x000000f8u,0x00050085u,0x00000069u,0x000000fau,0x000000f7u,0x000000f9u,0x0003003eu,0x000000d2u,0x000000fau,0x00060041u,0x000000d7u,0x000000feu,0x000000d5u,0x000000d6u,0x00000055u,0x0004003du,0x00000006u,0x000000ffu,0x000000feu,0x00050081u,0x00000006u,0x00000100u,0x00000075u,0x000000ffu,0x00060041u,0x000000d7u,0x00000101u,0x000000d5u,0x000000d6u,0x0000005fu,0x0004003du,0x00000006u,0x00000102u,0x00000101u,0x00060041u,0x000000d7u,0x00000103u,0x000000d5u,0x000000d6u,0x000000ddu,0x0004003du,0x00000006u,0x00000104u,0x00000103u,0x00060041u,0x000000d7u,0x00000105u,0x000000d5u,0x000000d6u,0x000000edu,0x0004003du,0x00000006u,0x00000106u,0x00000105u,0x00050081u,0x00000006u,0x00000107u,0x00000075u,0x00000106u,0x00050050u,0x00000069u,0x00000108u,0x00000100u,0x00000102u,0x00050050u,0x00000069u,0x00000109u,0x00000104u,0x00000107u,0x00050050u,0x000000fbu,0x0000010au,0x00000108u,0x00000109u,0x0003003eu,0x000000fdu,0x0000010au,0x0004003du,0x00000069u,0x0000010cu,0x000000d2u,0x0004003du,0x000000fbu,0x0000010du,0x000000fdu,0x0004003du,0x00000069u,0x0000010eu,0x000000acu,0x00050091u,0x00000069u,0x0000010fu,0x0000010du,0x0000010eu,0x00050081u,0x00000069u,0x00000110u,0x0000010cu,0x0000010fu,0x0003003eu,0x0000010bu,0x00000110u,0x0004003du,0x0000004fu,0x00000111u,0x00000051u,0x0004003du,0x00000043u,0x00000112u,0x00000045u,0x0004003du,0x00000069u,0x00000113u,0x0000010bu,0x00050051u,0x00000006u,0x00000114u,0x00000113u,0x00000000u,0x00050051u,0x00000006u,0x00000115u,0x00000113u,0x00000001u,0x00070050u,0x00000085u,0x00000116u,0x00000114u,0x00000115u,0x00000084u,0x00000075u,0x00040063u,0x00000111u,0x00000112u,0x00000116u,0x0004003du,0x0000004fu,0x00000118u,0x00000117u,0x0004003du,0x00000043u,0x00000119u,0x00000045u,0x0004003du,0x00000069u,0x0000011au,0x0000010bu,0x0004007fu,0x00000069u,0x0000011bu,0x0000011au,0x00050051u,0x00000006u,0x0000011cu,0x0000011bu,0x00000000u,0x00050051u,0x00000006u,0x0000011du,0x0000011bu,0x00000001u,0x00070050u,0x00000085u,0x0000011eu,0x0000011cu,0x0000011du,0x00000084u,0x00000075u,0x00040063u,0x00000118u,0x00000119u,0x0000011eu,0x000100fdu,0x00010038u,0x00050036u,0x00000006u,0x0000000eu,0x00000000u,0x00000008u,0x00030037u,0x00000007u,0x00000009u,0x00030037u,0x00000007u,0x0000000au,0x00030037u,0x00000007u,0x0000000bu,0x00030037u,0x00000007u,0x0000000cu,0x00030037u,0x00000007u,0x0000000du,0x000200f8u,0x0000000fu,0x0004003bu,0x00000007u,0x00000010u,0x00000007u,0x0004003bu,0x00000007u,0x00000034u,0x00000007u,0x0004003du,0x00000006u,0x00000011u,0x00000009u,0x0004003du,0x00000006u,0x00000012u,0x0000000au,0x0007000cu,0x00000006u,0x00000013u,0x00000001u,0x00000025u,0x00000011u,0x00000012u,0x0003003eu,0x00000010u,0x00000013u,0x0004003du,0x00000006u,0x00000014u,0x00000009u,0x0004003du,0x00000006u,0x00000015u,0x0000000au,0x0007000cu,0x00000006u,0x00000016u,0x00000001u,0x00000028u,0x00000014u,0x00000015u,0x0003003eu,0x00000009u,0x00000016u,0x0004003du,0x00000006u,0x00000017u,0x00000010u,0x0003003eu,0x0000000au,0x00000017u,0x0004003du,0x00000006u,0x00000018u,0x0000000bu,0x0004003du,0x00000006u,0x00000019u,0x0000000cu,0x0007000cu,0x00000006u,0x0000001au,0x00000001u,0x00000025u,0x00000018u,0x00000019u,0x0003003eu,0x00000010u,0x0000001au,0x0004003du,0x00000006u,0x0000001bu,0x0000000bu,0x0004003du,0x00000006u,0x0000001cu,0x0000000cu,0x0007000cu,0x00000006u,0x0000001du,0x00000001u,0x00000028u,0x0000001bu,0x0000001cu,0x0003003eu,0x0000000bu,0x0000001du,0x0004003du,0x00000006u,0x0000001eu,0x00000010u,0x0003003eu,0x0000000cu,0x0000001eu,0x0004003du,0x00000006u,0x0000001fu,0x00000009u,0x0004003du,0x00000006u,0x00000020u,0x0000000bu,0x0007000cu,0x00000006u,0x00000021u,0x00000001u,0x00000025u,0x0000001fu,0x00000020u,0x0003003eu,0x00000010u,0x00000021u,0x0004003du,0x00000006u,0x00000022u,0x00000009u,0x0004003du,0x00000006u,0x00000023u,0x0000000bu,0x0007000cu,0x00000006u,0x00000024u,0x00000001u,0x00000028u,0x00000022u,0x00000023u,0x0003003eu,0x00000009u,0x00000024u,0x0004003du,0x00000006u,0x00000025u,0x00000010u,0x0003003eu,0x0000000bu,0x00000025u,0x0004003du,0x00000006u,0x00000026u,0x0000000au,0x0004003du,0x00000006u,0x00000027u,0x0000000cu,0x0007000cu,0x00000006u,0x00000028u,0x00000001u,0x00000025u,0x00000026u,0x00000027u,0x0003003eu,0x00000010u,0x00000028u,0x0004003du,0x00000006u,0x00000029u,0x0000000au,0x0004003du,0x00000006u,0x0000002au,0x0000000cu,0x0007000cu,0x00000006u,0x0000002bu,0x00000001u,0x00000028u,0x00000029u,0x0000002au,0x0003003eu,0x0000000au,0x0000002bu,0x0004003du,0x00000006u,0x0000002cu,0x00000010u,0x0003003eu,0x0000000cu,0x0000002cu,0x0004003du,0x00000006u,0x0000002du,0x0000000au,0x0004003du,0x00000006u,0x0000002eu,0x0000000bu,0x0007000cu,0x00000006u,0x0000002fu,0x00000001u,0x00000025u,0x0000002du,0x0000002eu,0x0003003eu,0x00000010u,0x0000002fu,0x0004003du,0x00000006u,0x00000030u,0x0000000au,0x0004003du,0x00000006u,0x00000031u,0x0000000bu,0x0007000cu,0x00000006u,0x00000032u,0x00000001u,0x00000028u,0x00000030u,0x00000031u,0x0003003eu,0x0000000au,0x00000032u,0x0004003du,0x00000006u,0x00000033u,0x00000010u,0x0003003eu,0x0000000bu,0x00000033u,0x0004003du,0x00000006u,0x00000035u,0x0000000au,0x0004003du,0x00000006u,0x00000036u,0x0000000du,0x0007000cu,0x00000006u,0x00000037u,0x00000001u,0x00000025u,0x00000035u,0x00000036u,0x0003003eu,0x00000034u,0x00000037u,0x0004003du,0x00000006u,0x00000038u,0x0000000au,0x0004003du,0x00000006u,0x00000039u,0x0000000du,0x0007000cu,0x00000006u,0x0000003au,0x00000001u,0x00000028u,0x00000038u,0x00000039u,0x0003003eu,0x00000010u,0x0000003au,0x0004003du,0x00000006u,0x0000003bu,0x00000034u,0x0004003du,0x00000006u,0x0000003cu,0x0000000bu,0x0007000cu,0x00000006u,0x0000003du,0x00000001u,0x00000028u,0x0000003bu,0x0000003cu,0x0004003du,0x00000006u,0x0000003eu,0x00000010u,0x0007000cu,0x00000006u,0x0000003fu,0x00000001u,0x00000025u,0x0000003du,0x0000003eu,0x000200feu,0x0000003fu,0x00010038u};
static const size_t OF3_EXPAND_LEN = 1798;
static const uint32_t OF3_FLOW_M4_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00000151u,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x000000f6u,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00080005u,0x00000010u,0x636f6c62u,0x6461536bu,0x31327328u,0x3132733bu,0x3266763bu,0x0000003bu,0x00030005u,0x0000000du,0x00000061u,0x00030005u,0x0000000eu,0x00000062u,0x00040005u,0x0000000fu,0x646e6163u,0x00000000u,0x00070005u,0x00000016u,0x766c6f73u,0x32732865u,0x32733b31u,0x66763b31u,0x00003b32u,0x00030005u,0x00000013u,0x00000061u,0x00030005u,0x00000014u,0x00000062u,0x00040005u,0x00000015u,0x64657270u,0x00000000u,0x00030005u,0x00000019u,0x00646173u,0x00030005u,0x0000001du,0x00007962u,0x00030005u,0x00000028u,0x00007862u,0x00030005u,0x00000030u,0x00006f62u,0x00030005u,0x00000036u,0x00006170u,0x00030005u,0x00000039u,0x00765567u,0x00050005u,0x0000003cu,0x766e4967u,0x616d754cu,0x00000000u,0x00030005u,0x00000045u,0x00006270u,0x00040005u,0x0000005du,0x74736562u,0x00646153u,0x00050005u,0x0000005fu,0x74736562u,0x70736944u,0x00000000u,0x00030005u,0x00000061u,0x00007973u,0x00030005u,0x0000006bu,0x00007873u,0x00040005u,0x00000073u,0x646e6163u,0x00000000u,0x00030005u,0x0000007bu,0x00646173u,0x00040005u,0x0000007cu,0x61726170u,0x0000006du,0x00030005u,0x00000095u,0x00000055u,0x00060006u,0x00000095u,0x00000000u,0x776f6c66u,0x6c616353u,0x00000065u,0x00050006u,0x00000095u,0x00000001u,0x6576656cu,0x0000006cu,0x00050006u,0x00000095u,0x00000002u,0x6c63636fu,0x00006f4cu,0x00050006u,0x00000095u,0x00000003u,0x6c63636fu,0x00006948u,0x00030005u,0x00000097u,0x00000000u,0x00040005u,0x0000009eu,0x43646173u,0x00000000u,0x00040005u,0x000000a1u,0x58646173u,0x0000006du,0x00040005u,0x000000a6u,0x61726170u,0x0000006du,0x00040005u,0x000000a9u,0x58646173u,0x00000070u,0x00040005u,0x000000aeu,0x61726170u,0x0000006du,0x00040005u,0x000000b1u,0x59646173u,0x0000006du,0x00040005u,0x000000b5u,0x61726170u,0x0000006du,0x00040005u,0x000000b8u,0x59646173u,0x00000070u,0x00040005u,0x000000bcu,0x61726170u,0x0000006du,0x00030005u,0x000000bfu,0x00007864u,0x00030005u,0x000000c0u,0x00007964u,0x00040005u,0x000000c1u,0x6f6e6564u,0x0000586du,0x00040005u,0x000000c9u,0x6f6e6564u,0x0000596du,0x00030005u,0x000000f3u,0x00646967u,0x00080005u,0x000000f6u,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x000000fbu,0x006d6964u,0x00040005u,0x000000feu,0x6f6c4675u,0x00000077u,0x00050005u,0x0000011au,0x6d754c75u,0x72754361u,0x00000072u,0x00040005u,0x00000122u,0x654c6f74u,0x006c6576u,0x00040005u,0x00000129u,0x64657270u,0x00000000u,0x00050005u,0x0000012au,0x65725075u,0x74636964u,0x0000726fu,0x00030005u,0x0000012eu,0x00647766u,0x00050005u,0x0000012fu,0x6d754c75u,0x65725061u,0x00000076u,0x00040005u,0x00000134u,0x61726170u,0x0000006du,0x00030005u,0x00000136u,0x00647762u,0x00040005u,0x0000013bu,0x61726170u,0x0000006du,0x00040005u,0x0000013du,0x75466f74u,0x00006c6cu,0x00030047u,0x00000095u,0x00000002u,0x00050048u,0x00000095u,0x00000000u,0x00000023u,0x00000000u,0x00050048u,0x00000095u,0x00000001u,0x00000023u,0x00000004u,0x00050048u,0x00000095u,0x00000002u,0x00000023u,0x00000008u,0x00050048u,0x00000095u,0x00000003u,0x00000023u,0x0000000cu,0x00040047u,0x00000097u,0x00000021u,0x00000000u,0x00040047u,0x00000097u,0x00000022u,0x00000000u,0x00040047u,0x000000f6u,0x0000000bu,0x0000001cu,0x00030047u,0x000000feu,0x00000019u,0x00040047u,0x000000feu,0x00000021u,0x00000030u,0x00040047u,0x000000feu,0x00000022u,0x00000000u,0x00040047u,0x0000011au,0x00000021u,0x00000021u,0x00040047u,0x0000011au,0x00000022u,0x00000000u,0x00040047u,0x0000012au,0x00000021u,0x00000022u,0x00040047u,0x0000012au,0x00000022u,0x00000000u,0x00040047u,0x0000012fu,0x00000021u,0x00000020u,0x00040047u,0x0000012fu,0x00000022u,0x00000000u,0x00040047u,0x00000150u,0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00030016u,0x00000006u,0x00000020u,0x00090019u,0x00000007u,0x00000006u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x00000008u,0x00000007u,0x00040020u,0x00000009u,0x00000000u,0x00000008u,0x00040017u,0x0000000au,0x00000006u,0x00000002u,0x00040020u,0x0000000bu,0x00000007u,0x0000000au,0x00060021u,0x0000000cu,0x00000006u,0x00000009u,0x00000009u,0x0000000bu,0x00060021u,0x00000012u,0x0000000au,0x00000009u,0x00000009u,0x0000000bu,0x00040020u,0x00000018u,0x00000007u,0x00000006u,0x0004002bu,0x00000006u,0x0000001au,0x00000000u,0x00040015u,0x0000001bu,0x00000020u,0x00000001u,0x00040020u,0x0000001cu,0x00000007u,0x0000001bu,0x0004002bu,0x0000001bu,0x0000001eu,0xffffffffu,0x0004002bu,0x0000001bu,0x00000025u,0x00000001u,0x00020014u,0x00000026u,0x00040020u,0x00000038u,0x00000006u,0x0000000au,0x0004003bu,0x00000038u,0x00000039u,0x00000006u,0x0004003bu,0x00000038u,0x0000003cu,0x00000006u,0x00040017u,0x00000040u,0x00000006u,0x00000004u,0x00040015u,0x00000042u,0x00000020u,0x00000000u,0x0004002bu,0x00000042u,0x00000043u,0x00000000u,0x0004002bu,0x00000006u,0x0000005eu,0x7f7fffffu,0x0004002bu,0x0000001bu,0x00000062u,0xfffffffdu,0x0004002bu,0x0000001bu,0x00000069u,0x00000003u,0x0004002bu,0x00000006u,0x0000007fu,0x3b03126fu,0x0006001eu,0x00000095u,0x00000006u,0x00000042u,0x00000006u,0x00000006u,0x00040020u,0x00000096u,0x00000002u,0x00000095u,0x0004003bu,0x00000096u,0x00000097u,0x00000002u,0x00040020u,0x00000098u,0x00000002u,0x00000042u,0x0004002bu,0x00000006u,0x000000a3u,0xbf800000u,0x0005002cu,0x0000000au,0x000000a4u,0x000000a3u,0x0000001au,0x0004002bu,0x00000006u,0x000000abu,0x3f800000u,0x0005002cu,0x0000000au,0x000000acu,0x000000abu,0x0000001au,0x0005002cu,0x0000000au,0x000000b3u,0x0000001au,0x000000a3u,0x0005002cu,0x0000000au,0x000000bau,0x0000001au,0x000000abu,0x0004002bu,0x00000006u,0x000000c3u,0x40000000u,0x0004002bu,0x00000006u,0x000000d1u,0x358637bdu,0x0004002bu,0x00000006u,0x000000d5u,0x3f000000u,0x0004002bu,0x00000006u,0x000000dcu,0xbf000000u,0x00040017u,0x000000f1u,0x0000001bu,0x00000002u,0x00040020u,0x000000f2u,0x00000007u,0x000000f1u,0x00040017u,0x000000f4u,0x00000042u,0x00000003u,0x00040020u,0x000000f5u,0x00000001u,0x000000f4u,0x0004003bu,0x000000f5u,0x000000f6u,0x00000001u,0x00040017u,0x000000f7u,0x00000042u,0x00000002u,0x00090019u,0x000000fcu,0x00000006u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000002u,0x00040020u,0x000000fdu,0x00000000u,0x000000fcu,0x0004003bu,0x000000fdu,0x000000feu,0x00000000u,0x0004002bu,0x00000042u,0x00000109u,0x00000001u,0x0004003bu,0x00000009u,0x0000011au,0x00000000u,0x0004002bu,0x0000001bu,0x0000011cu,0x00000000u,0x00040020u,0x00000128u,0x00000007u,0x00000040u,0x0004003bu,0x00000009u,0x0000012au,0x00000000u,0x0004003bu,0x00000009u,0x0000012fu,0x00000000u,0x0004002bu,0x00000042u,0x0000014fu,0x00000010u,0x0006002cu,0x000000f4u,0x00000150u,0x0000014fu,0x0000014fu,0x00000109u,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x000000f2u,0x000000f3u,0x00000007u,0x0004003bu,0x000000f2u,0x000000fbu,0x00000007u,0x0004003bu,0x00000018u,0x00000122u,0x00000007u,0x0004003bu,0x00000128u,0x00000129u,0x00000007u,0x0004003bu,0x0000000bu,0x0000012eu,0x00000007u,0x0004003bu,0x0000000bu,0x00000134u,0x00000007u,0x0004003bu,0x0000000bu,0x00000136u,0x00000007u,0x0004003bu,0x0000000bu,0x0000013bu,0x00000007u,0x0004003bu,0x00000018u,0x0000013du,0x00000007u,0x0004003du,0x000000f4u,0x000000f8u,0x000000f6u,0x0007004fu,0x000000f7u,0x000000f9u,0x000000f8u,0x000000f8u,0x00000000u,0x00000001u,0x0004007cu,0x000000f1u,0x000000fau,0x000000f9u,0x0003003eu,0x000000f3u,0x000000fau,0x0004003du,0x000000fcu,0x000000ffu,0x000000feu,0x00040068u,0x000000f1u,0x00000100u,0x000000ffu,0x0003003eu,0x000000fbu,0x00000100u,0x00050041u,0x0000001cu,0x00000101u,0x000000f3u,0x00000043u,0x0004003du,0x0000001bu,0x00000102u,0x00000101u,0x00050041u,0x0000001cu,0x00000103u,0x000000fbu,0x00000043u,0x0004003du,0x0000001bu,0x00000104u,0x00000103u,0x000500afu,0x00000026u,0x00000105u,0x00000102u,0x00000104u,0x000400a8u,0x00000026u,0x00000106u,0x00000105u,0x000300f7u,0x00000108u,0x00000000u,0x000400fau,0x00000106u,0x00000107u,0x00000108u,0x000200f8u,0x00000107u,0x00050041u,0x0000001cu,0x0000010au,0x000000f3u,0x00000109u,0x0004003du,0x0000001bu,0x0000010bu,0x0000010au,0x00050041u,0x0000001cu,0x0000010cu,0x000000fbu,0x00000109u,0x0004003du,0x0000001bu,0x0000010du,0x0000010cu,0x000500afu,0x00000026u,0x0000010eu,0x0000010bu,0x0000010du,0x000200f9u,0x00000108u,0x000200f8u,0x00000108u,0x000700f5u,0x00000026u,0x0000010fu,0x00000105u,0x00000005u,0x0000010eu,0x00000107u,0x000300f7u,0x00000111u,0x00000000u,0x000400fau,0x0000010fu,0x00000110u,0x00000111u,0x000200f8u,0x00000110u,0x000100fdu,0x000200f8u,0x00000111u,0x0004003du,0x000000f1u,0x00000113u,0x000000f3u,0x0004006fu,0x0000000au,0x00000114u,0x00000113u,0x00050050u,0x0000000au,0x00000115u,0x000000d5u,0x000000d5u,0x00050081u,0x0000000au,0x00000116u,0x00000114u,0x00000115u,0x0004003du,0x000000f1u,0x00000117u,0x000000fbu,0x0004006fu,0x0000000au,0x00000118u,0x00000117u,0x00050088u,0x0000000au,0x00000119u,0x00000116u,0x00000118u,0x0003003eu,0x00000039u,0x00000119u,0x0004003du,0x00000008u,0x0000011bu,0x0000011au,0x00040064u,0x00000007u,0x0000011du,0x0000011bu,0x00050067u,0x000000f1u,0x0000011eu,0x0000011du,0x0000011cu,0x0004006fu,0x0000000au,0x0000011fu,0x0000011eu,0x00050050u,0x0000000au,0x00000120u,0x000000abu,0x000000abu,0x00050088u,0x0000000au,0x00000121u,0x00000120u,0x0000011fu,0x0003003eu,0x0000003cu,0x00000121u,0x00050041u,0x00000098u,0x00000123u,0x00000097u,0x00000025u,0x0004003du,0x00000042u,0x00000124u,0x00000123u,0x00040070u,0x00000006u,0x00000125u,0x00000124u,0x0004007fu,0x00000006u,0x00000126u,0x00000125u,0x0006000cu,0x00000006u,0x00000127u,0x00000001u,0x0000001du,0x00000126u,0x0003003eu,0x00000122u,0x00000127u,0x0004003du,0x00000008u,0x0000012bu,0x0000012au,0x0004003du,0x0000000au,0x0000012cu,0x00000039u,0x00070058u,0x00000040u,0x0000012du,0x0000012bu,0x0000012cu,0x00000002u,0x0000001au,0x0003003eu,0x00000129u,0x0000012du,0x0004003du,0x00000040u,0x00000130u,0x00000129u,0x0007004fu,0x0000000au,0x00000131u,0x00000130u,0x00000130u,0x00000000u,0x00000001u,0x0004003du,0x00000006u,0x00000132u,0x00000122u,0x0005008eu,0x0000000au,0x00000133u,0x00000131u,0x00000132u,0x0003003eu,0x00000134u,0x00000133u,0x00070039u,0x0000000au,0x00000135u,0x00000016u,0x0000012fu,0x0000011au,0x00000134u,0x0003003eu,0x0000012eu,0x00000135u,0x0004003du,0x00000040u,0x00000137u,0x00000129u,0x0007004fu,0x0000000au,0x00000138u,0x00000137u,0x00000137u,0x00000002u,0x00000003u,0x0004003du,0x00000006u,0x00000139u,0x00000122u,0x0005008eu,0x0000000au,0x0000013au,0x00000138u,0x00000139u,0x0003003eu,0x0000013bu,0x0000013au,0x00070039u,0x0000000au,0x0000013cu,0x00000016u,0x0000011au,0x0000012fu,0x0000013bu,0x0003003eu,0x00000136u,0x0000013cu,0x00050041u,0x00000098u,0x0000013eu,0x00000097u,0x00000025u,0x0004003du,0x00000042u,0x0000013fu,0x0000013eu,0x00040070u,0x00000006u,0x00000140u,0x0000013fu,0x0006000cu,0x00000006u,0x00000141u,0x00000001u,0x0000001du,0x00000140u,0x0003003eu,0x0000013du,0x00000141u,0x0004003du,0x000000fcu,0x00000142u,0x000000feu,0x0004003du,0x000000f1u,0x00000143u,0x000000f3u,0x0004003du,0x0000000au,0x00000144u,0x0000012eu,0x0004003du,0x00000006u,0x00000145u,0x0000013du,0x0005008eu,0x0000000au,0x00000146u,0x00000144u,0x00000145u,0x0004003du,0x0000000au,0x00000147u,0x00000136u,0x0004003du,0x00000006u,0x00000148u,0x0000013du,0x0005008eu,0x0000000au,0x00000149u,0x00000147u,0x00000148u,0x00050051u,0x00000006u,0x0000014au,0x00000146u,0x00000000u,0x00050051u,0x00000006u,0x0000014bu,0x00000146u,0x00000001u,0x00050051u,0x00000006u,0x0000014cu,0x00000149u,0x00000000u,0x00050051u,0x00000006u,0x0000014du,0x00000149u,0x00000001u,0x00070050u,0x00000040u,0x0000014eu,0x0000014au,0x0000014bu,0x0000014cu,0x0000014du,0x00040063u,0x00000142u,0x00000143u,0x0000014eu,0x000100fdu,0x00010038u,0x00050036u,0x00000006u,0x00000010u,0x00000000u,0x0000000cu,0x00030037u,0x00000009u,0x0000000du,0x00030037u,0x00000009u,0x0000000eu,0x00030037u,0x0000000bu,0x0000000fu,0x000200f8u,0x00000011u,0x0004003bu,0x00000018u,0x00000019u,0x00000007u,0x0004003bu,0x0000001cu,0x0000001du,0x00000007u,0x0004003bu,0x0000001cu,0x00000028u,0x00000007u,0x0004003bu,0x0000000bu,0x00000030u,0x00000007u,0x0004003bu,0x00000018u,0x00000036u,0x00000007u,0x0004003bu,0x00000018u,0x00000045u,0x00000007u,0x0003003eu,0x00000019u,0x0000001au,0x0003003eu,0x0000001du,0x0000001eu,0x000200f9u,0x0000001fu,0x000200f8u,0x0000001fu,0x000400f6u,0x00000021u,0x00000022u,0x00000000u,0x000200f9u,0x00000023u,0x000200f8u,0x00000023u,0x0004003du,0x0000001bu,0x00000024u,0x0000001du,0x000500b3u,0x00000026u,0x00000027u,0x00000024u,0x00000025u,0x000400fau,0x00000027u,0x00000020u,0x00000021u,0x000200f8u,0x00000020u,0x0003003eu,0x00000028u,0x0000001eu,0x000200f9u,0x00000029u,0x000200f8u,0x00000029u,0x000400f6u,0x0000002bu,0x0000002cu,0x00000000u,0x000200f9u,0x0000002du,0x000200f8u,0x0000002du,0x0004003du,0x0000001bu,0x0000002eu,0x00000028u,0x000500b3u,0x00000026u,0x0000002fu,0x0000002eu,0x00000025u,0x000400fau,0x0000002fu,0x0000002au,0x0000002bu,0x000200f8u,0x0000002au,0x0004003du,0x0000001bu,0x00000031u,0x00000028u,0x0004006fu,0x00000006u,0x00000032u,0x00000031u,0x0004003du,0x0000001bu,0x00000033u,0x0000001du,0x0004006fu,0x00000006u,0x00000034u,0x00000033u,0x00050050u,0x0000000au,0x00000035u,0x00000032u,0x00000034u,0x0003003eu,0x00000030u,0x00000035u,0x0004003du,0x00000008u,0x00000037u,0x0000000du,0x0004003du,0x0000000au,0x0000003au,0x00000039u,0x0004003du,0x0000000au,0x0000003bu,0x00000030u,0x0004003du,0x0000000au,0x0000003du,0x0000003cu,0x00050085u,0x0000000au,0x0000003eu,0x0000003bu,0x0000003du,0x00050081u,0x0000000au,0x0000003fu,0x0000003au,0x0000003eu,0x00070058u,0x00000040u,0x00000041u,0x00000037u,0x0000003fu,0x00000002u,0x0000001au,0x00050051u,0x00000006u,0x00000044u,0x00000041u,0x00000000u,0x0003003eu,0x00000036u,0x00000044u,0x0004003du,0x00000008u,0x00000046u,0x0000000eu,0x0004003du,0x0000000au,0x00000047u,0x00000039u,0x0004003du,0x0000000au,0x00000048u,0x00000030u,0x0004003du,0x0000000au,0x00000049u,0x0000000fu,0x00050081u,0x0000000au,0x0000004au,0x00000048u,0x00000049u,0x0004003du,0x0000000au,0x0000004bu,0x0000003cu,0x00050085u,0x0000000au,0x0000004cu,0x0000004au,0x0000004bu,0x00050081u,0x0000000au,0x0000004du,0x00000047u,0x0000004cu,0x00070058u,0x00000040u,0x0000004eu,0x00000046u,0x0000004du,0x00000002u,0x0000001au,0x00050051u,0x00000006u,0x0000004fu,0x0000004eu,0x00000000u,0x0003003eu,0x00000045u,0x0000004fu,0x0004003du,0x00000006u,0x00000050u,0x00000036u,0x0004003du,0x00000006u,0x00000051u,0x00000045u,0x00050083u,0x00000006u,0x00000052u,0x00000050u,0x00000051u,0x0006000cu,0x00000006u,0x00000053u,0x00000001u,0x00000004u,0x00000052u,0x0004003du,0x00000006u,0x00000054u,0x00000019u,0x00050081u,0x00000006u,0x00000055u,0x00000054u,0x00000053u,0x0003003eu,0x00000019u,0x00000055u,0x000200f9u,0x0000002cu,0x000200f8u,0x0000002cu,0x0004003du,0x0000001bu,0x00000056u,0x00000028u,0x00050080u,0x0000001bu,0x00000057u,0x00000056u,0x00000025u,0x0003003eu,0x00000028u,0x00000057u,0x000200f9u,0x00000029u,0x000200f8u,0x0000002bu,0x000200f9u,0x00000022u,0x000200f8u,0x00000022u,0x0004003du,0x0000001bu,0x00000058u,0x0000001du,0x00050080u,0x0000001bu,0x00000059u,0x00000058u,0x00000025u,0x0003003eu,0x0000001du,0x00000059u,0x000200f9u,0x0000001fu,0x000200f8u,0x00000021u,0x0004003du,0x00000006u,0x0000005au,0x00000019u,0x000200feu,0x0000005au,0x00010038u,0x00050036u,0x0000000au,0x00000016u,0x00000000u,0x00000012u,0x00030037u,0x00000009u,0x00000013u,0x00030037u,0x00000009u,0x00000014u,0x00030037u,0x0000000bu,0x00000015u,0x000200f8u,0x00000017u,0x0004003bu,0x00000018u,0x0000005du,0x00000007u,0x0004003bu,0x0000000bu,0x0000005fu,0x00000007u,0x0004003bu,0x0000001cu,0x00000061u,0x00000007u,0x0004003bu,0x0000001cu,0x0000006bu,0x00000007u,0x0004003bu,0x0000000bu,0x00000073u,0x00000007u,0x0004003bu,0x00000018u,0x0000007bu,0x00000007u,0x0004003bu,0x0000000bu,0x0000007cu,0x00000007u,0x0004003bu,0x00000018u,0x0000009eu,0x00000007u,0x0004003bu,0x00000018u,0x000000a1u,0x00000007u,0x0004003bu,0x0000000bu,0x000000a6u,0x00000007u,0x0004003bu,0x00000018u,0x000000a9u,0x00000007u,0x0004003bu,0x0000000bu,0x000000aeu,0x00000007u,0x0004003bu,0x00000018u,0x000000b1u,0x00000007u,0x0004003bu,0x0000000bu,0x000000b5u,0x00000007u,0x0004003bu,0x00000018u,0x000000b8u,0x00000007u,0x0004003bu,0x0000000bu,0x000000bcu,0x00000007u,0x0004003bu,0x00000018u,0x000000bfu,0x00000007u,0x0004003bu,0x00000018u,0x000000c0u,0x00000007u,0x0004003bu,0x00000018u,0x000000c1u,0x00000007u,0x0004003bu,0x00000018u,0x000000c9u,0x00000007u,0x0003003eu,0x0000005du,0x0000005eu,0x0004003du,0x0000000au,0x00000060u,0x00000015u,0x0003003eu,0x0000005fu,0x00000060u,0x0003003eu,0x00000061u,0x00000062u,0x000200f9u,0x00000063u,0x000200f8u,0x00000063u,0x000400f6u,0x00000065u,0x00000066u,0x00000000u,0x000200f9u,0x00000067u,0x000200f8u,0x00000067u,0x0004003du,0x0000001bu,0x00000068u,0x00000061u,0x000500b3u,0x00000026u,0x0000006au,0x00000068u,0x00000069u,0x000400fau,0x0000006au,0x00000064u,0x00000065u,0x000200f8u,0x00000064u,0x0003003eu,0x0000006bu,0x00000062u,0x000200f9u,0x0000006cu,0x000200f8u,0x0000006cu,0x000400f6u,0x0000006eu,0x0000006fu,0x00000000u,0x000200f9u,0x00000070u,0x000200f8u,0x00000070u,0x0004003du,0x0000001bu,0x00000071u,0x0000006bu,0x000500b3u,0x00000026u,0x00000072u,0x00000071u,0x00000069u,0x000400fau,0x00000072u,0x0000006du,0x0000006eu,0x000200f8u,0x0000006du,0x0004003du,0x0000000au,0x00000074u,0x00000015u,0x0004003du,0x0000001bu,0x00000075u,0x0000006bu,0x0004006fu,0x00000006u,0x00000076u,0x00000075u,0x0004003du,0x0000001bu,0x00000077u,0x00000061u,0x0004006fu,0x00000006u,0x00000078u,0x00000077u,0x00050050u,0x0000000au,0x00000079u,0x00000076u,0x00000078u,0x00050081u,0x0000000au,0x0000007au,0x00000074u,0x00000079u,0x0003003eu,0x00000073u,0x0000007au,0x0004003du,0x0000000au,0x0000007du,0x00000073u,0x0003003eu,0x0000007cu,0x0000007du,0x00070039u,0x00000006u,0x0000007eu,0x00000010u,0x00000013u,0x00000014u,0x0000007cu,0x0003003eu,0x0000007bu,0x0000007eu,0x0004003du,0x0000001bu,0x00000080u,0x0000006bu,0x0004006fu,0x00000006u,0x00000081u,0x00000080u,0x0006000cu,0x00000006u,0x00000082u,0x00000001u,0x00000004u,0x00000081u,0x0004003du,0x0000001bu,0x00000083u,0x00000061u,0x0004006fu,0x00000006u,0x00000084u,0x00000083u,0x0006000cu,0x00000006u,0x00000085u,0x00000001u,0x00000004u,0x00000084u,0x00050081u,0x00000006u,0x00000086u,0x00000082u,0x00000085u,0x00050085u,0x00000006u,0x00000087u,0x0000007fu,0x00000086u,0x0004003du,0x00000006u,0x00000088u,0x0000007bu,0x00050081u,0x00000006u,0x00000089u,0x00000088u,0x00000087u,0x0003003eu,0x0000007bu,0x00000089u,0x0004003du,0x00000006u,0x0000008au,0x0000007bu,0x0004003du,0x00000006u,0x0000008bu,0x0000005du,0x000500b8u,0x00000026u,0x0000008cu,0x0000008au,0x0000008bu,0x000300f7u,0x0000008eu,0x00000000u,0x000400fau,0x0000008cu,0x0000008du,0x0000008eu,0x000200f8u,0x0000008du,0x0004003du,0x00000006u,0x0000008fu,0x0000007bu,0x0003003eu,0x0000005du,0x0000008fu,0x0004003du,0x0000000au,0x00000090u,0x00000073u,0x0003003eu,0x0000005fu,0x00000090u,0x000200f9u,0x0000008eu,0x000200f8u,0x0000008eu,0x000200f9u,0x0000006fu,0x000200f8u,0x0000006fu,0x0004003du,0x0000001bu,0x00000091u,0x0000006bu,0x00050080u,0x0000001bu,0x00000092u,0x00000091u,0x00000025u,0x0003003eu,0x0000006bu,0x00000092u,0x000200f9u,0x0000006cu,0x000200f8u,0x0000006eu,0x000200f9u,0x00000066u,0x000200f8u,0x00000066u,0x0004003du,0x0000001bu,0x00000093u,0x00000061u,0x00050080u,0x0000001bu,0x00000094u,0x00000093u,0x00000025u,0x0003003eu,0x00000061u,0x00000094u,0x000200f9u,0x00000063u,0x000200f8u,0x00000065u,0x00050041u,0x00000098u,0x00000099u,0x00000097u,0x00000025u,0x0004003du,0x00000042u,0x0000009au,0x00000099u,0x000500aau,0x00000026u,0x0000009bu,0x0000009au,0x00000043u,0x000300f7u,0x0000009du,0x00000000u,0x000400fau,0x0000009bu,0x0000009cu,0x0000009du,0x000200f8u,0x0000009cu,0x0004003du,0x00000006u,0x0000009fu,0x0000005du,0x00050083u,0x00000006u,0x000000a0u,0x0000009fu,0x0000001au,0x0003003eu,0x0000009eu,0x000000a0u,0x0004003du,0x0000000au,0x000000a2u,0x0000005fu,0x00050081u,0x0000000au,0x000000a5u,0x000000a2u,0x000000a4u,0x0003003eu,0x000000a6u,0x000000a5u,0x00070039u,0x00000006u,0x000000a7u,0x00000010u,0x00000013u,0x00000014u,0x000000a6u,0x00050081u,0x00000006u,0x000000a8u,0x000000a7u,0x0000007fu,0x0003003eu,0x000000a1u,0x000000a8u,0x0004003du,0x0000000au,0x000000aau,0x0000005fu,0x00050081u,0x0000000au,0x000000adu,0x000000aau,0x000000acu,0x0003003eu,0x000000aeu,0x000000adu,0x00070039u,0x00000006u,0x000000afu,0x00000010u,0x00000013u,0x00000014u,0x000000aeu,0x00050081u,0x00000006u,0x000000b0u,0x000000afu,0x0000007fu,0x0003003eu,0x000000a9u,0x000000b0u,0x0004003du,0x0000000au,0x000000b2u,0x0000005fu,0x00050081u,0x0000000au,0x000000b4u,0x000000b2u,0x000000b3u,0x0003003eu,0x000000b5u,0x000000b4u,0x00070039u,0x00000006u,0x000000b6u,0x00000010u,0x00000013u,0x00000014u,0x000000b5u,0x00050081u,0x00000006u,0x000000b7u,0x000000b6u,0x0000007fu,0x0003003eu,0x000000b1u,0x000000b7u,0x0004003du,0x0000000au,0x000000b9u,0x0000005fu,0x00050081u,0x0000000au,0x000000bbu,0x000000b9u,0x000000bau,0x0003003eu,0x000000bcu,0x000000bbu,0x00070039u,0x00000006u,0x000000bdu,0x00000010u,0x00000013u,0x00000014u,0x000000bcu,0x00050081u,0x00000006u,0x000000beu,0x000000bdu,0x0000007fu,0x0003003eu,0x000000b8u,0x000000beu,0x0003003eu,0x000000bfu,0x0000001au,0x0003003eu,0x000000c0u,0x0000001au,0x0004003du,0x00000006u,0x000000c2u,0x000000a1u,0x0004003du,0x00000006u,0x000000c4u,0x0000009eu,0x00050085u,0x00000006u,0x000000c5u,0x000000c3u,0x000000c4u,0x00050083u,0x00000006u,0x000000c6u,0x000000c2u,0x000000c5u,0x0004003du,0x00000006u,0x000000c7u,0x000000a9u,0x00050081u,0x00000006u,0x000000c8u,0x000000c6u,0x000000c7u,0x0003003eu,0x000000c1u,0x000000c8u,0x0004003du,0x00000006u,0x000000cau,0x000000b1u,0x0004003du,0x00000006u,0x000000cbu,0x0000009eu,0x00050085u,0x00000006u,0x000000ccu,0x000000c3u,0x000000cbu,0x00050083u,0x00000006u,0x000000cdu,0x000000cau,0x000000ccu,0x0004003du,0x00000006u,0x000000ceu,0x000000b8u,0x00050081u,0x00000006u,0x000000cfu,0x000000cdu,0x000000ceu,0x0003003eu,0x000000c9u,0x000000cfu,0x0004003du,0x00000006u,0x000000d0u,0x000000c1u,0x000500bau,0x00000026u,0x000000d2u,0x000000d0u,0x000000d1u,0x000300f7u,0x000000d4u,0x00000000u,0x000400fau,0x000000d2u,0x000000d3u,0x000000d4u,0x000200f8u,0x000000d3u,0x0004003du,0x00000006u,0x000000d6u,0x000000a1u,0x0004003du,0x00000006u,0x000000d7u,0x000000a9u,0x00050083u,0x00000006u,0x000000d8u,0x000000d6u,0x000000d7u,0x00050085u,0x00000006u,0x000000d9u,0x000000d5u,0x000000d8u,0x0004003du,0x00000006u,0x000000dau,0x000000c1u,0x00050088u,0x00000006u,0x000000dbu,0x000000d9u,0x000000dau,0x0008000cu,0x00000006u,0x000000ddu,0x00000001u,0x0000002bu,0x000000dbu,0x000000dcu,0x000000d5u,0x0003003eu,0x000000bfu,0x000000ddu,0x000200f9u,0x000000d4u,0x000200f8u,0x000000d4u,0x0004003du,0x00000006u,0x000000deu,0x000000c9u,0x000500bau,0x00000026u,0x000000dfu,0x000000deu,0x000000d1u,0x000300f7u,0x000000e1u,0x00000000u,0x000400fau,0x000000dfu,0x000000e0u,0x000000e1u,0x000200f8u,0x000000e0u,0x0004003du,0x00000006u,0x000000e2u,0x000000b1u,0x0004003du,0x00000006u,0x000000e3u,0x000000b8u,0x00050083u,0x00000006u,0x000000e4u,0x000000e2u,0x000000e3u,0x00050085u,0x00000006u,0x000000e5u,0x000000d5u,0x000000e4u,0x0004003du,0x00000006u,0x000000e6u,0x000000c9u,0x00050088u,0x00000006u,0x000000e7u,0x000000e5u,0x000000e6u,0x0008000cu,0x00000006u,0x000000e8u,0x00000001u,0x0000002bu,0x000000e7u,0x000000dcu,0x000000d5u,0x0003003eu,0x000000c0u,0x000000e8u,0x000200f9u,0x000000e1u,0x000200f8u,0x000000e1u,0x0004003du,0x00000006u,0x000000e9u,0x000000bfu,0x0004003du,0x00000006u,0x000000eau,0x000000c0u,0x00050050u,0x0000000au,0x000000ebu,0x000000e9u,0x000000eau,0x0004003du,0x0000000au,0x000000ecu,0x0000005fu,0x00050081u,0x0000000au,0x000000edu,0x000000ecu,0x000000ebu,0x0003003eu,0x0000005fu,0x000000edu,0x000200f9u,0x0000009du,0x000200f8u,0x0000009du,0x0004003du,0x0000000au,0x000000eeu,0x0000005fu,0x000200feu,0x000000eeu,0x00010038u};
@@ -18,8 +226,8 @@ static const uint32_t OF3_GM_REDUCE_SPV[] = {0x07230203u,0x00010300u,0x0008000bu
static const size_t OF3_GM_REDUCE_LEN = 2584;
static const uint32_t OF3_GM_PREWARP_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00000074u,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x0000000du,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00030005u,0x00000009u,0x00646967u,0x00080005u,0x0000000du,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x00000012u,0x006d6964u,0x00040005u,0x00000016u,0x74734475u,0x00000000u,0x00030005u,0x00000030u,0x00007675u,0x00030005u,0x00000039u,0x00000071u,0x00040005u,0x0000003du,0x6c6f6370u,0x00000030u,0x00030005u,0x0000003fu,0x00004d47u,0x00050006u,0x0000003fu,0x00000000u,0x694c6d67u,0x0000006eu,0x00050006u,0x0000003fu,0x00000001u,0x694c6d67u,0x0000546eu,0x00050006u,0x0000003fu,0x00000002u,0x70416d67u,0x00000070u,0x00050006u,0x0000003fu,0x00000003u,0x70416d67u,0x00005470u,0x00030005u,0x00000041u,0x00000000u,0x00040005u,0x00000049u,0x6c6f6370u,0x00000031u,0x00040005u,0x00000051u,0x72537675u,0x00000063u,0x00030005u,0x00000064u,0x00000076u,0x00040005u,0x00000068u,0x72754375u,0x00000072u,0x00040047u,0x0000000du,0x0000000bu,0x0000001cu,0x00030047u,0x00000016u,0x00000019u,0x00040047u,0x00000016u,0x00000021u,0x00000030u,0x00040047u,0x00000016u,0x00000022u,0x00000000u,0x00030047u,0x0000003fu,0x00000002u,0x00050048u,0x0000003fu,0x00000000u,0x00000023u,0x00000000u,0x00050048u,0x0000003fu,0x00000001u,0x00000023u,0x00000010u,0x00050048u,0x0000003fu,0x00000002u,0x00000023u,0x00000020u,0x00050048u,0x0000003fu,0x00000003u,0x00000023u,0x00000030u,0x00040047u,0x00000041u,0x00000021u,0x00000001u,0x00040047u,0x00000041u,0x00000022u,0x00000000u,0x00040047u,0x00000068u,0x00000021u,0x00000020u,0x00040047u,0x00000068u,0x00000022u,0x00000000u,0x00040047u,0x00000073u,0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00040015u,0x00000006u,0x00000020u,0x00000001u,0x00040017u,0x00000007u,0x00000006u,0x00000002u,0x00040020u,0x00000008u,0x00000007u,0x00000007u,0x00040015u,0x0000000au,0x00000020u,0x00000000u,0x00040017u,0x0000000bu,0x0000000au,0x00000003u,0x00040020u,0x0000000cu,0x00000001u,0x0000000bu,0x0004003bu,0x0000000cu,0x0000000du,0x00000001u,0x00040017u,0x0000000eu,0x0000000au,0x00000002u,0x00030016u,0x00000013u,0x00000020u,0x00090019u,0x00000014u,0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000003u,0x00040020u,0x00000015u,0x00000000u,0x00000014u,0x0004003bu,0x00000015u,0x00000016u,0x00000000u,0x00020014u,0x00000019u,0x0004002bu,0x0000000au,0x0000001au,0x00000000u,0x00040020u,0x0000001bu,0x00000007u,0x00000006u,0x0004002bu,0x0000000au,0x00000024u,0x00000001u,0x00040017u,0x0000002eu,0x00000013u,0x00000002u,0x00040020u,0x0000002fu,0x00000007u,0x0000002eu,0x0004002bu,0x00000013u,0x00000033u,0x3f000000u,0x00040017u,0x0000003eu,0x00000013u,0x00000004u,0x0006001eu,0x0000003fu,0x0000003eu,0x0000003eu,0x0000003eu,0x0000003eu,0x00040020u,0x00000040u,0x00000002u,0x0000003fu,0x0004003bu,0x00000040u,0x00000041u,0x00000002u,0x0004002bu,0x00000006u,0x00000042u,0x00000002u,0x00040020u,0x00000043u,0x00000002u,0x00000013u,0x0004002bu,0x0000000au,0x0000004au,0x00000002u,0x0004002bu,0x0000000au,0x0000004du,0x00000003u,0x00040020u,0x00000054u,0x00000007u,0x00000013u,0x0004002bu,0x00000006u,0x0000005eu,0x00000003u,0x00040020u,0x0000005fu,0x00000002u,0x0000003eu,0x00090019u,0x00000065u,0x00000013u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x00000066u,0x00000065u,0x00040020u,0x00000067u,0x00000000u,0x00000066u,0x0004003bu,0x00000067u,0x00000068u,0x00000000u,0x0004002bu,0x00000013u,0x0000006bu,0x00000000u,0x0004002bu,0x0000000au,0x00000072u,0x00000010u,0x0006002cu,0x0000000bu,0x00000073u,0x00000072u,0x00000072u,0x00000024u,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x00000008u,0x00000009u,0x00000007u,0x0004003bu,0x00000008u,0x00000012u,0x00000007u,0x0004003bu,0x0000002fu,0x00000030u,0x00000007u,0x0004003bu,0x0000002fu,0x00000039u,0x00000007u,0x0004003bu,0x0000002fu,0x0000003du,0x00000007u,0x0004003bu,0x0000002fu,0x00000049u,0x00000007u,0x0004003bu,0x0000002fu,0x00000051u,0x00000007u,0x0004003bu,0x00000054u,0x00000064u,0x00000007u,0x0004003du,0x0000000bu,0x0000000fu,0x0000000du,0x0007004fu,0x0000000eu,0x00000010u,0x0000000fu,0x0000000fu,0x00000000u,0x00000001u,0x0004007cu,0x00000007u,0x00000011u,0x00000010u,0x0003003eu,0x00000009u,0x00000011u,0x0004003du,0x00000014u,0x00000017u,0x00000016u,0x00040068u,0x00000007u,0x00000018u,0x00000017u,0x0003003eu,0x00000012u,0x00000018u,0x00050041u,0x0000001bu,0x0000001cu,0x00000009u,0x0000001au,0x0004003du,0x00000006u,0x0000001du,0x0000001cu,0x00050041u,0x0000001bu,0x0000001eu,0x00000012u,0x0000001au,0x0004003du,0x00000006u,0x0000001fu,0x0000001eu,0x000500afu,0x00000019u,0x00000020u,0x0000001du,0x0000001fu,0x000400a8u,0x00000019u,0x00000021u,0x00000020u,0x000300f7u,0x00000023u,0x00000000u,0x000400fau,0x00000021u,0x00000022u,0x00000023u,0x000200f8u,0x00000022u,0x00050041u,0x0000001bu,0x00000025u,0x00000009u,0x00000024u,0x0004003du,0x00000006u,0x00000026u,0x00000025u,0x00050041u,0x0000001bu,0x00000027u,0x00000012u,0x00000024u,0x0004003du,0x00000006u,0x00000028u,0x00000027u,0x000500afu,0x00000019u,0x00000029u,0x00000026u,0x00000028u,0x000200f9u,0x00000023u,0x000200f8u,0x00000023u,0x000700f5u,0x00000019u,0x0000002au,0x00000020u,0x00000005u,0x00000029u,0x00000022u,0x000300f7u,0x0000002cu,0x00000000u,0x000400fau,0x0000002au,0x0000002bu,0x0000002cu,0x000200f8u,0x0000002bu,0x000100fdu,0x000200f8u,0x0000002cu,0x0004003du,0x00000007u,0x00000031u,0x00000009u,0x0004006fu,0x0000002eu,0x00000032u,0x00000031u,0x00050050u,0x0000002eu,0x00000034u,0x00000033u,0x00000033u,0x00050081u,0x0000002eu,0x00000035u,0x00000032u,0x00000034u,0x0004003du,0x00000007u,0x00000036u,0x00000012u,0x0004006fu,0x0000002eu,0x00000037u,0x00000036u,0x00050088u,0x0000002eu,0x00000038u,0x00000035u,0x00000037u,0x0003003eu,0x00000030u,0x00000038u,0x0004003du,0x0000002eu,0x0000003au,0x00000030u,0x00050050u,0x0000002eu,0x0000003bu,0x00000033u,0x00000033u,0x00050083u,0x0000002eu,0x0000003cu,0x0000003au,0x0000003bu,0x0003003eu,0x00000039u,0x0000003cu,0x00060041u,0x00000043u,0x00000044u,0x00000041u,0x00000042u,0x0000001au,0x0004003du,0x00000013u,0x00000045u,0x00000044u,0x00060041u,0x00000043u,0x00000046u,0x00000041u,0x00000042u,0x00000024u,0x0004003du,0x00000013u,0x00000047u,0x00000046u,0x00050050u,0x0000002eu,0x00000048u,0x00000045u,0x00000047u,0x0003003eu,0x0000003du,0x00000048u,0x00060041u,0x00000043u,0x0000004bu,0x00000041u,0x00000042u,0x0000004au,0x0004003du,0x00000013u,0x0000004cu,0x0000004bu,0x00060041u,0x00000043u,0x0000004eu,0x00000041u,0x00000042u,0x0000004du,0x0004003du,0x00000013u,0x0000004fu,0x0000004eu,0x00050050u,0x0000002eu,0x00000050u,0x0000004cu,0x0000004fu,0x0003003eu,0x00000049u,0x00000050u,0x0004003du,0x0000002eu,0x00000052u,0x00000030u,0x0004003du,0x0000002eu,0x00000053u,0x0000003du,0x00050041u,0x00000054u,0x00000055u,0x00000039u,0x0000001au,0x0004003du,0x00000013u,0x00000056u,0x00000055u,0x0005008eu,0x0000002eu,0x00000057u,0x00000053u,0x00000056u,0x00050081u,0x0000002eu,0x00000058u,0x00000052u,0x00000057u,0x0004003du,0x0000002eu,0x00000059u,0x00000049u,0x00050041u,0x00000054u,0x0000005au,0x00000039u,0x00000024u,0x0004003du,0x00000013u,0x0000005bu,0x0000005au,0x0005008eu,0x0000002eu,0x0000005cu,0x00000059u,0x0000005bu,0x00050081u,0x0000002eu,0x0000005du,0x00000058u,0x0000005cu,0x00050041u,0x0000005fu,0x00000060u,0x00000041u,0x0000005eu,0x0004003du,0x0000003eu,0x00000061u,0x00000060u,0x0007004fu,0x0000002eu,0x00000062u,0x00000061u,0x00000061u,0x00000000u,0x00000001u,0x00050081u,0x0000002eu,0x00000063u,0x0000005du,0x00000062u,0x0003003eu,0x00000051u,0x00000063u,0x0004003du,0x00000066u,0x00000069u,0x00000068u,0x0004003du,0x0000002eu,0x0000006au,0x00000051u,0x00070058u,0x0000003eu,0x0000006cu,0x00000069u,0x0000006au,0x00000002u,0x0000006bu,0x00050051u,0x00000013u,0x0000006du,0x0000006cu,0x00000000u,0x0003003eu,0x00000064u,0x0000006du,0x0004003du,0x00000014u,0x0000006eu,0x00000016u,0x0004003du,0x00000007u,0x0000006fu,0x00000009u,0x0004003du,0x00000013u,0x00000070u,0x00000064u,0x00070050u,0x0000003eu,0x00000071u,0x00000070u,0x0000006bu,0x0000006bu,0x0000006bu,0x00040063u,0x0000006eu,0x0000006fu,0x00000071u,0x000100fdu,0x00010038u};
static const size_t OF3_GM_PREWARP_LEN = 706;
-static const uint32_t OF3_FLOWREG_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00000144u,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x00000037u,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00060005u,0x0000000eu,0x63746566u,0x76285568u,0x763b3269u,0x003b3269u,0x00030005u,0x0000000cu,0x00000070u,0x00030005u,0x0000000du,0x006d6964u,0x00060005u,0x00000013u,0x63746566u,0x76284c68u,0x763b3269u,0x003b3269u,0x00030005u,0x00000011u,0x00000070u,0x00030005u,0x00000012u,0x006d6964u,0x00040005u,0x00000018u,0x6f6c4675u,0x006e4977u,0x00040005u,0x00000026u,0x6d754c75u,0x00000061u,0x00030005u,0x00000034u,0x00646967u,0x00080005u,0x00000037u,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x0000003cu,0x006d6964u,0x00030005u,0x00000055u,0x00007464u,0x00030005u,0x00000056u,0x00000055u,0x00050006u,0x00000056u,0x00000000u,0x61726170u,0x0000736du,0x00030005u,0x00000058u,0x00000000u,0x00040005u,0x0000005cu,0x626d616cu,0x00006164u,0x00050005u,0x0000005fu,0x65676465u,0x68706c41u,0x00000061u,0x00040005u,0x00000063u,0x54737065u,0x00000056u,0x00030005u,0x00000068u,0x00004375u,0x00040005u,0x00000069u,0x61726170u,0x0000006du,0x00040005u,0x0000006bu,0x61726170u,0x0000006du,0x00030005u,0x0000006eu,0x00004c75u,0x00040005u,0x00000073u,0x61726170u,0x0000006du,0x00040005u,0x00000074u,0x61726170u,0x0000006du,0x00030005u,0x00000077u,0x00005275u,0x00040005u,0x0000007bu,0x61726170u,0x0000006du,0x00040005u,0x0000007cu,0x61726170u,0x0000006du,0x00030005u,0x0000007fu,0x00005575u,0x00040005u,0x00000083u,0x61726170u,0x0000006du,0x00040005u,0x00000084u,0x61726170u,0x0000006du,0x00030005u,0x00000087u,0x00004475u,0x00040005u,0x0000008bu,0x61726170u,0x0000006du,0x00040005u,0x0000008cu,0x61726170u,0x0000006du,0x00040005u,0x0000008fu,0x6d69646cu,0x00000000u,0x00030005u,0x00000093u,0x00004c6cu,0x00040005u,0x00000096u,0x61726170u,0x0000006du,0x00040005u,0x00000097u,0x61726170u,0x0000006du,0x00030005u,0x0000009au,0x0000526cu,0x00040005u,0x0000009du,0x61726170u,0x0000006du,0x00040005u,0x0000009eu,0x61726170u,0x0000006du,0x00030005u,0x000000a1u,0x0000556cu,0x00040005u,0x000000a4u,0x61726170u,0x0000006du,0x00040005u,0x000000a5u,0x61726170u,0x0000006du,0x00030005u,0x000000a8u,0x0000446cu,0x00040005u,0x000000abu,0x61726170u,0x0000006du,0x00040005u,0x000000acu,0x61726170u,0x0000006du,0x00040005u,0x000000afu,0x67616d67u,0x00000000u,0x00030005u,0x000000bbu,0x00000067u,0x00030005u,0x000000c4u,0x00004c64u,0x00030005u,0x000000c8u,0x00005264u,0x00030005u,0x000000ccu,0x00005564u,0x00030005u,0x000000d0u,0x00004464u,0x00030005u,0x000000d4u,0x00003265u,0x00030005u,0x000000d8u,0x00004c77u,0x00030005u,0x000000e1u,0x00005277u,0x00030005u,0x000000eau,0x00005577u,0x00030005u,0x000000f3u,0x00004477u,0x00040005u,0x000000fcu,0x576d7573u,0x00000000u,0x00040005u,0x00000104u,0x576d7573u,0x00000055u,0x00040005u,0x00000114u,0x66694475u,0x00000066u,0x00030005u,0x00000120u,0x00003066u,0x00050005u,0x00000121u,0x6f6c4675u,0x73624f77u,0x00000000u,0x00040005u,0x0000012au,0x74656874u,0x00000061u,0x00030005u,0x0000012eu,0x00000072u,0x00040005u,0x00000132u,0x77654e75u,0x00000000u,0x00050005u,0x0000013eu,0x6f6c4675u,0x74754f77u,0x00000000u,0x00040047u,0x00000018u,0x00000021u,0x00000020u,0x00040047u,0x00000018u,0x00000022u,0x00000000u,0x00040047u,0x00000026u,0x00000021u,0x00000022u,0x00040047u,0x00000026u,0x00000022u,0x00000000u,0x00040047u,0x00000037u,0x0000000bu,0x0000001cu,0x00030047u,0x00000056u,0x00000002u,0x00050048u,0x00000056u,0x00000000u,0x00000023u,0x00000000u,0x00040047u,0x00000058u,0x00000021u,0x00000000u,0x00040047u,0x00000058u,0x00000022u,0x00000000u,0x00040047u,0x00000121u,0x00000021u,0x00000021u,0x00040047u,0x00000121u,0x00000022u,0x00000000u,0x00030047u,0x0000013eu,0x00000019u,0x00040047u,0x0000013eu,0x00000021u,0x00000030u,0x00040047u,0x0000013eu,0x00000022u,0x00000000u,0x00040047u,0x00000143u,0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00040015u,0x00000006u,0x00000020u,0x00000001u,0x00040017u,0x00000007u,0x00000006u,0x00000002u,0x00040020u,0x00000008u,0x00000007u,0x00000007u,0x00030016u,0x00000009u,0x00000020u,0x00040017u,0x0000000au,0x00000009u,0x00000004u,0x00050021u,0x0000000bu,0x0000000au,0x00000008u,0x00000008u,0x00050021u,0x00000010u,0x00000009u,0x00000008u,0x00000008u,0x00090019u,0x00000015u,0x00000009u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x00000016u,0x00000015u,0x00040020u,0x00000017u,0x00000000u,0x00000016u,0x0004003bu,0x00000017u,0x00000018u,0x00000000u,0x0004002bu,0x00000006u,0x0000001bu,0x00000000u,0x0005002cu,0x00000007u,0x0000001cu,0x0000001bu,0x0000001bu,0x0004002bu,0x00000006u,0x0000001eu,0x00000001u,0x0004003bu,0x00000017u,0x00000026u,0x00000000u,0x00040015u,0x0000002fu,0x00000020u,0x00000000u,0x0004002bu,0x0000002fu,0x00000030u,0x00000000u,0x00040017u,0x00000035u,0x0000002fu,0x00000003u,0x00040020u,0x00000036u,0x00000001u,0x00000035u,0x0004003bu,0x00000036u,0x00000037u,0x00000001u,0x00040017u,0x00000038u,0x0000002fu,0x00000002u,0x00020014u,0x00000040u,0x00040020u,0x00000041u,0x00000007u,0x00000006u,0x0004002bu,0x0000002fu,0x0000004au,0x00000001u,0x00040020u,0x00000054u,0x00000007u,0x00000009u,0x0003001eu,0x00000056u,0x0000000au,0x00040020u,0x00000057u,0x00000002u,0x00000056u,0x0004003bu,0x00000057u,0x00000058u,0x00000002u,0x00040020u,0x00000059u,0x00000002u,0x00000009u,0x0004002bu,0x0000002fu,0x00000060u,0x00000002u,0x0004002bu,0x0000002fu,0x00000064u,0x00000003u,0x00040020u,0x00000067u,0x00000007u,0x0000000au,0x0004002bu,0x00000006u,0x00000070u,0xffffffffu,0x0005002cu,0x00000007u,0x00000071u,0x00000070u,0x0000001bu,0x0005002cu,0x00000007u,0x00000079u,0x0000001eu,0x0000001bu,0x0005002cu,0x00000007u,0x00000081u,0x0000001bu,0x00000070u,0x0005002cu,0x00000007u,0x00000089u,0x0000001bu,0x0000001eu,0x0004002bu,0x00000009u,0x000000b0u,0x3f000000u,0x00040017u,0x000000b7u,0x00000009u,0x00000002u,0x0004002bu,0x00000009u,0x000000c1u,0x3d4ccccdu,0x0004002bu,0x00000009u,0x000000c2u,0x3f800000u,0x0004003bu,0x00000017u,0x00000121u,0x00000000u,0x00090019u,0x0000013cu,0x00000009u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000002u,0x00040020u,0x0000013du,0x00000000u,0x0000013cu,0x0004003bu,0x0000013du,0x0000013eu,0x00000000u,0x0004002bu,0x0000002fu,0x00000142u,0x00000010u,0x0006002cu,0x00000035u,0x00000143u,0x00000142u,0x00000142u,0x0000004au,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x00000008u,0x00000034u,0x00000007u,0x0004003bu,0x00000008u,0x0000003cu,0x00000007u,0x0004003bu,0x00000054u,0x00000055u,0x00000007u,0x0004003bu,0x00000054u,0x0000005cu,0x00000007u,0x0004003bu,0x00000054u,0x0000005fu,0x00000007u,0x0004003bu,0x00000054u,0x00000063u,0x00000007u,0x0004003bu,0x00000067u,0x00000068u,0x00000007u,0x0004003bu,0x00000008u,0x00000069u,0x00000007u,0x0004003bu,0x00000008u,0x0000006bu,0x00000007u,0x0004003bu,0x00000067u,0x0000006eu,0x00000007u,0x0004003bu,0x00000008u,0x00000073u,0x00000007u,0x0004003bu,0x00000008u,0x00000074u,0x00000007u,0x0004003bu,0x00000067u,0x00000077u,0x00000007u,0x0004003bu,0x00000008u,0x0000007bu,0x00000007u,0x0004003bu,0x00000008u,0x0000007cu,0x00000007u,0x0004003bu,0x00000067u,0x0000007fu,0x00000007u,0x0004003bu,0x00000008u,0x00000083u,0x00000007u,0x0004003bu,0x00000008u,0x00000084u,0x00000007u,0x0004003bu,0x00000067u,0x00000087u,0x00000007u,0x0004003bu,0x00000008u,0x0000008bu,0x00000007u,0x0004003bu,0x00000008u,0x0000008cu,0x00000007u,0x0004003bu,0x00000008u,0x0000008fu,0x00000007u,0x0004003bu,0x00000054u,0x00000093u,0x00000007u,0x0004003bu,0x00000008u,0x00000096u,0x00000007u,0x0004003bu,0x00000008u,0x00000097u,0x00000007u,0x0004003bu,0x00000054u,0x0000009au,0x00000007u,0x0004003bu,0x00000008u,0x0000009du,0x00000007u,0x0004003bu,0x00000008u,0x0000009eu,0x00000007u,0x0004003bu,0x00000054u,0x000000a1u,0x00000007u,0x0004003bu,0x00000008u,0x000000a4u,0x00000007u,0x0004003bu,0x00000008u,0x000000a5u,0x00000007u,0x0004003bu,0x00000054u,0x000000a8u,0x00000007u,0x0004003bu,0x00000008u,0x000000abu,0x00000007u,0x0004003bu,0x00000008u,0x000000acu,0x00000007u,0x0004003bu,0x00000054u,0x000000afu,0x00000007u,0x0004003bu,0x00000054u,0x000000bbu,0x00000007u,0x0004003bu,0x00000067u,0x000000c4u,0x00000007u,0x0004003bu,0x00000067u,0x000000c8u,0x00000007u,0x0004003bu,0x00000067u,0x000000ccu,0x00000007u,0x0004003bu,0x00000067u,0x000000d0u,0x00000007u,0x0004003bu,0x00000054u,0x000000d4u,0x00000007u,0x0004003bu,0x00000054u,0x000000d8u,0x00000007u,0x0004003bu,0x00000054u,0x000000e1u,0x00000007u,0x0004003bu,0x00000054u,0x000000eau,0x00000007u,0x0004003bu,0x00000054u,0x000000f3u,0x00000007u,0x0004003bu,0x00000054u,0x000000fcu,0x00000007u,0x0004003bu,0x00000067u,0x00000104u,0x00000007u,0x0004003bu,0x00000067u,0x00000114u,0x00000007u,0x0004003bu,0x00000067u,0x00000120u,0x00000007u,0x0004003bu,0x00000054u,0x0000012au,0x00000007u,0x0004003bu,0x00000067u,0x0000012eu,0x00000007u,0x0004003bu,0x00000067u,0x00000132u,0x00000007u,0x0004003du,0x00000035u,0x00000039u,0x00000037u,0x0007004fu,0x00000038u,0x0000003au,0x00000039u,0x00000039u,0x00000000u,0x00000001u,0x0004007cu,0x00000007u,0x0000003bu,0x0000003au,0x0003003eu,0x00000034u,0x0000003bu,0x0004003du,0x00000016u,0x0000003du,0x00000018u,0x00040064u,0x00000015u,0x0000003eu,0x0000003du,0x00050067u,0x00000007u,0x0000003fu,0x0000003eu,0x0000001bu,0x0003003eu,0x0000003cu,0x0000003fu,0x00050041u,0x00000041u,0x00000042u,0x00000034u,0x00000030u,0x0004003du,0x00000006u,0x00000043u,0x00000042u,0x00050041u,0x00000041u,0x00000044u,0x0000003cu,0x00000030u,0x0004003du,0x00000006u,0x00000045u,0x00000044u,0x000500afu,0x00000040u,0x00000046u,0x00000043u,0x00000045u,0x000400a8u,0x00000040u,0x00000047u,0x00000046u,0x000300f7u,0x00000049u,0x00000000u,0x000400fau,0x00000047u,0x00000048u,0x00000049u,0x000200f8u,0x00000048u,0x00050041u,0x00000041u,0x0000004bu,0x00000034u,0x0000004au,0x0004003du,0x00000006u,0x0000004cu,0x0000004bu,0x00050041u,0x00000041u,0x0000004du,0x0000003cu,0x0000004au,0x0004003du,0x00000006u,0x0000004eu,0x0000004du,0x000500afu,0x00000040u,0x0000004fu,0x0000004cu,0x0000004eu,0x000200f9u,0x00000049u,0x000200f8u,0x00000049u,0x000700f5u,0x00000040u,0x00000050u,0x00000046u,0x00000005u,0x0000004fu,0x00000048u,0x000300f7u,0x00000052u,0x00000000u,0x000400fau,0x00000050u,0x00000051u,0x00000052u,0x000200f8u,0x00000051u,0x000100fdu,0x000200f8u,0x00000052u,0x00060041u,0x00000059u,0x0000005au,0x00000058u,0x0000001bu,0x00000030u,0x0004003du,0x00000009u,0x0000005bu,0x0000005au,0x0003003eu,0x00000055u,0x0000005bu,0x00060041u,0x00000059u,0x0000005du,0x00000058u,0x0000001bu,0x0000004au,0x0004003du,0x00000009u,0x0000005eu,0x0000005du,0x0003003eu,0x0000005cu,0x0000005eu,0x00060041u,0x00000059u,0x00000061u,0x00000058u,0x0000001bu,0x00000060u,0x0004003du,0x00000009u,0x00000062u,0x00000061u,0x0003003eu,0x0000005fu,0x00000062u,0x00060041u,0x00000059u,0x00000065u,0x00000058u,0x0000001bu,0x00000064u,0x0004003du,0x00000009u,0x00000066u,0x00000065u,0x0003003eu,0x00000063u,0x00000066u,0x0004003du,0x00000007u,0x0000006au,0x00000034u,0x0003003eu,0x00000069u,0x0000006au,0x0004003du,0x00000007u,0x0000006cu,0x0000003cu,0x0003003eu,0x0000006bu,0x0000006cu,0x00060039u,0x0000000au,0x0000006du,0x0000000eu,0x00000069u,0x0000006bu,0x0003003eu,0x00000068u,0x0000006du,0x0004003du,0x00000007u,0x0000006fu,0x00000034u,0x00050080u,0x00000007u,0x00000072u,0x0000006fu,0x00000071u,0x0003003eu,0x00000073u,0x00000072u,0x0004003du,0x00000007u,0x00000075u,0x0000003cu,0x0003003eu,0x00000074u,0x00000075u,0x00060039u,0x0000000au,0x00000076u,0x0000000eu,0x00000073u,0x00000074u,0x0003003eu,0x0000006eu,0x00000076u,0x0004003du,0x00000007u,0x00000078u,0x00000034u,0x00050080u,0x00000007u,0x0000007au,0x00000078u,0x00000079u,0x0003003eu,0x0000007bu,0x0000007au,0x0004003du,0x00000007u,0x0000007du,0x0000003cu,0x0003003eu,0x0000007cu,0x0000007du,0x00060039u,0x0000000au,0x0000007eu,0x0000000eu,0x0000007bu,0x0000007cu,0x0003003eu,0x00000077u,0x0000007eu,0x0004003du,0x00000007u,0x00000080u,0x00000034u,0x00050080u,0x00000007u,0x00000082u,0x00000080u,0x00000081u,0x0003003eu,0x00000083u,0x00000082u,0x0004003du,0x00000007u,0x00000085u,0x0000003cu,0x0003003eu,0x00000084u,0x00000085u,0x00060039u,0x0000000au,0x00000086u,0x0000000eu,0x00000083u,0x00000084u,0x0003003eu,0x0000007fu,0x00000086u,0x0004003du,0x00000007u,0x00000088u,0x00000034u,0x00050080u,0x00000007u,0x0000008au,0x00000088u,0x00000089u,0x0003003eu,0x0000008bu,0x0000008au,0x0004003du,0x00000007u,0x0000008du,0x0000003cu,0x0003003eu,0x0000008cu,0x0000008du,0x00060039u,0x0000000au,0x0000008eu,0x0000000eu,0x0000008bu,0x0000008cu,0x0003003eu,0x00000087u,0x0000008eu,0x0004003du,0x00000016u,0x00000090u,0x00000026u,0x00040064u,0x00000015u,0x00000091u,0x00000090u,0x00050067u,0x00000007u,0x00000092u,0x00000091u,0x0000001bu,0x0003003eu,0x0000008fu,0x00000092u,0x0004003du,0x00000007u,0x00000094u,0x00000034u,0x00050080u,0x00000007u,0x00000095u,0x00000094u,0x00000071u,0x0003003eu,0x00000096u,0x00000095u,0x0004003du,0x00000007u,0x00000098u,0x0000008fu,0x0003003eu,0x00000097u,0x00000098u,0x00060039u,0x00000009u,0x00000099u,0x00000013u,0x00000096u,0x00000097u,0x0003003eu,0x00000093u,0x00000099u,0x0004003du,0x00000007u,0x0000009bu,0x00000034u,0x00050080u,0x00000007u,0x0000009cu,0x0000009bu,0x00000079u,0x0003003eu,0x0000009du,0x0000009cu,0x0004003du,0x00000007u,0x0000009fu,0x0000008fu,0x0003003eu,0x0000009eu,0x0000009fu,0x00060039u,0x00000009u,0x000000a0u,0x00000013u,0x0000009du,0x0000009eu,0x0003003eu,0x0000009au,0x000000a0u,0x0004003du,0x00000007u,0x000000a2u,0x00000034u,0x00050080u,0x00000007u,0x000000a3u,0x000000a2u,0x00000081u,0x0003003eu,0x000000a4u,0x000000a3u,0x0004003du,0x00000007u,0x000000a6u,0x0000008fu,0x0003003eu,0x000000a5u,0x000000a6u,0x00060039u,0x00000009u,0x000000a7u,0x00000013u,0x000000a4u,0x000000a5u,0x0003003eu,0x000000a1u,0x000000a7u,0x0004003du,0x00000007u,0x000000a9u,0x00000034u,0x00050080u,0x00000007u,0x000000aau,0x000000a9u,0x00000089u,0x0003003eu,0x000000abu,0x000000aau,0x0004003du,0x00000007u,0x000000adu,0x0000008fu,0x0003003eu,0x000000acu,0x000000adu,0x00060039u,0x00000009u,0x000000aeu,0x00000013u,0x000000abu,0x000000acu,0x0003003eu,0x000000a8u,0x000000aeu,0x0004003du,0x00000009u,0x000000b1u,0x0000009au,0x0004003du,0x00000009u,0x000000b2u,0x00000093u,0x00050083u,0x00000009u,0x000000b3u,0x000000b1u,0x000000b2u,0x0004003du,0x00000009u,0x000000b4u,0x000000a8u,0x0004003du,0x00000009u,0x000000b5u,0x000000a1u,0x00050083u,0x00000009u,0x000000b6u,0x000000b4u,0x000000b5u,0x00050050u,0x000000b7u,0x000000b8u,0x000000b3u,0x000000b6u,0x0006000cu,0x00000009u,0x000000b9u,0x00000001u,0x00000042u,0x000000b8u,0x00050085u,0x00000009u,0x000000bau,0x000000b0u,0x000000b9u,0x0003003eu,0x000000afu,0x000000bau,0x0004003du,0x00000009u,0x000000bcu,0x0000005fu,0x0004007fu,0x00000009u,0x000000bdu,0x000000bcu,0x0004003du,0x00000009u,0x000000beu,0x000000afu,0x00050085u,0x00000009u,0x000000bfu,0x000000bdu,0x000000beu,0x0006000cu,0x00000009u,0x000000c0u,0x00000001u,0x0000001bu,0x000000bfu,0x0008000cu,0x00000009u,0x000000c3u,0x00000001u,0x0000002bu,0x000000c0u,0x000000c1u,0x000000c2u,0x0003003eu,0x000000bbu,0x000000c3u,0x0004003du,0x0000000au,0x000000c5u,0x0000006eu,0x0004003du,0x0000000au,0x000000c6u,0x00000068u,0x00050083u,0x0000000au,0x000000c7u,0x000000c5u,0x000000c6u,0x0003003eu,0x000000c4u,0x000000c7u,0x0004003du,0x0000000au,0x000000c9u,0x00000077u,0x0004003du,0x0000000au,0x000000cau,0x00000068u,0x00050083u,0x0000000au,0x000000cbu,0x000000c9u,0x000000cau,0x0003003eu,0x000000c8u,0x000000cbu,0x0004003du,0x0000000au,0x000000cdu,0x0000007fu,0x0004003du,0x0000000au,0x000000ceu,0x00000068u,0x00050083u,0x0000000au,0x000000cfu,0x000000cdu,0x000000ceu,0x0003003eu,0x000000ccu,0x000000cfu,0x0004003du,0x0000000au,0x000000d1u,0x00000087u,0x0004003du,0x0000000au,0x000000d2u,0x00000068u,0x00050083u,0x0000000au,0x000000d3u,0x000000d1u,0x000000d2u,0x0003003eu,0x000000d0u,0x000000d3u,0x0004003du,0x00000009u,0x000000d5u,0x00000063u,0x0004003du,0x00000009u,0x000000d6u,0x00000063u,0x00050085u,0x00000009u,0x000000d7u,0x000000d5u,0x000000d6u,0x0003003eu,0x000000d4u,0x000000d7u,0x0004003du,0x00000009u,0x000000d9u,0x000000bbu,0x0004003du,0x0000000au,0x000000dau,0x000000c4u,0x0004003du,0x0000000au,0x000000dbu,0x000000c4u,0x00050094u,0x00000009u,0x000000dcu,0x000000dau,0x000000dbu,0x0004003du,0x00000009u,0x000000ddu,0x000000d4u,0x00050081u,0x00000009u,0x000000deu,0x000000dcu,0x000000ddu,0x0006000cu,0x00000009u,0x000000dfu,0x00000001u,0x00000020u,0x000000deu,0x00050085u,0x00000009u,0x000000e0u,0x000000d9u,0x000000dfu,0x0003003eu,0x000000d8u,0x000000e0u,0x0004003du,0x00000009u,0x000000e2u,0x000000bbu,0x0004003du,0x0000000au,0x000000e3u,0x000000c8u,0x0004003du,0x0000000au,0x000000e4u,0x000000c8u,0x00050094u,0x00000009u,0x000000e5u,0x000000e3u,0x000000e4u,0x0004003du,0x00000009u,0x000000e6u,0x000000d4u,0x00050081u,0x00000009u,0x000000e7u,0x000000e5u,0x000000e6u,0x0006000cu,0x00000009u,0x000000e8u,0x00000001u,0x00000020u,0x000000e7u,0x00050085u,0x00000009u,0x000000e9u,0x000000e2u,0x000000e8u,0x0003003eu,0x000000e1u,0x000000e9u,0x0004003du,0x00000009u,0x000000ebu,0x000000bbu,0x0004003du,0x0000000au,0x000000ecu,0x000000ccu,0x0004003du,0x0000000au,0x000000edu,0x000000ccu,0x00050094u,0x00000009u,0x000000eeu,0x000000ecu,0x000000edu,0x0004003du,0x00000009u,0x000000efu,0x000000d4u,0x00050081u,0x00000009u,0x000000f0u,0x000000eeu,0x000000efu,0x0006000cu,0x00000009u,0x000000f1u,0x00000001u,0x00000020u,0x000000f0u,0x00050085u,0x00000009u,0x000000f2u,0x000000ebu,0x000000f1u,0x0003003eu,0x000000eau,0x000000f2u,0x0004003du,0x00000009u,0x000000f4u,0x000000bbu,0x0004003du,0x0000000au,0x000000f5u,0x000000d0u,0x0004003du,0x0000000au,0x000000f6u,0x000000d0u,0x00050094u,0x00000009u,0x000000f7u,0x000000f5u,0x000000f6u,0x0004003du,0x00000009u,0x000000f8u,0x000000d4u,0x00050081u,0x00000009u,0x000000f9u,0x000000f7u,0x000000f8u,0x0006000cu,0x00000009u,0x000000fau,0x00000001u,0x00000020u,0x000000f9u,0x00050085u,0x00000009u,0x000000fbu,0x000000f4u,0x000000fau,0x0003003eu,0x000000f3u,0x000000fbu,0x0004003du,0x00000009u,0x000000fdu,0x000000d8u,0x0004003du,0x00000009u,0x000000feu,0x000000e1u,0x00050081u,0x00000009u,0x000000ffu,0x000000fdu,0x000000feu,0x0004003du,0x00000009u,0x00000100u,0x000000eau,0x00050081u,0x00000009u,0x00000101u,0x000000ffu,0x00000100u,0x0004003du,0x00000009u,0x00000102u,0x000000f3u,0x00050081u,0x00000009u,0x00000103u,0x00000101u,0x00000102u,0x0003003eu,0x000000fcu,0x00000103u,0x0004003du,0x00000009u,0x00000105u,0x000000d8u,0x0004003du,0x0000000au,0x00000106u,0x0000006eu,0x0005008eu,0x0000000au,0x00000107u,0x00000106u,0x00000105u,0x0004003du,0x00000009u,0x00000108u,0x000000e1u,0x0004003du,0x0000000au,0x00000109u,0x00000077u,0x0005008eu,0x0000000au,0x0000010au,0x00000109u,0x00000108u,0x00050081u,0x0000000au,0x0000010bu,0x00000107u,0x0000010au,0x0004003du,0x00000009u,0x0000010cu,0x000000eau,0x0004003du,0x0000000au,0x0000010du,0x0000007fu,0x0005008eu,0x0000000au,0x0000010eu,0x0000010du,0x0000010cu,0x00050081u,0x0000000au,0x0000010fu,0x0000010bu,0x0000010eu,0x0004003du,0x00000009u,0x00000110u,0x000000f3u,0x0004003du,0x0000000au,0x00000111u,0x00000087u,0x0005008eu,0x0000000au,0x00000112u,0x00000111u,0x00000110u,0x00050081u,0x0000000au,0x00000113u,0x0000010fu,0x00000112u,0x0003003eu,0x00000104u,0x00000113u,0x0004003du,0x0000000au,0x00000115u,0x00000068u,0x0004003du,0x00000009u,0x00000116u,0x00000055u,0x0004003du,0x0000000au,0x00000117u,0x00000104u,0x0005008eu,0x0000000au,0x00000118u,0x00000117u,0x00000116u,0x00050081u,0x0000000au,0x00000119u,0x00000115u,0x00000118u,0x0004003du,0x00000009u,0x0000011au,0x00000055u,0x0004003du,0x00000009u,0x0000011bu,0x000000fcu,0x00050085u,0x00000009u,0x0000011cu,0x0000011au,0x0000011bu,0x00050081u,0x00000009u,0x0000011du,0x000000c2u,0x0000011cu,0x00070050u,0x0000000au,0x0000011eu,0x0000011du,0x0000011du,0x0000011du,0x0000011du,0x00050088u,0x0000000au,0x0000011fu,0x00000119u,0x0000011eu,0x0003003eu,0x00000114u,0x0000011fu,0x0004003du,0x00000016u,0x00000122u,0x00000121u,0x0004003du,0x00000007u,0x00000123u,0x00000034u,0x0004003du,0x00000007u,0x00000124u,0x0000003cu,0x00050050u,0x00000007u,0x00000125u,0x0000001eu,0x0000001eu,0x00050082u,0x00000007u,0x00000126u,0x00000124u,0x00000125u,0x0008000cu,0x00000007u,0x00000127u,0x00000001u,0x0000002du,0x00000123u,0x0000001cu,0x00000126u,0x00040064u,0x00000015u,0x00000128u,0x00000122u,0x0007005fu,0x0000000au,0x00000129u,0x00000128u,0x00000127u,0x00000002u,0x0000001bu,0x0003003eu,0x00000120u,0x00000129u,0x0004003du,0x00000009u,0x0000012bu,0x00000055u,0x0004003du,0x00000009u,0x0000012cu,0x0000005cu,0x00050085u,0x00000009u,0x0000012du,0x0000012bu,0x0000012cu,0x0003003eu,0x0000012au,0x0000012du,0x0004003du,0x0000000au,0x0000012fu,0x00000114u,0x0004003du,0x0000000au,0x00000130u,0x00000120u,0x00050083u,0x0000000au,0x00000131u,0x0000012fu,0x00000130u,0x0003003eu,0x0000012eu,0x00000131u,0x0004003du,0x0000000au,0x00000133u,0x00000114u,0x0004003du,0x0000000au,0x00000134u,0x0000012eu,0x0004003du,0x00000009u,0x00000135u,0x0000012au,0x0004007fu,0x00000009u,0x00000136u,0x00000135u,0x00070050u,0x0000000au,0x00000137u,0x00000136u,0x00000136u,0x00000136u,0x00000136u,0x0004003du,0x00000009u,0x00000138u,0x0000012au,0x00070050u,0x0000000au,0x00000139u,0x00000138u,0x00000138u,0x00000138u,0x00000138u,0x0008000cu,0x0000000au,0x0000013au,0x00000001u,0x0000002bu,0x00000134u,0x00000137u,0x00000139u,0x00050083u,0x0000000au,0x0000013bu,0x00000133u,0x0000013au,0x0003003eu,0x00000132u,0x0000013bu,0x0004003du,0x0000013cu,0x0000013fu,0x0000013eu,0x0004003du,0x00000007u,0x00000140u,0x00000034u,0x0004003du,0x0000000au,0x00000141u,0x00000132u,0x00040063u,0x0000013fu,0x00000140u,0x00000141u,0x000100fdu,0x00010038u,0x00050036u,0x0000000au,0x0000000eu,0x00000000u,0x0000000bu,0x00030037u,0x00000008u,0x0000000cu,0x00030037u,0x00000008u,0x0000000du,0x000200f8u,0x0000000fu,0x0004003du,0x00000016u,0x00000019u,0x00000018u,0x0004003du,0x00000007u,0x0000001au,0x0000000cu,0x0004003du,0x00000007u,0x0000001du,0x0000000du,0x00050050u,0x00000007u,0x0000001fu,0x0000001eu,0x0000001eu,0x00050082u,0x00000007u,0x00000020u,0x0000001du,0x0000001fu,0x0008000cu,0x00000007u,0x00000021u,0x00000001u,0x0000002du,0x0000001au,0x0000001cu,0x00000020u,0x00040064u,0x00000015u,0x00000022u,0x00000019u,0x0007005fu,0x0000000au,0x00000023u,0x00000022u,0x00000021u,0x00000002u,0x0000001bu,0x000200feu,0x00000023u,0x00010038u,0x00050036u,0x00000009u,0x00000013u,0x00000000u,0x00000010u,0x00030037u,0x00000008u,0x00000011u,0x00030037u,0x00000008u,0x00000012u,0x000200f8u,0x00000014u,0x0004003du,0x00000016u,0x00000027u,0x00000026u,0x0004003du,0x00000007u,0x00000028u,0x00000011u,0x0004003du,0x00000007u,0x00000029u,0x00000012u,0x00050050u,0x00000007u,0x0000002au,0x0000001eu,0x0000001eu,0x00050082u,0x00000007u,0x0000002bu,0x00000029u,0x0000002au,0x0008000cu,0x00000007u,0x0000002cu,0x00000001u,0x0000002du,0x00000028u,0x0000001cu,0x0000002bu,0x00040064u,0x00000015u,0x0000002du,0x00000027u,0x0007005fu,0x0000000au,0x0000002eu,0x0000002du,0x0000002cu,0x00000002u,0x0000001bu,0x00050051u,0x00000009u,0x00000031u,0x0000002eu,0x00000000u,0x000200feu,0x00000031u,0x00010038u};
-static const size_t OF3_FLOWREG_LEN = 1936;
+static const uint32_t OF3_FLOWREG_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00000196u,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x00000037u,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00040005u,0x00000018u,0x6f6c4675u,0x006e4977u,0x00040005u,0x00000026u,0x6d754c75u,0x00000061u,0x00080005u,0x00000037u,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x00000056u,0x00000055u,0x00050006u,0x00000056u,0x00000000u,0x61726170u,0x0000736du,0x00030005u,0x00000058u,0x00000000u,0x00050005u,0x00000118u,0x6f6c4675u,0x73624f77u,0x00000000u,0x00050005u,0x00000131u,0x6f6c4675u,0x74754f77u,0x00000000u,0x00040047u,0x00000018u,0x00000021u,0x00000020u,0x00040047u,0x00000018u,0x00000022u,0x00000000u,0x00040047u,0x00000026u,0x00000021u,0x00000022u,0x00040047u,0x00000026u,0x00000022u,0x00000000u,0x00040047u,0x00000037u,0x0000000bu,0x0000001cu,0x00030047u,0x00000056u,0x00000002u,0x00050048u,0x00000056u,0x00000000u,0x00000023u,0x00000000u,0x00040047u,0x00000058u,0x00000021u,0x00000000u,0x00040047u,0x00000058u,0x00000022u,0x00000000u,0x00040047u,0x00000118u,0x00000021u,0x00000021u,0x00040047u,0x00000118u,0x00000022u,0x00000000u,0x00030047u,0x00000131u,0x00000019u,0x00040047u,0x00000131u,0x00000021u,0x00000030u,0x00040047u,0x00000131u,0x00000022u,0x00000000u,0x00040047u,0x00000136u,0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00040015u,0x00000006u,0x00000020u,0x00000001u,0x00040017u,0x00000007u,0x00000006u,0x00000002u,0x00030016u,0x00000009u,0x00000020u,0x00040017u,0x0000000au,0x00000009u,0x00000004u,0x00090019u,0x00000015u,0x00000009u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x00000016u,0x00000015u,0x00040020u,0x00000017u,0x00000000u,0x00000016u,0x0004003bu,0x00000017u,0x00000018u,0x00000000u,0x0004002bu,0x00000006u,0x0000001bu,0x00000000u,0x0005002cu,0x00000007u,0x0000001cu,0x0000001bu,0x0000001bu,0x0004002bu,0x00000006u,0x0000001eu,0x00000001u,0x0004003bu,0x00000017u,0x00000026u,0x00000000u,0x00040015u,0x0000002fu,0x00000020u,0x00000000u,0x0004002bu,0x0000002fu,0x00000030u,0x00000000u,0x00040017u,0x00000035u,0x0000002fu,0x00000003u,0x00040020u,0x00000036u,0x00000001u,0x00000035u,0x0004003bu,0x00000036u,0x00000037u,0x00000001u,0x00040017u,0x00000038u,0x0000002fu,0x00000002u,0x00020014u,0x00000040u,0x0004002bu,0x0000002fu,0x0000004au,0x00000001u,0x0003001eu,0x00000056u,0x0000000au,0x00040020u,0x00000057u,0x00000002u,0x00000056u,0x0004003bu,0x00000057u,0x00000058u,0x00000002u,0x00040020u,0x00000059u,0x00000002u,0x00000009u,0x0004002bu,0x0000002fu,0x00000060u,0x00000002u,0x0004002bu,0x0000002fu,0x00000064u,0x00000003u,0x0004002bu,0x00000006u,0x0000006fu,0xffffffffu,0x0005002cu,0x00000007u,0x00000070u,0x0000006fu,0x0000001bu,0x0005002cu,0x00000007u,0x00000078u,0x0000001eu,0x0000001bu,0x0005002cu,0x00000007u,0x00000080u,0x0000001bu,0x0000006fu,0x0005002cu,0x00000007u,0x00000088u,0x0000001bu,0x0000001eu,0x0004002bu,0x00000009u,0x000000abu,0x3f000000u,0x00040017u,0x000000b2u,0x00000009u,0x00000002u,0x0004002bu,0x00000009u,0x000000bcu,0x3d4ccccdu,0x0004002bu,0x00000009u,0x000000bdu,0x3f800000u,0x0004003bu,0x00000017u,0x00000118u,0x00000000u,0x00090019u,0x0000012fu,0x00000009u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000002u,0x00040020u,0x00000130u,0x00000000u,0x0000012fu,0x0004003bu,0x00000130u,0x00000131u,0x00000000u,0x0004002bu,0x0000002fu,0x00000135u,0x00000010u,0x0006002cu,0x00000035u,0x00000136u,0x00000135u,0x00000135u,0x0000004au,0x0005002cu,0x00000007u,0x00000195u,0x0000001eu,0x0000001eu,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x000300f7u,0x00000137u,0x00000000u,0x000300fbu,0x00000030u,0x00000138u,0x000200f8u,0x00000138u,0x0004003du,0x00000035u,0x00000039u,0x00000037u,0x0007004fu,0x00000038u,0x0000003au,0x00000039u,0x00000039u,0x00000000u,0x00000001u,0x0004007cu,0x00000007u,0x0000003bu,0x0000003au,0x0004003du,0x00000016u,0x0000003du,0x00000018u,0x00040064u,0x00000015u,0x0000003eu,0x0000003du,0x00050067u,0x00000007u,0x0000003fu,0x0000003eu,0x0000001bu,0x00050051u,0x00000006u,0x00000043u,0x0000003bu,0x00000000u,0x00050051u,0x00000006u,0x00000045u,0x0000003fu,0x00000000u,0x000500afu,0x00000040u,0x00000046u,0x00000043u,0x00000045u,0x000400a8u,0x00000040u,0x00000047u,0x00000046u,0x000300f7u,0x00000049u,0x00000000u,0x000400fau,0x00000047u,0x00000048u,0x00000049u,0x000200f8u,0x00000048u,0x00050051u,0x00000006u,0x0000004cu,0x0000003bu,0x00000001u,0x00050051u,0x00000006u,0x0000004eu,0x0000003fu,0x00000001u,0x000500afu,0x00000040u,0x0000004fu,0x0000004cu,0x0000004eu,0x000200f9u,0x00000049u,0x000200f8u,0x00000049u,0x000700f5u,0x00000040u,0x00000050u,0x00000046u,0x00000138u,0x0000004fu,0x00000048u,0x000300f7u,0x00000052u,0x00000000u,0x000400fau,0x00000050u,0x00000051u,0x00000052u,0x000200f8u,0x00000051u,0x000200f9u,0x00000137u,0x000200f8u,0x00000052u,0x00060041u,0x00000059u,0x0000005au,0x00000058u,0x0000001bu,0x00000030u,0x0004003du,0x00000009u,0x0000005bu,0x0000005au,0x00060041u,0x00000059u,0x0000005du,0x00000058u,0x0000001bu,0x0000004au,0x0004003du,0x00000009u,0x0000005eu,0x0000005du,0x00060041u,0x00000059u,0x00000061u,0x00000058u,0x0000001bu,0x00000060u,0x0004003du,0x00000009u,0x00000062u,0x00000061u,0x00060041u,0x00000059u,0x00000065u,0x00000058u,0x0000001bu,0x00000064u,0x0004003du,0x00000009u,0x00000066u,0x00000065u,0x0004003du,0x00000016u,0x00000069u,0x00000018u,0x00040064u,0x00000015u,0x0000006bu,0x00000069u,0x0007005fu,0x0000000au,0x0000006cu,0x0000006bu,0x0000003bu,0x00000002u,0x0000001bu,0x00050080u,0x00000007u,0x00000071u,0x0000003bu,0x00000070u,0x0004003du,0x00000016u,0x0000013fu,0x00000018u,0x00050082u,0x00000007u,0x00000143u,0x0000003fu,0x00000195u,0x0008000cu,0x00000007u,0x00000144u,0x00000001u,0x0000002du,0x00000071u,0x0000001cu,0x00000143u,0x00040064u,0x00000015u,0x00000145u,0x0000013fu,0x0007005fu,0x0000000au,0x00000146u,0x00000145u,0x00000144u,0x00000002u,0x0000001bu,0x00050080u,0x00000007u,0x00000079u,0x0000003bu,0x00000078u,0x0004003du,0x00000016u,0x00000149u,0x00000018u,0x0008000cu,0x00000007u,0x0000014eu,0x00000001u,0x0000002du,0x00000079u,0x0000001cu,0x00000143u,0x00040064u,0x00000015u,0x0000014fu,0x00000149u,0x0007005fu,0x0000000au,0x00000150u,0x0000014fu,0x0000014eu,0x00000002u,0x0000001bu,0x00050080u,0x00000007u,0x00000081u,0x0000003bu,0x00000080u,0x0004003du,0x00000016u,0x00000153u,0x00000018u,0x0008000cu,0x00000007u,0x00000158u,0x00000001u,0x0000002du,0x00000081u,0x0000001cu,0x00000143u,0x00040064u,0x00000015u,0x00000159u,0x00000153u,0x0007005fu,0x0000000au,0x0000015au,0x00000159u,0x00000158u,0x00000002u,0x0000001bu,0x00050080u,0x00000007u,0x00000089u,0x0000003bu,0x00000088u,0x0004003du,0x00000016u,0x0000015du,0x00000018u,0x0008000cu,0x00000007u,0x00000162u,0x00000001u,0x0000002du,0x00000089u,0x0000001cu,0x00000143u,0x00040064u,0x00000015u,0x00000163u,0x0000015du,0x0007005fu,0x0000000au,0x00000164u,0x00000163u,0x00000162u,0x00000002u,0x0000001bu,0x0004003du,0x00000016u,0x00000167u,0x00000026u,0x00040064u,0x00000015u,0x0000016du,0x00000167u,0x0007005fu,0x0000000au,0x0000016eu,0x0000016du,0x00000144u,0x00000002u,0x0000001bu,0x00050051u,0x00000009u,0x0000016fu,0x0000016eu,0x00000000u,0x0004003du,0x00000016u,0x00000172u,0x00000026u,0x00040064u,0x00000015u,0x00000178u,0x00000172u,0x0007005fu,0x0000000au,0x00000179u,0x00000178u,0x0000014eu,0x00000002u,0x0000001bu,0x00050051u,0x00000009u,0x0000017au,0x00000179u,0x00000000u,0x0004003du,0x00000016u,0x0000017du,0x00000026u,0x00040064u,0x00000015u,0x00000183u,0x0000017du,0x0007005fu,0x0000000au,0x00000184u,0x00000183u,0x00000158u,0x00000002u,0x0000001bu,0x00050051u,0x00000009u,0x00000185u,0x00000184u,0x00000000u,0x0004003du,0x00000016u,0x00000188u,0x00000026u,0x00040064u,0x00000015u,0x0000018eu,0x00000188u,0x0007005fu,0x0000000au,0x0000018fu,0x0000018eu,0x00000162u,0x00000002u,0x0000001bu,0x00050051u,0x00000009u,0x00000190u,0x0000018fu,0x00000000u,0x00050083u,0x00000009u,0x000000aeu,0x0000017au,0x0000016fu,0x00050083u,0x00000009u,0x000000b1u,0x00000190u,0x00000185u,0x00050050u,0x000000b2u,0x000000b3u,0x000000aeu,0x000000b1u,0x0006000cu,0x00000009u,0x000000b4u,0x00000001u,0x00000042u,0x000000b3u,0x00050085u,0x00000009u,0x000000b5u,0x000000abu,0x000000b4u,0x0004007fu,0x00000009u,0x000000b8u,0x00000062u,0x00050085u,0x00000009u,0x000000bau,0x000000b8u,0x000000b5u,0x0006000cu,0x00000009u,0x000000bbu,0x00000001u,0x0000001bu,0x000000bau,0x0008000cu,0x00000009u,0x000000beu,0x00000001u,0x0000002bu,0x000000bbu,0x000000bcu,0x000000bdu,0x00050083u,0x0000000au,0x000000c2u,0x00000146u,0x0000006cu,0x00050083u,0x0000000au,0x000000c6u,0x00000150u,0x0000006cu,0x00050083u,0x0000000au,0x000000cau,0x0000015au,0x0000006cu,0x00050083u,0x0000000au,0x000000ceu,0x00000164u,0x0000006cu,0x00050085u,0x00000009u,0x000000d2u,0x00000066u,0x00000066u,0x00050094u,0x00000009u,0x000000d6u,0x000000c2u,0x000000c2u,0x00050081u,0x00000009u,0x000000d8u,0x000000d6u,0x000000d2u,0x0006000cu,0x00000009u,0x000000d9u,0x00000001u,0x00000020u,0x000000d8u,0x00050094u,0x00000009u,0x000000ddu,0x000000c6u,0x000000c6u,0x00050081u,0x00000009u,0x000000dfu,0x000000ddu,0x000000d2u,0x0006000cu,0x00000009u,0x000000e0u,0x00000001u,0x00000020u,0x000000dfu,0x00050094u,0x00000009u,0x000000e4u,0x000000cau,0x000000cau,0x00050081u,0x00000009u,0x000000e6u,0x000000e4u,0x000000d2u,0x0006000cu,0x00000009u,0x000000e7u,0x00000001u,0x00000020u,0x000000e6u,0x00050094u,0x00000009u,0x000000ebu,0x000000ceu,0x000000ceu,0x00050081u,0x00000009u,0x000000edu,0x000000ebu,0x000000d2u,0x0006000cu,0x00000009u,0x000000eeu,0x00000001u,0x00000020u,0x000000edu,0x00050081u,0x00000009u,0x000000f3u,0x000000d9u,0x000000e0u,0x00050081u,0x00000009u,0x000000f5u,0x000000f3u,0x000000e7u,0x00050081u,0x00000009u,0x000000f7u,0x000000f5u,0x000000eeu,0x00050085u,0x00000009u,0x000000f8u,0x000000beu,0x000000f7u,0x0005008eu,0x0000000au,0x000000fdu,0x00000146u,0x000000d9u,0x0005008eu,0x0000000au,0x00000100u,0x00000150u,0x000000e0u,0x00050081u,0x0000000au,0x00000101u,0x000000fdu,0x00000100u,0x0005008eu,0x0000000au,0x00000104u,0x0000015au,0x000000e7u,0x00050081u,0x0000000au,0x00000105u,0x00000101u,0x00000104u,0x0005008eu,0x0000000au,0x00000108u,0x00000164u,0x000000eeu,0x00050081u,0x0000000au,0x00000109u,0x00000105u,0x00000108u,0x0005008eu,0x0000000au,0x0000010au,0x00000109u,0x000000beu,0x0005008eu,0x0000000au,0x0000010fu,0x0000010au,0x0000005bu,0x00050081u,0x0000000au,0x00000110u,0x0000006cu,0x0000010fu,0x00050085u,0x00000009u,0x00000113u,0x0000005bu,0x000000f8u,0x00050081u,0x00000009u,0x00000114u,0x000000bdu,0x00000113u,0x00070050u,0x0000000au,0x00000115u,0x00000114u,0x00000114u,0x00000114u,0x00000114u,0x00050088u,0x0000000au,0x00000116u,0x00000110u,0x00000115u,0x0004003du,0x00000016u,0x00000119u,0x00000118u,0x00040064u,0x00000015u,0x0000011bu,0x00000119u,0x0007005fu,0x0000000au,0x0000011cu,0x0000011bu,0x0000003bu,0x00000002u,0x0000001bu,0x00050085u,0x00000009u,0x00000120u,0x0000005bu,0x0000005eu,0x00050083u,0x0000000au,0x00000124u,0x00000116u,0x0000011cu,0x0004007fu,0x00000009u,0x00000129u,0x00000120u,0x00070050u,0x0000000au,0x0000012au,0x00000129u,0x00000129u,0x00000129u,0x00000129u,0x00070050u,0x0000000au,0x0000012cu,0x00000120u,0x00000120u,0x00000120u,0x00000120u,0x0008000cu,0x0000000au,0x0000012du,0x00000001u,0x0000002bu,0x00000124u,0x0000012au,0x0000012cu,0x00050083u,0x0000000au,0x0000012eu,0x00000116u,0x0000012du,0x0004003du,0x0000012fu,0x00000132u,0x00000131u,0x00040063u,0x00000132u,0x0000003bu,0x0000012eu,0x000200f9u,0x00000137u,0x000200f8u,0x00000137u,0x000100fdu,0x00010038u};
+static const size_t OF3_FLOWREG_LEN = 981;
static const uint32_t DDFG_SYNTH_SPV[] = {0x07230203u,0x00010300u,0x0008000bu,0x00000208u,0x00000000u,0x00020011u,0x00000001u,0x00020011u,0x00000032u,0x0006000bu,0x00000001u,0x4c534c47u,0x6474732eu,0x3035342eu,0x00000000u,0x0003000eu,0x00000000u,0x00000001u,0x0006000fu,0x00000005u,0x00000004u,0x6e69616du,0x00000000u,0x0000001cu,0x00060010u,0x00000004u,0x00000011u,0x00000010u,0x00000010u,0x00000001u,0x00030003u,0x00000002u,0x000001c2u,0x00040005u,0x00000004u,0x6e69616du,0x00000000u,0x00050005u,0x0000000bu,0x616d756cu,0x33667628u,0x0000003bu,0x00030005u,0x0000000au,0x00000063u,0x00030005u,0x00000018u,0x00646967u,0x00080005u,0x0000001cu,0x475f6c67u,0x61626f6cu,0x766e496cu,0x7461636fu,0x496e6f69u,0x00000044u,0x00030005u,0x00000021u,0x006d6964u,0x00040005u,0x00000024u,0x74754f75u,0x00000000u,0x00040005u,0x0000003eu,0x44766e69u,0x00006d69u,0x00030005u,0x00000044u,0x00007675u,0x00030005u,0x0000004du,0x00000055u,0x00060006u,0x0000004du,0x00000000u,0x776f6c66u,0x6c616353u,0x00000065u,0x00050006u,0x0000004du,0x00000001u,0x68706c61u,0x00000061u,0x00050006u,0x0000004du,0x00000002u,0x61746562u,0x00000000u,0x00050006u,0x0000004du,0x00000003u,0x626d616cu,0x00006164u,0x00050006u,0x0000004du,0x00000004u,0x69737065u,0x006e6f6cu,0x00060006u,0x0000004du,0x00000005u,0x746f6870u,0x6163536fu,0x0000656cu,0x00050006u,0x0000004du,0x00000006u,0x30646170u,0x00000000u,0x00050006u,0x0000004du,0x00000007u,0x31646170u,0x00000000u,0x00050006u,0x0000004du,0x00000008u,0x52647568u,0x00746365u,0x00030005u,0x0000004fu,0x00000000u,0x00040005u,0x0000008cu,0x72754375u,0x00000072u,0x00030005u,0x00000098u,0x00676264u,0x00030005u,0x0000009fu,0x00007366u,0x00040005u,0x000000a9u,0x64774273u,0x00000000u,0x00050005u,0x000000aau,0x6f6c4675u,0x64774277u,0x00000000u,0x00040005u,0x000000aeu,0x64774673u,0x00000000u,0x00050005u,0x000000afu,0x6f6c4675u,0x64774677u,0x00000000u,0x00030005u,0x000000b3u,0x00313046u,0x00030005u,0x000000bau,0x00303146u,0x00040005u,0x000000c1u,0x31306663u,0x00000000u,0x00040005u,0x000000c5u,0x30316663u,0x00000000u,0x00030005u,0x000000c9u,0x0031306du,0x00030005u,0x000000d5u,0x0030316du,0x00030005u,0x000000e0u,0x00004170u,0x00030005u,0x000000e8u,0x00004270u,0x00030005u,0x000000f0u,0x00003043u,0x00040005u,0x000000f1u,0x65725075u,0x00000076u,0x00030005u,0x000000f6u,0x00003143u,0x00030005u,0x000000fbu,0x00004165u,0x00040005u,0x000000fcu,0x61726170u,0x0000006du,0x00040005u,0x0000010cu,0x61726170u,0x0000006du,0x00030005u,0x00000111u,0x00004265u,0x00040005u,0x00000112u,0x61726170u,0x0000006du,0x00040005u,0x00000122u,0x61726170u,0x0000006du,0x00040005u,0x00000127u,0x76556266u,0x00000000u,0x00040005u,0x0000012bu,0x65526266u,0x00646973u,0x00040005u,0x00000138u,0x736e6f63u,0x00747369u,0x00030005u,0x00000149u,0x0000305au,0x00030005u,0x00000157u,0x0000315au,0x00040005u,0x00000163u,0x30756174u,0x00000000u,0x00040005u,0x00000167u,0x31756174u,0x00000000u,0x00040005u,0x0000016au,0x78616d7au,0x00000000u,0x00030005u,0x0000016eu,0x00003057u,0x00030005u,0x00000179u,0x00003157u,0x00040005u,0x00000183u,0x6d757357u,0x00000000u,0x00040005u,0x00000187u,0x70726177u,0x00006465u,0x00050005u,0x000001a0u,0x736f7263u,0x64616673u,0x00000065u,0x00050005u,0x000001adu,0x746f6870u,0x7272456fu,0x00000000u,0x00050005u,0x000001b1u,0x746f6870u,0x7572546fu,0x00007473u,0x00040005u,0x000001b7u,0x73757274u,0x00000074u,0x00040005u,0x000001c3u,0x76657270u,0x00000043u,0x00040005u,0x000001c8u,0x72727563u,0x00000043u,0x00050005u,0x000001cdu,0x746e6f63u,0x44746e65u,0x00666669u,0x00050005u,0x000001d2u,0x72746e75u,0x65747375u,0x00000064u,0x00040005u,0x000001d7u,0x44676962u,0x00666669u,0x00050005u,0x000001dcu,0x70616e73u,0x75436f54u,0x00007272u,0x00040005u,0x000001e5u,0x6374756fu,0x00000000u,0x00030005u,0x000001eeu,0x0067616du,0x00030005u,0x000001f2u,0x0000006eu,0x00030005u,0x000001f6u,0x00746173u,0x00040047u,0x0000001cu,0x0000000bu,0x0000001cu,0x00030047u,0x00000024u,0x00000019u,0x00040047u,0x00000024u,0x00000021u,0x00000030u,0x00040047u,0x00000024u,0x00000022u,0x00000000u,0x00030047u,0x0000004du,0x00000002u,0x00050048u,0x0000004du,0x00000000u,0x00000023u,0x00000000u,0x00050048u,0x0000004du,0x00000001u,0x00000023u,0x00000004u,0x00050048u,0x0000004du,0x00000002u,0x00000023u,0x00000008u,0x00050048u,0x0000004du,0x00000003u,0x00000023u,0x0000000cu,0x00050048u,0x0000004du,0x00000004u,0x00000023u,0x00000010u,0x00050048u,0x0000004du,0x00000005u,0x00000023u,0x00000014u,0x00050048u,0x0000004du,0x00000006u,0x00000023u,0x00000018u,0x00050048u,0x0000004du,0x00000007u,0x00000023u,0x0000001cu,0x00050048u,0x0000004du,0x00000008u,0x00000023u,0x00000020u,0x00040047u,0x0000004fu,0x00000021u,0x00000000u,0x00040047u,0x0000004fu,0x00000022u,0x00000000u,0x00040047u,0x0000008cu,0x00000021u,0x00000021u,0x00040047u,0x0000008cu,0x00000022u,0x00000000u,0x00040047u,0x000000aau,0x00000021u,0x00000023u,0x00040047u,0x000000aau,0x00000022u,0x00000000u,0x00040047u,0x000000afu,0x00000021u,0x00000022u,0x00040047u,0x000000afu,0x00000022u,0x00000000u,0x00040047u,0x000000f1u,0x00000021u,0x00000020u,0x00040047u,0x000000f1u,0x00000022u,0x00000000u,0x00040047u,0x00000207u,0x0000000bu,0x00000019u,0x00020013u,0x00000002u,0x00030021u,0x00000003u,0x00000002u,0x00030016u,0x00000006u,0x00000020u,0x00040017u,0x00000007u,0x00000006u,0x00000003u,0x00040020u,0x00000008u,0x00000007u,0x00000007u,0x00040021u,0x00000009u,0x00000006u,0x00000008u,0x0004002bu,0x00000006u,0x0000000eu,0x3e59b3d0u,0x0004002bu,0x00000006u,0x0000000fu,0x3f371759u,0x0004002bu,0x00000006u,0x00000010u,0x3d93dd98u,0x0006002cu,0x00000007u,0x00000011u,0x0000000eu,0x0000000fu,0x00000010u,0x00040015u,0x00000015u,0x00000020u,0x00000001u,0x00040017u,0x00000016u,0x00000015u,0x00000002u,0x00040020u,0x00000017u,0x00000007u,0x00000016u,0x00040015u,0x00000019u,0x00000020u,0x00000000u,0x00040017u,0x0000001au,0x00000019u,0x00000003u,0x00040020u,0x0000001bu,0x00000001u,0x0000001au,0x0004003bu,0x0000001bu,0x0000001cu,0x00000001u,0x00040017u,0x0000001du,0x00000019u,0x00000002u,0x00090019u,0x00000022u,0x00000006u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000002u,0x00000004u,0x00040020u,0x00000023u,0x00000000u,0x00000022u,0x0004003bu,0x00000023u,0x00000024u,0x00000000u,0x00020014u,0x00000027u,0x0004002bu,0x00000019u,0x00000028u,0x00000000u,0x00040020u,0x00000029u,0x00000007u,0x00000015u,0x0004002bu,0x00000019u,0x00000032u,0x00000001u,0x00040017u,0x0000003cu,0x00000006u,0x00000002u,0x00040020u,0x0000003du,0x00000007u,0x0000003cu,0x0004002bu,0x00000006u,0x0000003fu,0x3f800000u,0x0004002bu,0x00000006u,0x00000047u,0x3f000000u,0x00040017u,0x0000004cu,0x00000006u,0x00000004u,0x000b001eu,0x0000004du,0x00000006u,0x00000006u,0x00000006u,0x00000006u,0x00000006u,0x00000006u,0x00000006u,0x00000006u,0x0000004cu,0x00040020u,0x0000004eu,0x00000002u,0x0000004du,0x0004003bu,0x0000004eu,0x0000004fu,0x00000002u,0x0004002bu,0x00000015u,0x00000050u,0x00000008u,0x00040020u,0x00000051u,0x00000002u,0x00000006u,0x0004002bu,0x00000019u,0x00000054u,0x00000002u,0x0004002bu,0x00000019u,0x0000005cu,0x00000003u,0x00090019u,0x00000089u,0x00000006u,0x00000001u,0x00000000u,0x00000000u,0x00000000u,0x00000001u,0x00000000u,0x0003001bu,0x0000008au,0x00000089u,0x00040020u,0x0000008bu,0x00000000u,0x0000008au,0x0004003bu,0x0000008bu,0x0000008cu,0x00000000u,0x0004002bu,0x00000006u,0x0000008fu,0x00000000u,0x00040020u,0x00000097u,0x00000007u,0x00000027u,0x0004002bu,0x00000015u,0x00000099u,0x00000000u,0x0004002bu,0x00000006u,0x0000009cu,0x40600000u,0x00040020u,0x0000009eu,0x00000007u,0x00000006u,0x00040020u,0x000000a8u,0x00000007u,0x0000004cu,0x0004003bu,0x0000008bu,0x000000aau,0x00000000u,0x0004003bu,0x0000008bu,0x000000afu,0x00000000u,0x0004002bu,0x00000006u,0x000000cdu,0x3dcccccdu,0x0004002bu,0x00000015u,0x000000e2u,0x00000001u,0x0004003bu,0x0000008bu,0x000000f1u,0x00000000u,0x0004002bu,0x00000015u,0x0000014au,0x00000005u,0x0004002bu,0x00000015u,0x0000014fu,0x00000003u,0x0004002bu,0x00000015u,0x00000170u,0x00000002u,0x0004002bu,0x00000006u,0x00000189u,0x322bcc77u,0x0004002bu,0x00000006u,0x000001b2u,0x3d23d70au,0x0004002bu,0x00000006u,0x000001b3u,0x3e3851ecu,0x0004002bu,0x00000015u,0x000001bcu,0x00000004u,0x0004002bu,0x00000006u,0x000001d3u,0x3e800000u,0x0004002bu,0x00000006u,0x000001d8u,0x3e4ccccdu,0x0004002bu,0x00000006u,0x000001d9u,0x3ecccccdu,0x0004002bu,0x00000019u,0x00000206u,0x00000010u,0x0006002cu,0x0000001au,0x00000207u,0x00000206u,0x00000206u,0x00000032u,0x00050036u,0x00000002u,0x00000004u,0x00000000u,0x00000003u,0x000200f8u,0x00000005u,0x0004003bu,0x00000017u,0x00000018u,0x00000007u,0x0004003bu,0x00000017u,0x00000021u,0x00000007u,0x0004003bu,0x0000003du,0x0000003eu,0x00000007u,0x0004003bu,0x0000003du,0x00000044u,0x00000007u,0x0004003bu,0x00000097u,0x00000098u,0x00000007u,0x0004003bu,0x0000009eu,0x0000009fu,0x00000007u,0x0004003bu,0x0000009eu,0x000000a1u,0x00000007u,0x0004003bu,0x000000a8u,0x000000a9u,0x00000007u,0x0004003bu,0x000000a8u,0x000000aeu,0x00000007u,0x0004003bu,0x0000003du,0x000000b3u,0x00000007u,0x0004003bu,0x0000003du,0x000000bau,0x00000007u,0x0004003bu,0x0000009eu,0x000000c1u,0x00000007u,0x0004003bu,0x0000009eu,0x000000c5u,0x00000007u,0x0004003bu,0x0000009eu,0x000000c9u,0x00000007u,0x0004003bu,0x0000009eu,0x000000d5u,0x00000007u,0x0004003bu,0x0000003du,0x000000e0u,0x00000007u,0x0004003bu,0x0000003du,0x000000e8u,0x00000007u,0x0004003bu,0x00000008u,0x000000f0u,0x00000007u,0x0004003bu,0x00000008u,0x000000f6u,0x00000007u,0x0004003bu,0x0000009eu,0x000000fbu,0x00000007u,0x0004003bu,0x00000008u,0x000000fcu,0x00000007u,0x0004003bu,0x00000008u,0x0000010cu,0x00000007u,0x0004003bu,0x0000009eu,0x00000111u,0x00000007u,0x0004003bu,0x00000008u,0x00000112u,0x00000007u,0x0004003bu,0x00000008u,0x00000122u,0x00000007u,0x0004003bu,0x0000003du,0x00000127u,0x00000007u,0x0004003bu,0x0000009eu,0x0000012bu,0x00000007u,0x0004003bu,0x0000009eu,0x00000138u,0x00000007u,0x0004003bu,0x0000009eu,0x00000149u,0x00000007u,0x0004003bu,0x0000009eu,0x00000157u,0x00000007u,0x0004003bu,0x0000009eu,0x00000163u,0x00000007u,0x0004003bu,0x0000009eu,0x00000167u,0x00000007u,0x0004003bu,0x0000009eu,0x0000016au,0x00000007u,0x0004003bu,0x0000009eu,0x0000016eu,0x00000007u,0x0004003bu,0x0000009eu,0x00000179u,0x00000007u,0x0004003bu,0x0000009eu,0x00000183u,0x00000007u,0x0004003bu,0x00000008u,0x00000187u,0x00000007u,0x0004003bu,0x00000008u,0x0000018bu,0x00000007u,0x0004003bu,0x00000008u,0x000001a0u,0x00000007u,0x0004003bu,0x0000009eu,0x000001adu,0x00000007u,0x0004003bu,0x0000009eu,0x000001b1u,0x00000007u,0x0004003bu,0x0000009eu,0x000001b7u,0x00000007u,0x0004003bu,0x00000008u,0x000001c3u,0x00000007u,0x0004003bu,0x00000008u,0x000001c8u,0x00000007u,0x0004003bu,0x0000009eu,0x000001cdu,0x00000007u,0x0004003bu,0x0000009eu,0x000001d2u,0x00000007u,0x0004003bu,0x0000009eu,0x000001d7u,0x00000007u,0x0004003bu,0x0000009eu,0x000001dcu,0x00000007u,0x0004003bu,0x00000008u,0x000001e5u,0x00000007u,0x0004003bu,0x0000009eu,0x000001eeu,0x00000007u,0x0004003bu,0x0000009eu,0x000001f2u,0x00000007u,0x0004003bu,0x0000009eu,0x000001f6u,0x00000007u,0x0004003du,0x0000001au,0x0000001eu,0x0000001cu,0x0007004fu,0x0000001du,0x0000001fu,0x0000001eu,0x0000001eu,0x00000000u,0x00000001u,0x0004007cu,0x00000016u,0x00000020u,0x0000001fu,0x0003003eu,0x00000018u,0x00000020u,0x0004003du,0x00000022u,0x00000025u,0x00000024u,0x00040068u,0x00000016u,0x00000026u,0x00000025u,0x0003003eu,0x00000021u,0x00000026u,0x00050041u,0x00000029u,0x0000002au,0x00000018u,0x00000028u,0x0004003du,0x00000015u,0x0000002bu,0x0000002au,0x00050041u,0x00000029u,0x0000002cu,0x00000021u,0x00000028u,0x0004003du,0x00000015u,0x0000002du,0x0000002cu,0x000500afu,0x00000027u,0x0000002eu,0x0000002bu,0x0000002du,0x000400a8u,0x00000027u,0x0000002fu,0x0000002eu,0x000300f7u,0x00000031u,0x00000000u,0x000400fau,0x0000002fu,0x00000030u,0x00000031u,0x000200f8u,0x00000030u,0x00050041u,0x00000029u,0x00000033u,0x00000018u,0x00000032u,0x0004003du,0x00000015u,0x00000034u,0x00000033u,0x00050041u,0x00000029u,0x00000035u,0x00000021u,0x00000032u,0x0004003du,0x00000015u,0x00000036u,0x00000035u,0x000500afu,0x00000027u,0x00000037u,0x00000034u,0x00000036u,0x000200f9u,0x00000031u,0x000200f8u,0x00000031u,0x000700f5u,0x00000027u,0x00000038u,0x0000002eu,0x00000005u,0x00000037u,0x00000030u,0x000300f7u,0x0000003au,0x00000000u,0x000400fau,0x00000038u,0x00000039u,0x0000003au,0x000200f8u,0x00000039u,0x000100fdu,0x000200f8u,0x0000003au,0x0004003du,0x00000016u,0x00000040u,0x00000021u,0x0004006fu,0x0000003cu,0x00000041u,0x00000040u,0x00050050u,0x0000003cu,0x00000042u,0x0000003fu,0x0000003fu,0x00050088u,0x0000003cu,0x00000043u,0x00000042u,0x00000041u,0x0003003eu,0x0000003eu,0x00000043u,0x0004003du,0x00000016u,0x00000045u,0x00000018u,0x0004006fu,0x0000003cu,0x00000046u,0x00000045u,0x00050050u,0x0000003cu,0x00000048u,0x00000047u,0x00000047u,0x00050081u,0x0000003cu,0x00000049u,0x00000046u,0x00000048u,0x0004003du,0x0000003cu,0x0000004au,0x0000003eu,0x00050085u,0x0000003cu,0x0000004bu,0x00000049u,0x0000004au,0x0003003eu,0x00000044u,0x0000004bu,0x00060041u,0x00000051u,0x00000052u,0x0000004fu,0x00000050u,0x00000028u,0x0004003du,0x00000006u,0x00000053u,0x00000052u,0x00060041u,0x00000051u,0x00000055u,0x0000004fu,0x00000050u,0x00000054u,0x0004003du,0x00000006u,0x00000056u,0x00000055u,0x000500b8u,0x00000027u,0x00000057u,0x00000053u,0x00000056u,0x000300f7u,0x00000059u,0x00000000u,0x000400fau,0x00000057u,0x00000058u,0x00000059u,0x000200f8u,0x00000058u,0x00060041u,0x00000051u,0x0000005au,0x0000004fu,0x00000050u,0x00000032u,0x0004003du,0x00000006u,0x0000005bu,0x0000005au,0x00060041u,0x00000051u,0x0000005du,0x0000004fu,0x00000050u,0x0000005cu,0x0004003du,0x00000006u,0x0000005eu,0x0000005du,0x000500b8u,0x00000027u,0x0000005fu,0x0000005bu,0x0000005eu,0x000200f9u,0x00000059u,0x000200f8u,0x00000059u,0x000700f5u,0x00000027u,0x00000060u,0x00000057u,0x0000003au,0x0000005fu,0x00000058u,0x000300f7u,0x00000062u,0x00000000u,0x000400fau,0x00000060u,0x00000061u,0x00000062u,0x000200f8u,0x00000061u,0x00050041u,0x00000029u,0x00000063u,0x00000018u,0x00000028u,0x0004003du,0x00000015u,0x00000064u,0x00000063u,0x0004006fu,0x00000006u,0x00000065u,0x00000064u,0x00060041u,0x00000051u,0x00000066u,0x0000004fu,0x00000050u,0x00000028u,0x0004003du,0x00000006u,0x00000067u,0x00000066u,0x000500beu,0x00000027u,0x00000068u,0x00000065u,0x00000067u,0x000200f9u,0x00000062u,0x000200f8u,0x00000062u,0x000700f5u,0x00000027u,0x00000069u,0x00000060u,0x00000059u,0x00000068u,0x00000061u,0x000300f7u,0x0000006bu,0x00000000u,0x000400fau,0x00000069u,0x0000006au,0x0000006bu,0x000200f8u,0x0000006au,0x00050041u,0x00000029u,0x0000006cu,0x00000018u,0x00000028u,0x0004003du,0x00000015u,0x0000006du,0x0000006cu,0x0004006fu,0x00000006u,0x0000006eu,0x0000006du,0x00060041u,0x00000051u,0x0000006fu,0x0000004fu,0x00000050u,0x00000054u,0x0004003du,0x00000006u,0x00000070u,0x0000006fu,0x000500b8u,0x00000027u,0x00000071u,0x0000006eu,0x00000070u,0x000200f9u,0x0000006bu,0x000200f8u,0x0000006bu,0x000700f5u,0x00000027u,0x00000072u,0x00000069u,0x00000062u,0x00000071u,0x0000006au,0x000300f7u,0x00000074u,0x00000000u,0x000400fau,0x00000072u,0x00000073u,0x00000074u,0x000200f8u,0x00000073u,0x00050041u,0x00000029u,0x00000075u,0x00000018u,0x00000032u,0x0004003du,0x00000015u,0x00000076u,0x00000075u,0x0004006fu,0x00000006u,0x00000077u,0x00000076u,0x00060041u,0x00000051u,0x00000078u,0x0000004fu,0x00000050u,0x00000032u,0x0004003du,0x00000006u,0x00000079u,0x00000078u,0x000500beu,0x00000027u,0x0000007au,0x00000077u,0x00000079u,0x000200f9u,0x00000074u,0x000200f8u,0x00000074u,0x000700f5u,0x00000027u,0x0000007bu,0x00000072u,0x0000006bu,0x0000007au,0x00000073u,0x000300f7u,0x0000007du,0x00000000u,0x000400fau,0x0000007bu,0x0000007cu,0x0000007du,0x000200f8u,0x0000007cu,0x00050041u,0x00000029u,0x0000007eu,0x00000018u,0x00000032u,0x0004003du,0x00000015u,0x0000007fu,0x0000007eu,0x0004006fu,0x00000006u,0x00000080u,0x0000007fu,0x00060041u,0x00000051u,0x00000081u,0x0000004fu,0x00000050u,0x0000005cu,0x0004003du,0x00000006u,0x00000082u,0x00000081u,0x000500b8u,0x00000027u,0x00000083u,0x00000080u,0x00000082u,0x000200f9u,0x0000007du,0x000200f8u,0x0000007du,0x000700f5u,0x00000027u,0x00000084u,0x0000007bu,0x00000074u,0x00000083u,0x0000007cu,0x000300f7u,0x00000086u,0x00000000u,0x000400fau,0x00000084u,0x00000085u,0x00000086u,0x000200f8u,0x00000085u,0x0004003du,0x00000022u,0x00000087u,0x00000024u,0x0004003du,0x00000016u,0x00000088u,0x00000018u,0x0004003du,0x0000008au,0x0000008du,0x0000008cu,0x0004003du,0x0000003cu,0x0000008eu,0x00000044u,0x00070058u,0x0000004cu,0x00000090u,0x0000008du,0x0000008eu,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x00000091u,0x00000090u,0x00000090u,0x00000000u,0x00000001u,0x00000002u,0x00050051u,0x00000006u,0x00000092u,0x00000091u,0x00000000u,0x00050051u,0x00000006u,0x00000093u,0x00000091u,0x00000001u,0x00050051u,0x00000006u,0x00000094u,0x00000091u,0x00000002u,0x00070050u,0x0000004cu,0x00000095u,0x00000092u,0x00000093u,0x00000094u,0x0000003fu,0x00040063u,0x00000087u,0x00000088u,0x00000095u,0x000100fdu,0x000200f8u,0x00000086u,0x00050041u,0x00000051u,0x0000009au,0x0000004fu,0x00000099u,0x0004003du,0x00000006u,0x0000009bu,0x0000009au,0x000500bau,0x00000027u,0x0000009du,0x0000009bu,0x0000009cu,0x0003003eu,0x00000098u,0x0000009du,0x0004003du,0x00000027u,0x000000a0u,0x00000098u,0x000300f7u,0x000000a3u,0x00000000u,0x000400fau,0x000000a0u,0x000000a2u,0x000000a4u,0x000200f8u,0x000000a2u,0x0003003eu,0x000000a1u,0x0000003fu,0x000200f9u,0x000000a3u,0x000200f8u,0x000000a4u,0x00050041u,0x00000051u,0x000000a5u,0x0000004fu,0x00000099u,0x0004003du,0x00000006u,0x000000a6u,0x000000a5u,0x0003003eu,0x000000a1u,0x000000a6u,0x000200f9u,0x000000a3u,0x000200f8u,0x000000a3u,0x0004003du,0x00000006u,0x000000a7u,0x000000a1u,0x0003003eu,0x0000009fu,0x000000a7u,0x0004003du,0x0000008au,0x000000abu,0x000000aau,0x0004003du,0x0000003cu,0x000000acu,0x00000044u,0x00070058u,0x0000004cu,0x000000adu,0x000000abu,0x000000acu,0x00000002u,0x0000008fu,0x0003003eu,0x000000a9u,0x000000adu,0x0004003du,0x0000008au,0x000000b0u,0x000000afu,0x0004003du,0x0000003cu,0x000000b1u,0x00000044u,0x00070058u,0x0000004cu,0x000000b2u,0x000000b0u,0x000000b1u,0x00000002u,0x0000008fu,0x0003003eu,0x000000aeu,0x000000b2u,0x0004003du,0x0000004cu,0x000000b4u,0x000000a9u,0x0007004fu,0x0000003cu,0x000000b5u,0x000000b4u,0x000000b4u,0x00000000u,0x00000001u,0x0004003du,0x00000006u,0x000000b6u,0x0000009fu,0x0005008eu,0x0000003cu,0x000000b7u,0x000000b5u,0x000000b6u,0x0004003du,0x0000003cu,0x000000b8u,0x0000003eu,0x00050085u,0x0000003cu,0x000000b9u,0x000000b7u,0x000000b8u,0x0003003eu,0x000000b3u,0x000000b9u,0x0004003du,0x0000004cu,0x000000bbu,0x000000aeu,0x0007004fu,0x0000003cu,0x000000bcu,0x000000bbu,0x000000bbu,0x00000000u,0x00000001u,0x0004003du,0x00000006u,0x000000bdu,0x0000009fu,0x0005008eu,0x0000003cu,0x000000beu,0x000000bcu,0x000000bdu,0x0004003du,0x0000003cu,0x000000bfu,0x0000003eu,0x00050085u,0x0000003cu,0x000000c0u,0x000000beu,0x000000bfu,0x0003003eu,0x000000bau,0x000000c0u,0x00050041u,0x0000009eu,0x000000c2u,0x000000a9u,0x0000005cu,0x0004003du,0x00000006u,0x000000c3u,0x000000c2u,0x0008000cu,0x00000006u,0x000000c4u,0x00000001u,0x0000002bu,0x000000c3u,0x0000008fu,0x0000003fu,0x0003003eu,0x000000c1u,0x000000c4u,0x00050041u,0x0000009eu,0x000000c6u,0x000000aeu,0x0000005cu,0x0004003du,0x00000006u,0x000000c7u,0x000000c6u,0x0008000cu,0x00000006u,0x000000c8u,0x00000001u,0x0000002bu,0x000000c7u,0x0000008fu,0x0000003fu,0x0003003eu,0x000000c5u,0x000000c8u,0x0004003du,0x0000003cu,0x000000cau,0x000000b3u,0x0006000cu,0x00000006u,0x000000cbu,0x00000001u,0x00000042u,0x000000cau,0x0003003eu,0x000000c9u,0x000000cbu,0x0004003du,0x00000006u,0x000000ccu,0x000000c9u,0x000500bau,0x00000027u,0x000000ceu,0x000000ccu,0x000000cdu,0x000300f7u,0x000000d0u,0x00000000u,0x000400fau,0x000000ceu,0x000000cfu,0x000000d0u,0x000200f8u,0x000000cfu,0x0004003du,0x00000006u,0x000000d1u,0x000000c9u,0x00050088u,0x00000006u,0x000000d2u,0x000000cdu,0x000000d1u,0x0004003du,0x0000003cu,0x000000d3u,0x000000b3u,0x0005008eu,0x0000003cu,0x000000d4u,0x000000d3u,0x000000d2u,0x0003003eu,0x000000b3u,0x000000d4u,0x000200f9u,0x000000d0u,0x000200f8u,0x000000d0u,0x0004003du,0x0000003cu,0x000000d6u,0x000000bau,0x0006000cu,0x00000006u,0x000000d7u,0x00000001u,0x00000042u,0x000000d6u,0x0003003eu,0x000000d5u,0x000000d7u,0x0004003du,0x00000006u,0x000000d8u,0x000000d5u,0x000500bau,0x00000027u,0x000000d9u,0x000000d8u,0x000000cdu,0x000300f7u,0x000000dbu,0x00000000u,0x000400fau,0x000000d9u,0x000000dau,0x000000dbu,0x000200f8u,0x000000dau,0x0004003du,0x00000006u,0x000000dcu,0x000000d5u,0x00050088u,0x00000006u,0x000000ddu,0x000000cdu,0x000000dcu,0x0004003du,0x0000003cu,0x000000deu,0x000000bau,0x0005008eu,0x0000003cu,0x000000dfu,0x000000deu,0x000000ddu,0x0003003eu,0x000000bau,0x000000dfu,0x000200f9u,0x000000dbu,0x000200f8u,0x000000dbu,0x0004003du,0x0000003cu,0x000000e1u,0x00000044u,0x00050041u,0x00000051u,0x000000e3u,0x0000004fu,0x000000e2u,0x0004003du,0x00000006u,0x000000e4u,0x000000e3u,0x0004003du,0x0000003cu,0x000000e5u,0x000000b3u,0x0005008eu,0x0000003cu,0x000000e6u,0x000000e5u,0x000000e4u,0x00050083u,0x0000003cu,0x000000e7u,0x000000e1u,0x000000e6u,0x0003003eu,0x000000e0u,0x000000e7u,0x0004003du,0x0000003cu,0x000000e9u,0x00000044u,0x00050041u,0x00000051u,0x000000eau,0x0000004fu,0x000000e2u,0x0004003du,0x00000006u,0x000000ebu,0x000000eau,0x00050083u,0x00000006u,0x000000ecu,0x0000003fu,0x000000ebu,0x0004003du,0x0000003cu,0x000000edu,0x000000bau,0x0005008eu,0x0000003cu,0x000000eeu,0x000000edu,0x000000ecu,0x00050083u,0x0000003cu,0x000000efu,0x000000e9u,0x000000eeu,0x0003003eu,0x000000e8u,0x000000efu,0x0004003du,0x0000008au,0x000000f2u,0x000000f1u,0x0004003du,0x0000003cu,0x000000f3u,0x000000e0u,0x00070058u,0x0000004cu,0x000000f4u,0x000000f2u,0x000000f3u,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x000000f5u,0x000000f4u,0x000000f4u,0x00000000u,0x00000001u,0x00000002u,0x0003003eu,0x000000f0u,0x000000f5u,0x0004003du,0x0000008au,0x000000f7u,0x0000008cu,0x0004003du,0x0000003cu,0x000000f8u,0x000000e8u,0x00070058u,0x0000004cu,0x000000f9u,0x000000f7u,0x000000f8u,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x000000fau,0x000000f9u,0x000000f9u,0x00000000u,0x00000001u,0x00000002u,0x0003003eu,0x000000f6u,0x000000fau,0x0004003du,0x00000007u,0x000000fdu,0x000000f0u,0x0003003eu,0x000000fcu,0x000000fdu,0x00050039u,0x00000006u,0x000000feu,0x0000000bu,0x000000fcu,0x0004003du,0x0000008au,0x000000ffu,0x0000008cu,0x0004003du,0x0000003cu,0x00000100u,0x000000e0u,0x0004003du,0x0000008au,0x00000101u,0x000000aau,0x0004003du,0x0000003cu,0x00000102u,0x000000e0u,0x00070058u,0x0000004cu,0x00000103u,0x00000101u,0x00000102u,0x00000002u,0x0000008fu,0x0007004fu,0x0000003cu,0x00000104u,0x00000103u,0x00000103u,0x00000000u,0x00000001u,0x00050041u,0x00000051u,0x00000105u,0x0000004fu,0x00000099u,0x0004003du,0x00000006u,0x00000106u,0x00000105u,0x0005008eu,0x0000003cu,0x00000107u,0x00000104u,0x00000106u,0x0004003du,0x0000003cu,0x00000108u,0x0000003eu,0x00050085u,0x0000003cu,0x00000109u,0x00000107u,0x00000108u,0x00050081u,0x0000003cu,0x0000010au,0x00000100u,0x00000109u,0x00070058u,0x0000004cu,0x0000010bu,0x000000ffu,0x0000010au,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x0000010du,0x0000010bu,0x0000010bu,0x00000000u,0x00000001u,0x00000002u,0x0003003eu,0x0000010cu,0x0000010du,0x00050039u,0x00000006u,0x0000010eu,0x0000000bu,0x0000010cu,0x00050083u,0x00000006u,0x0000010fu,0x000000feu,0x0000010eu,0x0006000cu,0x00000006u,0x00000110u,0x00000001u,0x00000004u,0x0000010fu,0x0003003eu,0x000000fbu,0x00000110u,0x0004003du,0x00000007u,0x00000113u,0x000000f6u,0x0003003eu,0x00000112u,0x00000113u,0x00050039u,0x00000006u,0x00000114u,0x0000000bu,0x00000112u,0x0004003du,0x0000008au,0x00000115u,0x000000f1u,0x0004003du,0x0000003cu,0x00000116u,0x000000e8u,0x0004003du,0x0000008au,0x00000117u,0x000000afu,0x0004003du,0x0000003cu,0x00000118u,0x000000e8u,0x00070058u,0x0000004cu,0x00000119u,0x00000117u,0x00000118u,0x00000002u,0x0000008fu,0x0007004fu,0x0000003cu,0x0000011au,0x00000119u,0x00000119u,0x00000000u,0x00000001u,0x00050041u,0x00000051u,0x0000011bu,0x0000004fu,0x00000099u,0x0004003du,0x00000006u,0x0000011cu,0x0000011bu,0x0005008eu,0x0000003cu,0x0000011du,0x0000011au,0x0000011cu,0x0004003du,0x0000003cu,0x0000011eu,0x0000003eu,0x00050085u,0x0000003cu,0x0000011fu,0x0000011du,0x0000011eu,0x00050081u,0x0000003cu,0x00000120u,0x00000116u,0x0000011fu,0x00070058u,0x0000004cu,0x00000121u,0x00000115u,0x00000120u,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x00000123u,0x00000121u,0x00000121u,0x00000000u,0x00000001u,0x00000002u,0x0003003eu,0x00000122u,0x00000123u,0x00050039u,0x00000006u,0x00000124u,0x0000000bu,0x00000122u,0x00050083u,0x00000006u,0x00000125u,0x00000114u,0x00000124u,0x0006000cu,0x00000006u,0x00000126u,0x00000001u,0x00000004u,0x00000125u,0x0003003eu,0x00000111u,0x00000126u,0x0004003du,0x0000003cu,0x00000128u,0x00000044u,0x0004003du,0x0000003cu,0x00000129u,0x000000b3u,0x00050081u,0x0000003cu,0x0000012au,0x00000128u,0x00000129u,0x0003003eu,0x00000127u,0x0000012au,0x0004003du,0x0000003cu,0x0000012cu,0x000000b3u,0x0004003du,0x0000008au,0x0000012du,0x000000afu,0x0004003du,0x0000003cu,0x0000012eu,0x00000127u,0x00070058u,0x0000004cu,0x0000012fu,0x0000012du,0x0000012eu,0x00000002u,0x0000008fu,0x0007004fu,0x0000003cu,0x00000130u,0x0000012fu,0x0000012fu,0x00000000u,0x00000001u,0x00050041u,0x00000051u,0x00000131u,0x0000004fu,0x00000099u,0x0004003du,0x00000006u,0x00000132u,0x00000131u,0x0005008eu,0x0000003cu,0x00000133u,0x00000130u,0x00000132u,0x0004003du,0x0000003cu,0x00000134u,0x0000003eu,0x00050085u,0x0000003cu,0x00000135u,0x00000133u,0x00000134u,0x00050081u,0x0000003cu,0x00000136u,0x0000012cu,0x00000135u,0x0006000cu,0x00000006u,0x00000137u,0x00000001u,0x00000042u,0x00000136u,0x0003003eu,0x0000012bu,0x00000137u,0x0004003du,0x00000006u,0x00000139u,0x000000c1u,0x0004003du,0x00000006u,0x0000013au,0x000000c5u,0x0007000cu,0x00000006u,0x0000013bu,0x00000001u,0x00000025u,0x00000139u,0x0000013au,0x0004003du,0x00000006u,0x0000013cu,0x0000012bu,0x0004007fu,0x00000006u,0x0000013du,0x0000013cu,0x0004003du,0x0000003cu,0x0000013eu,0x000000b3u,0x0006000cu,0x00000006u,0x0000013fu,0x00000001u,0x00000042u,0x0000013eu,0x0004003du,0x0000003cu,0x00000140u,0x000000bau,0x0006000cu,0x00000006u,0x00000141u,0x00000001u,0x00000042u,0x00000140u,0x00050081u,0x00000006u,0x00000142u,0x0000013fu,0x00000141u,0x00050041u,0x0000009eu,0x00000143u,0x0000003eu,0x00000028u,0x0004003du,0x00000006u,0x00000144u,0x00000143u,0x00050081u,0x00000006u,0x00000145u,0x00000142u,0x00000144u,0x00050088u,0x00000006u,0x00000146u,0x0000013du,0x00000145u,0x0006000cu,0x00000006u,0x00000147u,0x00000001u,0x0000001bu,0x00000146u,0x00050085u,0x00000006u,0x00000148u,0x0000013bu,0x00000147u,0x0003003eu,0x00000138u,0x00000148u,0x00050041u,0x00000051u,0x0000014bu,0x0000004fu,0x0000014au,0x0004003du,0x00000006u,0x0000014cu,0x0000014bu,0x0004003du,0x00000006u,0x0000014du,0x000000fbu,0x00050085u,0x00000006u,0x0000014eu,0x0000014cu,0x0000014du,0x00050041u,0x00000051u,0x00000150u,0x0000004fu,0x0000014fu,0x0004003du,0x00000006u,0x00000151u,0x00000150u,0x0004003du,0x00000006u,0x00000152u,0x00000138u,0x00050083u,0x00000006u,0x00000153u,0x0000003fu,0x00000152u,0x00050085u,0x00000006u,0x00000154u,0x00000151u,0x00000153u,0x00050081u,0x00000006u,0x00000155u,0x0000014eu,0x00000154u,0x0004007fu,0x00000006u,0x00000156u,0x00000155u,0x0003003eu,0x00000149u,0x00000156u,0x00050041u,0x00000051u,0x00000158u,0x0000004fu,0x0000014au,0x0004003du,0x00000006u,0x00000159u,0x00000158u,0x0004003du,0x00000006u,0x0000015au,0x00000111u,0x00050085u,0x00000006u,0x0000015bu,0x00000159u,0x0000015au,0x00050041u,0x00000051u,0x0000015cu,0x0000004fu,0x0000014fu,0x0004003du,0x00000006u,0x0000015du,0x0000015cu,0x0004003du,0x00000006u,0x0000015eu,0x00000138u,0x00050083u,0x00000006u,0x0000015fu,0x0000003fu,0x0000015eu,0x00050085u,0x00000006u,0x00000160u,0x0000015du,0x0000015fu,0x00050081u,0x00000006u,0x00000161u,0x0000015bu,0x00000160u,0x0004007fu,0x00000006u,0x00000162u,0x00000161u,0x0003003eu,0x00000157u,0x00000162u,0x00050041u,0x00000051u,0x00000164u,0x0000004fu,0x000000e2u,0x0004003du,0x00000006u,0x00000165u,0x00000164u,0x00050083u,0x00000006u,0x00000166u,0x0000003fu,0x00000165u,0x0003003eu,0x00000163u,0x00000166u,0x00050041u,0x00000051u,0x00000168u,0x0000004fu,0x000000e2u,0x0004003du,0x00000006u,0x00000169u,0x00000168u,0x0003003eu,0x00000167u,0x00000169u,0x0004003du,0x00000006u,0x0000016bu,0x00000149u,0x0004003du,0x00000006u,0x0000016cu,0x00000157u,0x0007000cu,0x00000006u,0x0000016du,0x00000001u,0x00000028u,0x0000016bu,0x0000016cu,0x0003003eu,0x0000016au,0x0000016du,0x0004003du,0x00000006u,0x0000016fu,0x00000163u,0x00050041u,0x00000051u,0x00000171u,0x0000004fu,0x00000170u,0x0004003du,0x00000006u,0x00000172u,0x00000171u,0x0004003du,0x00000006u,0x00000173u,0x00000149u,0x0004003du,0x00000006u,0x00000174u,0x0000016au,0x00050083u,0x00000006u,0x00000175u,0x00000173u,0x00000174u,0x00050085u,0x00000006u,0x00000176u,0x00000172u,0x00000175u,0x0006000cu,0x00000006u,0x00000177u,0x00000001u,0x0000001bu,0x00000176u,0x00050085u,0x00000006u,0x00000178u,0x0000016fu,0x00000177u,0x0003003eu,0x0000016eu,0x00000178u,0x0004003du,0x00000006u,0x0000017au,0x00000167u,0x00050041u,0x00000051u,0x0000017bu,0x0000004fu,0x00000170u,0x0004003du,0x00000006u,0x0000017cu,0x0000017bu,0x0004003du,0x00000006u,0x0000017du,0x00000157u,0x0004003du,0x00000006u,0x0000017eu,0x0000016au,0x00050083u,0x00000006u,0x0000017fu,0x0000017du,0x0000017eu,0x00050085u,0x00000006u,0x00000180u,0x0000017cu,0x0000017fu,0x0006000cu,0x00000006u,0x00000181u,0x00000001u,0x0000001bu,0x00000180u,0x00050085u,0x00000006u,0x00000182u,0x0000017au,0x00000181u,0x0003003eu,0x00000179u,0x00000182u,0x0004003du,0x00000006u,0x00000184u,0x0000016eu,0x0004003du,0x00000006u,0x00000185u,0x00000179u,0x00050081u,0x00000006u,0x00000186u,0x00000184u,0x00000185u,0x0003003eu,0x00000183u,0x00000186u,0x0004003du,0x00000006u,0x00000188u,0x00000183u,0x000500bau,0x00000027u,0x0000018au,0x00000188u,0x00000189u,0x000300f7u,0x0000018du,0x00000000u,0x000400fau,0x0000018au,0x0000018cu,0x00000198u,0x000200f8u,0x0000018cu,0x0004003du,0x00000006u,0x0000018eu,0x0000016eu,0x0004003du,0x00000007u,0x0000018fu,0x000000f0u,0x0005008eu,0x00000007u,0x00000190u,0x0000018fu,0x0000018eu,0x0004003du,0x00000006u,0x00000191u,0x00000179u,0x0004003du,0x00000007u,0x00000192u,0x000000f6u,0x0005008eu,0x00000007u,0x00000193u,0x00000192u,0x00000191u,0x00050081u,0x00000007u,0x00000194u,0x00000190u,0x00000193u,0x0004003du,0x00000006u,0x00000195u,0x00000183u,0x00060050u,0x00000007u,0x00000196u,0x00000195u,0x00000195u,0x00000195u,0x00050088u,0x00000007u,0x00000197u,0x00000194u,0x00000196u,0x0003003eu,0x0000018bu,0x00000197u,0x000200f9u,0x0000018du,0x000200f8u,0x00000198u,0x0004003du,0x00000007u,0x00000199u,0x000000f0u,0x0004003du,0x00000007u,0x0000019au,0x000000f6u,0x00050041u,0x00000051u,0x0000019bu,0x0000004fu,0x000000e2u,0x0004003du,0x00000006u,0x0000019cu,0x0000019bu,0x00060050u,0x00000007u,0x0000019du,0x0000019cu,0x0000019cu,0x0000019cu,0x0008000cu,0x00000007u,0x0000019eu,0x00000001u,0x0000002eu,0x00000199u,0x0000019au,0x0000019du,0x0003003eu,0x0000018bu,0x0000019eu,0x000200f9u,0x0000018du,0x000200f8u,0x0000018du,0x0004003du,0x00000007u,0x0000019fu,0x0000018bu,0x0003003eu,0x00000187u,0x0000019fu,0x0004003du,0x0000008au,0x000001a1u,0x000000f1u,0x0004003du,0x0000003cu,0x000001a2u,0x00000044u,0x00070058u,0x0000004cu,0x000001a3u,0x000001a1u,0x000001a2u,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x000001a4u,0x000001a3u,0x000001a3u,0x00000000u,0x00000001u,0x00000002u,0x0004003du,0x0000008au,0x000001a5u,0x0000008cu,0x0004003du,0x0000003cu,0x000001a6u,0x00000044u,0x00070058u,0x0000004cu,0x000001a7u,0x000001a5u,0x000001a6u,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x000001a8u,0x000001a7u,0x000001a7u,0x00000000u,0x00000001u,0x00000002u,0x00050041u,0x00000051u,0x000001a9u,0x0000004fu,0x000000e2u,0x0004003du,0x00000006u,0x000001aau,0x000001a9u,0x00060050u,0x00000007u,0x000001abu,0x000001aau,0x000001aau,0x000001aau,0x0008000cu,0x00000007u,0x000001acu,0x00000001u,0x0000002eu,0x000001a4u,0x000001a8u,0x000001abu,0x0003003eu,0x000001a0u,0x000001acu,0x0004003du,0x00000006u,0x000001aeu,0x000000fbu,0x0004003du,0x00000006u,0x000001afu,0x00000111u,0x0007000cu,0x00000006u,0x000001b0u,0x00000001u,0x00000025u,0x000001aeu,0x000001afu,0x0003003eu,0x000001adu,0x000001b0u,0x0004003du,0x00000006u,0x000001b4u,0x000001adu,0x0008000cu,0x00000006u,0x000001b5u,0x00000001u,0x00000031u,0x000001b2u,0x000001b3u,0x000001b4u,0x00050083u,0x00000006u,0x000001b6u,0x0000003fu,0x000001b5u,0x0003003eu,0x000001b1u,0x000001b6u,0x0004003du,0x00000006u,0x000001b8u,0x00000138u,0x0008000cu,0x00000006u,0x000001b9u,0x00000001u,0x0000002bu,0x000001b8u,0x0000008fu,0x0000003fu,0x0004003du,0x00000006u,0x000001bau,0x000001b1u,0x00050085u,0x00000006u,0x000001bbu,0x000001b9u,0x000001bau,0x0003003eu,0x000001b7u,0x000001bbu,0x00050041u,0x00000051u,0x000001bdu,0x0000004fu,0x000001bcu,0x0004003du,0x00000006u,0x000001beu,0x000001bdu,0x0004003du,0x00000006u,0x000001bfu,0x00000183u,0x0008000cu,0x00000006u,0x000001c0u,0x00000001u,0x00000031u,0x0000008fu,0x000001beu,0x000001bfu,0x0004003du,0x00000006u,0x000001c1u,0x000001b7u,0x00050085u,0x00000006u,0x000001c2u,0x000001c1u,0x000001c0u,0x0003003eu,0x000001b7u,0x000001c2u,0x0004003du,0x0000008au,0x000001c4u,0x000000f1u,0x0004003du,0x0000003cu,0x000001c5u,0x00000044u,0x00070058u,0x0000004cu,0x000001c6u,0x000001c4u,0x000001c5u,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x000001c7u,0x000001c6u,0x000001c6u,0x00000000u,0x00000001u,0x00000002u,0x0003003eu,0x000001c3u,0x000001c7u,0x0004003du,0x0000008au,0x000001c9u,0x0000008cu,0x0004003du,0x0000003cu,0x000001cau,0x00000044u,0x00070058u,0x0000004cu,0x000001cbu,0x000001c9u,0x000001cau,0x00000002u,0x0000008fu,0x0008004fu,0x00000007u,0x000001ccu,0x000001cbu,0x000001cbu,0x00000000u,0x00000001u,0x00000002u,0x0003003eu,0x000001c8u,0x000001ccu,0x0004003du,0x00000007u,0x000001ceu,0x000001c8u,0x0004003du,0x00000007u,0x000001cfu,0x000001c3u,0x00050083u,0x00000007u,0x000001d0u,0x000001ceu,0x000001cfu,0x0006000cu,0x00000006u,0x000001d1u,0x00000001u,0x00000042u,0x000001d0u,0x0003003eu,0x000001cdu,0x000001d1u,0x0004003du,0x00000006u,0x000001d4u,0x000001b7u,0x0008000cu,0x00000006u,0x000001d5u,0x00000001u,0x00000031u,0x000000cdu,0x000001d3u,0x000001d4u,0x00050083u,0x00000006u,0x000001d6u,0x0000003fu,0x000001d5u,0x0003003eu,0x000001d2u,0x000001d6u,0x0004003du,0x00000006u,0x000001dau,0x000001cdu,0x0008000cu,0x00000006u,0x000001dbu,0x00000001u,0x00000031u,0x000001d8u,0x000001d9u,0x000001dau,0x0003003eu,0x000001d7u,0x000001dbu,0x0004003du,0x00000006u,0x000001ddu,0x000001d2u,0x0004003du,0x00000006u,0x000001deu,0x000001d7u,0x00050085u,0x00000006u,0x000001dfu,0x000001ddu,0x000001deu,0x0003003eu,0x000001dcu,0x000001dfu,0x0004003du,0x00000007u,0x000001e0u,0x000001a0u,0x0004003du,0x00000007u,0x000001e1u,0x000001c8u,0x0004003du,0x00000006u,0x000001e2u,0x000001dcu,0x00060050u,0x00000007u,0x000001e3u,0x000001e2u,0x000001e2u,0x000001e2u,0x0008000cu,0x00000007u,0x000001e4u,0x00000001u,0x0000002eu,0x000001e0u,0x000001e1u,0x000001e3u,0x0003003eu,0x000001a0u,0x000001e4u,0x0004003du,0x00000007u,0x000001e6u,0x000001a0u,0x0004003du,0x00000007u,0x000001e7u,0x00000187u,0x0004003du,0x00000006u,0x000001e8u,0x000001b7u,0x00060050u,0x00000007u,0x000001e9u,0x000001e8u,0x000001e8u,0x000001e8u,0x0008000cu,0x00000007u,0x000001eau,0x00000001u,0x0000002eu,0x000001e6u,0x000001e7u,0x000001e9u,0x0003003eu,0x000001e5u,0x000001eau,0x0004003du,0x00000027u,0x000001ebu,0x00000098u,0x000300f7u,0x000001edu,0x00000000u,0x000400fau,0x000001ebu,0x000001ecu,0x000001edu,0x000200f8u,0x000001ecu,0x0004003du,0x00000006u,0x000001efu,0x000000c9u,0x0004003du,0x00000006u,0x000001f0u,0x000000d5u,0x0007000cu,0x00000006u,0x000001f1u,0x00000001u,0x00000028u,0x000001efu,0x000001f0u,0x0003003eu,0x000001eeu,0x000001f1u,0x0004003du,0x00000006u,0x000001f3u,0x000001eeu,0x00050088u,0x00000006u,0x000001f4u,0x000001f3u,0x000000cdu,0x0008000cu,0x00000006u,0x000001f5u,0x00000001u,0x0000002bu,0x000001f4u,0x0000008fu,0x0000003fu,0x0003003eu,0x000001f2u,0x000001f5u,0x0004003du,0x00000006u,0x000001f7u,0x000001eeu,0x0007000cu,0x00000006u,0x000001f8u,0x00000001u,0x00000030u,0x000000cdu,0x000001f7u,0x0003003eu,0x000001f6u,0x000001f8u,0x0004003du,0x00000022u,0x000001f9u,0x00000024u,0x0004003du,0x00000016u,0x000001fau,0x00000018u,0x0004003du,0x00000006u,0x000001fbu,0x000001f6u,0x0004003du,0x00000006u,0x000001fcu,0x000001f2u,0x00070050u,0x0000004cu,0x000001fdu,0x000001fbu,0x000001fcu,0x0000008fu,0x0000003fu,0x00040063u,0x000001f9u,0x000001fau,0x000001fdu,0x000100fdu,0x000200f8u,0x000001edu,0x0004003du,0x00000022u,0x000001ffu,0x00000024u,0x0004003du,0x00000016u,0x00000200u,0x00000018u,0x0004003du,0x00000007u,0x00000201u,0x000001e5u,0x00050051u,0x00000006u,0x00000202u,0x00000201u,0x00000000u,0x00050051u,0x00000006u,0x00000203u,0x00000201u,0x00000001u,0x00050051u,0x00000006u,0x00000204u,0x00000201u,0x00000002u,0x00070050u,0x0000004cu,0x00000205u,0x00000202u,0x00000203u,0x00000204u,0x0000003fu,0x00040063u,0x000001ffu,0x00000200u,0x00000205u,0x000100fdu,0x00010038u,0x00050036u,0x00000006u,0x0000000bu,0x00000000u,0x00000009u,0x00030037u,0x00000008u,0x0000000au,0x000200f8u,0x0000000cu,0x0004003du,0x00000007u,0x0000000du,0x0000000au,0x00050094u,0x00000006u,0x00000012u,0x0000000du,0x00000011u,0x000200feu,0x00000012u,0x00010038u};
static const size_t DDFG_SYNTH_LEN = 3082;
struct Blob { const uint32_t* code; size_t words; };
diff --git a/app/src/main/cpp/framegen/ddfg/framegen.cpp b/app/src/main/cpp/framegen/ddfg/framegen.cpp
index 5200f6b094..330f83a7cf 100644
--- a/app/src/main/cpp/framegen/ddfg/framegen.cpp
+++ b/app/src/main/cpp/framegen/ddfg/framegen.cpp
@@ -3,6 +3,7 @@
#include "log.hpp"
#include
#include
+#include
namespace ddfg {
@@ -168,6 +169,14 @@ bool FrameGen::onResize(VkExtent2D extent, VkFormat , bool force) {
if (!force && ready_ && extent.width == extent_.width && extent.height == extent_.height) return true;
+ if (ready_) {
+ const VkResult idleResult = dd_->DeviceWaitIdle(device_);
+ if (idleResult != VK_SUCCESS) {
+ DDFG_LOGE("framegen resize: DeviceWaitIdle failed (%d); keeping existing images", (int)idleResult);
+ return false;
+ }
+ }
+ ++imageGeneration_;
for (auto& i : pyrA_) destroyImage(i); pyrA_.clear();
for (auto& i : pyrB_) destroyImage(i); pyrB_.clear();
for (auto& i : pyrAs_) destroyImage(i); pyrAs_.clear();
@@ -211,10 +220,35 @@ void FrameGen::barrier(VkCommandBuffer cmd, VkImage img, VkImageLayout from, VkI
VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 0, nullptr, 0, nullptr, 1, &b);
}
+void FrameGen::initializeImage(VkCommandBuffer cmd, VkImage img, VkImageLayout to) {
+ VkImageMemoryBarrier b{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER};
+ b.oldLayout = VK_IMAGE_LAYOUT_UNDEFINED;
+ b.newLayout = to;
+ b.srcAccessMask = 0;
+ b.dstAccessMask = VK_ACCESS_SHADER_WRITE_BIT;
+ b.image = img;
+ b.subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
+ b.srcQueueFamilyIndex = b.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED;
+ dd_->CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 0, nullptr, 0, nullptr, 1, &b);
+}
+
void FrameGen::destroy() {
if (!device_) return;
- dd_->DeviceWaitIdle(device_);
+ const VkResult idleResult = dd_->DeviceWaitIdle(device_);
+ if (idleResult != VK_SUCCESS && idleResult != VK_ERROR_DEVICE_LOST) {
+ DDFG_LOGE("framegen destroy: DeviceWaitIdle failed (%d); preserving resources for safe retry", (int)idleResult);
+ return;
+ }
+ if (idleResult == VK_ERROR_DEVICE_LOST) {
+ // A lost device cannot become idle again. Still explicitly destroy its
+ // child objects; skip descriptor-pool reset and release scratch ownership.
+ DDFG_LOGE("framegen destroy: device lost; releasing owned resources without waiting");
+ destroyScratchResources(false);
+ } else {
+ destroyScratchResources();
+ }
for (auto& i : pyrA_) destroyImage(i); pyrA_.clear();
for (auto& i : pyrB_) destroyImage(i); pyrB_.clear();
for (auto& i : pyrAs_) destroyImage(i); pyrAs_.clear();
diff --git a/app/src/main/cpp/framegen/ddfg/framegen.hpp b/app/src/main/cpp/framegen/ddfg/framegen.hpp
index 70719e7963..d40518dd1d 100644
--- a/app/src/main/cpp/framegen/ddfg/framegen.hpp
+++ b/app/src/main/cpp/framegen/ddfg/framegen.hpp
@@ -63,6 +63,8 @@ private:
const std::vector& bindings);
void destroyPipe(Pipe& p);
void barrier(VkCommandBuffer cmd, VkImage img, VkImageLayout from, VkImageLayout to);
+ void initializeImage(VkCommandBuffer cmd, VkImage img, VkImageLayout to);
+ void destroyScratchResources(bool resetPool = true);
const DeviceDispatch* dd_ = nullptr;
const InstanceDispatch* id_ = nullptr;
@@ -76,6 +78,7 @@ private:
Config cfg_;
VkExtent2D extent_{};
+ uint64_t imageGeneration_ = 0;
bool ready_ = false;
int flowFinest_ = kFlowFinestDefault;
diff --git a/app/src/main/cpp/framegen/ddfg/record_impl.inc b/app/src/main/cpp/framegen/ddfg/record_impl.inc
index f366d9a9c4..1d9e71df8c 100644
--- a/app/src/main/cpp/framegen/ddfg/record_impl.inc
+++ b/app/src/main/cpp/framegen/ddfg/record_impl.inc
@@ -1,6 +1,7 @@
namespace {
struct ScratchState {
+ VkDevice ownerDevice = VK_NULL_HANDLE;
VkBuffer synthUbo[ddfg::FrameGen::kSynthSlots]{};
VkDeviceMemory synthUboMem[ddfg::FrameGen::kSynthSlots]{};
void* synthUboPtr[ddfg::FrameGen::kSynthSlots]{};
@@ -21,6 +22,7 @@ struct ScratchState {
VkDescriptorSet sGmReduce[ddfg::FrameGen::kGmSlots]{};
std::vector sGmPrewarp[ddfg::FrameGen::kGmSlots];
VkExtent2D builtFor{0,0};
+ uint64_t builtGeneration = 0;
bool built = false;
bool flowInited = false;
bool flowReady = false;
@@ -58,6 +60,26 @@ static void wImg(const ddfg::DeviceDispatch* dd, VkDevice dev, VkDescriptorSet s
w.dstSet = set; w.dstBinding = binding; w.descriptorCount = 1; w.descriptorType = type; w.pImageInfo = ⅈ
dd->UpdateDescriptorSets(dev, 1, &w, 0, nullptr);
}
+static void wImgBatch(const ddfg::DeviceDispatch* dd, VkDevice dev,
+ const VkDescriptorSet* sets, const uint32_t* bindings,
+ const VkDescriptorType* types, const VkImageView* views,
+ const VkSampler* samplers, const VkImageLayout* layouts,
+ uint32_t count) {
+ VkDescriptorImageInfo infos[3]{};
+ VkWriteDescriptorSet writes[3]{};
+ for (uint32_t i = 0; i < count; ++i) {
+ infos[i].imageView = views[i];
+ infos[i].sampler = samplers[i];
+ infos[i].imageLayout = layouts[i];
+ writes[i] = {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET};
+ writes[i].dstSet = sets[i];
+ writes[i].dstBinding = bindings[i];
+ writes[i].descriptorCount = 1;
+ writes[i].descriptorType = types[i];
+ writes[i].pImageInfo = &infos[i];
+ }
+ dd->UpdateDescriptorSets(dev, count, writes, 0, nullptr);
+}
static void wUbo(const ddfg::DeviceDispatch* dd, VkDevice dev, VkDescriptorSet set, uint32_t binding,
VkBuffer buf, VkDeviceSize range) {
VkDescriptorBufferInfo bi{}; bi.buffer = buf; bi.range = range;
@@ -133,9 +155,11 @@ static bool ensureScratch(FrameGen* fg, const DeviceDispatch* dd, VkDevice dev,
const FrameGen::Pipe& pSynth, const FrameGen::Pipe& pGmReduce,
const FrameGen::Pipe& pGmPrewarp, const FrameGen::Pipe& pFlowReg,
FrameGen::Img& flowRegA, FrameGen::Img& flowRegB, VkBuffer* gmSsbo,
- int kLevels, const Config& cfg);
+ int kLevels, const Config& cfg, uint64_t imageGeneration);
-static void destroyScratch(const DeviceDispatch* dd, VkDevice dev, VkDescriptorPool pool) {
+static void destroyScratch(const DeviceDispatch* dd, VkDevice dev, VkDescriptorPool pool,
+ bool resetPool = true) {
+ if (g_scratch.ownerDevice != VK_NULL_HANDLE && g_scratch.ownerDevice != dev) return;
auto freeUbo = [&](VkBuffer& b, VkDeviceMemory& m, void*& p) {
if (m) dd->UnmapMemory(dev, m);
if (b) dd->DestroyBuffer(dev, b, nullptr);
@@ -148,40 +172,68 @@ static void destroyScratch(const DeviceDispatch* dd, VkDevice dev, VkDescriptorP
freeUbo(S.flowRegUbo, S.flowRegUboMem, S.flowRegUboPtr);
for (size_t i = 0; i < S.flowUbo.size(); ++i) freeUbo(S.flowUbo[i], S.flowUboMem[i], S.flowUboPtr[i]);
for (int s = 0; s < FrameGen::kGmSlots; ++s) freeUbo(S.gmUbo[s], S.gmUboMem[s], S.gmUboPtr[s]);
- if (pool && dd->ResetDescriptorPool) dd->ResetDescriptorPool(dev, pool, 0);
+ if (resetPool && pool && dd->ResetDescriptorPool) dd->ResetDescriptorPool(dev, pool, 0);
S = ScratchState{};
}
+void FrameGen::destroyScratchResources(bool resetPool) {
+ destroyScratch(dd_, device_, descPool_, resetPool);
+}
+
void FrameGen::configure(const Config& c) {
- cfg_ = c; cfg_.sanitize();
- int want = flowFinestForPreset(cfg_.perfPreset);
+ Config nextCfg = c;
+ nextCfg.sanitize();
+ int want = flowFinestForPreset(nextCfg.perfPreset);
const int maxFinest = kLevels - 2;
if (want > maxFinest) {
DDFG_LOGE("perf-preset=%d wants kFlowFinest=%d but only %d pyramid levels exist "
- "(need >=2 solved) - clamping to %d", cfg_.perfPreset, want, kLevels, maxFinest);
+ "(need >=2 solved) - clamping to %d", nextCfg.perfPreset, want, kLevels, maxFinest);
want = maxFinest;
}
if (want < 1) want = 1;
const int prevFinest = flowFinest_;
- flowFinest_ = want;
- const bool live = (flowFinest_ != prevFinest) && ready_;
+ const bool live = (want != prevFinest) && ready_;
DDFG_LOGI("perf-preset=%d -> kFlowFinest=%d (was %d) live-rebuild=%d ready=%d",
- cfg_.perfPreset, flowFinest_, prevFinest, live ? 1 : 0, ready_ ? 1 : 0);
+ nextCfg.perfPreset, want, prevFinest, live ? 1 : 0, ready_ ? 1 : 0);
- if (!live) return;
+ if (!live) {
+ cfg_ = nextCfg;
+ flowFinest_ = want;
+ return;
+ }
+ // Keep the previous configuration and image set if the device cannot idle.
+ const VkResult idleResult = dd_->DeviceWaitIdle(device_);
+ if (idleResult != VK_SUCCESS) {
+ DDFG_LOGE("framegen configure: DeviceWaitIdle failed (%d); keeping previous configuration and images",
+ (int)idleResult);
+ return;
+ }
-
-
- dd_->DeviceWaitIdle(device_);
- destroyScratch(dd_, device_, descPool_);
- if (!onResize(extent_, VK_FORMAT_UNDEFINED, true))
- DDFG_LOGE("perf-preset live rebuild: onResize FAILED at %ux%u - FG disabled until next resize",
- extent_.width, extent_.height);
+ // The device is idle, so reset motion history before rebuilding. This
+ // also leaves the predictor reset if onResize fails.
for (int i = 0; i < 6; ++i) gmRun_[i] = 0.0;
- for (int s = 0; s < kGmSlots; ++s) { gmSlotValid_[s] = false; for (int i = 0; i < 6; ++i) gmLinAt_[s][i] = 0.0; }
- gmHaveEst_ = false; gmEngaged_ = false; gmStableCount_ = 0; gmLastTransPx_ = 0.0f;
+ for (int s = 0; s < kGmSlots; ++s) {
+ gmSlotValid_[s] = false;
+ for (int i = 0; i < 6; ++i) gmLinAt_[s][i] = 0.0;
+ }
+ gmHaveEst_ = false;
+ gmEngaged_ = false;
+ gmStableCount_ = 0;
+ gmLastTransPx_ = 0.0f;
+
+ // Prevent onResize from issuing a second wait.
+ destroyScratch(dd_, device_, descPool_);
+ cfg_ = nextCfg;
+ flowFinest_ = want;
+ ready_ = false;
+ if (!onResize(extent_, VK_FORMAT_UNDEFINED, true)) {
+ ready_ = false;
+ DDFG_LOGE("perf-preset live rebuild: onResize FAILED at %ux%u - FG disabled until next resize",
+ extent_.width, extent_.height);
+ return;
+ }
DDFG_LOGI("perf-preset live rebuild DONE (kFlowFinest=%d, flow predictor reset)", flowFinest_);
}
@@ -199,10 +251,10 @@ bool FrameGen::updateGlobalMotion(uint32_t gmSlot, VkExtent2D fullExtent) {
bool good = false;
if (gmSlotValid_[gmSlot]) {
const float* pt = (const float*)gmSsboPtr_[gmSlot];
- double sums[32]; for (int k = 0; k < 32; ++k) sums[k] = 0.0;
+ double sums[28]{};
for (int t = 0; t < kGmThreads; ++t) {
const float* row = pt + (size_t)t * kGmStride;
- for (int k = 0; k < kGmStride; ++k) sums[k] += (double)row[k];
+ for (int k = 0; k < 28; ++k) sums[k] += (double)row[k];
}
double coverage = sums[27];
double lvlpx = double((fullExtent.width >> kGmLevel) * (fullExtent.height >> kGmLevel));
@@ -260,13 +312,25 @@ void FrameGen::record(VkCommandBuffer cmd, VkImageView prevView, VkImageView cur
const Pipe& flowP = m4 ? pFlowM4_ : pFlow_;
const Pipe& expandP = m4 ? pExpandM4_ : pExpand_;
- if (!g_scratch.built || g_scratch.builtFor.width != extent_.width || g_scratch.builtFor.height != extent_.height) {
- ensureScratch(this, dd_, device_, memProps_, descPool_, linear_, extent_,
- pyrA_, pyrB_, pyrAs_, flowLvl_, flowExpA_, flowExpB_,
- pLuma_, pDown_, flowP, expandP, pSynth_, pGmReduce_, pGmPrewarp_,
- pFlowReg_, flowRegA_, flowRegB_, gmSsbo_, kLevels, cfg_);
+ if (!g_scratch.built || g_scratch.builtFor.width != extent_.width ||
+ g_scratch.builtFor.height != extent_.height ||
+ g_scratch.builtGeneration != imageGeneration_) {
+ if (g_scratch.built) {
+ const VkResult idleResult = dd_->DeviceWaitIdle(device_);
+ if (idleResult != VK_SUCCESS) {
+ DDFG_LOGE("framegen record: DeviceWaitIdle failed (%d); skipping scratch rebuild", (int)idleResult);
+ return;
+ }
+ destroyScratch(dd_, device_, descPool_);
+ }
+ if (!ensureScratch(this, dd_, device_, memProps_, descPool_, linear_, extent_,
+ pyrA_, pyrB_, pyrAs_, flowLvl_, flowExpA_, flowExpB_,
+ pLuma_, pDown_, flowP, expandP, pSynth_, pGmReduce_, pGmPrewarp_,
+ pFlowReg_, flowRegA_, flowRegB_, gmSsbo_, kLevels, cfg_, imageGeneration_))
+ return;
}
+ if (g_scratch.ownerDevice != device_) return;
if (reuseFlow && !g_scratch.flowReady) return;
if (!reuseFlow) {
bool gmEngaged = updateGlobalMotion(gmSlot, extent_);
@@ -289,8 +353,16 @@ void FrameGen::record(VkCommandBuffer cmd, VkImageView prevView, VkImageView cur
}
}
- wImg(dd_, device_, g_scratch.sLumaCurr, 32, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, currView, linear_, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
- wImg(dd_, device_, g_scratch.sLumaPrev, 32, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, prevView, linear_, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
+ const VkDescriptorSet lumaSets[] = {g_scratch.sLumaCurr, g_scratch.sLumaPrev};
+ const uint32_t lumaBindings[] = {32, 32};
+ const VkDescriptorType lumaTypes[] = {
+ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER};
+ const VkImageView lumaViews[] = {currView, prevView};
+ const VkSampler lumaSamplers[] = {linear_, linear_};
+ const VkImageLayout lumaLayouts[] = {
+ VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL};
+ wImgBatch(dd_, device_, lumaSets, lumaBindings, lumaTypes, lumaViews,
+ lumaSamplers, lumaLayouts, 2);
}
SynthUBO su{cfg_.flowScale, alpha, cfg_.beta, cfg_.lambda, cfg_.epsilon, cfg_.photoScale, 0, 0,
@@ -298,9 +370,20 @@ void FrameGen::record(VkCommandBuffer cmd, VkImageView prevView, VkImageView cur
if (g_scratch.synthUboPtr[synthSlot]) std::memcpy(g_scratch.synthUboPtr[synthSlot], &su, sizeof(su));
const VkDescriptorSet synthSet = g_scratch.sSynth[synthSlot];
- wImg(dd_, device_, synthSet, 32, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, prevView, linear_, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
- wImg(dd_, device_, synthSet, 33, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, currView, linear_, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
- wImg(dd_, device_, synthSet, 48, VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, outView, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL);
+ const VkDescriptorSet synthSets[] = {synthSet, synthSet, synthSet};
+ const uint32_t synthBindings[] = {32, 33, 48};
+ const VkDescriptorType synthTypes[] = {
+ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
+ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
+ VK_DESCRIPTOR_TYPE_STORAGE_IMAGE};
+ const VkImageView synthViews[] = {prevView, currView, outView};
+ const VkSampler synthSamplers[] = {linear_, linear_, VK_NULL_HANDLE};
+ const VkImageLayout synthLayouts[] = {
+ VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
+ VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
+ VK_IMAGE_LAYOUT_GENERAL};
+ wImgBatch(dd_, device_, synthSets, synthBindings, synthTypes, synthViews,
+ synthSamplers, synthLayouts, 3);
auto disp = [&](const Pipe& p, VkDescriptorSet set, VkExtent2D e) {
dd_->CmdBindPipeline(cmd, VK_PIPELINE_BIND_POINT_COMPUTE, p.pipeline);
@@ -308,39 +391,90 @@ void FrameGen::record(VkCommandBuffer cmd, VkImageView prevView, VkImageView cur
dd_->CmdDispatch(cmd, (e.width + 15) / 16, (e.height + 15) / 16, 1);
};
auto bar = [&](FrameGen::Img& i){ barrier(cmd, i.image, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_GENERAL); };
+ auto barPair = [&](FrameGen::Img& a, FrameGen::Img& b) {
+ VkImageMemoryBarrier barriers[2]{};
+ FrameGen::Img* images[] = {&a, &b};
+ for (uint32_t i = 0; i < 2; ++i) {
+ barriers[i].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER;
+ barriers[i].srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT;
+ barriers[i].dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
+ barriers[i].oldLayout = VK_IMAGE_LAYOUT_GENERAL;
+ barriers[i].newLayout = VK_IMAGE_LAYOUT_GENERAL;
+ barriers[i].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED;
+ barriers[i].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED;
+ barriers[i].image = images[i]->image;
+ barriers[i].subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
+ }
+ dd_->CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 0, nullptr,
+ 0, nullptr, 2, barriers);
+ };
+ const bool frEngaged = (cfg_.frMode != 2) && (cfg_.frIters > 0);
if (!reuseFlow) {
- for (auto& i : pyrA_) barrier(cmd, i.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
- for (auto& i : pyrB_) barrier(cmd, i.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
- for (int l = flowFinest_; l < kLevels; ++l) barrier(cmd, pyrAs_[l].image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
- barrier(cmd, flowExpA_.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
- barrier(cmd, flowExpB_.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
- barrier(cmd, flowRegA_.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
- barrier(cmd, flowRegB_.image, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL);
+ // Batch fresh-image transitions that share the same stage and access masks.
+ std::array initBarriers{};
+ size_t initBarrierCount = 0;
+ auto addInitBarrier = [&](VkImage image) {
+ VkImageMemoryBarrier b{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER};
+ b.oldLayout = VK_IMAGE_LAYOUT_UNDEFINED;
+ b.newLayout = VK_IMAGE_LAYOUT_GENERAL;
+ b.srcAccessMask = 0;
+ b.dstAccessMask = VK_ACCESS_SHADER_WRITE_BIT;
+ b.image = image;
+ b.subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
+ b.srcQueueFamilyIndex = b.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED;
+ initBarriers[initBarrierCount++] = b;
+ };
+ for (auto& i : pyrA_) addInitBarrier(i.image);
+ for (auto& i : pyrB_) addInitBarrier(i.image);
+ for (int l = flowFinest_; l < kLevels; ++l) addInitBarrier(pyrAs_[l].image);
+ addInitBarrier(flowExpA_.image);
+ addInitBarrier(flowExpB_.image);
+ if (frEngaged) {
+ addInitBarrier(flowRegA_.image);
+ addInitBarrier(flowRegB_.image);
+ }
+ // The final flow level is cleared through TRANSFER_DST_OPTIMAL below;
+ // the other levels can use the common initialization barrier.
+ for (int l = flowFinest_; l < kLevels - 1; ++l) addInitBarrier(flowLvl_[l].image);
+ if (initBarrierCount != 0) {
+ dd_->CmdPipelineBarrier(cmd,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT | VK_PIPELINE_STAGE_TRANSFER_BIT,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 0, nullptr,
+ 0, nullptr, static_cast(initBarrierCount), initBarriers.data());
+ }
{
VkClearColorValue zero{};
VkImageSubresourceRange rng{VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
- for (int l = flowFinest_; l < kLevels; ++l) {
- VkImageMemoryBarrier b{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER};
- b.oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; b.newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL;
- b.srcAccessMask = 0; b.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT;
- b.image = flowLvl_[l].image; b.subresourceRange = rng;
- b.srcQueueFamilyIndex = b.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED;
- dd_->CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 1, &b);
- dd_->CmdClearColorImage(cmd, flowLvl_[l].image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &zero, 1, &rng);
- b.oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; b.newLayout = VK_IMAGE_LAYOUT_GENERAL;
- b.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; b.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
- dd_->CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 0, nullptr, 0, nullptr, 1, &b);
- }
+ VkImageMemoryBarrier b{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER};
+ b.oldLayout = VK_IMAGE_LAYOUT_UNDEFINED;
+ b.newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL;
+ b.srcAccessMask = 0;
+ b.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT;
+ b.image = flowLvl_[kLevels - 1].image;
+ b.subresourceRange = rng;
+ b.srcQueueFamilyIndex = b.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED;
+ dd_->CmdPipelineBarrier(cmd,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT | VK_PIPELINE_STAGE_TRANSFER_BIT,
+ VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 1, &b);
+ dd_->CmdClearColorImage(cmd, flowLvl_[kLevels - 1].image,
+ VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &zero, 1, &rng);
+ b.oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL;
+ b.newLayout = VK_IMAGE_LAYOUT_GENERAL;
+ b.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT;
+ b.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
+ dd_->CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 0, nullptr, 0, nullptr, 1, &b);
}
disp(pLuma_, g_scratch.sLumaCurr, levelExtent(extent_, 0));
disp(pLuma_, g_scratch.sLumaPrev, levelExtent(extent_, 0));
- bar(pyrA_[0]); bar(pyrB_[0]);
+ barPair(pyrA_[0], pyrB_[0]);
for (int l = 1; l < kLevels; ++l) {
disp(pDown_, g_scratch.sDownA[l - 1], levelExtent(extent_, l));
disp(pDown_, g_scratch.sDownB[l - 1], levelExtent(extent_, l));
- bar(pyrA_[l]); bar(pyrB_[l]);
+ barPair(pyrA_[l], pyrB_[l]);
}
if (gmBuffersReady_ && g_scratch.sGmReduce[gmSlot]) {
dd_->CmdBindPipeline(cmd, VK_PIPELINE_BIND_POINT_COMPUTE, pGmReduce_.pipeline);
@@ -360,7 +494,6 @@ void FrameGen::record(VkCommandBuffer cmd, VkImageView prevView, VkImageView cur
bar(flowLvl_[l]);
}
- const bool frEngaged = (cfg_.frMode != 2) && (cfg_.frIters > 0);
if (frEngaged) {
const int F = flowFinest_;
const VkExtent2D fe = levelExtent(extent_, F);
@@ -377,7 +510,7 @@ void FrameGen::record(VkCommandBuffer cmd, VkImageView prevView, VkImageView cur
dd_->CmdBindPipeline(cmd, VK_PIPELINE_BIND_POINT_COMPUTE, pFlowReg_.pipeline);
dd_->CmdBindDescriptorSets(cmd, VK_PIPELINE_BIND_POINT_COMPUTE, pFlowReg_.layout, 0, 1, &set, 0, nullptr);
dd_->CmdDispatch(cmd, (fe.width + 15) / 16, (fe.height + 15) / 16, 1);
- bar(*outImg);
+ if (it + 1 < cfg_.frIters) bar(*outImg);
last = outImg;
}
VkMemoryBarrier mb{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
@@ -408,7 +541,7 @@ void FrameGen::record(VkCommandBuffer cmd, VkImageView prevView, VkImageView cur
}
disp(expandP, g_scratch.sExpand[gmSlot], levelExtent(extent_, 0));
- bar(flowExpA_); bar(flowExpB_);
+ barPair(flowExpA_, flowExpB_);
g_scratch.flowReady = true;
}
disp(pSynth_, synthSet, levelExtent(extent_, 0));
@@ -425,9 +558,11 @@ static bool ensureScratch(FrameGen* fg, const DeviceDispatch* dd, VkDevice dev,
const FrameGen::Pipe& pSynth, const FrameGen::Pipe& pGmReduce,
const FrameGen::Pipe& pGmPrewarp, const FrameGen::Pipe& pFlowReg,
FrameGen::Img& flowRegA, FrameGen::Img& flowRegB, VkBuffer* gmSsbo,
- int kLevels, const Config& cfg) {
+ int kLevels, const Config& cfg, uint64_t imageGeneration) {
auto& S = g_scratch;
+ if (S.ownerDevice != VK_NULL_HANDLE && S.ownerDevice != dev) return false;
S = ScratchState{};
+ S.ownerDevice = dev;
const auto GEN = VK_IMAGE_LAYOUT_GENERAL;
for (int s = 0; s < FrameGen::kSynthSlots; ++s)
@@ -528,7 +663,7 @@ static bool ensureScratch(FrameGen* fg, const DeviceDispatch* dd, VkDevice dev,
wImg(dd, dev, S.sSynth[s], 35, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, expB.view, samp, GEN);
}
- S.builtFor = ext; S.built = true;
+ S.builtFor = ext; S.builtGeneration = imageGeneration; S.ownerDevice = dev; S.built = true;
return true;
}
diff --git a/app/src/main/cpp/questxr/quest_xr.cpp b/app/src/main/cpp/questxr/quest_xr.cpp
index 09423c7d1a..8646bd501c 100644
--- a/app/src/main/cpp/questxr/quest_xr.cpp
+++ b/app/src/main/cpp/questxr/quest_xr.cpp
@@ -614,10 +614,13 @@ private:
XrSessionBeginInfo begin{XR_TYPE_SESSION_BEGIN_INFO};
begin.primaryViewConfigurationType = XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO;
check(xrBeginSession(session_, &begin), "xrBeginSession"); running_ = true;
+ // Meta's clock governor scales clocks by the DroidDeck process's overall load and cannot see
+ // SteamVR missing refreshes inside the guest; holding the top level kept it at 72 Hz.
if (setPerformance_) {
for (auto domain : {XR_PERF_SETTINGS_DOMAIN_CPU_EXT, XR_PERF_SETTINGS_DOMAIN_GPU_EXT}) {
- XrResult request = setPerformance_(session_, domain, XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT);
- __android_log_print(ANDROID_LOG_INFO, "DroidDeckXR", "sustained performance domain=%d result=%d", domain, request);
+ XrResult request = setPerformance_(session_, domain, XR_PERF_SETTINGS_LEVEL_BOOST_EXT);
+ if (XR_FAILED(request)) request = setPerformance_(session_, domain, XR_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH_EXT);
+ __android_log_print(ANDROID_LOG_INFO, "DroidDeckXR", "performance domain=%d result=%d", domain, request);
}
}
} else if (state_ == XR_SESSION_STATE_STOPPING) {
diff --git a/app/src/main/cpp/sdnative/sdnative.c b/app/src/main/cpp/sdnative/sdnative.c
index 85e0793b10..3e4ef71b41 100644
--- a/app/src/main/cpp/sdnative/sdnative.c
+++ b/app/src/main/cpp/sdnative/sdnative.c
@@ -1,6 +1,9 @@
#include
#include
+#include
+#include
#include
+#include
#include
#include
@@ -11,6 +14,13 @@ Java_com_droiddeck_launcher_input_FakeInputWriter_nativeStoreFence(JNIEnv *env,
atomic_thread_fence(memory_order_release);
}
+JNIEXPORT void JNICALL
+Java_com_droiddeck_launcher_input_FakeInputWriter_nativeWake(JNIEnv *env, jclass clazz, jobject buffer, jint offset) {
+ (void)clazz;
+ uint8_t *base = (*env)->GetDirectBufferAddress(env, buffer);
+ if (base) syscall(SYS_futex, base + offset, FUTEX_WAKE, INT_MAX, NULL, NULL, 0);
+}
+
JNIEXPORT jint JNICALL
Java_com_droiddeck_launcher_session_ThreadSignals_tgkill(JNIEnv *env, jclass clazz, jint tgid, jint tid, jint signal) {
(void)env;
diff --git a/app/src/main/cpp/shaders/THIRD_PARTY_NOTICES.txt b/app/src/main/cpp/shaders/THIRD_PARTY_NOTICES.txt
new file mode 100644
index 0000000000..761743c464
--- /dev/null
+++ b/app/src/main/cpp/shaders/THIRD_PARTY_NOTICES.txt
@@ -0,0 +1,126 @@
+Third-Party Notices — Graphics Shaders
+======================================
+
+AMD FidelityFX Super Resolution 1.0 (FSR 1.0)
+----------------------------------------------
+The EASU (Edge-Adaptive Spatial Upsampling) and RCAS
+(Robust Contrast-Adaptive Sharpening) shader implementations
+are adapted from AMD's FidelityFX FSR 1.0 reference code.
+
+Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
+
+SPDX-License-Identifier: MIT
+
+MIT License
+-----------
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+NVIDIA Image Scaling (NIS)
+--------------------------
+The NIS fragment shader is adapted from NVIDIA's NVIDIA Image Scaling
+reference implementation, including NVScaler and NIS configuration code.
+
+Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+
+SPDX-License-Identifier: MIT
+
+The NIS luma prepass (nis_luma.frag), the gather-based NIS pass (nis3.frag) and its
+coefficient banks (nis_coef.h) are from the same NVIDIA reference.
+
+AMD FidelityFX CAS (Contrast Adaptive Sharpening)
+-------------------------------------------------
+The CAS fragment shader (cas_ffx.frag) is ported from AMD's reference header
+GPUOpen-Effects/FidelityFX-CAS ffx-cas/ffx_cas.h (v1.0.2).
+
+Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
+
+SPDX-License-Identifier: MIT
+
+The MIT License text above applies to AMD FidelityFX FSR 1.0, AMD FidelityFX CAS and
+NVIDIA Image Scaling (NIS).
+
+Snapdragon Game Super Resolution 1 (SGSR1)
+------------------------------------------
+The SGSR fragment shaders are adapted from Qualcomm's reference GLSL
+shaders, including the mobile and edge-direction variants.
+
+Copyright (c) 2025, Qualcomm Innovation Center, Inc. All rights reserved.
+
+SPDX-License-Identifier: BSD-3-Clause
+
+BSD 3-Clause License (SGSR1)
+----------------------------
+Copyright (c) 2025, Qualcomm Innovation Center, Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+Upstream SGSR1 BSD 3-Clause License (2023)
+----------------------------
+Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff --git a/app/src/main/cpp/shaders/cas.frag b/app/src/main/cpp/shaders/cas.frag
new file mode 100644
index 0000000000..26c3adee9c
--- /dev/null
+++ b/app/src/main/cpp/shaders/cas.frag
@@ -0,0 +1,68 @@
+#version 450
+
+// =============================================================================
+// AMD FidelityFX CAS (Contrast-Adaptive Sharpening) - pure-CAS path.
+//
+// Ported from the OpenGL FSREffect.java MODE_SUPER_RESOLUTION shader so the
+// Vulkan compositor's post-process pipeline applies the SAME sharpen the GL
+// renderer's "Sharpen (CAS)" toggle does. Composable: layers on top of any
+// scaling mode and runs even at native resolution (no upscale).
+//
+// Conventions match upscale.vert: combined-image-sampler at binding 0, the
+// push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+//
+// Slider -> SHARPNESS mapping is done CPU-side (planUpscaleFrame):
+// SHARPNESS = slider / 100 (clamped 0..1, default slider 60 -> 0.60)
+// Higher slider = stronger sharpen. This is the genuine AMD CAS sharpness term
+// (peak = lerp(8,5,SHARPNESS)); note the GL source's level->value comments were
+// inverted, so we map directly to the AMD term instead of copying that table.
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ vec2 resolution; // input texture size in pixels
+ float sharpness; // CAS SHARPNESS term [0..1]
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+void main() {
+ vec2 uv = fragTexCoord;
+ vec2 px = 1.0 / pc.resolution;
+ float SHARPNESS = pc.sharpness;
+
+ // 3x3 neighbourhood
+ vec3 a = texture(InputTexture, uv + vec2(-px.x, -px.y)).rgb;
+ vec3 b = texture(InputTexture, uv + vec2( 0.0, -px.y)).rgb;
+ vec3 c = texture(InputTexture, uv + vec2( px.x, -px.y)).rgb;
+ vec3 d = texture(InputTexture, uv + vec2(-px.x, 0.0)).rgb;
+ vec3 e = texture(InputTexture, uv).rgb;
+ vec3 f = texture(InputTexture, uv + vec2( px.x, 0.0)).rgb;
+ vec3 g = texture(InputTexture, uv + vec2(-px.x, px.y)).rgb;
+ vec3 h = texture(InputTexture, uv + vec2( 0.0, px.y)).rgb;
+ vec3 i = texture(InputTexture, uv + vec2( px.x, px.y)).rgb;
+
+ // CAS
+ vec3 mnRGB = min(min(min(d, e), min(f, b)), h);
+ vec3 mnRGB2 = min(min(min(mnRGB, a), min(g, c)), i);
+ mnRGB += mnRGB2;
+
+ vec3 mxRGB = max(max(max(d, e), max(f, b)), h);
+ vec3 mxRGB2 = max(max(max(mxRGB, a), max(g, c)), i);
+ mxRGB += mxRGB2;
+
+ vec3 rcpMxRGB = vec3(1.0) / max(mxRGB, vec3(1e-6));
+ vec3 ampRGB = clamp(min(mnRGB, 2.0 - mxRGB) * rcpMxRGB, 0.0, 1.0);
+
+ float peak = 8.0 - 3.0 * SHARPNESS;
+ vec3 wRGB = -sqrt(ampRGB) / peak;
+ vec3 rcpWeightRGB = vec3(1.0) / (1.0 + 4.0 * wRGB);
+
+ vec3 window = (b + d) + (f + h);
+ vec3 col = clamp((window * wRGB + e) * rcpWeightRGB, 0.0, 1.0);
+
+ outColor = vec4(col, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/cas_ffx.frag b/app/src/main/cpp/shaders/cas_ffx.frag
new file mode 100644
index 0000000000..9e0b68a1f4
--- /dev/null
+++ b/app/src/main/cpp/shaders/cas_ffx.frag
@@ -0,0 +1,108 @@
+#version 450
+
+// =============================================================================
+// AMD FidelityFX CAS (Contrast Adaptive Sharpening) - sharpen-only path.
+//
+// Ported from AMD's reference header:
+// GPUOpen-Effects/FidelityFX-CAS ffx-cas/ffx_cas.h (v1.0.2, CAS 1.20190610)
+// CasSetup() sharpness term + CasFilter() with noScaling == true.
+//
+// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to
+// deal in the Software without restriction, including without limitation the
+// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+// sell copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+// IN THE SOFTWARE.
+//
+// Adapted in Bannerlator (The412Banner/Bannerlator) for its compositors; here
+// in the Wayland effects chain, built half only (cas_ffx_half_frag.h):
+// - AMD's default build: CAS_BETTER_DIAGONALS, CAS_SLOW and CAS_GO_SLOWER not
+// defined -> the 5-tap "circle" (b d e f h) and the green channel's weight
+// for all channels. cas.frag (the previous shader) is the BETTER_DIAGONALS
+// + CAS_SLOW maths with 9 taps.
+// - APrxLoRcp / APrxLoSqrt / APrxMedRcp (bit-trick approximations for AMD
+// ALUs) are plain 1/x and sqrt here.
+// - Same push constants as cas.frag: ndc, input size, sharpness [0..1].
+// CasSetup's const1.x = -1 / lerp(8, 5, sharpness) is computed here.
+// - The input is the effect chain's previous target at the same size, so the
+// output pixel reads the input pixel 1:1 (texelFetch, edges clamped).
+// =============================================================================
+
+// DD_HALF is set for the *_half_frag.h build (gen_shaders.sh): colour and
+// weight maths in mediump (RelaxedPrecision, 16-bit on Adreno) as in AMD's
+// CasFilterH; positions stay highp.
+#ifdef DD_HALF
+precision mediump float;
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ highp vec2 resolution; // input (= output) size in pixels
+ float sharpness; // CAS sharpness [0..1]
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+vec3 CasLoad(ivec2 p) {
+ ivec2 sz = textureSize(InputTexture, 0);
+ return texelFetch(InputTexture, clamp(p, ivec2(0), sz - ivec2(1)), 0).rgb;
+}
+
+float AMin3F1(float x, float y, float z) { return min(x, min(y, z)); }
+float AMax3F1(float x, float y, float z) { return max(x, max(y, z)); }
+
+void main() {
+ ivec2 sp = ivec2(fragTexCoord * pc.resolution);
+
+ // CasSetup: sharp = -1 / lerp(8.0, 5.0, saturate(sharpness)).
+ float peak = -1.0 / mix(8.0, 5.0, clamp(pc.sharpness, 0.0, 1.0));
+
+ // b
+ // d e f
+ // h
+ vec3 b = CasLoad(sp + ivec2( 0, -1));
+ vec3 d = CasLoad(sp + ivec2(-1, 0));
+ vec3 e = CasLoad(sp);
+ vec3 f = CasLoad(sp + ivec2( 1, 0));
+ vec3 h = CasLoad(sp + ivec2( 0, 1));
+
+ // Soft min and max of the circle (green only: the weight below uses green).
+ float mnG = AMin3F1(AMin3F1(d.g, e.g, f.g), b.g, h.g);
+ float mxG = AMax3F1(AMax3F1(d.g, e.g, f.g), b.g, h.g);
+
+ // Smooth minimum distance to signal limit divided by smooth max.
+ // AMD's bit-trick reciprocal stays finite at 0; 1/0 here would give 0 * inf
+ // on black, so the max is floored (below one 8-bit step; mn = 0 there anyway).
+ float rcpMG = 1.0 / max(mxG, 1.0 / 1024.0);
+ float ampG = clamp(min(mnG, 1.0 - mxG) * rcpMG, 0.0, 1.0);
+
+ // Shaping amount of sharpening.
+ ampG = sqrt(ampG);
+
+ // Filter shape: 0 w 0 / w 1 w / 0 w 0
+ float wG = ampG * peak;
+ float rcpWeight = 1.0 / (1.0 + 4.0 * wG);
+ vec3 pix = clamp((b * wG + d * wG + f * wG + h * wG + e) * rcpWeight, 0.0, 1.0);
+
+ outColor = vec4(pix, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/cas_ffx_half_frag.h b/app/src/main/cpp/shaders/cas_ffx_half_frag.h
new file mode 100644
index 0000000000..22fbf6119b
--- /dev/null
+++ b/app/src/main/cpp/shaders/cas_ffx_half_frag.h
@@ -0,0 +1,214 @@
+ // 1116.2.0
+ #pragma once
+const uint32_t cas_ffx_half_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x000000d7,0x00000000,0x00020011,0x00000001,0x00020011,
+ 0x00000032,0x0006000b,0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,
+ 0x00000000,0x00000001,0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000043,
+ 0x000000d1,0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,
+ 0x00000004,0x6e69616d,0x00000000,0x00060005,0x0000000d,0x4c736143,0x2864616f,0x3b326976,
+ 0x00000000,0x00030005,0x0000000c,0x00000070,0x00070005,0x00000014,0x6e694d41,0x28314633,
+ 0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000011,0x00000078,0x00030005,0x00000012,
+ 0x00000079,0x00030005,0x00000013,0x0000007a,0x00070005,0x00000019,0x78614d41,0x28314633,
+ 0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000016,0x00000078,0x00030005,0x00000017,
+ 0x00000079,0x00030005,0x00000018,0x0000007a,0x00030005,0x0000001b,0x00007a73,0x00060005,
+ 0x0000001f,0x75706e49,0x78655474,0x65727574,0x00000000,0x00030005,0x00000040,0x00007073,
+ 0x00060005,0x00000043,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00030005,0x00000045,
+ 0x00004350,0x00040006,0x00000045,0x00000000,0x0063646e,0x00060006,0x00000045,0x00000001,
+ 0x6f736572,0x6974756c,0x00006e6f,0x00060006,0x00000045,0x00000002,0x72616873,0x73656e70,
+ 0x00000073,0x00030005,0x00000047,0x00006370,0x00040005,0x0000004d,0x6b616570,0x00000000,
+ 0x00030005,0x0000005b,0x00000062,0x00040005,0x00000060,0x61726170,0x0000006d,0x00030005,
+ 0x00000062,0x00000064,0x00040005,0x00000066,0x61726170,0x0000006d,0x00030005,0x00000068,
+ 0x00000065,0x00040005,0x00000069,0x61726170,0x0000006d,0x00030005,0x0000006c,0x00000066,
+ 0x00040005,0x00000070,0x61726170,0x0000006d,0x00030005,0x00000072,0x00000068,0x00040005,
+ 0x00000076,0x61726170,0x0000006d,0x00030005,0x00000078,0x00476e6d,0x00040005,0x00000079,
+ 0x61726170,0x0000006d,0x00040005,0x0000007e,0x61726170,0x0000006d,0x00040005,0x00000081,
+ 0x61726170,0x0000006d,0x00040005,0x00000085,0x61726170,0x0000006d,0x00040005,0x00000086,
+ 0x61726170,0x0000006d,0x00040005,0x00000089,0x61726170,0x0000006d,0x00030005,0x0000008d,
+ 0x0047786d,0x00040005,0x0000008e,0x61726170,0x0000006d,0x00040005,0x00000091,0x61726170,
+ 0x0000006d,0x00040005,0x00000094,0x61726170,0x0000006d,0x00040005,0x00000098,0x61726170,
+ 0x0000006d,0x00040005,0x00000099,0x61726170,0x0000006d,0x00040005,0x0000009c,0x61726170,
+ 0x0000006d,0x00040005,0x000000a0,0x4d706372,0x00000047,0x00040005,0x000000a5,0x47706d61,
+ 0x00000000,0x00030005,0x000000af,0x00004777,0x00050005,0x000000b3,0x57706372,0x68676965,
+ 0x00000074,0x00030005,0x000000b9,0x00786970,0x00050005,0x000000d1,0x4374756f,0x726f6c6f,
+ 0x00000000,0x00030047,0x0000000d,0x00000000,0x00030047,0x00000011,0x00000000,0x00030047,
+ 0x00000012,0x00000000,0x00030047,0x00000013,0x00000000,0x00030047,0x00000014,0x00000000,
+ 0x00030047,0x00000016,0x00000000,0x00030047,0x00000017,0x00000000,0x00030047,0x00000018,
+ 0x00000000,0x00030047,0x00000019,0x00000000,0x00030047,0x0000001f,0x00000000,0x00040047,
+ 0x0000001f,0x00000021,0x00000000,0x00040047,0x0000001f,0x00000022,0x00000000,0x00030047,
+ 0x00000020,0x00000000,0x00030047,0x00000024,0x00000000,0x00030047,0x0000002e,0x00000000,
+ 0x00030047,0x0000002f,0x00000000,0x00030047,0x00000032,0x00000000,0x00030047,0x00000033,
+ 0x00000000,0x00030047,0x00000034,0x00000000,0x00030047,0x00000035,0x00000000,0x00030047,
+ 0x00000036,0x00000000,0x00030047,0x00000039,0x00000000,0x00030047,0x0000003a,0x00000000,
+ 0x00030047,0x0000003b,0x00000000,0x00030047,0x0000003c,0x00000000,0x00030047,0x0000003d,
+ 0x00000000,0x00040047,0x00000043,0x0000001e,0x00000000,0x00030047,0x00000045,0x00000002,
+ 0x00050048,0x00000045,0x00000000,0x00000023,0x00000000,0x00050048,0x00000045,0x00000001,
+ 0x00000023,0x00000010,0x00040048,0x00000045,0x00000002,0x00000000,0x00050048,0x00000045,
+ 0x00000002,0x00000023,0x00000018,0x00030047,0x0000004d,0x00000000,0x00030047,0x00000054,
+ 0x00000000,0x00030047,0x00000057,0x00000000,0x00030047,0x00000058,0x00000000,0x00030047,
+ 0x00000059,0x00000000,0x00030047,0x0000005b,0x00000000,0x00030047,0x00000061,0x00000000,
+ 0x00030047,0x00000062,0x00000000,0x00030047,0x00000067,0x00000000,0x00030047,0x00000068,
+ 0x00000000,0x00030047,0x0000006b,0x00000000,0x00030047,0x0000006c,0x00000000,0x00030047,
+ 0x00000071,0x00000000,0x00030047,0x00000072,0x00000000,0x00030047,0x00000077,0x00000000,
+ 0x00030047,0x00000078,0x00000000,0x00030047,0x00000079,0x00000000,0x00030047,0x0000007d,
+ 0x00000000,0x00030047,0x0000007e,0x00000000,0x00030047,0x00000080,0x00000000,0x00030047,
+ 0x00000081,0x00000000,0x00030047,0x00000083,0x00000000,0x00030047,0x00000084,0x00000000,
+ 0x00030047,0x00000085,0x00000000,0x00030047,0x00000086,0x00000000,0x00030047,0x00000088,
+ 0x00000000,0x00030047,0x00000089,0x00000000,0x00030047,0x0000008b,0x00000000,0x00030047,
+ 0x0000008c,0x00000000,0x00030047,0x0000008d,0x00000000,0x00030047,0x0000008e,0x00000000,
+ 0x00030047,0x00000090,0x00000000,0x00030047,0x00000091,0x00000000,0x00030047,0x00000093,
+ 0x00000000,0x00030047,0x00000094,0x00000000,0x00030047,0x00000096,0x00000000,0x00030047,
+ 0x00000097,0x00000000,0x00030047,0x00000098,0x00000000,0x00030047,0x00000099,0x00000000,
+ 0x00030047,0x0000009b,0x00000000,0x00030047,0x0000009c,0x00000000,0x00030047,0x0000009e,
+ 0x00000000,0x00030047,0x0000009f,0x00000000,0x00030047,0x000000a0,0x00000000,0x00030047,
+ 0x000000a1,0x00000000,0x00030047,0x000000a3,0x00000000,0x00030047,0x000000a4,0x00000000,
+ 0x00030047,0x000000a5,0x00000000,0x00030047,0x000000a6,0x00000000,0x00030047,0x000000a7,
+ 0x00000000,0x00030047,0x000000a8,0x00000000,0x00030047,0x000000a9,0x00000000,0x00030047,
+ 0x000000aa,0x00000000,0x00030047,0x000000ab,0x00000000,0x00030047,0x000000ac,0x00000000,
+ 0x00030047,0x000000ad,0x00000000,0x00030047,0x000000ae,0x00000000,0x00030047,0x000000af,
+ 0x00000000,0x00030047,0x000000b0,0x00000000,0x00030047,0x000000b1,0x00000000,0x00030047,
+ 0x000000b2,0x00000000,0x00030047,0x000000b3,0x00000000,0x00030047,0x000000b5,0x00000000,
+ 0x00030047,0x000000b6,0x00000000,0x00030047,0x000000b7,0x00000000,0x00030047,0x000000b8,
+ 0x00000000,0x00030047,0x000000b9,0x00000000,0x00030047,0x000000ba,0x00000000,0x00030047,
+ 0x000000bb,0x00000000,0x00030047,0x000000bc,0x00000000,0x00030047,0x000000bd,0x00000000,
+ 0x00030047,0x000000be,0x00000000,0x00030047,0x000000bf,0x00000000,0x00030047,0x000000c0,
+ 0x00000000,0x00030047,0x000000c1,0x00000000,0x00030047,0x000000c2,0x00000000,0x00030047,
+ 0x000000c3,0x00000000,0x00030047,0x000000c4,0x00000000,0x00030047,0x000000c5,0x00000000,
+ 0x00030047,0x000000c6,0x00000000,0x00030047,0x000000c7,0x00000000,0x00030047,0x000000c8,
+ 0x00000000,0x00030047,0x000000c9,0x00000000,0x00030047,0x000000ca,0x00000000,0x00030047,
+ 0x000000cb,0x00000000,0x00030047,0x000000cc,0x00000000,0x00030047,0x000000cd,0x00000000,
+ 0x00030047,0x000000ce,0x00000000,0x00030047,0x000000cf,0x00000000,0x00030047,0x000000d1,
+ 0x00000000,0x00040047,0x000000d1,0x0000001e,0x00000000,0x00030047,0x000000d2,0x00000000,
+ 0x00030047,0x000000d3,0x00000000,0x00030047,0x000000d4,0x00000000,0x00030047,0x000000d5,
+ 0x00000000,0x00030047,0x000000d6,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,
+ 0x00000002,0x00040015,0x00000006,0x00000020,0x00000001,0x00040017,0x00000007,0x00000006,
+ 0x00000002,0x00040020,0x00000008,0x00000007,0x00000007,0x00030016,0x00000009,0x00000020,
+ 0x00040017,0x0000000a,0x00000009,0x00000003,0x00040021,0x0000000b,0x0000000a,0x00000008,
+ 0x00040020,0x0000000f,0x00000007,0x00000009,0x00060021,0x00000010,0x00000009,0x0000000f,
+ 0x0000000f,0x0000000f,0x00090019,0x0000001c,0x00000009,0x00000001,0x00000000,0x00000000,
+ 0x00000000,0x00000001,0x00000000,0x0003001b,0x0000001d,0x0000001c,0x00040020,0x0000001e,
+ 0x00000000,0x0000001d,0x0004003b,0x0000001e,0x0000001f,0x00000000,0x0004002b,0x00000006,
+ 0x00000021,0x00000000,0x0005002c,0x00000007,0x00000026,0x00000021,0x00000021,0x0004002b,
+ 0x00000006,0x00000028,0x00000001,0x0005002c,0x00000007,0x00000029,0x00000028,0x00000028,
+ 0x00040017,0x0000002d,0x00000009,0x00000004,0x00040017,0x00000041,0x00000009,0x00000002,
+ 0x00040020,0x00000042,0x00000001,0x00000041,0x0004003b,0x00000042,0x00000043,0x00000001,
+ 0x0005001e,0x00000045,0x0000002d,0x00000041,0x00000009,0x00040020,0x00000046,0x00000009,
+ 0x00000045,0x0004003b,0x00000046,0x00000047,0x00000009,0x00040020,0x00000048,0x00000009,
+ 0x00000041,0x0004002b,0x00000009,0x0000004e,0xbf800000,0x0004002b,0x00000009,0x0000004f,
+ 0x41000000,0x0004002b,0x00000009,0x00000050,0x40a00000,0x0004002b,0x00000006,0x00000051,
+ 0x00000002,0x00040020,0x00000052,0x00000009,0x00000009,0x0004002b,0x00000009,0x00000055,
+ 0x00000000,0x0004002b,0x00000009,0x00000056,0x3f800000,0x00040020,0x0000005a,0x00000007,
+ 0x0000000a,0x0004002b,0x00000006,0x0000005d,0xffffffff,0x0005002c,0x00000007,0x0000005e,
+ 0x00000021,0x0000005d,0x0005002c,0x00000007,0x00000064,0x0000005d,0x00000021,0x0005002c,
+ 0x00000007,0x0000006e,0x00000028,0x00000021,0x0005002c,0x00000007,0x00000074,0x00000021,
+ 0x00000028,0x00040015,0x0000007a,0x00000020,0x00000000,0x0004002b,0x0000007a,0x0000007b,
+ 0x00000001,0x0004002b,0x00000009,0x000000a2,0x3a800000,0x0004002b,0x00000009,0x000000b4,
+ 0x40800000,0x00040020,0x000000d0,0x00000003,0x0000002d,0x0004003b,0x000000d0,0x000000d1,
+ 0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,
+ 0x0004003b,0x00000008,0x00000040,0x00000007,0x0004003b,0x0000000f,0x0000004d,0x00000007,
+ 0x0004003b,0x0000005a,0x0000005b,0x00000007,0x0004003b,0x00000008,0x00000060,0x00000007,
+ 0x0004003b,0x0000005a,0x00000062,0x00000007,0x0004003b,0x00000008,0x00000066,0x00000007,
+ 0x0004003b,0x0000005a,0x00000068,0x00000007,0x0004003b,0x00000008,0x00000069,0x00000007,
+ 0x0004003b,0x0000005a,0x0000006c,0x00000007,0x0004003b,0x00000008,0x00000070,0x00000007,
+ 0x0004003b,0x0000005a,0x00000072,0x00000007,0x0004003b,0x00000008,0x00000076,0x00000007,
+ 0x0004003b,0x0000000f,0x00000078,0x00000007,0x0004003b,0x0000000f,0x00000079,0x00000007,
+ 0x0004003b,0x0000000f,0x0000007e,0x00000007,0x0004003b,0x0000000f,0x00000081,0x00000007,
+ 0x0004003b,0x0000000f,0x00000085,0x00000007,0x0004003b,0x0000000f,0x00000086,0x00000007,
+ 0x0004003b,0x0000000f,0x00000089,0x00000007,0x0004003b,0x0000000f,0x0000008d,0x00000007,
+ 0x0004003b,0x0000000f,0x0000008e,0x00000007,0x0004003b,0x0000000f,0x00000091,0x00000007,
+ 0x0004003b,0x0000000f,0x00000094,0x00000007,0x0004003b,0x0000000f,0x00000098,0x00000007,
+ 0x0004003b,0x0000000f,0x00000099,0x00000007,0x0004003b,0x0000000f,0x0000009c,0x00000007,
+ 0x0004003b,0x0000000f,0x000000a0,0x00000007,0x0004003b,0x0000000f,0x000000a5,0x00000007,
+ 0x0004003b,0x0000000f,0x000000af,0x00000007,0x0004003b,0x0000000f,0x000000b3,0x00000007,
+ 0x0004003b,0x0000005a,0x000000b9,0x00000007,0x0004003d,0x00000041,0x00000044,0x00000043,
+ 0x00050041,0x00000048,0x00000049,0x00000047,0x00000028,0x0004003d,0x00000041,0x0000004a,
+ 0x00000049,0x00050085,0x00000041,0x0000004b,0x00000044,0x0000004a,0x0004006e,0x00000007,
+ 0x0000004c,0x0000004b,0x0003003e,0x00000040,0x0000004c,0x00050041,0x00000052,0x00000053,
+ 0x00000047,0x00000051,0x0004003d,0x00000009,0x00000054,0x00000053,0x0008000c,0x00000009,
+ 0x00000057,0x00000001,0x0000002b,0x00000054,0x00000055,0x00000056,0x0008000c,0x00000009,
+ 0x00000058,0x00000001,0x0000002e,0x0000004f,0x00000050,0x00000057,0x00050088,0x00000009,
+ 0x00000059,0x0000004e,0x00000058,0x0003003e,0x0000004d,0x00000059,0x0004003d,0x00000007,
+ 0x0000005c,0x00000040,0x00050080,0x00000007,0x0000005f,0x0000005c,0x0000005e,0x0003003e,
+ 0x00000060,0x0000005f,0x00050039,0x0000000a,0x00000061,0x0000000d,0x00000060,0x0003003e,
+ 0x0000005b,0x00000061,0x0004003d,0x00000007,0x00000063,0x00000040,0x00050080,0x00000007,
+ 0x00000065,0x00000063,0x00000064,0x0003003e,0x00000066,0x00000065,0x00050039,0x0000000a,
+ 0x00000067,0x0000000d,0x00000066,0x0003003e,0x00000062,0x00000067,0x0004003d,0x00000007,
+ 0x0000006a,0x00000040,0x0003003e,0x00000069,0x0000006a,0x00050039,0x0000000a,0x0000006b,
+ 0x0000000d,0x00000069,0x0003003e,0x00000068,0x0000006b,0x0004003d,0x00000007,0x0000006d,
+ 0x00000040,0x00050080,0x00000007,0x0000006f,0x0000006d,0x0000006e,0x0003003e,0x00000070,
+ 0x0000006f,0x00050039,0x0000000a,0x00000071,0x0000000d,0x00000070,0x0003003e,0x0000006c,
+ 0x00000071,0x0004003d,0x00000007,0x00000073,0x00000040,0x00050080,0x00000007,0x00000075,
+ 0x00000073,0x00000074,0x0003003e,0x00000076,0x00000075,0x00050039,0x0000000a,0x00000077,
+ 0x0000000d,0x00000076,0x0003003e,0x00000072,0x00000077,0x00050041,0x0000000f,0x0000007c,
+ 0x00000062,0x0000007b,0x0004003d,0x00000009,0x0000007d,0x0000007c,0x0003003e,0x00000079,
+ 0x0000007d,0x00050041,0x0000000f,0x0000007f,0x00000068,0x0000007b,0x0004003d,0x00000009,
+ 0x00000080,0x0000007f,0x0003003e,0x0000007e,0x00000080,0x00050041,0x0000000f,0x00000082,
+ 0x0000006c,0x0000007b,0x0004003d,0x00000009,0x00000083,0x00000082,0x0003003e,0x00000081,
+ 0x00000083,0x00070039,0x00000009,0x00000084,0x00000014,0x00000079,0x0000007e,0x00000081,
+ 0x0003003e,0x00000085,0x00000084,0x00050041,0x0000000f,0x00000087,0x0000005b,0x0000007b,
+ 0x0004003d,0x00000009,0x00000088,0x00000087,0x0003003e,0x00000086,0x00000088,0x00050041,
+ 0x0000000f,0x0000008a,0x00000072,0x0000007b,0x0004003d,0x00000009,0x0000008b,0x0000008a,
+ 0x0003003e,0x00000089,0x0000008b,0x00070039,0x00000009,0x0000008c,0x00000014,0x00000085,
+ 0x00000086,0x00000089,0x0003003e,0x00000078,0x0000008c,0x00050041,0x0000000f,0x0000008f,
+ 0x00000062,0x0000007b,0x0004003d,0x00000009,0x00000090,0x0000008f,0x0003003e,0x0000008e,
+ 0x00000090,0x00050041,0x0000000f,0x00000092,0x00000068,0x0000007b,0x0004003d,0x00000009,
+ 0x00000093,0x00000092,0x0003003e,0x00000091,0x00000093,0x00050041,0x0000000f,0x00000095,
+ 0x0000006c,0x0000007b,0x0004003d,0x00000009,0x00000096,0x00000095,0x0003003e,0x00000094,
+ 0x00000096,0x00070039,0x00000009,0x00000097,0x00000019,0x0000008e,0x00000091,0x00000094,
+ 0x0003003e,0x00000098,0x00000097,0x00050041,0x0000000f,0x0000009a,0x0000005b,0x0000007b,
+ 0x0004003d,0x00000009,0x0000009b,0x0000009a,0x0003003e,0x00000099,0x0000009b,0x00050041,
+ 0x0000000f,0x0000009d,0x00000072,0x0000007b,0x0004003d,0x00000009,0x0000009e,0x0000009d,
+ 0x0003003e,0x0000009c,0x0000009e,0x00070039,0x00000009,0x0000009f,0x00000019,0x00000098,
+ 0x00000099,0x0000009c,0x0003003e,0x0000008d,0x0000009f,0x0004003d,0x00000009,0x000000a1,
+ 0x0000008d,0x0007000c,0x00000009,0x000000a3,0x00000001,0x00000028,0x000000a1,0x000000a2,
+ 0x00050088,0x00000009,0x000000a4,0x00000056,0x000000a3,0x0003003e,0x000000a0,0x000000a4,
+ 0x0004003d,0x00000009,0x000000a6,0x00000078,0x0004003d,0x00000009,0x000000a7,0x0000008d,
+ 0x00050083,0x00000009,0x000000a8,0x00000056,0x000000a7,0x0007000c,0x00000009,0x000000a9,
+ 0x00000001,0x00000025,0x000000a6,0x000000a8,0x0004003d,0x00000009,0x000000aa,0x000000a0,
+ 0x00050085,0x00000009,0x000000ab,0x000000a9,0x000000aa,0x0008000c,0x00000009,0x000000ac,
+ 0x00000001,0x0000002b,0x000000ab,0x00000055,0x00000056,0x0003003e,0x000000a5,0x000000ac,
+ 0x0004003d,0x00000009,0x000000ad,0x000000a5,0x0006000c,0x00000009,0x000000ae,0x00000001,
+ 0x0000001f,0x000000ad,0x0003003e,0x000000a5,0x000000ae,0x0004003d,0x00000009,0x000000b0,
+ 0x000000a5,0x0004003d,0x00000009,0x000000b1,0x0000004d,0x00050085,0x00000009,0x000000b2,
+ 0x000000b0,0x000000b1,0x0003003e,0x000000af,0x000000b2,0x0004003d,0x00000009,0x000000b5,
+ 0x000000af,0x00050085,0x00000009,0x000000b6,0x000000b4,0x000000b5,0x00050081,0x00000009,
+ 0x000000b7,0x00000056,0x000000b6,0x00050088,0x00000009,0x000000b8,0x00000056,0x000000b7,
+ 0x0003003e,0x000000b3,0x000000b8,0x0004003d,0x0000000a,0x000000ba,0x0000005b,0x0004003d,
+ 0x00000009,0x000000bb,0x000000af,0x0005008e,0x0000000a,0x000000bc,0x000000ba,0x000000bb,
+ 0x0004003d,0x0000000a,0x000000bd,0x00000062,0x0004003d,0x00000009,0x000000be,0x000000af,
+ 0x0005008e,0x0000000a,0x000000bf,0x000000bd,0x000000be,0x00050081,0x0000000a,0x000000c0,
+ 0x000000bc,0x000000bf,0x0004003d,0x0000000a,0x000000c1,0x0000006c,0x0004003d,0x00000009,
+ 0x000000c2,0x000000af,0x0005008e,0x0000000a,0x000000c3,0x000000c1,0x000000c2,0x00050081,
+ 0x0000000a,0x000000c4,0x000000c0,0x000000c3,0x0004003d,0x0000000a,0x000000c5,0x00000072,
+ 0x0004003d,0x00000009,0x000000c6,0x000000af,0x0005008e,0x0000000a,0x000000c7,0x000000c5,
+ 0x000000c6,0x00050081,0x0000000a,0x000000c8,0x000000c4,0x000000c7,0x0004003d,0x0000000a,
+ 0x000000c9,0x00000068,0x00050081,0x0000000a,0x000000ca,0x000000c8,0x000000c9,0x0004003d,
+ 0x00000009,0x000000cb,0x000000b3,0x0005008e,0x0000000a,0x000000cc,0x000000ca,0x000000cb,
+ 0x00060050,0x0000000a,0x000000cd,0x00000055,0x00000055,0x00000055,0x00060050,0x0000000a,
+ 0x000000ce,0x00000056,0x00000056,0x00000056,0x0008000c,0x0000000a,0x000000cf,0x00000001,
+ 0x0000002b,0x000000cc,0x000000cd,0x000000ce,0x0003003e,0x000000b9,0x000000cf,0x0004003d,
+ 0x0000000a,0x000000d2,0x000000b9,0x00050051,0x00000009,0x000000d3,0x000000d2,0x00000000,
+ 0x00050051,0x00000009,0x000000d4,0x000000d2,0x00000001,0x00050051,0x00000009,0x000000d5,
+ 0x000000d2,0x00000002,0x00070050,0x0000002d,0x000000d6,0x000000d3,0x000000d4,0x000000d5,
+ 0x00000056,0x0003003e,0x000000d1,0x000000d6,0x000100fd,0x00010038,0x00050036,0x0000000a,
+ 0x0000000d,0x00000000,0x0000000b,0x00030037,0x00000008,0x0000000c,0x000200f8,0x0000000e,
+ 0x0004003b,0x00000008,0x0000001b,0x00000007,0x0004003d,0x0000001d,0x00000020,0x0000001f,
+ 0x00040064,0x0000001c,0x00000022,0x00000020,0x00050067,0x00000007,0x00000023,0x00000022,
+ 0x00000021,0x0003003e,0x0000001b,0x00000023,0x0004003d,0x0000001d,0x00000024,0x0000001f,
+ 0x0004003d,0x00000007,0x00000025,0x0000000c,0x0004003d,0x00000007,0x00000027,0x0000001b,
+ 0x00050082,0x00000007,0x0000002a,0x00000027,0x00000029,0x0008000c,0x00000007,0x0000002b,
+ 0x00000001,0x0000002d,0x00000025,0x00000026,0x0000002a,0x00040064,0x0000001c,0x0000002c,
+ 0x00000024,0x0007005f,0x0000002d,0x0000002e,0x0000002c,0x0000002b,0x00000002,0x00000021,
+ 0x0008004f,0x0000000a,0x0000002f,0x0000002e,0x0000002e,0x00000000,0x00000001,0x00000002,
+ 0x000200fe,0x0000002f,0x00010038,0x00050036,0x00000009,0x00000014,0x00000000,0x00000010,
+ 0x00030037,0x0000000f,0x00000011,0x00030037,0x0000000f,0x00000012,0x00030037,0x0000000f,
+ 0x00000013,0x000200f8,0x00000015,0x0004003d,0x00000009,0x00000032,0x00000011,0x0004003d,
+ 0x00000009,0x00000033,0x00000012,0x0004003d,0x00000009,0x00000034,0x00000013,0x0007000c,
+ 0x00000009,0x00000035,0x00000001,0x00000025,0x00000033,0x00000034,0x0007000c,0x00000009,
+ 0x00000036,0x00000001,0x00000025,0x00000032,0x00000035,0x000200fe,0x00000036,0x00010038,
+ 0x00050036,0x00000009,0x00000019,0x00000000,0x00000010,0x00030037,0x0000000f,0x00000016,
+ 0x00030037,0x0000000f,0x00000017,0x00030037,0x0000000f,0x00000018,0x000200f8,0x0000001a,
+ 0x0004003d,0x00000009,0x00000039,0x00000016,0x0004003d,0x00000009,0x0000003a,0x00000017,
+ 0x0004003d,0x00000009,0x0000003b,0x00000018,0x0007000c,0x00000009,0x0000003c,0x00000001,
+ 0x00000028,0x0000003a,0x0000003b,0x0007000c,0x00000009,0x0000003d,0x00000001,0x00000028,
+ 0x00000039,0x0000003c,0x000200fe,0x0000003d,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/cas_frag.h b/app/src/main/cpp/shaders/cas_frag.h
index 103c2cce42..e21737d61a 100644
--- a/app/src/main/cpp/shaders/cas_frag.h
+++ b/app/src/main/cpp/shaders/cas_frag.h
@@ -1,8 +1,9 @@
+ // 1116.3.0
#pragma once
const uint32_t cas_code[] = {
- 0x07230203,0x00010000,0x0008000b,0x000000f3,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x07230203,0x00010000,0x0008000b,0x000000f4,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
- 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000b,0x000000ed,0x00030010,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000b,0x000000ee,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00030005,0x00000009,0x00007675,0x00060005,0x0000000b,0x67617266,0x43786554,
0x64726f6f,0x00000000,0x00030005,0x0000000d,0x00007870,0x00030005,0x00000010,0x00004350,
@@ -15,15 +16,15 @@ const uint32_t cas_code[] = {
0x00030005,0x00000065,0x00000067,0x00030005,0x00000071,0x00000068,0x00030005,0x0000007a,
0x00000069,0x00040005,0x00000085,0x47526e6d,0x00000042,0x00040005,0x0000008f,0x47526e6d,
0x00003242,0x00040005,0x0000009c,0x4752786d,0x00000042,0x00040005,0x000000a6,0x4752786d,
- 0x00003242,0x00050005,0x000000b3,0x4d706372,0x42475278,0x00000000,0x00040005,0x000000b7,
- 0x52706d61,0x00004247,0x00040005,0x000000c5,0x6b616570,0x00000000,0x00040005,0x000000cb,
- 0x42475277,0x00000000,0x00060005,0x000000d2,0x57706372,0x68676965,0x42475274,0x00000000,
- 0x00040005,0x000000d9,0x646e6977,0x0000776f,0x00030005,0x000000e1,0x006c6f63,0x00050005,
- 0x000000ed,0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000000b,0x0000001e,0x00000000,
+ 0x00003242,0x00050005,0x000000b3,0x4d706372,0x42475278,0x00000000,0x00040005,0x000000ba,
+ 0x52706d61,0x00004247,0x00040005,0x000000c6,0x6b616570,0x00000000,0x00040005,0x000000cc,
+ 0x42475277,0x00000000,0x00060005,0x000000d3,0x57706372,0x68676965,0x42475274,0x00000000,
+ 0x00040005,0x000000da,0x646e6977,0x0000776f,0x00030005,0x000000e2,0x006c6f63,0x00050005,
+ 0x000000ee,0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000000b,0x0000001e,0x00000000,
0x00030047,0x00000010,0x00000002,0x00050048,0x00000010,0x00000000,0x00000023,0x00000000,
0x00050048,0x00000010,0x00000001,0x00000023,0x00000010,0x00050048,0x00000010,0x00000002,
0x00000023,0x00000018,0x00040047,0x00000026,0x00000021,0x00000000,0x00040047,0x00000026,
- 0x00000022,0x00000000,0x00040047,0x000000ed,0x0000001e,0x00000000,0x00020013,0x00000002,
+ 0x00000022,0x00000000,0x00040047,0x000000ee,0x0000001e,0x00000000,0x00020013,0x00000002,
0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,
0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,0x00000007,0x00040020,0x0000000a,
0x00000001,0x00000007,0x0004003b,0x0000000a,0x0000000b,0x00000001,0x0004002b,0x00000006,
@@ -38,11 +39,11 @@ const uint32_t cas_code[] = {
0x00000025,0x00000000,0x00000024,0x0004003b,0x00000025,0x00000026,0x00000000,0x00040015,
0x00000029,0x00000020,0x00000000,0x0004002b,0x00000029,0x0000002a,0x00000000,0x0004002b,
0x00000029,0x0000002e,0x00000001,0x0004002b,0x00000006,0x00000039,0x00000000,0x0006002c,
- 0x00000020,0x000000b4,0x0000000e,0x0000000e,0x0000000e,0x0004002b,0x00000006,0x000000b9,
- 0x40000000,0x0004002b,0x00000006,0x000000c6,0x41000000,0x0004002b,0x00000006,0x000000c7,
- 0x40400000,0x0004002b,0x00000006,0x000000cc,0xbf800000,0x0006002c,0x00000020,0x000000cd,
- 0x000000cc,0x000000cc,0x000000cc,0x0004002b,0x00000006,0x000000d3,0x40800000,0x00040020,
- 0x000000ec,0x00000003,0x0000000f,0x0004003b,0x000000ec,0x000000ed,0x00000003,0x00050036,
+ 0x00000020,0x000000b4,0x0000000e,0x0000000e,0x0000000e,0x0004002b,0x00000006,0x000000b6,
+ 0x358637bd,0x0006002c,0x00000020,0x000000b7,0x000000b6,0x000000b6,0x000000b6,0x0004002b,
+ 0x00000006,0x000000bc,0x40000000,0x0004002b,0x00000006,0x000000c7,0x41000000,0x0004002b,
+ 0x00000006,0x000000c8,0x40400000,0x0004002b,0x00000006,0x000000d4,0x40800000,0x00040020,
+ 0x000000ed,0x00000003,0x0000000f,0x0004003b,0x000000ed,0x000000ee,0x00000003,0x00050036,
0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,
0x00000009,0x00000007,0x0004003b,0x00000008,0x0000000d,0x00000007,0x0004003b,0x0000001a,
0x0000001b,0x00000007,0x0004003b,0x00000021,0x00000022,0x00000007,0x0004003b,0x00000021,
@@ -52,10 +53,10 @@ const uint32_t cas_code[] = {
0x00000071,0x00000007,0x0004003b,0x00000021,0x0000007a,0x00000007,0x0004003b,0x00000021,
0x00000085,0x00000007,0x0004003b,0x00000021,0x0000008f,0x00000007,0x0004003b,0x00000021,
0x0000009c,0x00000007,0x0004003b,0x00000021,0x000000a6,0x00000007,0x0004003b,0x00000021,
- 0x000000b3,0x00000007,0x0004003b,0x00000021,0x000000b7,0x00000007,0x0004003b,0x0000001a,
- 0x000000c5,0x00000007,0x0004003b,0x00000021,0x000000cb,0x00000007,0x0004003b,0x00000021,
- 0x000000d2,0x00000007,0x0004003b,0x00000021,0x000000d9,0x00000007,0x0004003b,0x00000021,
- 0x000000e1,0x00000007,0x0004003d,0x00000007,0x0000000c,0x0000000b,0x0003003e,0x00000009,
+ 0x000000b3,0x00000007,0x0004003b,0x00000021,0x000000ba,0x00000007,0x0004003b,0x0000001a,
+ 0x000000c6,0x00000007,0x0004003b,0x00000021,0x000000cc,0x00000007,0x0004003b,0x00000021,
+ 0x000000d3,0x00000007,0x0004003b,0x00000021,0x000000da,0x00000007,0x0004003b,0x00000021,
+ 0x000000e2,0x00000007,0x0004003d,0x00000007,0x0000000c,0x0000000b,0x0003003e,0x00000009,
0x0000000c,0x00050041,0x00000015,0x00000016,0x00000012,0x00000014,0x0004003d,0x00000007,
0x00000017,0x00000016,0x00050050,0x00000007,0x00000018,0x0000000e,0x0000000e,0x00050088,
0x00000007,0x00000019,0x00000018,0x00000017,0x0003003e,0x0000000d,0x00000019,0x00050041,
@@ -143,38 +144,39 @@ const uint32_t cas_code[] = {
0x0000007a,0x0007000c,0x00000020,0x000000af,0x00000001,0x00000028,0x000000ad,0x000000ae,
0x0003003e,0x000000a6,0x000000af,0x0004003d,0x00000020,0x000000b0,0x000000a6,0x0004003d,
0x00000020,0x000000b1,0x0000009c,0x00050081,0x00000020,0x000000b2,0x000000b1,0x000000b0,
- 0x0003003e,0x0000009c,0x000000b2,0x0004003d,0x00000020,0x000000b5,0x0000009c,0x00050088,
- 0x00000020,0x000000b6,0x000000b4,0x000000b5,0x0003003e,0x000000b3,0x000000b6,0x0004003d,
- 0x00000020,0x000000b8,0x00000085,0x0004003d,0x00000020,0x000000ba,0x0000009c,0x00060050,
- 0x00000020,0x000000bb,0x000000b9,0x000000b9,0x000000b9,0x00050083,0x00000020,0x000000bc,
- 0x000000bb,0x000000ba,0x0007000c,0x00000020,0x000000bd,0x00000001,0x00000025,0x000000b8,
- 0x000000bc,0x0004003d,0x00000020,0x000000be,0x000000b3,0x00050085,0x00000020,0x000000bf,
- 0x000000bd,0x000000be,0x00060050,0x00000020,0x000000c0,0x00000039,0x00000039,0x00000039,
- 0x00060050,0x00000020,0x000000c1,0x0000000e,0x0000000e,0x0000000e,0x0008000c,0x00000020,
- 0x000000c2,0x00000001,0x0000002b,0x000000bf,0x000000c0,0x000000c1,0x0003003e,0x000000b7,
- 0x000000c2,0x0004003d,0x00000020,0x000000c3,0x000000b7,0x0006000c,0x00000020,0x000000c4,
- 0x00000001,0x00000020,0x000000c3,0x0003003e,0x000000b7,0x000000c4,0x0004003d,0x00000006,
- 0x000000c8,0x0000001b,0x00050085,0x00000006,0x000000c9,0x000000c7,0x000000c8,0x00050083,
- 0x00000006,0x000000ca,0x000000c6,0x000000c9,0x0003003e,0x000000c5,0x000000ca,0x0004003d,
- 0x00000020,0x000000ce,0x000000b7,0x0004003d,0x00000006,0x000000cf,0x000000c5,0x0005008e,
- 0x00000020,0x000000d0,0x000000ce,0x000000cf,0x00050088,0x00000020,0x000000d1,0x000000cd,
- 0x000000d0,0x0003003e,0x000000cb,0x000000d1,0x0004003d,0x00000020,0x000000d4,0x000000cb,
- 0x0005008e,0x00000020,0x000000d5,0x000000d4,0x000000d3,0x00060050,0x00000020,0x000000d6,
- 0x0000000e,0x0000000e,0x0000000e,0x00050081,0x00000020,0x000000d7,0x000000d6,0x000000d5,
- 0x00050088,0x00000020,0x000000d8,0x000000b4,0x000000d7,0x0003003e,0x000000d2,0x000000d8,
- 0x0004003d,0x00000020,0x000000da,0x00000036,0x0004003d,0x00000020,0x000000db,0x0000004d,
- 0x00050081,0x00000020,0x000000dc,0x000000da,0x000000db,0x0004003d,0x00000020,0x000000dd,
- 0x0000005c,0x0004003d,0x00000020,0x000000de,0x00000071,0x00050081,0x00000020,0x000000df,
- 0x000000dd,0x000000de,0x00050081,0x00000020,0x000000e0,0x000000dc,0x000000df,0x0003003e,
- 0x000000d9,0x000000e0,0x0004003d,0x00000020,0x000000e2,0x000000d9,0x0004003d,0x00000020,
- 0x000000e3,0x000000cb,0x00050085,0x00000020,0x000000e4,0x000000e2,0x000000e3,0x0004003d,
- 0x00000020,0x000000e5,0x00000057,0x00050081,0x00000020,0x000000e6,0x000000e4,0x000000e5,
- 0x0004003d,0x00000020,0x000000e7,0x000000d2,0x00050085,0x00000020,0x000000e8,0x000000e6,
- 0x000000e7,0x00060050,0x00000020,0x000000e9,0x00000039,0x00000039,0x00000039,0x00060050,
- 0x00000020,0x000000ea,0x0000000e,0x0000000e,0x0000000e,0x0008000c,0x00000020,0x000000eb,
- 0x00000001,0x0000002b,0x000000e8,0x000000e9,0x000000ea,0x0003003e,0x000000e1,0x000000eb,
- 0x0004003d,0x00000020,0x000000ee,0x000000e1,0x00050051,0x00000006,0x000000ef,0x000000ee,
- 0x00000000,0x00050051,0x00000006,0x000000f0,0x000000ee,0x00000001,0x00050051,0x00000006,
- 0x000000f1,0x000000ee,0x00000002,0x00070050,0x0000000f,0x000000f2,0x000000ef,0x000000f0,
- 0x000000f1,0x0000000e,0x0003003e,0x000000ed,0x000000f2,0x000100fd,0x00010038
+ 0x0003003e,0x0000009c,0x000000b2,0x0004003d,0x00000020,0x000000b5,0x0000009c,0x0007000c,
+ 0x00000020,0x000000b8,0x00000001,0x00000028,0x000000b5,0x000000b7,0x00050088,0x00000020,
+ 0x000000b9,0x000000b4,0x000000b8,0x0003003e,0x000000b3,0x000000b9,0x0004003d,0x00000020,
+ 0x000000bb,0x00000085,0x0004003d,0x00000020,0x000000bd,0x0000009c,0x00060050,0x00000020,
+ 0x000000be,0x000000bc,0x000000bc,0x000000bc,0x00050083,0x00000020,0x000000bf,0x000000be,
+ 0x000000bd,0x0007000c,0x00000020,0x000000c0,0x00000001,0x00000025,0x000000bb,0x000000bf,
+ 0x0004003d,0x00000020,0x000000c1,0x000000b3,0x00050085,0x00000020,0x000000c2,0x000000c0,
+ 0x000000c1,0x00060050,0x00000020,0x000000c3,0x00000039,0x00000039,0x00000039,0x00060050,
+ 0x00000020,0x000000c4,0x0000000e,0x0000000e,0x0000000e,0x0008000c,0x00000020,0x000000c5,
+ 0x00000001,0x0000002b,0x000000c2,0x000000c3,0x000000c4,0x0003003e,0x000000ba,0x000000c5,
+ 0x0004003d,0x00000006,0x000000c9,0x0000001b,0x00050085,0x00000006,0x000000ca,0x000000c8,
+ 0x000000c9,0x00050083,0x00000006,0x000000cb,0x000000c7,0x000000ca,0x0003003e,0x000000c6,
+ 0x000000cb,0x0004003d,0x00000020,0x000000cd,0x000000ba,0x0006000c,0x00000020,0x000000ce,
+ 0x00000001,0x0000001f,0x000000cd,0x0004007f,0x00000020,0x000000cf,0x000000ce,0x0004003d,
+ 0x00000006,0x000000d0,0x000000c6,0x00060050,0x00000020,0x000000d1,0x000000d0,0x000000d0,
+ 0x000000d0,0x00050088,0x00000020,0x000000d2,0x000000cf,0x000000d1,0x0003003e,0x000000cc,
+ 0x000000d2,0x0004003d,0x00000020,0x000000d5,0x000000cc,0x0005008e,0x00000020,0x000000d6,
+ 0x000000d5,0x000000d4,0x00060050,0x00000020,0x000000d7,0x0000000e,0x0000000e,0x0000000e,
+ 0x00050081,0x00000020,0x000000d8,0x000000d7,0x000000d6,0x00050088,0x00000020,0x000000d9,
+ 0x000000b4,0x000000d8,0x0003003e,0x000000d3,0x000000d9,0x0004003d,0x00000020,0x000000db,
+ 0x00000036,0x0004003d,0x00000020,0x000000dc,0x0000004d,0x00050081,0x00000020,0x000000dd,
+ 0x000000db,0x000000dc,0x0004003d,0x00000020,0x000000de,0x0000005c,0x0004003d,0x00000020,
+ 0x000000df,0x00000071,0x00050081,0x00000020,0x000000e0,0x000000de,0x000000df,0x00050081,
+ 0x00000020,0x000000e1,0x000000dd,0x000000e0,0x0003003e,0x000000da,0x000000e1,0x0004003d,
+ 0x00000020,0x000000e3,0x000000da,0x0004003d,0x00000020,0x000000e4,0x000000cc,0x00050085,
+ 0x00000020,0x000000e5,0x000000e3,0x000000e4,0x0004003d,0x00000020,0x000000e6,0x00000057,
+ 0x00050081,0x00000020,0x000000e7,0x000000e5,0x000000e6,0x0004003d,0x00000020,0x000000e8,
+ 0x000000d3,0x00050085,0x00000020,0x000000e9,0x000000e7,0x000000e8,0x00060050,0x00000020,
+ 0x000000ea,0x00000039,0x00000039,0x00000039,0x00060050,0x00000020,0x000000eb,0x0000000e,
+ 0x0000000e,0x0000000e,0x0008000c,0x00000020,0x000000ec,0x00000001,0x0000002b,0x000000e9,
+ 0x000000ea,0x000000eb,0x0003003e,0x000000e2,0x000000ec,0x0004003d,0x00000020,0x000000ef,
+ 0x000000e2,0x00050051,0x00000006,0x000000f0,0x000000ef,0x00000000,0x00050051,0x00000006,
+ 0x000000f1,0x000000ef,0x00000001,0x00050051,0x00000006,0x000000f2,0x000000ef,0x00000002,
+ 0x00070050,0x0000000f,0x000000f3,0x000000f0,0x000000f1,0x000000f2,0x0000000e,0x0003003e,
+ 0x000000ee,0x000000f3,0x000100fd,0x00010038
};
diff --git a/app/src/main/cpp/shaders/color.frag b/app/src/main/cpp/shaders/color.frag
new file mode 100644
index 0000000000..8629453f71
--- /dev/null
+++ b/app/src/main/cpp/shaders/color.frag
@@ -0,0 +1,52 @@
+#version 450
+
+// =============================================================================
+// Color grade (brightness / contrast / saturation / gamma) post effect.
+//
+// Ported verbatim from the OpenGL ColorEffect.java shader. The four terms are
+// prepared CPU-side (planUpscaleFrame) exactly as the GL path does:
+// brightness = brightnessSlider / 100 clamped to [-1, 1]
+// contrast = contrastSlider / 100 clamped to [ 0, 2]
+// saturation = saturationSlider / 100 clamped to [ 0, 2]
+// gamma = gammaSlider clamped to [0.1, 5]
+// (the clamps replicate ColorEffectMaterial.use()). Neutral = (0,0,1,1) -> no-op,
+// matching the GL "remove the effect" check; the chain skips Color when neutral.
+//
+// Term ORDER inside this shader is brightness -> contrast -> saturation -> gamma.
+// Saturation sits after contrast and before gamma deliberately: it mixes towards
+// Rec.709 luma of the already-graded linear-ish signal, so the greyscale it blends
+// against is the one the viewer sees, and the gamma curve is still applied last to
+// the finished colour. ColorEffect.java applies its terms in the same order, so a
+// Screen Effect "Look" grades identically on the OpenGL and Vulkan renderers.
+//
+// Conventions match upscale.vert: combined-image-sampler at binding 0, the
+// push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+// `saturation` is APPENDED at the end of the block so the offsets of the three
+// original terms are unchanged.
+// Runs after Toon, before CAS in the canonical chain (grade the clean image).
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ float brightness; // additive, [-1, 1]
+ float contrast; // [0, 2]; effective multiplier = clamp(contrast+1, 0.5, 2)
+ float gamma; // [0.1, 5]
+ float saturation; // [0, 2]; 1 = unchanged, 0 = greyscale
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+void main() {
+ vec4 texelColor = texture(InputTexture, fragTexCoord);
+ vec3 color = texelColor.rgb;
+ color = clamp(color + pc.brightness, 0.0, 1.0);
+ color = (color - 0.5) * clamp(pc.contrast + 1.0, 0.5, 2.0) + 0.5;
+ vec3 grey = vec3(dot(color, vec3(0.2126, 0.7152, 0.0722)));
+ color = mix(grey, color, clamp(pc.saturation, 0.0, 2.0));
+ color = max(color, vec3(0.0));
+ color = pow(color, vec3(1.0 / pc.gamma));
+ outColor = vec4(color, texelColor.a);
+}
diff --git a/app/src/main/cpp/shaders/color_frag.h b/app/src/main/cpp/shaders/color_frag.h
index 7026c7c880..f8237dc27d 100644
--- a/app/src/main/cpp/shaders/color_frag.h
+++ b/app/src/main/cpp/shaders/color_frag.h
@@ -1,8 +1,9 @@
+ // 1116.3.0
#pragma once
const uint32_t color_code[] = {
- 0x07230203,0x00010000,0x0008000b,0x00000059,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x07230203,0x00010000,0x0008000b,0x0000005c,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
- 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000011,0x0000004e,0x00030010,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000011,0x00000051,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00050005,0x00000009,0x65786574,0x6c6f436c,0x0000726f,0x00060005,0x0000000d,
0x75706e49,0x78655474,0x65727574,0x00000000,0x00060005,0x00000011,0x67617266,0x43786554,
@@ -11,13 +12,13 @@ const uint32_t color_code[] = {
0x67697262,0x656e7468,0x00007373,0x00060006,0x0000001a,0x00000002,0x746e6f63,0x74736172,
0x00000000,0x00050006,0x0000001a,0x00000003,0x6d6d6167,0x00000061,0x00060006,0x0000001a,
0x00000004,0x75746173,0x69746172,0x00006e6f,0x00030005,0x0000001c,0x00006370,0x00040005,
- 0x00000036,0x79657267,0x00000000,0x00050005,0x0000004e,0x4374756f,0x726f6c6f,0x00000000,
+ 0x00000036,0x79657267,0x00000000,0x00050005,0x00000051,0x4374756f,0x726f6c6f,0x00000000,
0x00040047,0x0000000d,0x00000021,0x00000000,0x00040047,0x0000000d,0x00000022,0x00000000,
0x00040047,0x00000011,0x0000001e,0x00000000,0x00030047,0x0000001a,0x00000002,0x00050048,
0x0000001a,0x00000000,0x00000023,0x00000000,0x00050048,0x0000001a,0x00000001,0x00000023,
0x00000010,0x00050048,0x0000001a,0x00000002,0x00000023,0x00000014,0x00050048,0x0000001a,
0x00000003,0x00000023,0x00000018,0x00050048,0x0000001a,0x00000004,0x00000023,0x0000001c,
- 0x00040047,0x0000004e,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,
+ 0x00040047,0x00000051,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,
0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,0x00000006,0x00000004,
0x00040020,0x00000008,0x00000007,0x00000007,0x00090019,0x0000000a,0x00000006,0x00000001,
0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x0000000b,0x0000000a,
@@ -33,43 +34,46 @@ const uint32_t color_code[] = {
0x00000006,0x00000031,0x40000000,0x0004002b,0x00000006,0x00000038,0x3e59b3d0,0x0004002b,
0x00000006,0x00000039,0x3f371759,0x0004002b,0x00000006,0x0000003a,0x3d93dd98,0x0006002c,
0x00000014,0x0000003b,0x00000038,0x00000039,0x0000003a,0x0004002b,0x0000001d,0x00000040,
- 0x00000004,0x0004002b,0x0000001d,0x00000047,0x00000003,0x00040020,0x0000004d,0x00000003,
- 0x00000007,0x0004003b,0x0000004d,0x0000004e,0x00000003,0x00040015,0x00000050,0x00000020,
- 0x00000000,0x0004002b,0x00000050,0x00000051,0x00000003,0x00040020,0x00000052,0x00000007,
- 0x00000006,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,
- 0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b,0x00000015,0x00000016,0x00000007,
- 0x0004003b,0x00000015,0x00000036,0x00000007,0x0004003d,0x0000000b,0x0000000e,0x0000000d,
- 0x0004003d,0x0000000f,0x00000012,0x00000011,0x00050057,0x00000007,0x00000013,0x0000000e,
- 0x00000012,0x0003003e,0x00000009,0x00000013,0x0004003d,0x00000007,0x00000017,0x00000009,
- 0x0008004f,0x00000014,0x00000018,0x00000017,0x00000017,0x00000000,0x00000001,0x00000002,
- 0x0003003e,0x00000016,0x00000018,0x0004003d,0x00000014,0x00000019,0x00000016,0x00050041,
- 0x0000001f,0x00000020,0x0000001c,0x0000001e,0x0004003d,0x00000006,0x00000021,0x00000020,
- 0x00060050,0x00000014,0x00000022,0x00000021,0x00000021,0x00000021,0x00050081,0x00000014,
- 0x00000023,0x00000019,0x00000022,0x00060050,0x00000014,0x00000026,0x00000024,0x00000024,
- 0x00000024,0x00060050,0x00000014,0x00000027,0x00000025,0x00000025,0x00000025,0x0008000c,
- 0x00000014,0x00000028,0x00000001,0x0000002b,0x00000023,0x00000026,0x00000027,0x0003003e,
- 0x00000016,0x00000028,0x0004003d,0x00000014,0x00000029,0x00000016,0x00060050,0x00000014,
- 0x0000002b,0x0000002a,0x0000002a,0x0000002a,0x00050083,0x00000014,0x0000002c,0x00000029,
- 0x0000002b,0x00050041,0x0000001f,0x0000002e,0x0000001c,0x0000002d,0x0004003d,0x00000006,
- 0x0000002f,0x0000002e,0x00050081,0x00000006,0x00000030,0x0000002f,0x00000025,0x0008000c,
- 0x00000006,0x00000032,0x00000001,0x0000002b,0x00000030,0x0000002a,0x00000031,0x0005008e,
- 0x00000014,0x00000033,0x0000002c,0x00000032,0x00060050,0x00000014,0x00000034,0x0000002a,
- 0x0000002a,0x0000002a,0x00050081,0x00000014,0x00000035,0x00000033,0x00000034,0x0003003e,
- 0x00000016,0x00000035,0x0004003d,0x00000014,0x00000037,0x00000016,0x00050094,0x00000006,
- 0x0000003c,0x00000037,0x0000003b,0x00060050,0x00000014,0x0000003d,0x0000003c,0x0000003c,
- 0x0000003c,0x0003003e,0x00000036,0x0000003d,0x0004003d,0x00000014,0x0000003e,0x00000036,
- 0x0004003d,0x00000014,0x0000003f,0x00000016,0x00050041,0x0000001f,0x00000041,0x0000001c,
- 0x00000040,0x0004003d,0x00000006,0x00000042,0x00000041,0x0008000c,0x00000006,0x00000043,
- 0x00000001,0x0000002b,0x00000042,0x00000024,0x00000031,0x00060050,0x00000014,0x00000044,
- 0x00000043,0x00000043,0x00000043,0x0008000c,0x00000014,0x00000045,0x00000001,0x0000002e,
- 0x0000003e,0x0000003f,0x00000044,0x0003003e,0x00000016,0x00000045,0x0004003d,0x00000014,
- 0x00000046,0x00000016,0x00050041,0x0000001f,0x00000048,0x0000001c,0x00000047,0x0004003d,
- 0x00000006,0x00000049,0x00000048,0x00050088,0x00000006,0x0000004a,0x00000025,0x00000049,
- 0x00060050,0x00000014,0x0000004b,0x0000004a,0x0000004a,0x0000004a,0x0007000c,0x00000014,
- 0x0000004c,0x00000001,0x0000001a,0x00000046,0x0000004b,0x0003003e,0x00000016,0x0000004c,
- 0x0004003d,0x00000014,0x0000004f,0x00000016,0x00050041,0x00000052,0x00000053,0x00000009,
- 0x00000051,0x0004003d,0x00000006,0x00000054,0x00000053,0x00050051,0x00000006,0x00000055,
- 0x0000004f,0x00000000,0x00050051,0x00000006,0x00000056,0x0000004f,0x00000001,0x00050051,
- 0x00000006,0x00000057,0x0000004f,0x00000002,0x00070050,0x00000007,0x00000058,0x00000055,
- 0x00000056,0x00000057,0x00000054,0x0003003e,0x0000004e,0x00000058,0x000100fd,0x00010038
+ 0x00000004,0x0006002c,0x00000014,0x00000047,0x00000024,0x00000024,0x00000024,0x0004002b,
+ 0x0000001d,0x0000004a,0x00000003,0x00040020,0x00000050,0x00000003,0x00000007,0x0004003b,
+ 0x00000050,0x00000051,0x00000003,0x00040015,0x00000053,0x00000020,0x00000000,0x0004002b,
+ 0x00000053,0x00000054,0x00000003,0x00040020,0x00000055,0x00000007,0x00000006,0x00050036,
+ 0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,
+ 0x00000009,0x00000007,0x0004003b,0x00000015,0x00000016,0x00000007,0x0004003b,0x00000015,
+ 0x00000036,0x00000007,0x0004003d,0x0000000b,0x0000000e,0x0000000d,0x0004003d,0x0000000f,
+ 0x00000012,0x00000011,0x00050057,0x00000007,0x00000013,0x0000000e,0x00000012,0x0003003e,
+ 0x00000009,0x00000013,0x0004003d,0x00000007,0x00000017,0x00000009,0x0008004f,0x00000014,
+ 0x00000018,0x00000017,0x00000017,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000016,
+ 0x00000018,0x0004003d,0x00000014,0x00000019,0x00000016,0x00050041,0x0000001f,0x00000020,
+ 0x0000001c,0x0000001e,0x0004003d,0x00000006,0x00000021,0x00000020,0x00060050,0x00000014,
+ 0x00000022,0x00000021,0x00000021,0x00000021,0x00050081,0x00000014,0x00000023,0x00000019,
+ 0x00000022,0x00060050,0x00000014,0x00000026,0x00000024,0x00000024,0x00000024,0x00060050,
+ 0x00000014,0x00000027,0x00000025,0x00000025,0x00000025,0x0008000c,0x00000014,0x00000028,
+ 0x00000001,0x0000002b,0x00000023,0x00000026,0x00000027,0x0003003e,0x00000016,0x00000028,
+ 0x0004003d,0x00000014,0x00000029,0x00000016,0x00060050,0x00000014,0x0000002b,0x0000002a,
+ 0x0000002a,0x0000002a,0x00050083,0x00000014,0x0000002c,0x00000029,0x0000002b,0x00050041,
+ 0x0000001f,0x0000002e,0x0000001c,0x0000002d,0x0004003d,0x00000006,0x0000002f,0x0000002e,
+ 0x00050081,0x00000006,0x00000030,0x0000002f,0x00000025,0x0008000c,0x00000006,0x00000032,
+ 0x00000001,0x0000002b,0x00000030,0x0000002a,0x00000031,0x0005008e,0x00000014,0x00000033,
+ 0x0000002c,0x00000032,0x00060050,0x00000014,0x00000034,0x0000002a,0x0000002a,0x0000002a,
+ 0x00050081,0x00000014,0x00000035,0x00000033,0x00000034,0x0003003e,0x00000016,0x00000035,
+ 0x0004003d,0x00000014,0x00000037,0x00000016,0x00050094,0x00000006,0x0000003c,0x00000037,
+ 0x0000003b,0x00060050,0x00000014,0x0000003d,0x0000003c,0x0000003c,0x0000003c,0x0003003e,
+ 0x00000036,0x0000003d,0x0004003d,0x00000014,0x0000003e,0x00000036,0x0004003d,0x00000014,
+ 0x0000003f,0x00000016,0x00050041,0x0000001f,0x00000041,0x0000001c,0x00000040,0x0004003d,
+ 0x00000006,0x00000042,0x00000041,0x0008000c,0x00000006,0x00000043,0x00000001,0x0000002b,
+ 0x00000042,0x00000024,0x00000031,0x00060050,0x00000014,0x00000044,0x00000043,0x00000043,
+ 0x00000043,0x0008000c,0x00000014,0x00000045,0x00000001,0x0000002e,0x0000003e,0x0000003f,
+ 0x00000044,0x0003003e,0x00000016,0x00000045,0x0004003d,0x00000014,0x00000046,0x00000016,
+ 0x0007000c,0x00000014,0x00000048,0x00000001,0x00000028,0x00000046,0x00000047,0x0003003e,
+ 0x00000016,0x00000048,0x0004003d,0x00000014,0x00000049,0x00000016,0x00050041,0x0000001f,
+ 0x0000004b,0x0000001c,0x0000004a,0x0004003d,0x00000006,0x0000004c,0x0000004b,0x00050088,
+ 0x00000006,0x0000004d,0x00000025,0x0000004c,0x00060050,0x00000014,0x0000004e,0x0000004d,
+ 0x0000004d,0x0000004d,0x0007000c,0x00000014,0x0000004f,0x00000001,0x0000001a,0x00000049,
+ 0x0000004e,0x0003003e,0x00000016,0x0000004f,0x0004003d,0x00000014,0x00000052,0x00000016,
+ 0x00050041,0x00000055,0x00000056,0x00000009,0x00000054,0x0004003d,0x00000006,0x00000057,
+ 0x00000056,0x00050051,0x00000006,0x00000058,0x00000052,0x00000000,0x00050051,0x00000006,
+ 0x00000059,0x00000052,0x00000001,0x00050051,0x00000006,0x0000005a,0x00000052,0x00000002,
+ 0x00070050,0x00000007,0x0000005b,0x00000058,0x00000059,0x0000005a,0x00000057,0x0003003e,
+ 0x00000051,0x0000005b,0x000100fd,0x00010038
};
diff --git a/app/src/main/cpp/shaders/crt.frag b/app/src/main/cpp/shaders/crt.frag
new file mode 100644
index 0000000000..1903549e95
--- /dev/null
+++ b/app/src/main/cpp/shaders/crt.frag
@@ -0,0 +1,42 @@
+#version 450
+
+// =============================================================================
+// CRT (chromatic aberration + scanlines) post effect.
+//
+// Ported verbatim from the OpenGL CRTEffect.java shader. GL sampled with the
+// varying vUV; here fragTexCoord IS that uv. All constants unchanged. Runs LAST
+// in the canonical chain (the physical tube emulation, after NTSC's analog
+// signal). Does not need the resolution, but the PC carries it for a uniform
+// effect-PC layout.
+//
+// Conventions match upscale.vert: combined-image-sampler at binding 0, the
+// push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ vec2 resolution; // input texture size in px (unused; layout uniformity)
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+#define CA_AMOUNT 1.0025
+#define SCANLINE_INTENSITY_X 0.125
+#define SCANLINE_INTENSITY_Y 0.375
+#define SCANLINE_SIZE 1024.0
+
+void main() {
+ vec2 vUV = fragTexCoord;
+ vec4 finalColor = texture(InputTexture, vUV);
+ finalColor.rgb = vec3(
+ texture(InputTexture, (vUV - 0.5) * CA_AMOUNT + 0.5).r,
+ finalColor.g,
+ texture(InputTexture, (vUV - 0.5) / CA_AMOUNT + 0.5).b
+ );
+ float scanlineX = abs(sin(vUV.x * SCANLINE_SIZE) * 0.5 * SCANLINE_INTENSITY_X);
+ float scanlineY = abs(sin(vUV.y * SCANLINE_SIZE) * 0.5 * SCANLINE_INTENSITY_Y);
+ outColor = vec4(mix(finalColor.rgb, vec3(0.0), scanlineX + scanlineY), finalColor.a);
+}
diff --git a/app/src/main/cpp/shaders/deband.frag b/app/src/main/cpp/shaders/deband.frag
new file mode 100644
index 0000000000..025012608e
--- /dev/null
+++ b/app/src/main/cpp/shaders/deband.frag
@@ -0,0 +1,56 @@
+#version 450
+
+// =============================================================================
+// Debanding / dither - terminal post pass.
+//
+// Adds sub-LSB triangular-PDF (TPDF) noise just before the final 8-bit
+// swapchain quantization, so smooth gradients (dark skies, fog, bloom
+// falloff, vignettes) stop showing 8-bit "stair-step" banding. Especially
+// visible on AMOLED panels in dark scenes.
+//
+// This is the LAST pass in the effect chain and always writes the swapchain,
+// so the dither matches the display quantizer. The whole compositor chain is
+// R8G8B8A8_UNORM and the swapchain has no _SRGB view, i.e. values are already
+// display(gamma)-encoded here - so we dither in display space, ~1 LSB = 1/255,
+// which is where AMOLED banding is worst (the darks).
+//
+// Noise = interleaved gradient noise (Jimenez 2014, public technique), two
+// screen-locked samples summed for a triangular PDF (flat noise spectrum, no
+// DC bias). Screen-locked (gl_FragCoord) so the pattern is static = no shimmer.
+// Float-only hash (no floatBitsToInt / bvec / bitwise) = Adreno-compile-safe.
+//
+// Conventions match upscale.vert / cas.frag: combined-image-sampler at binding
+// 0, push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+//
+// CPU side (planUpscaleFrame) maps the UI strength slider to LSB units:
+// strength = slider / 100 (slider 100 -> 1.0 LSB, the default)
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ vec2 resolution; // input texture size in pixels (unused here, kept for layout parity)
+ float strength; // dither amplitude in LSBs (1.0 = +/-1/255 triangular)
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+// Interleaved gradient noise - returns [0,1), float-only, Adreno-safe.
+float ign(vec2 p) {
+ return fract(52.9829189 * fract(dot(p, vec2(0.06711056, 0.00583715))));
+}
+
+void main() {
+ vec3 col = texture(InputTexture, fragTexCoord).rgb;
+
+ // Two decorrelated samples -> triangular PDF in (-1, 1).
+ float n1 = ign(gl_FragCoord.xy);
+ float n2 = ign(gl_FragCoord.xy + vec2(11.0, 17.0));
+ float tri = (n1 + n2) - 1.0;
+
+ col += vec3(tri * (pc.strength / 255.0));
+
+ outColor = vec4(col, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/fsr_easu.frag b/app/src/main/cpp/shaders/fsr_easu.frag
new file mode 100644
index 0000000000..dbc66824eb
--- /dev/null
+++ b/app/src/main/cpp/shaders/fsr_easu.frag
@@ -0,0 +1,221 @@
+#version 450
+
+// =============================================================================
+// AMD FidelityFX Super Resolution 1.0 - EASU (Edge-Adaptive Spatial Upsampling).
+//
+// Algorithm (FsrEasuF / FsrEasuTapF / FsrEasuSetF) ported verbatim from AMD's
+// reference header: GPUOpen-Effects/FidelityFX-FSR ffx-fsr/ffx_fsr1.h
+//
+// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+// Full license text is included in THIRD_PARTY_NOTICES.txt and packaged
+// in the APK at assets/licenses/graphics/THIRD_PARTY_NOTICES.txt.
+//
+// Adapted for the Winlator native Vulkan compositor:
+// - fp32-only path (the AF1/AU1 portability macros below replace ffx_a.h)
+// - con0..con3 are computed CPU-side (FsrEasuCon) and delivered via push const
+// - output pixel position comes from window.vert's fragTexCoord * outputSize
+// - input sampled via textureGather on a CLAMP_TO_EDGE / linear sampler
+// =============================================================================
+
+// ---- minimal ffx_a.h fp32 portability layer -------------------------------
+#define AF1 float
+#define AF2 vec2
+#define AF3 vec3
+#define AF4 vec4
+#define AU1 uint
+#define AU2 uvec2
+#define AU4 uvec4
+#define ASU2 ivec2
+#define AP1 bool
+#define AF1_(a) float(a)
+#define AF2_(a) vec2(AF1_(a))
+#define AF3_(a) vec3(AF1_(a))
+#define AF4_(a) vec4(AF1_(a))
+#define AF2_AU2(x) uintBitsToFloat(uvec2(x))
+#define AF1_AU1(x) uintBitsToFloat(uint(x))
+float ARcpF1(float x) { return 1.0 / x; }
+float APrxLoRcpF1(float x) { return 1.0 / x; }
+float APrxMedRcpF1(float x){ return 1.0 / x; }
+float APrxLoRsqF1(float x) { return inversesqrt(x); }
+float ASatF1(float x) { return clamp(x, 0.0, 1.0); }
+vec3 AMin3F3(vec3 a, vec3 b, vec3 c) { return min(a, min(b, c)); }
+vec3 AMax3F3(vec3 a, vec3 b, vec3 c) { return max(a, max(b, c)); }
+// ---------------------------------------------------------------------------
+
+// DD_HALF is set for the *_half_frag.h build (gen_shaders.sh): colour and
+// weight maths in mediump (RelaxedPrecision, 16-bit on Adreno) as in AMD's
+// FSR_EASU_H / FSR_RCAS_H paths; positions and texture coordinates stay highp.
+#ifdef DD_HALF
+precision mediump float;
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+#ifdef DD_HALF
+// 1/32768 is a 16-bit subnormal (flushed to 0 where denormals are not kept);
+// 1/16384 is the smallest normal one.
+#define BL_EASU_DIR_ZERO (1.0/16384.0)
+#else
+#define BL_EASU_DIR_ZERO (1.0/32768.0)
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by window.vert (offset 0)
+ uvec4 con0;
+ uvec4 con1;
+ uvec4 con2;
+ uvec4 con3;
+ highp vec2 outputSize; // EASU output (this pass's render-target) size in pixels
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+AF4 FsrEasuRF(highp AF2 p) { return textureGather(InputTexture, p, 0); }
+AF4 FsrEasuGF(highp AF2 p) { return textureGather(InputTexture, p, 1); }
+AF4 FsrEasuBF(highp AF2 p) { return textureGather(InputTexture, p, 2); }
+
+void FsrEasuTapF(
+ inout AF3 aC,
+ inout AF1 aW,
+ AF2 off,
+ AF2 dir,
+ AF2 len,
+ AF1 lob,
+ AF1 clp,
+ AF3 c){
+ AF2 v;
+ v.x=(off.x*( dir.x))+(off.y*dir.y);
+ v.y=(off.x*(-dir.y))+(off.y*dir.x);
+ v*=len;
+ AF1 d2=v.x*v.x+v.y*v.y;
+ d2=min(d2,clp);
+ AF1 wB=AF1_(2.0/5.0)*d2+AF1_(-1.0);
+ AF1 wA=lob*d2+AF1_(-1.0);
+ wB*=wB;
+ wA*=wA;
+ wB=AF1_(25.0/16.0)*wB+AF1_(-(25.0/16.0-1.0));
+ AF1 w=wB*wA;
+ aC+=c*w;aW+=w;}
+
+void FsrEasuSetF(
+ inout AF2 dir,
+ inout AF1 len,
+ AF2 pp,
+ AP1 biS,AP1 biT,AP1 biU,AP1 biV,
+ AF1 lA,AF1 lB,AF1 lC,AF1 lD,AF1 lE){
+ AF1 w = AF1_(0.0);
+ if(biS)w=(AF1_(1.0)-pp.x)*(AF1_(1.0)-pp.y);
+ if(biT)w= pp.x *(AF1_(1.0)-pp.y);
+ if(biU)w=(AF1_(1.0)-pp.x)* pp.y ;
+ if(biV)w= pp.x * pp.y ;
+ AF1 dc=lD-lC;
+ AF1 cb=lC-lB;
+ AF1 lenX=max(abs(dc),abs(cb));
+ lenX=lenX>0.0?APrxLoRcpF1(lenX):AF1_(0.0);
+ AF1 dirX=lD-lB;
+ dir.x+=dirX*w;
+ lenX=ASatF1(abs(dirX)*lenX);
+ lenX*=lenX;
+ len+=lenX*w;
+ AF1 ec=lE-lC;
+ AF1 ca=lC-lA;
+ AF1 lenY=max(abs(ec),abs(ca));
+ lenY=lenY>0.0?APrxLoRcpF1(lenY):AF1_(0.0);
+ AF1 dirY=lE-lA;
+ dir.y+=dirY*w;
+ lenY=ASatF1(abs(dirY)*lenY);
+ lenY*=lenY;
+ len+=lenY*w;}
+
+void FsrEasuF(
+ out AF3 pix,
+ AU2 ip,
+ AU4 con0,
+ AU4 con1,
+ AU4 con2,
+ AU4 con3){
+ highp AF2 pp=AF2(ip)*AF2_AU2(con0.xy)+AF2_AU2(con0.zw);
+ highp AF2 fp=floor(pp);
+ pp-=fp;
+ highp AF2 p0=fp*AF2_AU2(con1.xy)+AF2_AU2(con1.zw);
+ highp AF2 p1=p0+AF2_AU2(con2.xy);
+ highp AF2 p2=p0+AF2_AU2(con2.zw);
+ highp AF2 p3=p0+AF2_AU2(con3.xy);
+ AF4 bczzR=FsrEasuRF(p0);
+ AF4 bczzG=FsrEasuGF(p0);
+ AF4 bczzB=FsrEasuBF(p0);
+ AF4 ijfeR=FsrEasuRF(p1);
+ AF4 ijfeG=FsrEasuGF(p1);
+ AF4 ijfeB=FsrEasuBF(p1);
+ AF4 klhgR=FsrEasuRF(p2);
+ AF4 klhgG=FsrEasuGF(p2);
+ AF4 klhgB=FsrEasuBF(p2);
+ AF4 zzonR=FsrEasuRF(p3);
+ AF4 zzonG=FsrEasuGF(p3);
+ AF4 zzonB=FsrEasuBF(p3);
+ AF4 bczzL=bczzB*AF4_(0.5)+(bczzR*AF4_(0.5)+bczzG);
+ AF4 ijfeL=ijfeB*AF4_(0.5)+(ijfeR*AF4_(0.5)+ijfeG);
+ AF4 klhgL=klhgB*AF4_(0.5)+(klhgR*AF4_(0.5)+klhgG);
+ AF4 zzonL=zzonB*AF4_(0.5)+(zzonR*AF4_(0.5)+zzonG);
+ AF1 bL=bczzL.x;
+ AF1 cL=bczzL.y;
+ AF1 iL=ijfeL.x;
+ AF1 jL=ijfeL.y;
+ AF1 fL=ijfeL.z;
+ AF1 eL=ijfeL.w;
+ AF1 kL=klhgL.x;
+ AF1 lL=klhgL.y;
+ AF1 hL=klhgL.z;
+ AF1 gL=klhgL.w;
+ AF1 oL=zzonL.z;
+ AF1 nL=zzonL.w;
+ AF2 dir=AF2_(0.0);
+ AF1 len=AF1_(0.0);
+ FsrEasuSetF(dir,len,pp,true, false,false,false,bL,eL,fL,gL,jL);
+ FsrEasuSetF(dir,len,pp,false,true ,false,false,cL,fL,gL,hL,kL);
+ FsrEasuSetF(dir,len,pp,false,false,true ,false,fL,iL,jL,kL,nL);
+ FsrEasuSetF(dir,len,pp,false,false,false,true ,gL,jL,kL,lL,oL);
+ AF2 dir2=dir*dir;
+ AF1 dirR=dir2.x+dir2.y;
+ AP1 zro=dirR push const con
+// - input is the EASU output (already at output resolution), read 1:1 via
+// texelFetch with edge clamping for robustness
+// =============================================================================
+
+// ---- minimal ffx_a.h fp32 portability layer -------------------------------
+#define AF1 float
+#define AF2 vec2
+#define AF3 vec3
+#define AF4 vec4
+#define AU2 uvec2
+#define AU4 uvec4
+#define ASU2 ivec2
+#define AF1_(a) float(a)
+#define AF1_AU1(x) uintBitsToFloat(uint(x))
+float ARcpF1(float x) { return 1.0 / x; }
+float APrxMedRcpF1(float x){ return 1.0 / x; }
+float ASatF1(float x) { return clamp(x, 0.0, 1.0); }
+float AMin3F1(float a, float b, float c) { return min(a, min(b, c)); }
+float AMax3F1(float a, float b, float c) { return max(a, max(b, c)); }
+#define FSR_RCAS_LIMIT (0.25 - (1.0 / 16.0))
+// ---------------------------------------------------------------------------
+
+// DD_HALF is set for the *_half_frag.h build (gen_shaders.sh): colour and
+// weight maths in mediump (RelaxedPrecision, 16-bit on Adreno) as in AMD's
+// FSR_EASU_H / FSR_RCAS_H paths; positions and texture coordinates stay highp.
+#ifdef DD_HALF
+precision mediump float;
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D InputTexture; // EASU output, output res
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by window.vert (offset 0)
+ uvec4 con; // con.x = bit-packed sharpness (FsrRcasCon)
+ highp vec2 outputSize; // pass output size in pixels
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+AF4 FsrRcasLoadF(ASU2 p) {
+ ivec2 sz = textureSize(InputTexture, 0);
+ return texelFetch(InputTexture, clamp(p, ivec2(0), sz - ivec2(1)), 0);
+}
+void FsrRcasInputF(inout AF1 r, inout AF1 g, inout AF1 b) {}
+
+void FsrRcasF(
+ out AF1 pixR,
+ out AF1 pixG,
+ out AF1 pixB,
+ AU2 ip,
+ AU4 con){
+ ASU2 sp=ASU2(ip);
+ AF3 b=FsrRcasLoadF(sp+ASU2( 0,-1)).rgb;
+ AF3 d=FsrRcasLoadF(sp+ASU2(-1, 0)).rgb;
+ AF3 e=FsrRcasLoadF(sp).rgb;
+ AF3 f=FsrRcasLoadF(sp+ASU2( 1, 0)).rgb;
+ AF3 h=FsrRcasLoadF(sp+ASU2( 0, 1)).rgb;
+ AF1 bR=b.r;
+ AF1 bG=b.g;
+ AF1 bB=b.b;
+ AF1 dR=d.r;
+ AF1 dG=d.g;
+ AF1 dB=d.b;
+ AF1 eR=e.r;
+ AF1 eG=e.g;
+ AF1 eB=e.b;
+ AF1 fR=f.r;
+ AF1 fG=f.g;
+ AF1 fB=f.b;
+ AF1 hR=h.r;
+ AF1 hG=h.g;
+ AF1 hB=h.b;
+ FsrRcasInputF(bR,bG,bB);
+ FsrRcasInputF(dR,dG,dB);
+ FsrRcasInputF(eR,eG,eB);
+ FsrRcasInputF(fR,fG,fB);
+ FsrRcasInputF(hR,hG,hB);
+ AF1 bL=bB*AF1_(0.5)+(bR*AF1_(0.5)+bG);
+ AF1 dL=dB*AF1_(0.5)+(dR*AF1_(0.5)+dG);
+ AF1 eL=eB*AF1_(0.5)+(eR*AF1_(0.5)+eG);
+ AF1 fL=fB*AF1_(0.5)+(fR*AF1_(0.5)+fG);
+ AF1 hL=hB*AF1_(0.5)+(hR*AF1_(0.5)+hG);
+ AF1 nz=AF1_(0.25)*bL+AF1_(0.25)*dL+AF1_(0.25)*fL+AF1_(0.25)*hL-eL;
+ nz=ASatF1(abs(nz)*APrxMedRcpF1(AMax3F1(AMax3F1(bL,dL,eL),fL,hL)-AMin3F1(AMin3F1(bL,dL,eL),fL,hL)));
+ nz=AF1_(-0.5)*nz+AF1_(1.0);
+ AF1 mn4R=min(AMin3F1(bR,dR,fR),hR);
+ AF1 mn4G=min(AMin3F1(bG,dG,fG),hG);
+ AF1 mn4B=min(AMin3F1(bB,dB,fB),hB);
+ AF1 mx4R=max(AMax3F1(bR,dR,fR),hR);
+ AF1 mx4G=max(AMax3F1(bG,dG,fG),hG);
+ AF1 mx4B=max(AMax3F1(bB,dB,fB),hB);
+ AF2 peakC=AF2(1.0,-1.0*4.0);
+ AF1 denMinR=AF1_(4.0)*mx4R;
+ AF1 denMinG=AF1_(4.0)*mx4G;
+ AF1 denMinB=AF1_(4.0)*mx4B;
+ AF1 denMaxR=AF1_(4.0)*mn4R+peakC.y;
+ AF1 denMaxG=AF1_(4.0)*mn4G+peakC.y;
+ AF1 denMaxB=AF1_(4.0)*mn4B+peakC.y;
+ AF1 hitMinR=denMinR>0.0?min(mn4R,eR)/denMinR:AF1_(0.0);
+ AF1 hitMinG=denMinG>0.0?min(mn4G,eG)/denMinG:AF1_(0.0);
+ AF1 hitMinB=denMinB>0.0?min(mn4B,eB)/denMinB:AF1_(0.0);
+ AF1 numMaxR=peakC.x-max(mx4R,eR);
+ AF1 numMaxG=peakC.x-max(mx4G,eG);
+ AF1 numMaxB=peakC.x-max(mx4B,eB);
+ AF1 hitMaxR=abs(denMaxR)>1e-6?numMaxR/denMaxR:AF1_(0.0);
+ AF1 hitMaxG=abs(denMaxG)>1e-6?numMaxG/denMaxG:AF1_(0.0);
+ AF1 hitMaxB=abs(denMaxB)>1e-6?numMaxB/denMaxB:AF1_(0.0);
+ AF1 lobeR=max(-hitMinR,hitMaxR);
+ AF1 lobeG=max(-hitMinG,hitMaxG);
+ AF1 lobeB=max(-hitMinB,hitMaxB);
+ AF1 lobe=max(AF1_(-FSR_RCAS_LIMIT),min(AMax3F1(lobeR,lobeG,lobeB),AF1_(0.0)))*AF1_AU1(con.x);
+ AF1 rcpL=APrxMedRcpF1(AF1_(4.0)*lobe+AF1_(1.0));
+ pixR=(lobe*bR+lobe*dR+lobe*hR+lobe*fR+eR)*rcpL;
+ pixG=(lobe*bG+lobe*dG+lobe*hG+lobe*fG+eG)*rcpL;
+ pixB=(lobe*bB+lobe*dB+lobe*hB+lobe*fB+eB)*rcpL;
+ return;}
+
+void main() {
+ uvec2 ip = uvec2(fragTexCoord * pc.outputSize);
+ vec3 c;
+ FsrRcasF(c.r, c.g, c.b, ip, pc.con);
+ outColor = vec4(c, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/fsr_rcas_frag.h b/app/src/main/cpp/shaders/fsr_rcas_frag.h
index f241d7590c..e011659ba6 100644
--- a/app/src/main/cpp/shaders/fsr_rcas_frag.h
+++ b/app/src/main/cpp/shaders/fsr_rcas_frag.h
@@ -1,468 +1,503 @@
+ // 1116.3.0
#pragma once
const uint32_t fsr_rcas_code[] = {
- 0x07230203,0x00010000,0x0008000b,0x0000025e,0x00000000,0x00020011,0x00000001,0x00020011,
+ 0x07230203,0x00010000,0x0008000b,0x0000028c,0x00000000,0x00020011,0x00000001,0x00020011,
0x00000032,0x0006000b,0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,
- 0x00000000,0x00000001,0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000023b,
- 0x00000258,0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,
- 0x00000004,0x6e69616d,0x00000000,0x00050005,0x0000000a,0x70635241,0x66283146,0x00003b31,
- 0x00030005,0x00000009,0x00000078,0x00070005,0x0000000d,0x78725041,0x5264654d,0x31467063,
- 0x3b316628,0x00000000,0x00030005,0x0000000c,0x00000078,0x00050005,0x00000010,0x74615341,
- 0x66283146,0x00003b31,0x00030005,0x0000000f,0x00000078,0x00070005,0x00000016,0x6e694d41,
- 0x28314633,0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000013,0x00000061,0x00030005,
- 0x00000014,0x00000062,0x00030005,0x00000015,0x00000063,0x00070005,0x0000001b,0x78614d41,
- 0x28314633,0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000018,0x00000061,0x00030005,
- 0x00000019,0x00000062,0x00030005,0x0000001a,0x00000063,0x00070005,0x00000023,0x52727346,
- 0x4c736163,0x4664616f,0x32697628,0x0000003b,0x00030005,0x00000022,0x00000070,0x00080005,
- 0x00000029,0x52727346,0x49736163,0x7475706e,0x31662846,0x3b31663b,0x003b3166,0x00030005,
- 0x00000026,0x00000072,0x00030005,0x00000027,0x00000067,0x00030005,0x00000028,0x00000062,
- 0x00090005,0x00000036,0x52727346,0x46736163,0x3b316628,0x663b3166,0x75763b31,0x75763b32,
- 0x00003b34,0x00040005,0x00000031,0x52786970,0x00000000,0x00040005,0x00000032,0x47786970,
- 0x00000000,0x00040005,0x00000033,0x42786970,0x00000000,0x00030005,0x00000034,0x00007069,
- 0x00030005,0x00000035,0x006e6f63,0x00030005,0x00000054,0x00007a73,0x00060005,0x00000058,
- 0x75706e49,0x78655474,0x65727574,0x00000000,0x00030005,0x00000069,0x00007073,0x00030005,
- 0x0000006e,0x00000062,0x00040005,0x00000073,0x61726170,0x0000006d,0x00030005,0x00000076,
- 0x00000064,0x00040005,0x0000007a,0x61726170,0x0000006d,0x00030005,0x0000007d,0x00000065,
- 0x00040005,0x0000007e,0x61726170,0x0000006d,0x00030005,0x00000082,0x00000066,0x00040005,
- 0x00000086,0x61726170,0x0000006d,0x00030005,0x00000089,0x00000068,0x00040005,0x0000008d,
- 0x61726170,0x0000006d,0x00030005,0x00000090,0x00005262,0x00030005,0x00000094,0x00004762,
- 0x00030005,0x00000098,0x00004262,0x00030005,0x0000009c,0x00005264,0x00030005,0x0000009f,
- 0x00004764,0x00030005,0x000000a2,0x00004264,0x00030005,0x000000a5,0x00005265,0x00030005,
- 0x000000a8,0x00004765,0x00030005,0x000000ab,0x00004265,0x00030005,0x000000ae,0x00005266,
- 0x00030005,0x000000b1,0x00004766,0x00030005,0x000000b4,0x00004266,0x00030005,0x000000b7,
- 0x00005268,0x00030005,0x000000ba,0x00004768,0x00030005,0x000000bd,0x00004268,0x00040005,
- 0x000000c0,0x61726170,0x0000006d,0x00040005,0x000000c2,0x61726170,0x0000006d,0x00040005,
- 0x000000c4,0x61726170,0x0000006d,0x00040005,0x000000ca,0x61726170,0x0000006d,0x00040005,
- 0x000000cc,0x61726170,0x0000006d,0x00040005,0x000000ce,0x61726170,0x0000006d,0x00040005,
- 0x000000d4,0x61726170,0x0000006d,0x00040005,0x000000d6,0x61726170,0x0000006d,0x00040005,
- 0x000000d8,0x61726170,0x0000006d,0x00040005,0x000000de,0x61726170,0x0000006d,0x00040005,
- 0x000000e0,0x61726170,0x0000006d,0x00040005,0x000000e2,0x61726170,0x0000006d,0x00040005,
- 0x000000e8,0x61726170,0x0000006d,0x00040005,0x000000ea,0x61726170,0x0000006d,0x00040005,
- 0x000000ec,0x61726170,0x0000006d,0x00030005,0x000000f2,0x00004c62,0x00030005,0x000000fb,
- 0x00004c64,0x00030005,0x00000103,0x00004c65,0x00030005,0x0000010b,0x00004c66,0x00030005,
- 0x00000113,0x00004c68,0x00030005,0x0000011b,0x00007a6e,0x00040005,0x0000012c,0x61726170,
- 0x0000006d,0x00040005,0x0000012e,0x61726170,0x0000006d,0x00040005,0x00000130,0x61726170,
- 0x0000006d,0x00040005,0x00000133,0x61726170,0x0000006d,0x00040005,0x00000134,0x61726170,
- 0x0000006d,0x00040005,0x00000136,0x61726170,0x0000006d,0x00040005,0x00000139,0x61726170,
- 0x0000006d,0x00040005,0x0000013b,0x61726170,0x0000006d,0x00040005,0x0000013d,0x61726170,
- 0x0000006d,0x00040005,0x00000140,0x61726170,0x0000006d,0x00040005,0x00000141,0x61726170,
- 0x0000006d,0x00040005,0x00000143,0x61726170,0x0000006d,0x00040005,0x00000147,0x61726170,
- 0x0000006d,0x00040005,0x0000014a,0x61726170,0x0000006d,0x00040005,0x00000150,0x52346e6d,
- 0x00000000,0x00040005,0x00000151,0x61726170,0x0000006d,0x00040005,0x00000153,0x61726170,
- 0x0000006d,0x00040005,0x00000155,0x61726170,0x0000006d,0x00040005,0x0000015a,0x47346e6d,
- 0x00000000,0x00040005,0x0000015b,0x61726170,0x0000006d,0x00040005,0x0000015d,0x61726170,
- 0x0000006d,0x00040005,0x0000015f,0x61726170,0x0000006d,0x00040005,0x00000164,0x42346e6d,
- 0x00000000,0x00040005,0x00000165,0x61726170,0x0000006d,0x00040005,0x00000167,0x61726170,
- 0x0000006d,0x00040005,0x00000169,0x61726170,0x0000006d,0x00040005,0x0000016e,0x5234786d,
- 0x00000000,0x00040005,0x0000016f,0x61726170,0x0000006d,0x00040005,0x00000171,0x61726170,
- 0x0000006d,0x00040005,0x00000173,0x61726170,0x0000006d,0x00040005,0x00000178,0x4734786d,
- 0x00000000,0x00040005,0x00000179,0x61726170,0x0000006d,0x00040005,0x0000017b,0x61726170,
- 0x0000006d,0x00040005,0x0000017d,0x61726170,0x0000006d,0x00040005,0x00000182,0x4234786d,
- 0x00000000,0x00040005,0x00000183,0x61726170,0x0000006d,0x00040005,0x00000185,0x61726170,
- 0x0000006d,0x00040005,0x00000187,0x61726170,0x0000006d,0x00040005,0x0000018e,0x6b616570,
- 0x00000043,0x00040005,0x00000191,0x4d746968,0x00526e69,0x00040005,0x00000198,0x61726170,
- 0x0000006d,0x00040005,0x0000019b,0x4d746968,0x00476e69,0x00040005,0x000001a1,0x61726170,
- 0x0000006d,0x00040005,0x000001a4,0x4d746968,0x00426e69,0x00040005,0x000001aa,0x61726170,
- 0x0000006d,0x00040005,0x000001ad,0x4d746968,0x00527861,0x00040005,0x000001b9,0x61726170,
- 0x0000006d,0x00040005,0x000001bc,0x4d746968,0x00477861,0x00040005,0x000001c8,0x61726170,
- 0x0000006d,0x00040005,0x000001cb,0x4d746968,0x00427861,0x00040005,0x000001d7,0x61726170,
- 0x0000006d,0x00040005,0x000001da,0x65626f6c,0x00000052,0x00040005,0x000001df,0x65626f6c,
- 0x00000047,0x00040005,0x000001e4,0x65626f6c,0x00000042,0x00040005,0x000001e9,0x65626f6c,
- 0x00000000,0x00040005,0x000001eb,0x61726170,0x0000006d,0x00040005,0x000001ed,0x61726170,
- 0x0000006d,0x00040005,0x000001ef,0x61726170,0x0000006d,0x00040005,0x000001f9,0x4c706372,
- 0x00000000,0x00040005,0x000001fd,0x61726170,0x0000006d,0x00030005,0x00000239,0x00007069,
- 0x00060005,0x0000023b,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00030005,0x0000023d,
- 0x00004350,0x00040006,0x0000023d,0x00000000,0x0063646e,0x00040006,0x0000023d,0x00000001,
- 0x006e6f63,0x00060006,0x0000023d,0x00000002,0x7074756f,0x69537475,0x0000657a,0x00030005,
- 0x0000023f,0x00006370,0x00030005,0x00000246,0x00000063,0x00040005,0x00000247,0x61726170,
- 0x0000006d,0x00040005,0x00000248,0x61726170,0x0000006d,0x00040005,0x00000249,0x61726170,
- 0x0000006d,0x00040005,0x0000024a,0x61726170,0x0000006d,0x00040005,0x0000024c,0x61726170,
- 0x0000006d,0x00050005,0x00000258,0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x00000058,
- 0x00000021,0x00000000,0x00040047,0x00000058,0x00000022,0x00000000,0x00040047,0x0000023b,
- 0x0000001e,0x00000000,0x00030047,0x0000023d,0x00000002,0x00050048,0x0000023d,0x00000000,
- 0x00000023,0x00000000,0x00050048,0x0000023d,0x00000001,0x00000023,0x00000010,0x00050048,
- 0x0000023d,0x00000002,0x00000023,0x00000020,0x00040047,0x00000258,0x0000001e,0x00000000,
- 0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,
- 0x00040020,0x00000007,0x00000007,0x00000006,0x00040021,0x00000008,0x00000006,0x00000007,
- 0x00060021,0x00000012,0x00000006,0x00000007,0x00000007,0x00000007,0x00040015,0x0000001d,
- 0x00000020,0x00000001,0x00040017,0x0000001e,0x0000001d,0x00000002,0x00040020,0x0000001f,
- 0x00000007,0x0000001e,0x00040017,0x00000020,0x00000006,0x00000004,0x00040021,0x00000021,
- 0x00000020,0x0000001f,0x00060021,0x00000025,0x00000002,0x00000007,0x00000007,0x00000007,
- 0x00040015,0x0000002b,0x00000020,0x00000000,0x00040017,0x0000002c,0x0000002b,0x00000002,
- 0x00040020,0x0000002d,0x00000007,0x0000002c,0x00040017,0x0000002e,0x0000002b,0x00000004,
- 0x00040020,0x0000002f,0x00000007,0x0000002e,0x00080021,0x00000030,0x00000002,0x00000007,
- 0x00000007,0x00000007,0x0000002d,0x0000002f,0x0004002b,0x00000006,0x00000038,0x3f800000,
- 0x0004002b,0x00000006,0x00000042,0x00000000,0x00090019,0x00000055,0x00000006,0x00000001,
- 0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x00000056,0x00000055,
- 0x00040020,0x00000057,0x00000000,0x00000056,0x0004003b,0x00000057,0x00000058,0x00000000,
- 0x0004002b,0x0000001d,0x0000005a,0x00000000,0x0005002c,0x0000001e,0x0000005f,0x0000005a,
- 0x0000005a,0x0004002b,0x0000001d,0x00000061,0x00000001,0x0005002c,0x0000001e,0x00000062,
- 0x00000061,0x00000061,0x00040017,0x0000006c,0x00000006,0x00000003,0x00040020,0x0000006d,
- 0x00000007,0x0000006c,0x0004002b,0x0000001d,0x00000070,0xffffffff,0x0005002c,0x0000001e,
- 0x00000071,0x0000005a,0x00000070,0x0005002c,0x0000001e,0x00000078,0x00000070,0x0000005a,
- 0x0005002c,0x0000001e,0x00000084,0x00000061,0x0000005a,0x0005002c,0x0000001e,0x0000008b,
- 0x0000005a,0x00000061,0x0004002b,0x0000002b,0x00000091,0x00000000,0x0004002b,0x0000002b,
- 0x00000095,0x00000001,0x0004002b,0x0000002b,0x00000099,0x00000002,0x0004002b,0x00000006,
- 0x000000f4,0x3f000000,0x0004002b,0x00000006,0x0000011c,0x3e800000,0x0004002b,0x00000006,
- 0x0000014c,0xbf000000,0x00040017,0x0000018c,0x00000006,0x00000002,0x00040020,0x0000018d,
- 0x00000007,0x0000018c,0x0004002b,0x00000006,0x0000018f,0xc0800000,0x0005002c,0x0000018c,
- 0x00000190,0x00000038,0x0000018f,0x0004002b,0x00000006,0x00000195,0x40800000,0x0004002b,
- 0x00000006,0x000001ea,0xbe400000,0x00040020,0x000001f4,0x00000007,0x0000002b,0x00040020,
- 0x0000023a,0x00000001,0x0000018c,0x0004003b,0x0000023a,0x0000023b,0x00000001,0x0005001e,
- 0x0000023d,0x00000020,0x0000002e,0x0000018c,0x00040020,0x0000023e,0x00000009,0x0000023d,
- 0x0004003b,0x0000023e,0x0000023f,0x00000009,0x0004002b,0x0000001d,0x00000240,0x00000002,
- 0x00040020,0x00000241,0x00000009,0x0000018c,0x00040020,0x0000024d,0x00000009,0x0000002e,
- 0x00040020,0x00000257,0x00000003,0x00000020,0x0004003b,0x00000257,0x00000258,0x00000003,
- 0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
- 0x0000002d,0x00000239,0x00000007,0x0004003b,0x0000006d,0x00000246,0x00000007,0x0004003b,
- 0x00000007,0x00000247,0x00000007,0x0004003b,0x00000007,0x00000248,0x00000007,0x0004003b,
- 0x00000007,0x00000249,0x00000007,0x0004003b,0x0000002d,0x0000024a,0x00000007,0x0004003b,
- 0x0000002f,0x0000024c,0x00000007,0x0004003d,0x0000018c,0x0000023c,0x0000023b,0x00050041,
- 0x00000241,0x00000242,0x0000023f,0x00000240,0x0004003d,0x0000018c,0x00000243,0x00000242,
- 0x00050085,0x0000018c,0x00000244,0x0000023c,0x00000243,0x0004006d,0x0000002c,0x00000245,
- 0x00000244,0x0003003e,0x00000239,0x00000245,0x0004003d,0x0000002c,0x0000024b,0x00000239,
- 0x0003003e,0x0000024a,0x0000024b,0x00050041,0x0000024d,0x0000024e,0x0000023f,0x00000061,
- 0x0004003d,0x0000002e,0x0000024f,0x0000024e,0x0003003e,0x0000024c,0x0000024f,0x00090039,
- 0x00000002,0x00000250,0x00000036,0x00000247,0x00000248,0x00000249,0x0000024a,0x0000024c,
- 0x0004003d,0x00000006,0x00000251,0x00000247,0x00050041,0x00000007,0x00000252,0x00000246,
- 0x00000091,0x0003003e,0x00000252,0x00000251,0x0004003d,0x00000006,0x00000253,0x00000248,
- 0x00050041,0x00000007,0x00000254,0x00000246,0x00000095,0x0003003e,0x00000254,0x00000253,
- 0x0004003d,0x00000006,0x00000255,0x00000249,0x00050041,0x00000007,0x00000256,0x00000246,
- 0x00000099,0x0003003e,0x00000256,0x00000255,0x0004003d,0x0000006c,0x00000259,0x00000246,
- 0x00050051,0x00000006,0x0000025a,0x00000259,0x00000000,0x00050051,0x00000006,0x0000025b,
- 0x00000259,0x00000001,0x00050051,0x00000006,0x0000025c,0x00000259,0x00000002,0x00070050,
- 0x00000020,0x0000025d,0x0000025a,0x0000025b,0x0000025c,0x00000038,0x0003003e,0x00000258,
- 0x0000025d,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000a,0x00000000,0x00000008,
- 0x00030037,0x00000007,0x00000009,0x000200f8,0x0000000b,0x0004003d,0x00000006,0x00000039,
- 0x00000009,0x00050088,0x00000006,0x0000003a,0x00000038,0x00000039,0x000200fe,0x0000003a,
- 0x00010038,0x00050036,0x00000006,0x0000000d,0x00000000,0x00000008,0x00030037,0x00000007,
- 0x0000000c,0x000200f8,0x0000000e,0x0004003d,0x00000006,0x0000003d,0x0000000c,0x00050088,
- 0x00000006,0x0000003e,0x00000038,0x0000003d,0x000200fe,0x0000003e,0x00010038,0x00050036,
- 0x00000006,0x00000010,0x00000000,0x00000008,0x00030037,0x00000007,0x0000000f,0x000200f8,
- 0x00000011,0x0004003d,0x00000006,0x00000041,0x0000000f,0x0008000c,0x00000006,0x00000043,
- 0x00000001,0x0000002b,0x00000041,0x00000042,0x00000038,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,
- 0x00000025,0x00000047,0x00000048,0x0007000c,0x00000006,0x0000004a,0x00000001,0x00000025,
- 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,0x00000028,0x0000004e,0x0000004f,
- 0x0007000c,0x00000006,0x00000051,0x00000001,0x00000028,0x0000004d,0x00000050,0x000200fe,
- 0x00000051,0x00010038,0x00050036,0x00000020,0x00000023,0x00000000,0x00000021,0x00030037,
- 0x0000001f,0x00000022,0x000200f8,0x00000024,0x0004003b,0x0000001f,0x00000054,0x00000007,
- 0x0004003d,0x00000056,0x00000059,0x00000058,0x00040064,0x00000055,0x0000005b,0x00000059,
- 0x00050067,0x0000001e,0x0000005c,0x0000005b,0x0000005a,0x0003003e,0x00000054,0x0000005c,
- 0x0004003d,0x00000056,0x0000005d,0x00000058,0x0004003d,0x0000001e,0x0000005e,0x00000022,
- 0x0004003d,0x0000001e,0x00000060,0x00000054,0x00050082,0x0000001e,0x00000063,0x00000060,
- 0x00000062,0x0008000c,0x0000001e,0x00000064,0x00000001,0x0000002d,0x0000005e,0x0000005f,
- 0x00000063,0x00040064,0x00000055,0x00000065,0x0000005d,0x0007005f,0x00000020,0x00000066,
- 0x00000065,0x00000064,0x00000002,0x0000005a,0x000200fe,0x00000066,0x00010038,0x00050036,
- 0x00000002,0x00000029,0x00000000,0x00000025,0x00030037,0x00000007,0x00000026,0x00030037,
- 0x00000007,0x00000027,0x00030037,0x00000007,0x00000028,0x000200f8,0x0000002a,0x000100fd,
- 0x00010038,0x00050036,0x00000002,0x00000036,0x00000000,0x00000030,0x00030037,0x00000007,
- 0x00000031,0x00030037,0x00000007,0x00000032,0x00030037,0x00000007,0x00000033,0x00030037,
- 0x0000002d,0x00000034,0x00030037,0x0000002f,0x00000035,0x000200f8,0x00000037,0x0004003b,
- 0x0000001f,0x00000069,0x00000007,0x0004003b,0x0000006d,0x0000006e,0x00000007,0x0004003b,
- 0x0000001f,0x00000073,0x00000007,0x0004003b,0x0000006d,0x00000076,0x00000007,0x0004003b,
- 0x0000001f,0x0000007a,0x00000007,0x0004003b,0x0000006d,0x0000007d,0x00000007,0x0004003b,
- 0x0000001f,0x0000007e,0x00000007,0x0004003b,0x0000006d,0x00000082,0x00000007,0x0004003b,
- 0x0000001f,0x00000086,0x00000007,0x0004003b,0x0000006d,0x00000089,0x00000007,0x0004003b,
- 0x0000001f,0x0000008d,0x00000007,0x0004003b,0x00000007,0x00000090,0x00000007,0x0004003b,
- 0x00000007,0x00000094,0x00000007,0x0004003b,0x00000007,0x00000098,0x00000007,0x0004003b,
- 0x00000007,0x0000009c,0x00000007,0x0004003b,0x00000007,0x0000009f,0x00000007,0x0004003b,
- 0x00000007,0x000000a2,0x00000007,0x0004003b,0x00000007,0x000000a5,0x00000007,0x0004003b,
- 0x00000007,0x000000a8,0x00000007,0x0004003b,0x00000007,0x000000ab,0x00000007,0x0004003b,
- 0x00000007,0x000000ae,0x00000007,0x0004003b,0x00000007,0x000000b1,0x00000007,0x0004003b,
- 0x00000007,0x000000b4,0x00000007,0x0004003b,0x00000007,0x000000b7,0x00000007,0x0004003b,
- 0x00000007,0x000000ba,0x00000007,0x0004003b,0x00000007,0x000000bd,0x00000007,0x0004003b,
- 0x00000007,0x000000c0,0x00000007,0x0004003b,0x00000007,0x000000c2,0x00000007,0x0004003b,
- 0x00000007,0x000000c4,0x00000007,0x0004003b,0x00000007,0x000000ca,0x00000007,0x0004003b,
- 0x00000007,0x000000cc,0x00000007,0x0004003b,0x00000007,0x000000ce,0x00000007,0x0004003b,
- 0x00000007,0x000000d4,0x00000007,0x0004003b,0x00000007,0x000000d6,0x00000007,0x0004003b,
- 0x00000007,0x000000d8,0x00000007,0x0004003b,0x00000007,0x000000de,0x00000007,0x0004003b,
- 0x00000007,0x000000e0,0x00000007,0x0004003b,0x00000007,0x000000e2,0x00000007,0x0004003b,
- 0x00000007,0x000000e8,0x00000007,0x0004003b,0x00000007,0x000000ea,0x00000007,0x0004003b,
- 0x00000007,0x000000ec,0x00000007,0x0004003b,0x00000007,0x000000f2,0x00000007,0x0004003b,
- 0x00000007,0x000000fb,0x00000007,0x0004003b,0x00000007,0x00000103,0x00000007,0x0004003b,
- 0x00000007,0x0000010b,0x00000007,0x0004003b,0x00000007,0x00000113,0x00000007,0x0004003b,
- 0x00000007,0x0000011b,0x00000007,0x0004003b,0x00000007,0x0000012c,0x00000007,0x0004003b,
- 0x00000007,0x0000012e,0x00000007,0x0004003b,0x00000007,0x00000130,0x00000007,0x0004003b,
- 0x00000007,0x00000133,0x00000007,0x0004003b,0x00000007,0x00000134,0x00000007,0x0004003b,
+ 0x00000000,0x00000001,0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000269,
+ 0x00000286,0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,
+ 0x00000004,0x6e69616d,0x00000000,0x00070005,0x0000000a,0x78725041,0x5264654d,0x31467063,
+ 0x3b316628,0x00000000,0x00030005,0x00000009,0x00000078,0x00050005,0x0000000d,0x74615341,
+ 0x66283146,0x00003b31,0x00030005,0x0000000c,0x00000078,0x00070005,0x00000013,0x6e694d41,
+ 0x28314633,0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000010,0x00000061,0x00030005,
+ 0x00000011,0x00000062,0x00030005,0x00000012,0x00000063,0x00070005,0x00000018,0x78614d41,
+ 0x28314633,0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000015,0x00000061,0x00030005,
+ 0x00000016,0x00000062,0x00030005,0x00000017,0x00000063,0x00070005,0x00000020,0x52727346,
+ 0x4c736163,0x4664616f,0x32697628,0x0000003b,0x00030005,0x0000001f,0x00000070,0x00080005,
+ 0x00000026,0x52727346,0x49736163,0x7475706e,0x31662846,0x3b31663b,0x003b3166,0x00030005,
+ 0x00000023,0x00000072,0x00030005,0x00000024,0x00000067,0x00030005,0x00000025,0x00000062,
+ 0x00090005,0x00000033,0x52727346,0x46736163,0x3b316628,0x663b3166,0x75763b31,0x75763b32,
+ 0x00003b34,0x00040005,0x0000002e,0x52786970,0x00000000,0x00040005,0x0000002f,0x47786970,
+ 0x00000000,0x00040005,0x00000030,0x42786970,0x00000000,0x00030005,0x00000031,0x00007069,
+ 0x00030005,0x00000032,0x006e6f63,0x00030005,0x0000004d,0x00007a73,0x00060005,0x00000051,
+ 0x75706e49,0x78655474,0x65727574,0x00000000,0x00030005,0x00000062,0x00007073,0x00030005,
+ 0x00000067,0x00000062,0x00040005,0x0000006c,0x61726170,0x0000006d,0x00030005,0x0000006f,
+ 0x00000064,0x00040005,0x00000073,0x61726170,0x0000006d,0x00030005,0x00000076,0x00000065,
+ 0x00040005,0x00000077,0x61726170,0x0000006d,0x00030005,0x0000007b,0x00000066,0x00040005,
+ 0x0000007f,0x61726170,0x0000006d,0x00030005,0x00000082,0x00000068,0x00040005,0x00000086,
+ 0x61726170,0x0000006d,0x00030005,0x00000089,0x00005262,0x00030005,0x0000008d,0x00004762,
+ 0x00030005,0x00000091,0x00004262,0x00030005,0x00000095,0x00005264,0x00030005,0x00000098,
+ 0x00004764,0x00030005,0x0000009b,0x00004264,0x00030005,0x0000009e,0x00005265,0x00030005,
+ 0x000000a1,0x00004765,0x00030005,0x000000a4,0x00004265,0x00030005,0x000000a7,0x00005266,
+ 0x00030005,0x000000aa,0x00004766,0x00030005,0x000000ad,0x00004266,0x00030005,0x000000b0,
+ 0x00005268,0x00030005,0x000000b3,0x00004768,0x00030005,0x000000b6,0x00004268,0x00040005,
+ 0x000000b9,0x61726170,0x0000006d,0x00040005,0x000000bb,0x61726170,0x0000006d,0x00040005,
+ 0x000000bd,0x61726170,0x0000006d,0x00040005,0x000000c3,0x61726170,0x0000006d,0x00040005,
+ 0x000000c5,0x61726170,0x0000006d,0x00040005,0x000000c7,0x61726170,0x0000006d,0x00040005,
+ 0x000000cd,0x61726170,0x0000006d,0x00040005,0x000000cf,0x61726170,0x0000006d,0x00040005,
+ 0x000000d1,0x61726170,0x0000006d,0x00040005,0x000000d7,0x61726170,0x0000006d,0x00040005,
+ 0x000000d9,0x61726170,0x0000006d,0x00040005,0x000000db,0x61726170,0x0000006d,0x00040005,
+ 0x000000e1,0x61726170,0x0000006d,0x00040005,0x000000e3,0x61726170,0x0000006d,0x00040005,
+ 0x000000e5,0x61726170,0x0000006d,0x00030005,0x000000eb,0x00004c62,0x00030005,0x000000f4,
+ 0x00004c64,0x00030005,0x000000fc,0x00004c65,0x00030005,0x00000104,0x00004c66,0x00030005,
+ 0x0000010c,0x00004c68,0x00030005,0x00000114,0x00007a6e,0x00040005,0x00000125,0x61726170,
+ 0x0000006d,0x00040005,0x00000127,0x61726170,0x0000006d,0x00040005,0x00000129,0x61726170,
+ 0x0000006d,0x00040005,0x0000012c,0x61726170,0x0000006d,0x00040005,0x0000012d,0x61726170,
+ 0x0000006d,0x00040005,0x0000012f,0x61726170,0x0000006d,0x00040005,0x00000132,0x61726170,
+ 0x0000006d,0x00040005,0x00000134,0x61726170,0x0000006d,0x00040005,0x00000136,0x61726170,
+ 0x0000006d,0x00040005,0x00000139,0x61726170,0x0000006d,0x00040005,0x0000013a,0x61726170,
+ 0x0000006d,0x00040005,0x0000013c,0x61726170,0x0000006d,0x00040005,0x00000140,0x61726170,
+ 0x0000006d,0x00040005,0x00000143,0x61726170,0x0000006d,0x00040005,0x00000149,0x52346e6d,
+ 0x00000000,0x00040005,0x0000014a,0x61726170,0x0000006d,0x00040005,0x0000014c,0x61726170,
+ 0x0000006d,0x00040005,0x0000014e,0x61726170,0x0000006d,0x00040005,0x00000153,0x47346e6d,
+ 0x00000000,0x00040005,0x00000154,0x61726170,0x0000006d,0x00040005,0x00000156,0x61726170,
+ 0x0000006d,0x00040005,0x00000158,0x61726170,0x0000006d,0x00040005,0x0000015d,0x42346e6d,
+ 0x00000000,0x00040005,0x0000015e,0x61726170,0x0000006d,0x00040005,0x00000160,0x61726170,
+ 0x0000006d,0x00040005,0x00000162,0x61726170,0x0000006d,0x00040005,0x00000167,0x5234786d,
+ 0x00000000,0x00040005,0x00000168,0x61726170,0x0000006d,0x00040005,0x0000016a,0x61726170,
+ 0x0000006d,0x00040005,0x0000016c,0x61726170,0x0000006d,0x00040005,0x00000171,0x4734786d,
+ 0x00000000,0x00040005,0x00000172,0x61726170,0x0000006d,0x00040005,0x00000174,0x61726170,
+ 0x0000006d,0x00040005,0x00000176,0x61726170,0x0000006d,0x00040005,0x0000017b,0x4234786d,
+ 0x00000000,0x00040005,0x0000017c,0x61726170,0x0000006d,0x00040005,0x0000017e,0x61726170,
+ 0x0000006d,0x00040005,0x00000180,0x61726170,0x0000006d,0x00040005,0x00000187,0x6b616570,
+ 0x00000043,0x00040005,0x0000018a,0x4d6e6564,0x00526e69,0x00040005,0x0000018e,0x4d6e6564,
+ 0x00476e69,0x00040005,0x00000191,0x4d6e6564,0x00426e69,0x00040005,0x00000194,0x4d6e6564,
+ 0x00527861,0x00040005,0x0000019a,0x4d6e6564,0x00477861,0x00040005,0x000001a0,0x4d6e6564,
+ 0x00427861,0x00040005,0x000001a6,0x4d746968,0x00526e69,0x00040005,0x000001b4,0x4d746968,
+ 0x00476e69,0x00040005,0x000001c1,0x4d746968,0x00426e69,0x00040005,0x000001ce,0x4d6d756e,
+ 0x00527861,0x00040005,0x000001d5,0x4d6d756e,0x00477861,0x00040005,0x000001dc,0x4d6d756e,
+ 0x00427861,0x00040005,0x000001e3,0x4d746968,0x00527861,0x00040005,0x000001f0,0x4d746968,
+ 0x00477861,0x00040005,0x000001fc,0x4d746968,0x00427861,0x00040005,0x00000208,0x65626f6c,
+ 0x00000052,0x00040005,0x0000020d,0x65626f6c,0x00000047,0x00040005,0x00000212,0x65626f6c,
+ 0x00000042,0x00040005,0x00000217,0x65626f6c,0x00000000,0x00040005,0x00000219,0x61726170,
+ 0x0000006d,0x00040005,0x0000021b,0x61726170,0x0000006d,0x00040005,0x0000021d,0x61726170,
+ 0x0000006d,0x00040005,0x00000227,0x4c706372,0x00000000,0x00040005,0x0000022b,0x61726170,
+ 0x0000006d,0x00030005,0x00000267,0x00007069,0x00060005,0x00000269,0x67617266,0x43786554,
+ 0x64726f6f,0x00000000,0x00030005,0x0000026b,0x00004350,0x00040006,0x0000026b,0x00000000,
+ 0x0063646e,0x00040006,0x0000026b,0x00000001,0x006e6f63,0x00060006,0x0000026b,0x00000002,
+ 0x7074756f,0x69537475,0x0000657a,0x00030005,0x0000026d,0x00006370,0x00030005,0x00000274,
+ 0x00000063,0x00040005,0x00000275,0x61726170,0x0000006d,0x00040005,0x00000276,0x61726170,
+ 0x0000006d,0x00040005,0x00000277,0x61726170,0x0000006d,0x00040005,0x00000278,0x61726170,
+ 0x0000006d,0x00040005,0x0000027a,0x61726170,0x0000006d,0x00050005,0x00000286,0x4374756f,
+ 0x726f6c6f,0x00000000,0x00040047,0x00000051,0x00000021,0x00000000,0x00040047,0x00000051,
+ 0x00000022,0x00000000,0x00040047,0x00000269,0x0000001e,0x00000000,0x00030047,0x0000026b,
+ 0x00000002,0x00050048,0x0000026b,0x00000000,0x00000023,0x00000000,0x00050048,0x0000026b,
+ 0x00000001,0x00000023,0x00000010,0x00050048,0x0000026b,0x00000002,0x00000023,0x00000020,
+ 0x00040047,0x00000286,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,
+ 0x00000002,0x00030016,0x00000006,0x00000020,0x00040020,0x00000007,0x00000007,0x00000006,
+ 0x00040021,0x00000008,0x00000006,0x00000007,0x00060021,0x0000000f,0x00000006,0x00000007,
+ 0x00000007,0x00000007,0x00040015,0x0000001a,0x00000020,0x00000001,0x00040017,0x0000001b,
+ 0x0000001a,0x00000002,0x00040020,0x0000001c,0x00000007,0x0000001b,0x00040017,0x0000001d,
+ 0x00000006,0x00000004,0x00040021,0x0000001e,0x0000001d,0x0000001c,0x00060021,0x00000022,
+ 0x00000002,0x00000007,0x00000007,0x00000007,0x00040015,0x00000028,0x00000020,0x00000000,
+ 0x00040017,0x00000029,0x00000028,0x00000002,0x00040020,0x0000002a,0x00000007,0x00000029,
+ 0x00040017,0x0000002b,0x00000028,0x00000004,0x00040020,0x0000002c,0x00000007,0x0000002b,
+ 0x00080021,0x0000002d,0x00000002,0x00000007,0x00000007,0x00000007,0x0000002a,0x0000002c,
+ 0x0004002b,0x00000006,0x00000035,0x3f800000,0x0004002b,0x00000006,0x0000003b,0x00000000,
+ 0x00090019,0x0000004e,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,
+ 0x00000000,0x0003001b,0x0000004f,0x0000004e,0x00040020,0x00000050,0x00000000,0x0000004f,
+ 0x0004003b,0x00000050,0x00000051,0x00000000,0x0004002b,0x0000001a,0x00000053,0x00000000,
+ 0x0005002c,0x0000001b,0x00000058,0x00000053,0x00000053,0x0004002b,0x0000001a,0x0000005a,
+ 0x00000001,0x0005002c,0x0000001b,0x0000005b,0x0000005a,0x0000005a,0x00040017,0x00000065,
+ 0x00000006,0x00000003,0x00040020,0x00000066,0x00000007,0x00000065,0x0004002b,0x0000001a,
+ 0x00000069,0xffffffff,0x0005002c,0x0000001b,0x0000006a,0x00000053,0x00000069,0x0005002c,
+ 0x0000001b,0x00000071,0x00000069,0x00000053,0x0005002c,0x0000001b,0x0000007d,0x0000005a,
+ 0x00000053,0x0005002c,0x0000001b,0x00000084,0x00000053,0x0000005a,0x0004002b,0x00000028,
+ 0x0000008a,0x00000000,0x0004002b,0x00000028,0x0000008e,0x00000001,0x0004002b,0x00000028,
+ 0x00000092,0x00000002,0x0004002b,0x00000006,0x000000ed,0x3f000000,0x0004002b,0x00000006,
+ 0x00000115,0x3e800000,0x0004002b,0x00000006,0x00000145,0xbf000000,0x00040017,0x00000185,
+ 0x00000006,0x00000002,0x00040020,0x00000186,0x00000007,0x00000185,0x0004002b,0x00000006,
+ 0x00000188,0xc0800000,0x0005002c,0x00000185,0x00000189,0x00000035,0x00000188,0x0004002b,
+ 0x00000006,0x0000018b,0x40800000,0x00020014,0x000001a8,0x0004002b,0x00000006,0x000001e6,
+ 0x358637bd,0x0004002b,0x00000006,0x00000218,0xbe400000,0x00040020,0x00000222,0x00000007,
+ 0x00000028,0x00040020,0x00000268,0x00000001,0x00000185,0x0004003b,0x00000268,0x00000269,
+ 0x00000001,0x0005001e,0x0000026b,0x0000001d,0x0000002b,0x00000185,0x00040020,0x0000026c,
+ 0x00000009,0x0000026b,0x0004003b,0x0000026c,0x0000026d,0x00000009,0x0004002b,0x0000001a,
+ 0x0000026e,0x00000002,0x00040020,0x0000026f,0x00000009,0x00000185,0x00040020,0x0000027b,
+ 0x00000009,0x0000002b,0x00040020,0x00000285,0x00000003,0x0000001d,0x0004003b,0x00000285,
+ 0x00000286,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,
+ 0x00000005,0x0004003b,0x0000002a,0x00000267,0x00000007,0x0004003b,0x00000066,0x00000274,
+ 0x00000007,0x0004003b,0x00000007,0x00000275,0x00000007,0x0004003b,0x00000007,0x00000276,
+ 0x00000007,0x0004003b,0x00000007,0x00000277,0x00000007,0x0004003b,0x0000002a,0x00000278,
+ 0x00000007,0x0004003b,0x0000002c,0x0000027a,0x00000007,0x0004003d,0x00000185,0x0000026a,
+ 0x00000269,0x00050041,0x0000026f,0x00000270,0x0000026d,0x0000026e,0x0004003d,0x00000185,
+ 0x00000271,0x00000270,0x00050085,0x00000185,0x00000272,0x0000026a,0x00000271,0x0004006d,
+ 0x00000029,0x00000273,0x00000272,0x0003003e,0x00000267,0x00000273,0x0004003d,0x00000029,
+ 0x00000279,0x00000267,0x0003003e,0x00000278,0x00000279,0x00050041,0x0000027b,0x0000027c,
+ 0x0000026d,0x0000005a,0x0004003d,0x0000002b,0x0000027d,0x0000027c,0x0003003e,0x0000027a,
+ 0x0000027d,0x00090039,0x00000002,0x0000027e,0x00000033,0x00000275,0x00000276,0x00000277,
+ 0x00000278,0x0000027a,0x0004003d,0x00000006,0x0000027f,0x00000275,0x00050041,0x00000007,
+ 0x00000280,0x00000274,0x0000008a,0x0003003e,0x00000280,0x0000027f,0x0004003d,0x00000006,
+ 0x00000281,0x00000276,0x00050041,0x00000007,0x00000282,0x00000274,0x0000008e,0x0003003e,
+ 0x00000282,0x00000281,0x0004003d,0x00000006,0x00000283,0x00000277,0x00050041,0x00000007,
+ 0x00000284,0x00000274,0x00000092,0x0003003e,0x00000284,0x00000283,0x0004003d,0x00000065,
+ 0x00000287,0x00000274,0x00050051,0x00000006,0x00000288,0x00000287,0x00000000,0x00050051,
+ 0x00000006,0x00000289,0x00000287,0x00000001,0x00050051,0x00000006,0x0000028a,0x00000287,
+ 0x00000002,0x00070050,0x0000001d,0x0000028b,0x00000288,0x00000289,0x0000028a,0x00000035,
+ 0x0003003e,0x00000286,0x0000028b,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000a,
+ 0x00000000,0x00000008,0x00030037,0x00000007,0x00000009,0x000200f8,0x0000000b,0x0004003d,
+ 0x00000006,0x00000036,0x00000009,0x00050088,0x00000006,0x00000037,0x00000035,0x00000036,
+ 0x000200fe,0x00000037,0x00010038,0x00050036,0x00000006,0x0000000d,0x00000000,0x00000008,
+ 0x00030037,0x00000007,0x0000000c,0x000200f8,0x0000000e,0x0004003d,0x00000006,0x0000003a,
+ 0x0000000c,0x0008000c,0x00000006,0x0000003c,0x00000001,0x0000002b,0x0000003a,0x0000003b,
+ 0x00000035,0x000200fe,0x0000003c,0x00010038,0x00050036,0x00000006,0x00000013,0x00000000,
+ 0x0000000f,0x00030037,0x00000007,0x00000010,0x00030037,0x00000007,0x00000011,0x00030037,
+ 0x00000007,0x00000012,0x000200f8,0x00000014,0x0004003d,0x00000006,0x0000003f,0x00000010,
+ 0x0004003d,0x00000006,0x00000040,0x00000011,0x0004003d,0x00000006,0x00000041,0x00000012,
+ 0x0007000c,0x00000006,0x00000042,0x00000001,0x00000025,0x00000040,0x00000041,0x0007000c,
+ 0x00000006,0x00000043,0x00000001,0x00000025,0x0000003f,0x00000042,0x000200fe,0x00000043,
+ 0x00010038,0x00050036,0x00000006,0x00000018,0x00000000,0x0000000f,0x00030037,0x00000007,
+ 0x00000015,0x00030037,0x00000007,0x00000016,0x00030037,0x00000007,0x00000017,0x000200f8,
+ 0x00000019,0x0004003d,0x00000006,0x00000046,0x00000015,0x0004003d,0x00000006,0x00000047,
+ 0x00000016,0x0004003d,0x00000006,0x00000048,0x00000017,0x0007000c,0x00000006,0x00000049,
+ 0x00000001,0x00000028,0x00000047,0x00000048,0x0007000c,0x00000006,0x0000004a,0x00000001,
+ 0x00000028,0x00000046,0x00000049,0x000200fe,0x0000004a,0x00010038,0x00050036,0x0000001d,
+ 0x00000020,0x00000000,0x0000001e,0x00030037,0x0000001c,0x0000001f,0x000200f8,0x00000021,
+ 0x0004003b,0x0000001c,0x0000004d,0x00000007,0x0004003d,0x0000004f,0x00000052,0x00000051,
+ 0x00040064,0x0000004e,0x00000054,0x00000052,0x00050067,0x0000001b,0x00000055,0x00000054,
+ 0x00000053,0x0003003e,0x0000004d,0x00000055,0x0004003d,0x0000004f,0x00000056,0x00000051,
+ 0x0004003d,0x0000001b,0x00000057,0x0000001f,0x0004003d,0x0000001b,0x00000059,0x0000004d,
+ 0x00050082,0x0000001b,0x0000005c,0x00000059,0x0000005b,0x0008000c,0x0000001b,0x0000005d,
+ 0x00000001,0x0000002d,0x00000057,0x00000058,0x0000005c,0x00040064,0x0000004e,0x0000005e,
+ 0x00000056,0x0007005f,0x0000001d,0x0000005f,0x0000005e,0x0000005d,0x00000002,0x00000053,
+ 0x000200fe,0x0000005f,0x00010038,0x00050036,0x00000002,0x00000026,0x00000000,0x00000022,
+ 0x00030037,0x00000007,0x00000023,0x00030037,0x00000007,0x00000024,0x00030037,0x00000007,
+ 0x00000025,0x000200f8,0x00000027,0x000100fd,0x00010038,0x00050036,0x00000002,0x00000033,
+ 0x00000000,0x0000002d,0x00030037,0x00000007,0x0000002e,0x00030037,0x00000007,0x0000002f,
+ 0x00030037,0x00000007,0x00000030,0x00030037,0x0000002a,0x00000031,0x00030037,0x0000002c,
+ 0x00000032,0x000200f8,0x00000034,0x0004003b,0x0000001c,0x00000062,0x00000007,0x0004003b,
+ 0x00000066,0x00000067,0x00000007,0x0004003b,0x0000001c,0x0000006c,0x00000007,0x0004003b,
+ 0x00000066,0x0000006f,0x00000007,0x0004003b,0x0000001c,0x00000073,0x00000007,0x0004003b,
+ 0x00000066,0x00000076,0x00000007,0x0004003b,0x0000001c,0x00000077,0x00000007,0x0004003b,
+ 0x00000066,0x0000007b,0x00000007,0x0004003b,0x0000001c,0x0000007f,0x00000007,0x0004003b,
+ 0x00000066,0x00000082,0x00000007,0x0004003b,0x0000001c,0x00000086,0x00000007,0x0004003b,
+ 0x00000007,0x00000089,0x00000007,0x0004003b,0x00000007,0x0000008d,0x00000007,0x0004003b,
+ 0x00000007,0x00000091,0x00000007,0x0004003b,0x00000007,0x00000095,0x00000007,0x0004003b,
+ 0x00000007,0x00000098,0x00000007,0x0004003b,0x00000007,0x0000009b,0x00000007,0x0004003b,
+ 0x00000007,0x0000009e,0x00000007,0x0004003b,0x00000007,0x000000a1,0x00000007,0x0004003b,
+ 0x00000007,0x000000a4,0x00000007,0x0004003b,0x00000007,0x000000a7,0x00000007,0x0004003b,
+ 0x00000007,0x000000aa,0x00000007,0x0004003b,0x00000007,0x000000ad,0x00000007,0x0004003b,
+ 0x00000007,0x000000b0,0x00000007,0x0004003b,0x00000007,0x000000b3,0x00000007,0x0004003b,
+ 0x00000007,0x000000b6,0x00000007,0x0004003b,0x00000007,0x000000b9,0x00000007,0x0004003b,
+ 0x00000007,0x000000bb,0x00000007,0x0004003b,0x00000007,0x000000bd,0x00000007,0x0004003b,
+ 0x00000007,0x000000c3,0x00000007,0x0004003b,0x00000007,0x000000c5,0x00000007,0x0004003b,
+ 0x00000007,0x000000c7,0x00000007,0x0004003b,0x00000007,0x000000cd,0x00000007,0x0004003b,
+ 0x00000007,0x000000cf,0x00000007,0x0004003b,0x00000007,0x000000d1,0x00000007,0x0004003b,
+ 0x00000007,0x000000d7,0x00000007,0x0004003b,0x00000007,0x000000d9,0x00000007,0x0004003b,
+ 0x00000007,0x000000db,0x00000007,0x0004003b,0x00000007,0x000000e1,0x00000007,0x0004003b,
+ 0x00000007,0x000000e3,0x00000007,0x0004003b,0x00000007,0x000000e5,0x00000007,0x0004003b,
+ 0x00000007,0x000000eb,0x00000007,0x0004003b,0x00000007,0x000000f4,0x00000007,0x0004003b,
+ 0x00000007,0x000000fc,0x00000007,0x0004003b,0x00000007,0x00000104,0x00000007,0x0004003b,
+ 0x00000007,0x0000010c,0x00000007,0x0004003b,0x00000007,0x00000114,0x00000007,0x0004003b,
+ 0x00000007,0x00000125,0x00000007,0x0004003b,0x00000007,0x00000127,0x00000007,0x0004003b,
+ 0x00000007,0x00000129,0x00000007,0x0004003b,0x00000007,0x0000012c,0x00000007,0x0004003b,
+ 0x00000007,0x0000012d,0x00000007,0x0004003b,0x00000007,0x0000012f,0x00000007,0x0004003b,
+ 0x00000007,0x00000132,0x00000007,0x0004003b,0x00000007,0x00000134,0x00000007,0x0004003b,
0x00000007,0x00000136,0x00000007,0x0004003b,0x00000007,0x00000139,0x00000007,0x0004003b,
- 0x00000007,0x0000013b,0x00000007,0x0004003b,0x00000007,0x0000013d,0x00000007,0x0004003b,
- 0x00000007,0x00000140,0x00000007,0x0004003b,0x00000007,0x00000141,0x00000007,0x0004003b,
- 0x00000007,0x00000143,0x00000007,0x0004003b,0x00000007,0x00000147,0x00000007,0x0004003b,
- 0x00000007,0x0000014a,0x00000007,0x0004003b,0x00000007,0x00000150,0x00000007,0x0004003b,
- 0x00000007,0x00000151,0x00000007,0x0004003b,0x00000007,0x00000153,0x00000007,0x0004003b,
- 0x00000007,0x00000155,0x00000007,0x0004003b,0x00000007,0x0000015a,0x00000007,0x0004003b,
- 0x00000007,0x0000015b,0x00000007,0x0004003b,0x00000007,0x0000015d,0x00000007,0x0004003b,
- 0x00000007,0x0000015f,0x00000007,0x0004003b,0x00000007,0x00000164,0x00000007,0x0004003b,
- 0x00000007,0x00000165,0x00000007,0x0004003b,0x00000007,0x00000167,0x00000007,0x0004003b,
- 0x00000007,0x00000169,0x00000007,0x0004003b,0x00000007,0x0000016e,0x00000007,0x0004003b,
- 0x00000007,0x0000016f,0x00000007,0x0004003b,0x00000007,0x00000171,0x00000007,0x0004003b,
- 0x00000007,0x00000173,0x00000007,0x0004003b,0x00000007,0x00000178,0x00000007,0x0004003b,
- 0x00000007,0x00000179,0x00000007,0x0004003b,0x00000007,0x0000017b,0x00000007,0x0004003b,
- 0x00000007,0x0000017d,0x00000007,0x0004003b,0x00000007,0x00000182,0x00000007,0x0004003b,
- 0x00000007,0x00000183,0x00000007,0x0004003b,0x00000007,0x00000185,0x00000007,0x0004003b,
- 0x00000007,0x00000187,0x00000007,0x0004003b,0x0000018d,0x0000018e,0x00000007,0x0004003b,
- 0x00000007,0x00000191,0x00000007,0x0004003b,0x00000007,0x00000198,0x00000007,0x0004003b,
- 0x00000007,0x0000019b,0x00000007,0x0004003b,0x00000007,0x000001a1,0x00000007,0x0004003b,
- 0x00000007,0x000001a4,0x00000007,0x0004003b,0x00000007,0x000001aa,0x00000007,0x0004003b,
- 0x00000007,0x000001ad,0x00000007,0x0004003b,0x00000007,0x000001b9,0x00000007,0x0004003b,
- 0x00000007,0x000001bc,0x00000007,0x0004003b,0x00000007,0x000001c8,0x00000007,0x0004003b,
- 0x00000007,0x000001cb,0x00000007,0x0004003b,0x00000007,0x000001d7,0x00000007,0x0004003b,
- 0x00000007,0x000001da,0x00000007,0x0004003b,0x00000007,0x000001df,0x00000007,0x0004003b,
- 0x00000007,0x000001e4,0x00000007,0x0004003b,0x00000007,0x000001e9,0x00000007,0x0004003b,
- 0x00000007,0x000001eb,0x00000007,0x0004003b,0x00000007,0x000001ed,0x00000007,0x0004003b,
- 0x00000007,0x000001ef,0x00000007,0x0004003b,0x00000007,0x000001f9,0x00000007,0x0004003b,
- 0x00000007,0x000001fd,0x00000007,0x0004003d,0x0000002c,0x0000006a,0x00000034,0x0004007c,
- 0x0000001e,0x0000006b,0x0000006a,0x0003003e,0x00000069,0x0000006b,0x0004003d,0x0000001e,
- 0x0000006f,0x00000069,0x00050080,0x0000001e,0x00000072,0x0000006f,0x00000071,0x0003003e,
- 0x00000073,0x00000072,0x00050039,0x00000020,0x00000074,0x00000023,0x00000073,0x0008004f,
- 0x0000006c,0x00000075,0x00000074,0x00000074,0x00000000,0x00000001,0x00000002,0x0003003e,
- 0x0000006e,0x00000075,0x0004003d,0x0000001e,0x00000077,0x00000069,0x00050080,0x0000001e,
- 0x00000079,0x00000077,0x00000078,0x0003003e,0x0000007a,0x00000079,0x00050039,0x00000020,
- 0x0000007b,0x00000023,0x0000007a,0x0008004f,0x0000006c,0x0000007c,0x0000007b,0x0000007b,
- 0x00000000,0x00000001,0x00000002,0x0003003e,0x00000076,0x0000007c,0x0004003d,0x0000001e,
- 0x0000007f,0x00000069,0x0003003e,0x0000007e,0x0000007f,0x00050039,0x00000020,0x00000080,
- 0x00000023,0x0000007e,0x0008004f,0x0000006c,0x00000081,0x00000080,0x00000080,0x00000000,
- 0x00000001,0x00000002,0x0003003e,0x0000007d,0x00000081,0x0004003d,0x0000001e,0x00000083,
- 0x00000069,0x00050080,0x0000001e,0x00000085,0x00000083,0x00000084,0x0003003e,0x00000086,
- 0x00000085,0x00050039,0x00000020,0x00000087,0x00000023,0x00000086,0x0008004f,0x0000006c,
- 0x00000088,0x00000087,0x00000087,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000082,
- 0x00000088,0x0004003d,0x0000001e,0x0000008a,0x00000069,0x00050080,0x0000001e,0x0000008c,
- 0x0000008a,0x0000008b,0x0003003e,0x0000008d,0x0000008c,0x00050039,0x00000020,0x0000008e,
- 0x00000023,0x0000008d,0x0008004f,0x0000006c,0x0000008f,0x0000008e,0x0000008e,0x00000000,
- 0x00000001,0x00000002,0x0003003e,0x00000089,0x0000008f,0x00050041,0x00000007,0x00000092,
- 0x0000006e,0x00000091,0x0004003d,0x00000006,0x00000093,0x00000092,0x0003003e,0x00000090,
- 0x00000093,0x00050041,0x00000007,0x00000096,0x0000006e,0x00000095,0x0004003d,0x00000006,
- 0x00000097,0x00000096,0x0003003e,0x00000094,0x00000097,0x00050041,0x00000007,0x0000009a,
- 0x0000006e,0x00000099,0x0004003d,0x00000006,0x0000009b,0x0000009a,0x0003003e,0x00000098,
- 0x0000009b,0x00050041,0x00000007,0x0000009d,0x00000076,0x00000091,0x0004003d,0x00000006,
- 0x0000009e,0x0000009d,0x0003003e,0x0000009c,0x0000009e,0x00050041,0x00000007,0x000000a0,
- 0x00000076,0x00000095,0x0004003d,0x00000006,0x000000a1,0x000000a0,0x0003003e,0x0000009f,
- 0x000000a1,0x00050041,0x00000007,0x000000a3,0x00000076,0x00000099,0x0004003d,0x00000006,
- 0x000000a4,0x000000a3,0x0003003e,0x000000a2,0x000000a4,0x00050041,0x00000007,0x000000a6,
- 0x0000007d,0x00000091,0x0004003d,0x00000006,0x000000a7,0x000000a6,0x0003003e,0x000000a5,
- 0x000000a7,0x00050041,0x00000007,0x000000a9,0x0000007d,0x00000095,0x0004003d,0x00000006,
- 0x000000aa,0x000000a9,0x0003003e,0x000000a8,0x000000aa,0x00050041,0x00000007,0x000000ac,
- 0x0000007d,0x00000099,0x0004003d,0x00000006,0x000000ad,0x000000ac,0x0003003e,0x000000ab,
- 0x000000ad,0x00050041,0x00000007,0x000000af,0x00000082,0x00000091,0x0004003d,0x00000006,
- 0x000000b0,0x000000af,0x0003003e,0x000000ae,0x000000b0,0x00050041,0x00000007,0x000000b2,
- 0x00000082,0x00000095,0x0004003d,0x00000006,0x000000b3,0x000000b2,0x0003003e,0x000000b1,
- 0x000000b3,0x00050041,0x00000007,0x000000b5,0x00000082,0x00000099,0x0004003d,0x00000006,
- 0x000000b6,0x000000b5,0x0003003e,0x000000b4,0x000000b6,0x00050041,0x00000007,0x000000b8,
- 0x00000089,0x00000091,0x0004003d,0x00000006,0x000000b9,0x000000b8,0x0003003e,0x000000b7,
- 0x000000b9,0x00050041,0x00000007,0x000000bb,0x00000089,0x00000095,0x0004003d,0x00000006,
- 0x000000bc,0x000000bb,0x0003003e,0x000000ba,0x000000bc,0x00050041,0x00000007,0x000000be,
- 0x00000089,0x00000099,0x0004003d,0x00000006,0x000000bf,0x000000be,0x0003003e,0x000000bd,
- 0x000000bf,0x0004003d,0x00000006,0x000000c1,0x00000090,0x0003003e,0x000000c0,0x000000c1,
- 0x0004003d,0x00000006,0x000000c3,0x00000094,0x0003003e,0x000000c2,0x000000c3,0x0004003d,
- 0x00000006,0x000000c5,0x00000098,0x0003003e,0x000000c4,0x000000c5,0x00070039,0x00000002,
- 0x000000c6,0x00000029,0x000000c0,0x000000c2,0x000000c4,0x0004003d,0x00000006,0x000000c7,
- 0x000000c0,0x0003003e,0x00000090,0x000000c7,0x0004003d,0x00000006,0x000000c8,0x000000c2,
- 0x0003003e,0x00000094,0x000000c8,0x0004003d,0x00000006,0x000000c9,0x000000c4,0x0003003e,
- 0x00000098,0x000000c9,0x0004003d,0x00000006,0x000000cb,0x0000009c,0x0003003e,0x000000ca,
- 0x000000cb,0x0004003d,0x00000006,0x000000cd,0x0000009f,0x0003003e,0x000000cc,0x000000cd,
- 0x0004003d,0x00000006,0x000000cf,0x000000a2,0x0003003e,0x000000ce,0x000000cf,0x00070039,
- 0x00000002,0x000000d0,0x00000029,0x000000ca,0x000000cc,0x000000ce,0x0004003d,0x00000006,
- 0x000000d1,0x000000ca,0x0003003e,0x0000009c,0x000000d1,0x0004003d,0x00000006,0x000000d2,
- 0x000000cc,0x0003003e,0x0000009f,0x000000d2,0x0004003d,0x00000006,0x000000d3,0x000000ce,
- 0x0003003e,0x000000a2,0x000000d3,0x0004003d,0x00000006,0x000000d5,0x000000a5,0x0003003e,
- 0x000000d4,0x000000d5,0x0004003d,0x00000006,0x000000d7,0x000000a8,0x0003003e,0x000000d6,
- 0x000000d7,0x0004003d,0x00000006,0x000000d9,0x000000ab,0x0003003e,0x000000d8,0x000000d9,
- 0x00070039,0x00000002,0x000000da,0x00000029,0x000000d4,0x000000d6,0x000000d8,0x0004003d,
- 0x00000006,0x000000db,0x000000d4,0x0003003e,0x000000a5,0x000000db,0x0004003d,0x00000006,
- 0x000000dc,0x000000d6,0x0003003e,0x000000a8,0x000000dc,0x0004003d,0x00000006,0x000000dd,
- 0x000000d8,0x0003003e,0x000000ab,0x000000dd,0x0004003d,0x00000006,0x000000df,0x000000ae,
- 0x0003003e,0x000000de,0x000000df,0x0004003d,0x00000006,0x000000e1,0x000000b1,0x0003003e,
- 0x000000e0,0x000000e1,0x0004003d,0x00000006,0x000000e3,0x000000b4,0x0003003e,0x000000e2,
- 0x000000e3,0x00070039,0x00000002,0x000000e4,0x00000029,0x000000de,0x000000e0,0x000000e2,
- 0x0004003d,0x00000006,0x000000e5,0x000000de,0x0003003e,0x000000ae,0x000000e5,0x0004003d,
- 0x00000006,0x000000e6,0x000000e0,0x0003003e,0x000000b1,0x000000e6,0x0004003d,0x00000006,
- 0x000000e7,0x000000e2,0x0003003e,0x000000b4,0x000000e7,0x0004003d,0x00000006,0x000000e9,
- 0x000000b7,0x0003003e,0x000000e8,0x000000e9,0x0004003d,0x00000006,0x000000eb,0x000000ba,
- 0x0003003e,0x000000ea,0x000000eb,0x0004003d,0x00000006,0x000000ed,0x000000bd,0x0003003e,
- 0x000000ec,0x000000ed,0x00070039,0x00000002,0x000000ee,0x00000029,0x000000e8,0x000000ea,
- 0x000000ec,0x0004003d,0x00000006,0x000000ef,0x000000e8,0x0003003e,0x000000b7,0x000000ef,
- 0x0004003d,0x00000006,0x000000f0,0x000000ea,0x0003003e,0x000000ba,0x000000f0,0x0004003d,
- 0x00000006,0x000000f1,0x000000ec,0x0003003e,0x000000bd,0x000000f1,0x0004003d,0x00000006,
- 0x000000f3,0x00000098,0x00050085,0x00000006,0x000000f5,0x000000f3,0x000000f4,0x0004003d,
- 0x00000006,0x000000f6,0x00000090,0x00050085,0x00000006,0x000000f7,0x000000f6,0x000000f4,
- 0x0004003d,0x00000006,0x000000f8,0x00000094,0x00050081,0x00000006,0x000000f9,0x000000f7,
- 0x000000f8,0x00050081,0x00000006,0x000000fa,0x000000f5,0x000000f9,0x0003003e,0x000000f2,
- 0x000000fa,0x0004003d,0x00000006,0x000000fc,0x000000a2,0x00050085,0x00000006,0x000000fd,
- 0x000000fc,0x000000f4,0x0004003d,0x00000006,0x000000fe,0x0000009c,0x00050085,0x00000006,
- 0x000000ff,0x000000fe,0x000000f4,0x0004003d,0x00000006,0x00000100,0x0000009f,0x00050081,
- 0x00000006,0x00000101,0x000000ff,0x00000100,0x00050081,0x00000006,0x00000102,0x000000fd,
- 0x00000101,0x0003003e,0x000000fb,0x00000102,0x0004003d,0x00000006,0x00000104,0x000000ab,
- 0x00050085,0x00000006,0x00000105,0x00000104,0x000000f4,0x0004003d,0x00000006,0x00000106,
- 0x000000a5,0x00050085,0x00000006,0x00000107,0x00000106,0x000000f4,0x0004003d,0x00000006,
- 0x00000108,0x000000a8,0x00050081,0x00000006,0x00000109,0x00000107,0x00000108,0x00050081,
- 0x00000006,0x0000010a,0x00000105,0x00000109,0x0003003e,0x00000103,0x0000010a,0x0004003d,
- 0x00000006,0x0000010c,0x000000b4,0x00050085,0x00000006,0x0000010d,0x0000010c,0x000000f4,
- 0x0004003d,0x00000006,0x0000010e,0x000000ae,0x00050085,0x00000006,0x0000010f,0x0000010e,
- 0x000000f4,0x0004003d,0x00000006,0x00000110,0x000000b1,0x00050081,0x00000006,0x00000111,
- 0x0000010f,0x00000110,0x00050081,0x00000006,0x00000112,0x0000010d,0x00000111,0x0003003e,
- 0x0000010b,0x00000112,0x0004003d,0x00000006,0x00000114,0x000000bd,0x00050085,0x00000006,
- 0x00000115,0x00000114,0x000000f4,0x0004003d,0x00000006,0x00000116,0x000000b7,0x00050085,
- 0x00000006,0x00000117,0x00000116,0x000000f4,0x0004003d,0x00000006,0x00000118,0x000000ba,
- 0x00050081,0x00000006,0x00000119,0x00000117,0x00000118,0x00050081,0x00000006,0x0000011a,
- 0x00000115,0x00000119,0x0003003e,0x00000113,0x0000011a,0x0004003d,0x00000006,0x0000011d,
- 0x000000f2,0x00050085,0x00000006,0x0000011e,0x0000011c,0x0000011d,0x0004003d,0x00000006,
- 0x0000011f,0x000000fb,0x00050085,0x00000006,0x00000120,0x0000011c,0x0000011f,0x00050081,
- 0x00000006,0x00000121,0x0000011e,0x00000120,0x0004003d,0x00000006,0x00000122,0x0000010b,
- 0x00050085,0x00000006,0x00000123,0x0000011c,0x00000122,0x00050081,0x00000006,0x00000124,
- 0x00000121,0x00000123,0x0004003d,0x00000006,0x00000125,0x00000113,0x00050085,0x00000006,
- 0x00000126,0x0000011c,0x00000125,0x00050081,0x00000006,0x00000127,0x00000124,0x00000126,
- 0x0004003d,0x00000006,0x00000128,0x00000103,0x00050083,0x00000006,0x00000129,0x00000127,
- 0x00000128,0x0003003e,0x0000011b,0x00000129,0x0004003d,0x00000006,0x0000012a,0x0000011b,
- 0x0006000c,0x00000006,0x0000012b,0x00000001,0x00000004,0x0000012a,0x0004003d,0x00000006,
- 0x0000012d,0x000000f2,0x0003003e,0x0000012c,0x0000012d,0x0004003d,0x00000006,0x0000012f,
- 0x000000fb,0x0003003e,0x0000012e,0x0000012f,0x0004003d,0x00000006,0x00000131,0x00000103,
- 0x0003003e,0x00000130,0x00000131,0x00070039,0x00000006,0x00000132,0x0000001b,0x0000012c,
- 0x0000012e,0x00000130,0x0003003e,0x00000133,0x00000132,0x0004003d,0x00000006,0x00000135,
- 0x0000010b,0x0003003e,0x00000134,0x00000135,0x0004003d,0x00000006,0x00000137,0x00000113,
- 0x0003003e,0x00000136,0x00000137,0x00070039,0x00000006,0x00000138,0x0000001b,0x00000133,
- 0x00000134,0x00000136,0x0004003d,0x00000006,0x0000013a,0x000000f2,0x0003003e,0x00000139,
- 0x0000013a,0x0004003d,0x00000006,0x0000013c,0x000000fb,0x0003003e,0x0000013b,0x0000013c,
- 0x0004003d,0x00000006,0x0000013e,0x00000103,0x0003003e,0x0000013d,0x0000013e,0x00070039,
- 0x00000006,0x0000013f,0x00000016,0x00000139,0x0000013b,0x0000013d,0x0003003e,0x00000140,
- 0x0000013f,0x0004003d,0x00000006,0x00000142,0x0000010b,0x0003003e,0x00000141,0x00000142,
- 0x0004003d,0x00000006,0x00000144,0x00000113,0x0003003e,0x00000143,0x00000144,0x00070039,
- 0x00000006,0x00000145,0x00000016,0x00000140,0x00000141,0x00000143,0x00050083,0x00000006,
- 0x00000146,0x00000138,0x00000145,0x0003003e,0x00000147,0x00000146,0x00050039,0x00000006,
- 0x00000148,0x0000000d,0x00000147,0x00050085,0x00000006,0x00000149,0x0000012b,0x00000148,
- 0x0003003e,0x0000014a,0x00000149,0x00050039,0x00000006,0x0000014b,0x00000010,0x0000014a,
- 0x0003003e,0x0000011b,0x0000014b,0x0004003d,0x00000006,0x0000014d,0x0000011b,0x00050085,
- 0x00000006,0x0000014e,0x0000014c,0x0000014d,0x00050081,0x00000006,0x0000014f,0x0000014e,
- 0x00000038,0x0003003e,0x0000011b,0x0000014f,0x0004003d,0x00000006,0x00000152,0x00000090,
- 0x0003003e,0x00000151,0x00000152,0x0004003d,0x00000006,0x00000154,0x0000009c,0x0003003e,
- 0x00000153,0x00000154,0x0004003d,0x00000006,0x00000156,0x000000ae,0x0003003e,0x00000155,
- 0x00000156,0x00070039,0x00000006,0x00000157,0x00000016,0x00000151,0x00000153,0x00000155,
- 0x0004003d,0x00000006,0x00000158,0x000000b7,0x0007000c,0x00000006,0x00000159,0x00000001,
- 0x00000025,0x00000157,0x00000158,0x0003003e,0x00000150,0x00000159,0x0004003d,0x00000006,
- 0x0000015c,0x00000094,0x0003003e,0x0000015b,0x0000015c,0x0004003d,0x00000006,0x0000015e,
- 0x0000009f,0x0003003e,0x0000015d,0x0000015e,0x0004003d,0x00000006,0x00000160,0x000000b1,
- 0x0003003e,0x0000015f,0x00000160,0x00070039,0x00000006,0x00000161,0x00000016,0x0000015b,
- 0x0000015d,0x0000015f,0x0004003d,0x00000006,0x00000162,0x000000ba,0x0007000c,0x00000006,
- 0x00000163,0x00000001,0x00000025,0x00000161,0x00000162,0x0003003e,0x0000015a,0x00000163,
- 0x0004003d,0x00000006,0x00000166,0x00000098,0x0003003e,0x00000165,0x00000166,0x0004003d,
- 0x00000006,0x00000168,0x000000a2,0x0003003e,0x00000167,0x00000168,0x0004003d,0x00000006,
- 0x0000016a,0x000000b4,0x0003003e,0x00000169,0x0000016a,0x00070039,0x00000006,0x0000016b,
- 0x00000016,0x00000165,0x00000167,0x00000169,0x0004003d,0x00000006,0x0000016c,0x000000bd,
- 0x0007000c,0x00000006,0x0000016d,0x00000001,0x00000025,0x0000016b,0x0000016c,0x0003003e,
- 0x00000164,0x0000016d,0x0004003d,0x00000006,0x00000170,0x00000090,0x0003003e,0x0000016f,
- 0x00000170,0x0004003d,0x00000006,0x00000172,0x0000009c,0x0003003e,0x00000171,0x00000172,
- 0x0004003d,0x00000006,0x00000174,0x000000ae,0x0003003e,0x00000173,0x00000174,0x00070039,
- 0x00000006,0x00000175,0x0000001b,0x0000016f,0x00000171,0x00000173,0x0004003d,0x00000006,
- 0x00000176,0x000000b7,0x0007000c,0x00000006,0x00000177,0x00000001,0x00000028,0x00000175,
- 0x00000176,0x0003003e,0x0000016e,0x00000177,0x0004003d,0x00000006,0x0000017a,0x00000094,
- 0x0003003e,0x00000179,0x0000017a,0x0004003d,0x00000006,0x0000017c,0x0000009f,0x0003003e,
- 0x0000017b,0x0000017c,0x0004003d,0x00000006,0x0000017e,0x000000b1,0x0003003e,0x0000017d,
- 0x0000017e,0x00070039,0x00000006,0x0000017f,0x0000001b,0x00000179,0x0000017b,0x0000017d,
- 0x0004003d,0x00000006,0x00000180,0x000000ba,0x0007000c,0x00000006,0x00000181,0x00000001,
- 0x00000028,0x0000017f,0x00000180,0x0003003e,0x00000178,0x00000181,0x0004003d,0x00000006,
- 0x00000184,0x00000098,0x0003003e,0x00000183,0x00000184,0x0004003d,0x00000006,0x00000186,
- 0x000000a2,0x0003003e,0x00000185,0x00000186,0x0004003d,0x00000006,0x00000188,0x000000b4,
- 0x0003003e,0x00000187,0x00000188,0x00070039,0x00000006,0x00000189,0x0000001b,0x00000183,
- 0x00000185,0x00000187,0x0004003d,0x00000006,0x0000018a,0x000000bd,0x0007000c,0x00000006,
- 0x0000018b,0x00000001,0x00000028,0x00000189,0x0000018a,0x0003003e,0x00000182,0x0000018b,
- 0x0003003e,0x0000018e,0x00000190,0x0004003d,0x00000006,0x00000192,0x00000150,0x0004003d,
- 0x00000006,0x00000193,0x000000a5,0x0007000c,0x00000006,0x00000194,0x00000001,0x00000025,
- 0x00000192,0x00000193,0x0004003d,0x00000006,0x00000196,0x0000016e,0x00050085,0x00000006,
- 0x00000197,0x00000195,0x00000196,0x0003003e,0x00000198,0x00000197,0x00050039,0x00000006,
- 0x00000199,0x0000000a,0x00000198,0x00050085,0x00000006,0x0000019a,0x00000194,0x00000199,
- 0x0003003e,0x00000191,0x0000019a,0x0004003d,0x00000006,0x0000019c,0x0000015a,0x0004003d,
- 0x00000006,0x0000019d,0x000000a8,0x0007000c,0x00000006,0x0000019e,0x00000001,0x00000025,
- 0x0000019c,0x0000019d,0x0004003d,0x00000006,0x0000019f,0x00000178,0x00050085,0x00000006,
- 0x000001a0,0x00000195,0x0000019f,0x0003003e,0x000001a1,0x000001a0,0x00050039,0x00000006,
- 0x000001a2,0x0000000a,0x000001a1,0x00050085,0x00000006,0x000001a3,0x0000019e,0x000001a2,
- 0x0003003e,0x0000019b,0x000001a3,0x0004003d,0x00000006,0x000001a5,0x00000164,0x0004003d,
- 0x00000006,0x000001a6,0x000000ab,0x0007000c,0x00000006,0x000001a7,0x00000001,0x00000025,
- 0x000001a5,0x000001a6,0x0004003d,0x00000006,0x000001a8,0x00000182,0x00050085,0x00000006,
- 0x000001a9,0x00000195,0x000001a8,0x0003003e,0x000001aa,0x000001a9,0x00050039,0x00000006,
- 0x000001ab,0x0000000a,0x000001aa,0x00050085,0x00000006,0x000001ac,0x000001a7,0x000001ab,
- 0x0003003e,0x000001a4,0x000001ac,0x00050041,0x00000007,0x000001ae,0x0000018e,0x00000091,
- 0x0004003d,0x00000006,0x000001af,0x000001ae,0x0004003d,0x00000006,0x000001b0,0x0000016e,
- 0x0004003d,0x00000006,0x000001b1,0x000000a5,0x0007000c,0x00000006,0x000001b2,0x00000001,
- 0x00000028,0x000001b0,0x000001b1,0x00050083,0x00000006,0x000001b3,0x000001af,0x000001b2,
- 0x0004003d,0x00000006,0x000001b4,0x00000150,0x00050085,0x00000006,0x000001b5,0x00000195,
- 0x000001b4,0x00050041,0x00000007,0x000001b6,0x0000018e,0x00000095,0x0004003d,0x00000006,
- 0x000001b7,0x000001b6,0x00050081,0x00000006,0x000001b8,0x000001b5,0x000001b7,0x0003003e,
- 0x000001b9,0x000001b8,0x00050039,0x00000006,0x000001ba,0x0000000a,0x000001b9,0x00050085,
- 0x00000006,0x000001bb,0x000001b3,0x000001ba,0x0003003e,0x000001ad,0x000001bb,0x00050041,
- 0x00000007,0x000001bd,0x0000018e,0x00000091,0x0004003d,0x00000006,0x000001be,0x000001bd,
- 0x0004003d,0x00000006,0x000001bf,0x00000178,0x0004003d,0x00000006,0x000001c0,0x000000a8,
- 0x0007000c,0x00000006,0x000001c1,0x00000001,0x00000028,0x000001bf,0x000001c0,0x00050083,
- 0x00000006,0x000001c2,0x000001be,0x000001c1,0x0004003d,0x00000006,0x000001c3,0x0000015a,
- 0x00050085,0x00000006,0x000001c4,0x00000195,0x000001c3,0x00050041,0x00000007,0x000001c5,
- 0x0000018e,0x00000095,0x0004003d,0x00000006,0x000001c6,0x000001c5,0x00050081,0x00000006,
- 0x000001c7,0x000001c4,0x000001c6,0x0003003e,0x000001c8,0x000001c7,0x00050039,0x00000006,
- 0x000001c9,0x0000000a,0x000001c8,0x00050085,0x00000006,0x000001ca,0x000001c2,0x000001c9,
- 0x0003003e,0x000001bc,0x000001ca,0x00050041,0x00000007,0x000001cc,0x0000018e,0x00000091,
- 0x0004003d,0x00000006,0x000001cd,0x000001cc,0x0004003d,0x00000006,0x000001ce,0x00000182,
- 0x0004003d,0x00000006,0x000001cf,0x000000ab,0x0007000c,0x00000006,0x000001d0,0x00000001,
- 0x00000028,0x000001ce,0x000001cf,0x00050083,0x00000006,0x000001d1,0x000001cd,0x000001d0,
- 0x0004003d,0x00000006,0x000001d2,0x00000164,0x00050085,0x00000006,0x000001d3,0x00000195,
- 0x000001d2,0x00050041,0x00000007,0x000001d4,0x0000018e,0x00000095,0x0004003d,0x00000006,
- 0x000001d5,0x000001d4,0x00050081,0x00000006,0x000001d6,0x000001d3,0x000001d5,0x0003003e,
- 0x000001d7,0x000001d6,0x00050039,0x00000006,0x000001d8,0x0000000a,0x000001d7,0x00050085,
- 0x00000006,0x000001d9,0x000001d1,0x000001d8,0x0003003e,0x000001cb,0x000001d9,0x0004003d,
- 0x00000006,0x000001db,0x00000191,0x0004007f,0x00000006,0x000001dc,0x000001db,0x0004003d,
- 0x00000006,0x000001dd,0x000001ad,0x0007000c,0x00000006,0x000001de,0x00000001,0x00000028,
- 0x000001dc,0x000001dd,0x0003003e,0x000001da,0x000001de,0x0004003d,0x00000006,0x000001e0,
- 0x0000019b,0x0004007f,0x00000006,0x000001e1,0x000001e0,0x0004003d,0x00000006,0x000001e2,
- 0x000001bc,0x0007000c,0x00000006,0x000001e3,0x00000001,0x00000028,0x000001e1,0x000001e2,
- 0x0003003e,0x000001df,0x000001e3,0x0004003d,0x00000006,0x000001e5,0x000001a4,0x0004007f,
- 0x00000006,0x000001e6,0x000001e5,0x0004003d,0x00000006,0x000001e7,0x000001cb,0x0007000c,
- 0x00000006,0x000001e8,0x00000001,0x00000028,0x000001e6,0x000001e7,0x0003003e,0x000001e4,
- 0x000001e8,0x0004003d,0x00000006,0x000001ec,0x000001da,0x0003003e,0x000001eb,0x000001ec,
- 0x0004003d,0x00000006,0x000001ee,0x000001df,0x0003003e,0x000001ed,0x000001ee,0x0004003d,
- 0x00000006,0x000001f0,0x000001e4,0x0003003e,0x000001ef,0x000001f0,0x00070039,0x00000006,
- 0x000001f1,0x0000001b,0x000001eb,0x000001ed,0x000001ef,0x0007000c,0x00000006,0x000001f2,
- 0x00000001,0x00000025,0x000001f1,0x00000042,0x0007000c,0x00000006,0x000001f3,0x00000001,
- 0x00000028,0x000001ea,0x000001f2,0x00050041,0x000001f4,0x000001f5,0x00000035,0x00000091,
- 0x0004003d,0x0000002b,0x000001f6,0x000001f5,0x0004007c,0x00000006,0x000001f7,0x000001f6,
- 0x00050085,0x00000006,0x000001f8,0x000001f3,0x000001f7,0x0003003e,0x000001e9,0x000001f8,
- 0x0004003d,0x00000006,0x000001fa,0x000001e9,0x00050085,0x00000006,0x000001fb,0x00000195,
- 0x000001fa,0x00050081,0x00000006,0x000001fc,0x000001fb,0x00000038,0x0003003e,0x000001fd,
- 0x000001fc,0x00050039,0x00000006,0x000001fe,0x0000000d,0x000001fd,0x0003003e,0x000001f9,
- 0x000001fe,0x0004003d,0x00000006,0x000001ff,0x000001e9,0x0004003d,0x00000006,0x00000200,
- 0x00000090,0x00050085,0x00000006,0x00000201,0x000001ff,0x00000200,0x0004003d,0x00000006,
- 0x00000202,0x000001e9,0x0004003d,0x00000006,0x00000203,0x0000009c,0x00050085,0x00000006,
- 0x00000204,0x00000202,0x00000203,0x00050081,0x00000006,0x00000205,0x00000201,0x00000204,
- 0x0004003d,0x00000006,0x00000206,0x000001e9,0x0004003d,0x00000006,0x00000207,0x000000b7,
- 0x00050085,0x00000006,0x00000208,0x00000206,0x00000207,0x00050081,0x00000006,0x00000209,
- 0x00000205,0x00000208,0x0004003d,0x00000006,0x0000020a,0x000001e9,0x0004003d,0x00000006,
- 0x0000020b,0x000000ae,0x00050085,0x00000006,0x0000020c,0x0000020a,0x0000020b,0x00050081,
- 0x00000006,0x0000020d,0x00000209,0x0000020c,0x0004003d,0x00000006,0x0000020e,0x000000a5,
- 0x00050081,0x00000006,0x0000020f,0x0000020d,0x0000020e,0x0004003d,0x00000006,0x00000210,
- 0x000001f9,0x00050085,0x00000006,0x00000211,0x0000020f,0x00000210,0x0003003e,0x00000031,
- 0x00000211,0x0004003d,0x00000006,0x00000212,0x000001e9,0x0004003d,0x00000006,0x00000213,
- 0x00000094,0x00050085,0x00000006,0x00000214,0x00000212,0x00000213,0x0004003d,0x00000006,
- 0x00000215,0x000001e9,0x0004003d,0x00000006,0x00000216,0x0000009f,0x00050085,0x00000006,
- 0x00000217,0x00000215,0x00000216,0x00050081,0x00000006,0x00000218,0x00000214,0x00000217,
- 0x0004003d,0x00000006,0x00000219,0x000001e9,0x0004003d,0x00000006,0x0000021a,0x000000ba,
- 0x00050085,0x00000006,0x0000021b,0x00000219,0x0000021a,0x00050081,0x00000006,0x0000021c,
- 0x00000218,0x0000021b,0x0004003d,0x00000006,0x0000021d,0x000001e9,0x0004003d,0x00000006,
- 0x0000021e,0x000000b1,0x00050085,0x00000006,0x0000021f,0x0000021d,0x0000021e,0x00050081,
- 0x00000006,0x00000220,0x0000021c,0x0000021f,0x0004003d,0x00000006,0x00000221,0x000000a8,
- 0x00050081,0x00000006,0x00000222,0x00000220,0x00000221,0x0004003d,0x00000006,0x00000223,
- 0x000001f9,0x00050085,0x00000006,0x00000224,0x00000222,0x00000223,0x0003003e,0x00000032,
- 0x00000224,0x0004003d,0x00000006,0x00000225,0x000001e9,0x0004003d,0x00000006,0x00000226,
- 0x00000098,0x00050085,0x00000006,0x00000227,0x00000225,0x00000226,0x0004003d,0x00000006,
- 0x00000228,0x000001e9,0x0004003d,0x00000006,0x00000229,0x000000a2,0x00050085,0x00000006,
- 0x0000022a,0x00000228,0x00000229,0x00050081,0x00000006,0x0000022b,0x00000227,0x0000022a,
- 0x0004003d,0x00000006,0x0000022c,0x000001e9,0x0004003d,0x00000006,0x0000022d,0x000000bd,
- 0x00050085,0x00000006,0x0000022e,0x0000022c,0x0000022d,0x00050081,0x00000006,0x0000022f,
- 0x0000022b,0x0000022e,0x0004003d,0x00000006,0x00000230,0x000001e9,0x0004003d,0x00000006,
- 0x00000231,0x000000b4,0x00050085,0x00000006,0x00000232,0x00000230,0x00000231,0x00050081,
- 0x00000006,0x00000233,0x0000022f,0x00000232,0x0004003d,0x00000006,0x00000234,0x000000ab,
- 0x00050081,0x00000006,0x00000235,0x00000233,0x00000234,0x0004003d,0x00000006,0x00000236,
- 0x000001f9,0x00050085,0x00000006,0x00000237,0x00000235,0x00000236,0x0003003e,0x00000033,
- 0x00000237,0x000100fd,0x00010038
+ 0x00000007,0x0000013a,0x00000007,0x0004003b,0x00000007,0x0000013c,0x00000007,0x0004003b,
+ 0x00000007,0x00000140,0x00000007,0x0004003b,0x00000007,0x00000143,0x00000007,0x0004003b,
+ 0x00000007,0x00000149,0x00000007,0x0004003b,0x00000007,0x0000014a,0x00000007,0x0004003b,
+ 0x00000007,0x0000014c,0x00000007,0x0004003b,0x00000007,0x0000014e,0x00000007,0x0004003b,
+ 0x00000007,0x00000153,0x00000007,0x0004003b,0x00000007,0x00000154,0x00000007,0x0004003b,
+ 0x00000007,0x00000156,0x00000007,0x0004003b,0x00000007,0x00000158,0x00000007,0x0004003b,
+ 0x00000007,0x0000015d,0x00000007,0x0004003b,0x00000007,0x0000015e,0x00000007,0x0004003b,
+ 0x00000007,0x00000160,0x00000007,0x0004003b,0x00000007,0x00000162,0x00000007,0x0004003b,
+ 0x00000007,0x00000167,0x00000007,0x0004003b,0x00000007,0x00000168,0x00000007,0x0004003b,
+ 0x00000007,0x0000016a,0x00000007,0x0004003b,0x00000007,0x0000016c,0x00000007,0x0004003b,
+ 0x00000007,0x00000171,0x00000007,0x0004003b,0x00000007,0x00000172,0x00000007,0x0004003b,
+ 0x00000007,0x00000174,0x00000007,0x0004003b,0x00000007,0x00000176,0x00000007,0x0004003b,
+ 0x00000007,0x0000017b,0x00000007,0x0004003b,0x00000007,0x0000017c,0x00000007,0x0004003b,
+ 0x00000007,0x0000017e,0x00000007,0x0004003b,0x00000007,0x00000180,0x00000007,0x0004003b,
+ 0x00000186,0x00000187,0x00000007,0x0004003b,0x00000007,0x0000018a,0x00000007,0x0004003b,
+ 0x00000007,0x0000018e,0x00000007,0x0004003b,0x00000007,0x00000191,0x00000007,0x0004003b,
+ 0x00000007,0x00000194,0x00000007,0x0004003b,0x00000007,0x0000019a,0x00000007,0x0004003b,
+ 0x00000007,0x000001a0,0x00000007,0x0004003b,0x00000007,0x000001a6,0x00000007,0x0004003b,
+ 0x00000007,0x000001aa,0x00000007,0x0004003b,0x00000007,0x000001b4,0x00000007,0x0004003b,
+ 0x00000007,0x000001b7,0x00000007,0x0004003b,0x00000007,0x000001c1,0x00000007,0x0004003b,
+ 0x00000007,0x000001c4,0x00000007,0x0004003b,0x00000007,0x000001ce,0x00000007,0x0004003b,
+ 0x00000007,0x000001d5,0x00000007,0x0004003b,0x00000007,0x000001dc,0x00000007,0x0004003b,
+ 0x00000007,0x000001e3,0x00000007,0x0004003b,0x00000007,0x000001e8,0x00000007,0x0004003b,
+ 0x00000007,0x000001f0,0x00000007,0x0004003b,0x00000007,0x000001f4,0x00000007,0x0004003b,
+ 0x00000007,0x000001fc,0x00000007,0x0004003b,0x00000007,0x00000200,0x00000007,0x0004003b,
+ 0x00000007,0x00000208,0x00000007,0x0004003b,0x00000007,0x0000020d,0x00000007,0x0004003b,
+ 0x00000007,0x00000212,0x00000007,0x0004003b,0x00000007,0x00000217,0x00000007,0x0004003b,
+ 0x00000007,0x00000219,0x00000007,0x0004003b,0x00000007,0x0000021b,0x00000007,0x0004003b,
+ 0x00000007,0x0000021d,0x00000007,0x0004003b,0x00000007,0x00000227,0x00000007,0x0004003b,
+ 0x00000007,0x0000022b,0x00000007,0x0004003d,0x00000029,0x00000063,0x00000031,0x0004007c,
+ 0x0000001b,0x00000064,0x00000063,0x0003003e,0x00000062,0x00000064,0x0004003d,0x0000001b,
+ 0x00000068,0x00000062,0x00050080,0x0000001b,0x0000006b,0x00000068,0x0000006a,0x0003003e,
+ 0x0000006c,0x0000006b,0x00050039,0x0000001d,0x0000006d,0x00000020,0x0000006c,0x0008004f,
+ 0x00000065,0x0000006e,0x0000006d,0x0000006d,0x00000000,0x00000001,0x00000002,0x0003003e,
+ 0x00000067,0x0000006e,0x0004003d,0x0000001b,0x00000070,0x00000062,0x00050080,0x0000001b,
+ 0x00000072,0x00000070,0x00000071,0x0003003e,0x00000073,0x00000072,0x00050039,0x0000001d,
+ 0x00000074,0x00000020,0x00000073,0x0008004f,0x00000065,0x00000075,0x00000074,0x00000074,
+ 0x00000000,0x00000001,0x00000002,0x0003003e,0x0000006f,0x00000075,0x0004003d,0x0000001b,
+ 0x00000078,0x00000062,0x0003003e,0x00000077,0x00000078,0x00050039,0x0000001d,0x00000079,
+ 0x00000020,0x00000077,0x0008004f,0x00000065,0x0000007a,0x00000079,0x00000079,0x00000000,
+ 0x00000001,0x00000002,0x0003003e,0x00000076,0x0000007a,0x0004003d,0x0000001b,0x0000007c,
+ 0x00000062,0x00050080,0x0000001b,0x0000007e,0x0000007c,0x0000007d,0x0003003e,0x0000007f,
+ 0x0000007e,0x00050039,0x0000001d,0x00000080,0x00000020,0x0000007f,0x0008004f,0x00000065,
+ 0x00000081,0x00000080,0x00000080,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000007b,
+ 0x00000081,0x0004003d,0x0000001b,0x00000083,0x00000062,0x00050080,0x0000001b,0x00000085,
+ 0x00000083,0x00000084,0x0003003e,0x00000086,0x00000085,0x00050039,0x0000001d,0x00000087,
+ 0x00000020,0x00000086,0x0008004f,0x00000065,0x00000088,0x00000087,0x00000087,0x00000000,
+ 0x00000001,0x00000002,0x0003003e,0x00000082,0x00000088,0x00050041,0x00000007,0x0000008b,
+ 0x00000067,0x0000008a,0x0004003d,0x00000006,0x0000008c,0x0000008b,0x0003003e,0x00000089,
+ 0x0000008c,0x00050041,0x00000007,0x0000008f,0x00000067,0x0000008e,0x0004003d,0x00000006,
+ 0x00000090,0x0000008f,0x0003003e,0x0000008d,0x00000090,0x00050041,0x00000007,0x00000093,
+ 0x00000067,0x00000092,0x0004003d,0x00000006,0x00000094,0x00000093,0x0003003e,0x00000091,
+ 0x00000094,0x00050041,0x00000007,0x00000096,0x0000006f,0x0000008a,0x0004003d,0x00000006,
+ 0x00000097,0x00000096,0x0003003e,0x00000095,0x00000097,0x00050041,0x00000007,0x00000099,
+ 0x0000006f,0x0000008e,0x0004003d,0x00000006,0x0000009a,0x00000099,0x0003003e,0x00000098,
+ 0x0000009a,0x00050041,0x00000007,0x0000009c,0x0000006f,0x00000092,0x0004003d,0x00000006,
+ 0x0000009d,0x0000009c,0x0003003e,0x0000009b,0x0000009d,0x00050041,0x00000007,0x0000009f,
+ 0x00000076,0x0000008a,0x0004003d,0x00000006,0x000000a0,0x0000009f,0x0003003e,0x0000009e,
+ 0x000000a0,0x00050041,0x00000007,0x000000a2,0x00000076,0x0000008e,0x0004003d,0x00000006,
+ 0x000000a3,0x000000a2,0x0003003e,0x000000a1,0x000000a3,0x00050041,0x00000007,0x000000a5,
+ 0x00000076,0x00000092,0x0004003d,0x00000006,0x000000a6,0x000000a5,0x0003003e,0x000000a4,
+ 0x000000a6,0x00050041,0x00000007,0x000000a8,0x0000007b,0x0000008a,0x0004003d,0x00000006,
+ 0x000000a9,0x000000a8,0x0003003e,0x000000a7,0x000000a9,0x00050041,0x00000007,0x000000ab,
+ 0x0000007b,0x0000008e,0x0004003d,0x00000006,0x000000ac,0x000000ab,0x0003003e,0x000000aa,
+ 0x000000ac,0x00050041,0x00000007,0x000000ae,0x0000007b,0x00000092,0x0004003d,0x00000006,
+ 0x000000af,0x000000ae,0x0003003e,0x000000ad,0x000000af,0x00050041,0x00000007,0x000000b1,
+ 0x00000082,0x0000008a,0x0004003d,0x00000006,0x000000b2,0x000000b1,0x0003003e,0x000000b0,
+ 0x000000b2,0x00050041,0x00000007,0x000000b4,0x00000082,0x0000008e,0x0004003d,0x00000006,
+ 0x000000b5,0x000000b4,0x0003003e,0x000000b3,0x000000b5,0x00050041,0x00000007,0x000000b7,
+ 0x00000082,0x00000092,0x0004003d,0x00000006,0x000000b8,0x000000b7,0x0003003e,0x000000b6,
+ 0x000000b8,0x0004003d,0x00000006,0x000000ba,0x00000089,0x0003003e,0x000000b9,0x000000ba,
+ 0x0004003d,0x00000006,0x000000bc,0x0000008d,0x0003003e,0x000000bb,0x000000bc,0x0004003d,
+ 0x00000006,0x000000be,0x00000091,0x0003003e,0x000000bd,0x000000be,0x00070039,0x00000002,
+ 0x000000bf,0x00000026,0x000000b9,0x000000bb,0x000000bd,0x0004003d,0x00000006,0x000000c0,
+ 0x000000b9,0x0003003e,0x00000089,0x000000c0,0x0004003d,0x00000006,0x000000c1,0x000000bb,
+ 0x0003003e,0x0000008d,0x000000c1,0x0004003d,0x00000006,0x000000c2,0x000000bd,0x0003003e,
+ 0x00000091,0x000000c2,0x0004003d,0x00000006,0x000000c4,0x00000095,0x0003003e,0x000000c3,
+ 0x000000c4,0x0004003d,0x00000006,0x000000c6,0x00000098,0x0003003e,0x000000c5,0x000000c6,
+ 0x0004003d,0x00000006,0x000000c8,0x0000009b,0x0003003e,0x000000c7,0x000000c8,0x00070039,
+ 0x00000002,0x000000c9,0x00000026,0x000000c3,0x000000c5,0x000000c7,0x0004003d,0x00000006,
+ 0x000000ca,0x000000c3,0x0003003e,0x00000095,0x000000ca,0x0004003d,0x00000006,0x000000cb,
+ 0x000000c5,0x0003003e,0x00000098,0x000000cb,0x0004003d,0x00000006,0x000000cc,0x000000c7,
+ 0x0003003e,0x0000009b,0x000000cc,0x0004003d,0x00000006,0x000000ce,0x0000009e,0x0003003e,
+ 0x000000cd,0x000000ce,0x0004003d,0x00000006,0x000000d0,0x000000a1,0x0003003e,0x000000cf,
+ 0x000000d0,0x0004003d,0x00000006,0x000000d2,0x000000a4,0x0003003e,0x000000d1,0x000000d2,
+ 0x00070039,0x00000002,0x000000d3,0x00000026,0x000000cd,0x000000cf,0x000000d1,0x0004003d,
+ 0x00000006,0x000000d4,0x000000cd,0x0003003e,0x0000009e,0x000000d4,0x0004003d,0x00000006,
+ 0x000000d5,0x000000cf,0x0003003e,0x000000a1,0x000000d5,0x0004003d,0x00000006,0x000000d6,
+ 0x000000d1,0x0003003e,0x000000a4,0x000000d6,0x0004003d,0x00000006,0x000000d8,0x000000a7,
+ 0x0003003e,0x000000d7,0x000000d8,0x0004003d,0x00000006,0x000000da,0x000000aa,0x0003003e,
+ 0x000000d9,0x000000da,0x0004003d,0x00000006,0x000000dc,0x000000ad,0x0003003e,0x000000db,
+ 0x000000dc,0x00070039,0x00000002,0x000000dd,0x00000026,0x000000d7,0x000000d9,0x000000db,
+ 0x0004003d,0x00000006,0x000000de,0x000000d7,0x0003003e,0x000000a7,0x000000de,0x0004003d,
+ 0x00000006,0x000000df,0x000000d9,0x0003003e,0x000000aa,0x000000df,0x0004003d,0x00000006,
+ 0x000000e0,0x000000db,0x0003003e,0x000000ad,0x000000e0,0x0004003d,0x00000006,0x000000e2,
+ 0x000000b0,0x0003003e,0x000000e1,0x000000e2,0x0004003d,0x00000006,0x000000e4,0x000000b3,
+ 0x0003003e,0x000000e3,0x000000e4,0x0004003d,0x00000006,0x000000e6,0x000000b6,0x0003003e,
+ 0x000000e5,0x000000e6,0x00070039,0x00000002,0x000000e7,0x00000026,0x000000e1,0x000000e3,
+ 0x000000e5,0x0004003d,0x00000006,0x000000e8,0x000000e1,0x0003003e,0x000000b0,0x000000e8,
+ 0x0004003d,0x00000006,0x000000e9,0x000000e3,0x0003003e,0x000000b3,0x000000e9,0x0004003d,
+ 0x00000006,0x000000ea,0x000000e5,0x0003003e,0x000000b6,0x000000ea,0x0004003d,0x00000006,
+ 0x000000ec,0x00000091,0x00050085,0x00000006,0x000000ee,0x000000ec,0x000000ed,0x0004003d,
+ 0x00000006,0x000000ef,0x00000089,0x00050085,0x00000006,0x000000f0,0x000000ef,0x000000ed,
+ 0x0004003d,0x00000006,0x000000f1,0x0000008d,0x00050081,0x00000006,0x000000f2,0x000000f0,
+ 0x000000f1,0x00050081,0x00000006,0x000000f3,0x000000ee,0x000000f2,0x0003003e,0x000000eb,
+ 0x000000f3,0x0004003d,0x00000006,0x000000f5,0x0000009b,0x00050085,0x00000006,0x000000f6,
+ 0x000000f5,0x000000ed,0x0004003d,0x00000006,0x000000f7,0x00000095,0x00050085,0x00000006,
+ 0x000000f8,0x000000f7,0x000000ed,0x0004003d,0x00000006,0x000000f9,0x00000098,0x00050081,
+ 0x00000006,0x000000fa,0x000000f8,0x000000f9,0x00050081,0x00000006,0x000000fb,0x000000f6,
+ 0x000000fa,0x0003003e,0x000000f4,0x000000fb,0x0004003d,0x00000006,0x000000fd,0x000000a4,
+ 0x00050085,0x00000006,0x000000fe,0x000000fd,0x000000ed,0x0004003d,0x00000006,0x000000ff,
+ 0x0000009e,0x00050085,0x00000006,0x00000100,0x000000ff,0x000000ed,0x0004003d,0x00000006,
+ 0x00000101,0x000000a1,0x00050081,0x00000006,0x00000102,0x00000100,0x00000101,0x00050081,
+ 0x00000006,0x00000103,0x000000fe,0x00000102,0x0003003e,0x000000fc,0x00000103,0x0004003d,
+ 0x00000006,0x00000105,0x000000ad,0x00050085,0x00000006,0x00000106,0x00000105,0x000000ed,
+ 0x0004003d,0x00000006,0x00000107,0x000000a7,0x00050085,0x00000006,0x00000108,0x00000107,
+ 0x000000ed,0x0004003d,0x00000006,0x00000109,0x000000aa,0x00050081,0x00000006,0x0000010a,
+ 0x00000108,0x00000109,0x00050081,0x00000006,0x0000010b,0x00000106,0x0000010a,0x0003003e,
+ 0x00000104,0x0000010b,0x0004003d,0x00000006,0x0000010d,0x000000b6,0x00050085,0x00000006,
+ 0x0000010e,0x0000010d,0x000000ed,0x0004003d,0x00000006,0x0000010f,0x000000b0,0x00050085,
+ 0x00000006,0x00000110,0x0000010f,0x000000ed,0x0004003d,0x00000006,0x00000111,0x000000b3,
+ 0x00050081,0x00000006,0x00000112,0x00000110,0x00000111,0x00050081,0x00000006,0x00000113,
+ 0x0000010e,0x00000112,0x0003003e,0x0000010c,0x00000113,0x0004003d,0x00000006,0x00000116,
+ 0x000000eb,0x00050085,0x00000006,0x00000117,0x00000115,0x00000116,0x0004003d,0x00000006,
+ 0x00000118,0x000000f4,0x00050085,0x00000006,0x00000119,0x00000115,0x00000118,0x00050081,
+ 0x00000006,0x0000011a,0x00000117,0x00000119,0x0004003d,0x00000006,0x0000011b,0x00000104,
+ 0x00050085,0x00000006,0x0000011c,0x00000115,0x0000011b,0x00050081,0x00000006,0x0000011d,
+ 0x0000011a,0x0000011c,0x0004003d,0x00000006,0x0000011e,0x0000010c,0x00050085,0x00000006,
+ 0x0000011f,0x00000115,0x0000011e,0x00050081,0x00000006,0x00000120,0x0000011d,0x0000011f,
+ 0x0004003d,0x00000006,0x00000121,0x000000fc,0x00050083,0x00000006,0x00000122,0x00000120,
+ 0x00000121,0x0003003e,0x00000114,0x00000122,0x0004003d,0x00000006,0x00000123,0x00000114,
+ 0x0006000c,0x00000006,0x00000124,0x00000001,0x00000004,0x00000123,0x0004003d,0x00000006,
+ 0x00000126,0x000000eb,0x0003003e,0x00000125,0x00000126,0x0004003d,0x00000006,0x00000128,
+ 0x000000f4,0x0003003e,0x00000127,0x00000128,0x0004003d,0x00000006,0x0000012a,0x000000fc,
+ 0x0003003e,0x00000129,0x0000012a,0x00070039,0x00000006,0x0000012b,0x00000018,0x00000125,
+ 0x00000127,0x00000129,0x0003003e,0x0000012c,0x0000012b,0x0004003d,0x00000006,0x0000012e,
+ 0x00000104,0x0003003e,0x0000012d,0x0000012e,0x0004003d,0x00000006,0x00000130,0x0000010c,
+ 0x0003003e,0x0000012f,0x00000130,0x00070039,0x00000006,0x00000131,0x00000018,0x0000012c,
+ 0x0000012d,0x0000012f,0x0004003d,0x00000006,0x00000133,0x000000eb,0x0003003e,0x00000132,
+ 0x00000133,0x0004003d,0x00000006,0x00000135,0x000000f4,0x0003003e,0x00000134,0x00000135,
+ 0x0004003d,0x00000006,0x00000137,0x000000fc,0x0003003e,0x00000136,0x00000137,0x00070039,
+ 0x00000006,0x00000138,0x00000013,0x00000132,0x00000134,0x00000136,0x0003003e,0x00000139,
+ 0x00000138,0x0004003d,0x00000006,0x0000013b,0x00000104,0x0003003e,0x0000013a,0x0000013b,
+ 0x0004003d,0x00000006,0x0000013d,0x0000010c,0x0003003e,0x0000013c,0x0000013d,0x00070039,
+ 0x00000006,0x0000013e,0x00000013,0x00000139,0x0000013a,0x0000013c,0x00050083,0x00000006,
+ 0x0000013f,0x00000131,0x0000013e,0x0003003e,0x00000140,0x0000013f,0x00050039,0x00000006,
+ 0x00000141,0x0000000a,0x00000140,0x00050085,0x00000006,0x00000142,0x00000124,0x00000141,
+ 0x0003003e,0x00000143,0x00000142,0x00050039,0x00000006,0x00000144,0x0000000d,0x00000143,
+ 0x0003003e,0x00000114,0x00000144,0x0004003d,0x00000006,0x00000146,0x00000114,0x00050085,
+ 0x00000006,0x00000147,0x00000145,0x00000146,0x00050081,0x00000006,0x00000148,0x00000147,
+ 0x00000035,0x0003003e,0x00000114,0x00000148,0x0004003d,0x00000006,0x0000014b,0x00000089,
+ 0x0003003e,0x0000014a,0x0000014b,0x0004003d,0x00000006,0x0000014d,0x00000095,0x0003003e,
+ 0x0000014c,0x0000014d,0x0004003d,0x00000006,0x0000014f,0x000000a7,0x0003003e,0x0000014e,
+ 0x0000014f,0x00070039,0x00000006,0x00000150,0x00000013,0x0000014a,0x0000014c,0x0000014e,
+ 0x0004003d,0x00000006,0x00000151,0x000000b0,0x0007000c,0x00000006,0x00000152,0x00000001,
+ 0x00000025,0x00000150,0x00000151,0x0003003e,0x00000149,0x00000152,0x0004003d,0x00000006,
+ 0x00000155,0x0000008d,0x0003003e,0x00000154,0x00000155,0x0004003d,0x00000006,0x00000157,
+ 0x00000098,0x0003003e,0x00000156,0x00000157,0x0004003d,0x00000006,0x00000159,0x000000aa,
+ 0x0003003e,0x00000158,0x00000159,0x00070039,0x00000006,0x0000015a,0x00000013,0x00000154,
+ 0x00000156,0x00000158,0x0004003d,0x00000006,0x0000015b,0x000000b3,0x0007000c,0x00000006,
+ 0x0000015c,0x00000001,0x00000025,0x0000015a,0x0000015b,0x0003003e,0x00000153,0x0000015c,
+ 0x0004003d,0x00000006,0x0000015f,0x00000091,0x0003003e,0x0000015e,0x0000015f,0x0004003d,
+ 0x00000006,0x00000161,0x0000009b,0x0003003e,0x00000160,0x00000161,0x0004003d,0x00000006,
+ 0x00000163,0x000000ad,0x0003003e,0x00000162,0x00000163,0x00070039,0x00000006,0x00000164,
+ 0x00000013,0x0000015e,0x00000160,0x00000162,0x0004003d,0x00000006,0x00000165,0x000000b6,
+ 0x0007000c,0x00000006,0x00000166,0x00000001,0x00000025,0x00000164,0x00000165,0x0003003e,
+ 0x0000015d,0x00000166,0x0004003d,0x00000006,0x00000169,0x00000089,0x0003003e,0x00000168,
+ 0x00000169,0x0004003d,0x00000006,0x0000016b,0x00000095,0x0003003e,0x0000016a,0x0000016b,
+ 0x0004003d,0x00000006,0x0000016d,0x000000a7,0x0003003e,0x0000016c,0x0000016d,0x00070039,
+ 0x00000006,0x0000016e,0x00000018,0x00000168,0x0000016a,0x0000016c,0x0004003d,0x00000006,
+ 0x0000016f,0x000000b0,0x0007000c,0x00000006,0x00000170,0x00000001,0x00000028,0x0000016e,
+ 0x0000016f,0x0003003e,0x00000167,0x00000170,0x0004003d,0x00000006,0x00000173,0x0000008d,
+ 0x0003003e,0x00000172,0x00000173,0x0004003d,0x00000006,0x00000175,0x00000098,0x0003003e,
+ 0x00000174,0x00000175,0x0004003d,0x00000006,0x00000177,0x000000aa,0x0003003e,0x00000176,
+ 0x00000177,0x00070039,0x00000006,0x00000178,0x00000018,0x00000172,0x00000174,0x00000176,
+ 0x0004003d,0x00000006,0x00000179,0x000000b3,0x0007000c,0x00000006,0x0000017a,0x00000001,
+ 0x00000028,0x00000178,0x00000179,0x0003003e,0x00000171,0x0000017a,0x0004003d,0x00000006,
+ 0x0000017d,0x00000091,0x0003003e,0x0000017c,0x0000017d,0x0004003d,0x00000006,0x0000017f,
+ 0x0000009b,0x0003003e,0x0000017e,0x0000017f,0x0004003d,0x00000006,0x00000181,0x000000ad,
+ 0x0003003e,0x00000180,0x00000181,0x00070039,0x00000006,0x00000182,0x00000018,0x0000017c,
+ 0x0000017e,0x00000180,0x0004003d,0x00000006,0x00000183,0x000000b6,0x0007000c,0x00000006,
+ 0x00000184,0x00000001,0x00000028,0x00000182,0x00000183,0x0003003e,0x0000017b,0x00000184,
+ 0x0003003e,0x00000187,0x00000189,0x0004003d,0x00000006,0x0000018c,0x00000167,0x00050085,
+ 0x00000006,0x0000018d,0x0000018b,0x0000018c,0x0003003e,0x0000018a,0x0000018d,0x0004003d,
+ 0x00000006,0x0000018f,0x00000171,0x00050085,0x00000006,0x00000190,0x0000018b,0x0000018f,
+ 0x0003003e,0x0000018e,0x00000190,0x0004003d,0x00000006,0x00000192,0x0000017b,0x00050085,
+ 0x00000006,0x00000193,0x0000018b,0x00000192,0x0003003e,0x00000191,0x00000193,0x0004003d,
+ 0x00000006,0x00000195,0x00000149,0x00050085,0x00000006,0x00000196,0x0000018b,0x00000195,
+ 0x00050041,0x00000007,0x00000197,0x00000187,0x0000008e,0x0004003d,0x00000006,0x00000198,
+ 0x00000197,0x00050081,0x00000006,0x00000199,0x00000196,0x00000198,0x0003003e,0x00000194,
+ 0x00000199,0x0004003d,0x00000006,0x0000019b,0x00000153,0x00050085,0x00000006,0x0000019c,
+ 0x0000018b,0x0000019b,0x00050041,0x00000007,0x0000019d,0x00000187,0x0000008e,0x0004003d,
+ 0x00000006,0x0000019e,0x0000019d,0x00050081,0x00000006,0x0000019f,0x0000019c,0x0000019e,
+ 0x0003003e,0x0000019a,0x0000019f,0x0004003d,0x00000006,0x000001a1,0x0000015d,0x00050085,
+ 0x00000006,0x000001a2,0x0000018b,0x000001a1,0x00050041,0x00000007,0x000001a3,0x00000187,
+ 0x0000008e,0x0004003d,0x00000006,0x000001a4,0x000001a3,0x00050081,0x00000006,0x000001a5,
+ 0x000001a2,0x000001a4,0x0003003e,0x000001a0,0x000001a5,0x0004003d,0x00000006,0x000001a7,
+ 0x0000018a,0x000500ba,0x000001a8,0x000001a9,0x000001a7,0x0000003b,0x000300f7,0x000001ac,
+ 0x00000000,0x000400fa,0x000001a9,0x000001ab,0x000001b2,0x000200f8,0x000001ab,0x0004003d,
+ 0x00000006,0x000001ad,0x00000149,0x0004003d,0x00000006,0x000001ae,0x0000009e,0x0007000c,
+ 0x00000006,0x000001af,0x00000001,0x00000025,0x000001ad,0x000001ae,0x0004003d,0x00000006,
+ 0x000001b0,0x0000018a,0x00050088,0x00000006,0x000001b1,0x000001af,0x000001b0,0x0003003e,
+ 0x000001aa,0x000001b1,0x000200f9,0x000001ac,0x000200f8,0x000001b2,0x0003003e,0x000001aa,
+ 0x0000003b,0x000200f9,0x000001ac,0x000200f8,0x000001ac,0x0004003d,0x00000006,0x000001b3,
+ 0x000001aa,0x0003003e,0x000001a6,0x000001b3,0x0004003d,0x00000006,0x000001b5,0x0000018e,
+ 0x000500ba,0x000001a8,0x000001b6,0x000001b5,0x0000003b,0x000300f7,0x000001b9,0x00000000,
+ 0x000400fa,0x000001b6,0x000001b8,0x000001bf,0x000200f8,0x000001b8,0x0004003d,0x00000006,
+ 0x000001ba,0x00000153,0x0004003d,0x00000006,0x000001bb,0x000000a1,0x0007000c,0x00000006,
+ 0x000001bc,0x00000001,0x00000025,0x000001ba,0x000001bb,0x0004003d,0x00000006,0x000001bd,
+ 0x0000018e,0x00050088,0x00000006,0x000001be,0x000001bc,0x000001bd,0x0003003e,0x000001b7,
+ 0x000001be,0x000200f9,0x000001b9,0x000200f8,0x000001bf,0x0003003e,0x000001b7,0x0000003b,
+ 0x000200f9,0x000001b9,0x000200f8,0x000001b9,0x0004003d,0x00000006,0x000001c0,0x000001b7,
+ 0x0003003e,0x000001b4,0x000001c0,0x0004003d,0x00000006,0x000001c2,0x00000191,0x000500ba,
+ 0x000001a8,0x000001c3,0x000001c2,0x0000003b,0x000300f7,0x000001c6,0x00000000,0x000400fa,
+ 0x000001c3,0x000001c5,0x000001cc,0x000200f8,0x000001c5,0x0004003d,0x00000006,0x000001c7,
+ 0x0000015d,0x0004003d,0x00000006,0x000001c8,0x000000a4,0x0007000c,0x00000006,0x000001c9,
+ 0x00000001,0x00000025,0x000001c7,0x000001c8,0x0004003d,0x00000006,0x000001ca,0x00000191,
+ 0x00050088,0x00000006,0x000001cb,0x000001c9,0x000001ca,0x0003003e,0x000001c4,0x000001cb,
+ 0x000200f9,0x000001c6,0x000200f8,0x000001cc,0x0003003e,0x000001c4,0x0000003b,0x000200f9,
+ 0x000001c6,0x000200f8,0x000001c6,0x0004003d,0x00000006,0x000001cd,0x000001c4,0x0003003e,
+ 0x000001c1,0x000001cd,0x00050041,0x00000007,0x000001cf,0x00000187,0x0000008a,0x0004003d,
+ 0x00000006,0x000001d0,0x000001cf,0x0004003d,0x00000006,0x000001d1,0x00000167,0x0004003d,
+ 0x00000006,0x000001d2,0x0000009e,0x0007000c,0x00000006,0x000001d3,0x00000001,0x00000028,
+ 0x000001d1,0x000001d2,0x00050083,0x00000006,0x000001d4,0x000001d0,0x000001d3,0x0003003e,
+ 0x000001ce,0x000001d4,0x00050041,0x00000007,0x000001d6,0x00000187,0x0000008a,0x0004003d,
+ 0x00000006,0x000001d7,0x000001d6,0x0004003d,0x00000006,0x000001d8,0x00000171,0x0004003d,
+ 0x00000006,0x000001d9,0x000000a1,0x0007000c,0x00000006,0x000001da,0x00000001,0x00000028,
+ 0x000001d8,0x000001d9,0x00050083,0x00000006,0x000001db,0x000001d7,0x000001da,0x0003003e,
+ 0x000001d5,0x000001db,0x00050041,0x00000007,0x000001dd,0x00000187,0x0000008a,0x0004003d,
+ 0x00000006,0x000001de,0x000001dd,0x0004003d,0x00000006,0x000001df,0x0000017b,0x0004003d,
+ 0x00000006,0x000001e0,0x000000a4,0x0007000c,0x00000006,0x000001e1,0x00000001,0x00000028,
+ 0x000001df,0x000001e0,0x00050083,0x00000006,0x000001e2,0x000001de,0x000001e1,0x0003003e,
+ 0x000001dc,0x000001e2,0x0004003d,0x00000006,0x000001e4,0x00000194,0x0006000c,0x00000006,
+ 0x000001e5,0x00000001,0x00000004,0x000001e4,0x000500ba,0x000001a8,0x000001e7,0x000001e5,
+ 0x000001e6,0x000300f7,0x000001ea,0x00000000,0x000400fa,0x000001e7,0x000001e9,0x000001ee,
+ 0x000200f8,0x000001e9,0x0004003d,0x00000006,0x000001eb,0x000001ce,0x0004003d,0x00000006,
+ 0x000001ec,0x00000194,0x00050088,0x00000006,0x000001ed,0x000001eb,0x000001ec,0x0003003e,
+ 0x000001e8,0x000001ed,0x000200f9,0x000001ea,0x000200f8,0x000001ee,0x0003003e,0x000001e8,
+ 0x0000003b,0x000200f9,0x000001ea,0x000200f8,0x000001ea,0x0004003d,0x00000006,0x000001ef,
+ 0x000001e8,0x0003003e,0x000001e3,0x000001ef,0x0004003d,0x00000006,0x000001f1,0x0000019a,
+ 0x0006000c,0x00000006,0x000001f2,0x00000001,0x00000004,0x000001f1,0x000500ba,0x000001a8,
+ 0x000001f3,0x000001f2,0x000001e6,0x000300f7,0x000001f6,0x00000000,0x000400fa,0x000001f3,
+ 0x000001f5,0x000001fa,0x000200f8,0x000001f5,0x0004003d,0x00000006,0x000001f7,0x000001d5,
+ 0x0004003d,0x00000006,0x000001f8,0x0000019a,0x00050088,0x00000006,0x000001f9,0x000001f7,
+ 0x000001f8,0x0003003e,0x000001f4,0x000001f9,0x000200f9,0x000001f6,0x000200f8,0x000001fa,
+ 0x0003003e,0x000001f4,0x0000003b,0x000200f9,0x000001f6,0x000200f8,0x000001f6,0x0004003d,
+ 0x00000006,0x000001fb,0x000001f4,0x0003003e,0x000001f0,0x000001fb,0x0004003d,0x00000006,
+ 0x000001fd,0x000001a0,0x0006000c,0x00000006,0x000001fe,0x00000001,0x00000004,0x000001fd,
+ 0x000500ba,0x000001a8,0x000001ff,0x000001fe,0x000001e6,0x000300f7,0x00000202,0x00000000,
+ 0x000400fa,0x000001ff,0x00000201,0x00000206,0x000200f8,0x00000201,0x0004003d,0x00000006,
+ 0x00000203,0x000001dc,0x0004003d,0x00000006,0x00000204,0x000001a0,0x00050088,0x00000006,
+ 0x00000205,0x00000203,0x00000204,0x0003003e,0x00000200,0x00000205,0x000200f9,0x00000202,
+ 0x000200f8,0x00000206,0x0003003e,0x00000200,0x0000003b,0x000200f9,0x00000202,0x000200f8,
+ 0x00000202,0x0004003d,0x00000006,0x00000207,0x00000200,0x0003003e,0x000001fc,0x00000207,
+ 0x0004003d,0x00000006,0x00000209,0x000001a6,0x0004007f,0x00000006,0x0000020a,0x00000209,
+ 0x0004003d,0x00000006,0x0000020b,0x000001e3,0x0007000c,0x00000006,0x0000020c,0x00000001,
+ 0x00000028,0x0000020a,0x0000020b,0x0003003e,0x00000208,0x0000020c,0x0004003d,0x00000006,
+ 0x0000020e,0x000001b4,0x0004007f,0x00000006,0x0000020f,0x0000020e,0x0004003d,0x00000006,
+ 0x00000210,0x000001f0,0x0007000c,0x00000006,0x00000211,0x00000001,0x00000028,0x0000020f,
+ 0x00000210,0x0003003e,0x0000020d,0x00000211,0x0004003d,0x00000006,0x00000213,0x000001c1,
+ 0x0004007f,0x00000006,0x00000214,0x00000213,0x0004003d,0x00000006,0x00000215,0x000001fc,
+ 0x0007000c,0x00000006,0x00000216,0x00000001,0x00000028,0x00000214,0x00000215,0x0003003e,
+ 0x00000212,0x00000216,0x0004003d,0x00000006,0x0000021a,0x00000208,0x0003003e,0x00000219,
+ 0x0000021a,0x0004003d,0x00000006,0x0000021c,0x0000020d,0x0003003e,0x0000021b,0x0000021c,
+ 0x0004003d,0x00000006,0x0000021e,0x00000212,0x0003003e,0x0000021d,0x0000021e,0x00070039,
+ 0x00000006,0x0000021f,0x00000018,0x00000219,0x0000021b,0x0000021d,0x0007000c,0x00000006,
+ 0x00000220,0x00000001,0x00000025,0x0000021f,0x0000003b,0x0007000c,0x00000006,0x00000221,
+ 0x00000001,0x00000028,0x00000218,0x00000220,0x00050041,0x00000222,0x00000223,0x00000032,
+ 0x0000008a,0x0004003d,0x00000028,0x00000224,0x00000223,0x0004007c,0x00000006,0x00000225,
+ 0x00000224,0x00050085,0x00000006,0x00000226,0x00000221,0x00000225,0x0003003e,0x00000217,
+ 0x00000226,0x0004003d,0x00000006,0x00000228,0x00000217,0x00050085,0x00000006,0x00000229,
+ 0x0000018b,0x00000228,0x00050081,0x00000006,0x0000022a,0x00000229,0x00000035,0x0003003e,
+ 0x0000022b,0x0000022a,0x00050039,0x00000006,0x0000022c,0x0000000a,0x0000022b,0x0003003e,
+ 0x00000227,0x0000022c,0x0004003d,0x00000006,0x0000022d,0x00000217,0x0004003d,0x00000006,
+ 0x0000022e,0x00000089,0x00050085,0x00000006,0x0000022f,0x0000022d,0x0000022e,0x0004003d,
+ 0x00000006,0x00000230,0x00000217,0x0004003d,0x00000006,0x00000231,0x00000095,0x00050085,
+ 0x00000006,0x00000232,0x00000230,0x00000231,0x00050081,0x00000006,0x00000233,0x0000022f,
+ 0x00000232,0x0004003d,0x00000006,0x00000234,0x00000217,0x0004003d,0x00000006,0x00000235,
+ 0x000000b0,0x00050085,0x00000006,0x00000236,0x00000234,0x00000235,0x00050081,0x00000006,
+ 0x00000237,0x00000233,0x00000236,0x0004003d,0x00000006,0x00000238,0x00000217,0x0004003d,
+ 0x00000006,0x00000239,0x000000a7,0x00050085,0x00000006,0x0000023a,0x00000238,0x00000239,
+ 0x00050081,0x00000006,0x0000023b,0x00000237,0x0000023a,0x0004003d,0x00000006,0x0000023c,
+ 0x0000009e,0x00050081,0x00000006,0x0000023d,0x0000023b,0x0000023c,0x0004003d,0x00000006,
+ 0x0000023e,0x00000227,0x00050085,0x00000006,0x0000023f,0x0000023d,0x0000023e,0x0003003e,
+ 0x0000002e,0x0000023f,0x0004003d,0x00000006,0x00000240,0x00000217,0x0004003d,0x00000006,
+ 0x00000241,0x0000008d,0x00050085,0x00000006,0x00000242,0x00000240,0x00000241,0x0004003d,
+ 0x00000006,0x00000243,0x00000217,0x0004003d,0x00000006,0x00000244,0x00000098,0x00050085,
+ 0x00000006,0x00000245,0x00000243,0x00000244,0x00050081,0x00000006,0x00000246,0x00000242,
+ 0x00000245,0x0004003d,0x00000006,0x00000247,0x00000217,0x0004003d,0x00000006,0x00000248,
+ 0x000000b3,0x00050085,0x00000006,0x00000249,0x00000247,0x00000248,0x00050081,0x00000006,
+ 0x0000024a,0x00000246,0x00000249,0x0004003d,0x00000006,0x0000024b,0x00000217,0x0004003d,
+ 0x00000006,0x0000024c,0x000000aa,0x00050085,0x00000006,0x0000024d,0x0000024b,0x0000024c,
+ 0x00050081,0x00000006,0x0000024e,0x0000024a,0x0000024d,0x0004003d,0x00000006,0x0000024f,
+ 0x000000a1,0x00050081,0x00000006,0x00000250,0x0000024e,0x0000024f,0x0004003d,0x00000006,
+ 0x00000251,0x00000227,0x00050085,0x00000006,0x00000252,0x00000250,0x00000251,0x0003003e,
+ 0x0000002f,0x00000252,0x0004003d,0x00000006,0x00000253,0x00000217,0x0004003d,0x00000006,
+ 0x00000254,0x00000091,0x00050085,0x00000006,0x00000255,0x00000253,0x00000254,0x0004003d,
+ 0x00000006,0x00000256,0x00000217,0x0004003d,0x00000006,0x00000257,0x0000009b,0x00050085,
+ 0x00000006,0x00000258,0x00000256,0x00000257,0x00050081,0x00000006,0x00000259,0x00000255,
+ 0x00000258,0x0004003d,0x00000006,0x0000025a,0x00000217,0x0004003d,0x00000006,0x0000025b,
+ 0x000000b6,0x00050085,0x00000006,0x0000025c,0x0000025a,0x0000025b,0x00050081,0x00000006,
+ 0x0000025d,0x00000259,0x0000025c,0x0004003d,0x00000006,0x0000025e,0x00000217,0x0004003d,
+ 0x00000006,0x0000025f,0x000000ad,0x00050085,0x00000006,0x00000260,0x0000025e,0x0000025f,
+ 0x00050081,0x00000006,0x00000261,0x0000025d,0x00000260,0x0004003d,0x00000006,0x00000262,
+ 0x000000a4,0x00050081,0x00000006,0x00000263,0x00000261,0x00000262,0x0004003d,0x00000006,
+ 0x00000264,0x00000227,0x00050085,0x00000006,0x00000265,0x00000263,0x00000264,0x0003003e,
+ 0x00000030,0x00000265,0x000100fd,0x00010038
};
diff --git a/app/src/main/cpp/shaders/fsr_rcas_half_frag.h b/app/src/main/cpp/shaders/fsr_rcas_half_frag.h
new file mode 100644
index 0000000000..c3d43fde32
--- /dev/null
+++ b/app/src/main/cpp/shaders/fsr_rcas_half_frag.h
@@ -0,0 +1,641 @@
+ // 1116.2.0
+ #pragma once
+const uint32_t fsr_rcas_half_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x0000028c,0x00000000,0x00020011,0x00000001,0x00020011,
+ 0x00000032,0x0006000b,0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,
+ 0x00000000,0x00000001,0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000269,
+ 0x00000286,0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,
+ 0x00000004,0x6e69616d,0x00000000,0x00070005,0x0000000a,0x78725041,0x5264654d,0x31467063,
+ 0x3b316628,0x00000000,0x00030005,0x00000009,0x00000078,0x00050005,0x0000000d,0x74615341,
+ 0x66283146,0x00003b31,0x00030005,0x0000000c,0x00000078,0x00070005,0x00000013,0x6e694d41,
+ 0x28314633,0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000010,0x00000061,0x00030005,
+ 0x00000011,0x00000062,0x00030005,0x00000012,0x00000063,0x00070005,0x00000018,0x78614d41,
+ 0x28314633,0x663b3166,0x31663b31,0x0000003b,0x00030005,0x00000015,0x00000061,0x00030005,
+ 0x00000016,0x00000062,0x00030005,0x00000017,0x00000063,0x00070005,0x00000020,0x52727346,
+ 0x4c736163,0x4664616f,0x32697628,0x0000003b,0x00030005,0x0000001f,0x00000070,0x00080005,
+ 0x00000026,0x52727346,0x49736163,0x7475706e,0x31662846,0x3b31663b,0x003b3166,0x00030005,
+ 0x00000023,0x00000072,0x00030005,0x00000024,0x00000067,0x00030005,0x00000025,0x00000062,
+ 0x00090005,0x00000033,0x52727346,0x46736163,0x3b316628,0x663b3166,0x75763b31,0x75763b32,
+ 0x00003b34,0x00040005,0x0000002e,0x52786970,0x00000000,0x00040005,0x0000002f,0x47786970,
+ 0x00000000,0x00040005,0x00000030,0x42786970,0x00000000,0x00030005,0x00000031,0x00007069,
+ 0x00030005,0x00000032,0x006e6f63,0x00030005,0x0000004d,0x00007a73,0x00060005,0x00000051,
+ 0x75706e49,0x78655474,0x65727574,0x00000000,0x00030005,0x00000062,0x00007073,0x00030005,
+ 0x00000067,0x00000062,0x00040005,0x0000006c,0x61726170,0x0000006d,0x00030005,0x0000006f,
+ 0x00000064,0x00040005,0x00000073,0x61726170,0x0000006d,0x00030005,0x00000076,0x00000065,
+ 0x00040005,0x00000077,0x61726170,0x0000006d,0x00030005,0x0000007b,0x00000066,0x00040005,
+ 0x0000007f,0x61726170,0x0000006d,0x00030005,0x00000082,0x00000068,0x00040005,0x00000086,
+ 0x61726170,0x0000006d,0x00030005,0x00000089,0x00005262,0x00030005,0x0000008d,0x00004762,
+ 0x00030005,0x00000091,0x00004262,0x00030005,0x00000095,0x00005264,0x00030005,0x00000098,
+ 0x00004764,0x00030005,0x0000009b,0x00004264,0x00030005,0x0000009e,0x00005265,0x00030005,
+ 0x000000a1,0x00004765,0x00030005,0x000000a4,0x00004265,0x00030005,0x000000a7,0x00005266,
+ 0x00030005,0x000000aa,0x00004766,0x00030005,0x000000ad,0x00004266,0x00030005,0x000000b0,
+ 0x00005268,0x00030005,0x000000b3,0x00004768,0x00030005,0x000000b6,0x00004268,0x00040005,
+ 0x000000b9,0x61726170,0x0000006d,0x00040005,0x000000bb,0x61726170,0x0000006d,0x00040005,
+ 0x000000bd,0x61726170,0x0000006d,0x00040005,0x000000c3,0x61726170,0x0000006d,0x00040005,
+ 0x000000c5,0x61726170,0x0000006d,0x00040005,0x000000c7,0x61726170,0x0000006d,0x00040005,
+ 0x000000cd,0x61726170,0x0000006d,0x00040005,0x000000cf,0x61726170,0x0000006d,0x00040005,
+ 0x000000d1,0x61726170,0x0000006d,0x00040005,0x000000d7,0x61726170,0x0000006d,0x00040005,
+ 0x000000d9,0x61726170,0x0000006d,0x00040005,0x000000db,0x61726170,0x0000006d,0x00040005,
+ 0x000000e1,0x61726170,0x0000006d,0x00040005,0x000000e3,0x61726170,0x0000006d,0x00040005,
+ 0x000000e5,0x61726170,0x0000006d,0x00030005,0x000000eb,0x00004c62,0x00030005,0x000000f4,
+ 0x00004c64,0x00030005,0x000000fc,0x00004c65,0x00030005,0x00000104,0x00004c66,0x00030005,
+ 0x0000010c,0x00004c68,0x00030005,0x00000114,0x00007a6e,0x00040005,0x00000125,0x61726170,
+ 0x0000006d,0x00040005,0x00000127,0x61726170,0x0000006d,0x00040005,0x00000129,0x61726170,
+ 0x0000006d,0x00040005,0x0000012c,0x61726170,0x0000006d,0x00040005,0x0000012d,0x61726170,
+ 0x0000006d,0x00040005,0x0000012f,0x61726170,0x0000006d,0x00040005,0x00000132,0x61726170,
+ 0x0000006d,0x00040005,0x00000134,0x61726170,0x0000006d,0x00040005,0x00000136,0x61726170,
+ 0x0000006d,0x00040005,0x00000139,0x61726170,0x0000006d,0x00040005,0x0000013a,0x61726170,
+ 0x0000006d,0x00040005,0x0000013c,0x61726170,0x0000006d,0x00040005,0x00000140,0x61726170,
+ 0x0000006d,0x00040005,0x00000143,0x61726170,0x0000006d,0x00040005,0x00000149,0x52346e6d,
+ 0x00000000,0x00040005,0x0000014a,0x61726170,0x0000006d,0x00040005,0x0000014c,0x61726170,
+ 0x0000006d,0x00040005,0x0000014e,0x61726170,0x0000006d,0x00040005,0x00000153,0x47346e6d,
+ 0x00000000,0x00040005,0x00000154,0x61726170,0x0000006d,0x00040005,0x00000156,0x61726170,
+ 0x0000006d,0x00040005,0x00000158,0x61726170,0x0000006d,0x00040005,0x0000015d,0x42346e6d,
+ 0x00000000,0x00040005,0x0000015e,0x61726170,0x0000006d,0x00040005,0x00000160,0x61726170,
+ 0x0000006d,0x00040005,0x00000162,0x61726170,0x0000006d,0x00040005,0x00000167,0x5234786d,
+ 0x00000000,0x00040005,0x00000168,0x61726170,0x0000006d,0x00040005,0x0000016a,0x61726170,
+ 0x0000006d,0x00040005,0x0000016c,0x61726170,0x0000006d,0x00040005,0x00000171,0x4734786d,
+ 0x00000000,0x00040005,0x00000172,0x61726170,0x0000006d,0x00040005,0x00000174,0x61726170,
+ 0x0000006d,0x00040005,0x00000176,0x61726170,0x0000006d,0x00040005,0x0000017b,0x4234786d,
+ 0x00000000,0x00040005,0x0000017c,0x61726170,0x0000006d,0x00040005,0x0000017e,0x61726170,
+ 0x0000006d,0x00040005,0x00000180,0x61726170,0x0000006d,0x00040005,0x00000187,0x6b616570,
+ 0x00000043,0x00040005,0x0000018a,0x4d6e6564,0x00526e69,0x00040005,0x0000018e,0x4d6e6564,
+ 0x00476e69,0x00040005,0x00000191,0x4d6e6564,0x00426e69,0x00040005,0x00000194,0x4d6e6564,
+ 0x00527861,0x00040005,0x0000019a,0x4d6e6564,0x00477861,0x00040005,0x000001a0,0x4d6e6564,
+ 0x00427861,0x00040005,0x000001a6,0x4d746968,0x00526e69,0x00040005,0x000001b4,0x4d746968,
+ 0x00476e69,0x00040005,0x000001c1,0x4d746968,0x00426e69,0x00040005,0x000001ce,0x4d6d756e,
+ 0x00527861,0x00040005,0x000001d5,0x4d6d756e,0x00477861,0x00040005,0x000001dc,0x4d6d756e,
+ 0x00427861,0x00040005,0x000001e3,0x4d746968,0x00527861,0x00040005,0x000001f0,0x4d746968,
+ 0x00477861,0x00040005,0x000001fc,0x4d746968,0x00427861,0x00040005,0x00000208,0x65626f6c,
+ 0x00000052,0x00040005,0x0000020d,0x65626f6c,0x00000047,0x00040005,0x00000212,0x65626f6c,
+ 0x00000042,0x00040005,0x00000217,0x65626f6c,0x00000000,0x00040005,0x00000219,0x61726170,
+ 0x0000006d,0x00040005,0x0000021b,0x61726170,0x0000006d,0x00040005,0x0000021d,0x61726170,
+ 0x0000006d,0x00040005,0x00000227,0x4c706372,0x00000000,0x00040005,0x0000022b,0x61726170,
+ 0x0000006d,0x00030005,0x00000267,0x00007069,0x00060005,0x00000269,0x67617266,0x43786554,
+ 0x64726f6f,0x00000000,0x00030005,0x0000026b,0x00004350,0x00040006,0x0000026b,0x00000000,
+ 0x0063646e,0x00040006,0x0000026b,0x00000001,0x006e6f63,0x00060006,0x0000026b,0x00000002,
+ 0x7074756f,0x69537475,0x0000657a,0x00030005,0x0000026d,0x00006370,0x00030005,0x00000274,
+ 0x00000063,0x00040005,0x00000275,0x61726170,0x0000006d,0x00040005,0x00000276,0x61726170,
+ 0x0000006d,0x00040005,0x00000277,0x61726170,0x0000006d,0x00040005,0x00000278,0x61726170,
+ 0x0000006d,0x00040005,0x0000027a,0x61726170,0x0000006d,0x00050005,0x00000286,0x4374756f,
+ 0x726f6c6f,0x00000000,0x00030047,0x00000020,0x00000000,0x00030047,0x00000023,0x00000000,
+ 0x00030047,0x00000024,0x00000000,0x00030047,0x00000025,0x00000000,0x00030047,0x0000002e,
+ 0x00000000,0x00030047,0x0000002f,0x00000000,0x00030047,0x00000030,0x00000000,0x00030047,
+ 0x00000051,0x00000000,0x00040047,0x00000051,0x00000021,0x00000000,0x00040047,0x00000051,
+ 0x00000022,0x00000000,0x00030047,0x00000052,0x00000000,0x00030047,0x00000056,0x00000000,
+ 0x00030047,0x0000005f,0x00000000,0x00030047,0x00000067,0x00000000,0x00030047,0x0000006d,
+ 0x00000000,0x00030047,0x0000006e,0x00000000,0x00030047,0x0000006f,0x00000000,0x00030047,
+ 0x00000074,0x00000000,0x00030047,0x00000075,0x00000000,0x00030047,0x00000076,0x00000000,
+ 0x00030047,0x00000079,0x00000000,0x00030047,0x0000007a,0x00000000,0x00030047,0x0000007b,
+ 0x00000000,0x00030047,0x00000080,0x00000000,0x00030047,0x00000081,0x00000000,0x00030047,
+ 0x00000082,0x00000000,0x00030047,0x00000087,0x00000000,0x00030047,0x00000088,0x00000000,
+ 0x00030047,0x00000089,0x00000000,0x00030047,0x0000008c,0x00000000,0x00030047,0x0000008d,
+ 0x00000000,0x00030047,0x00000090,0x00000000,0x00030047,0x00000091,0x00000000,0x00030047,
+ 0x00000094,0x00000000,0x00030047,0x00000095,0x00000000,0x00030047,0x00000097,0x00000000,
+ 0x00030047,0x00000098,0x00000000,0x00030047,0x0000009a,0x00000000,0x00030047,0x0000009b,
+ 0x00000000,0x00030047,0x0000009d,0x00000000,0x00030047,0x0000009e,0x00000000,0x00030047,
+ 0x000000a0,0x00000000,0x00030047,0x000000a1,0x00000000,0x00030047,0x000000a3,0x00000000,
+ 0x00030047,0x000000a4,0x00000000,0x00030047,0x000000a6,0x00000000,0x00030047,0x000000a7,
+ 0x00000000,0x00030047,0x000000a9,0x00000000,0x00030047,0x000000aa,0x00000000,0x00030047,
+ 0x000000ac,0x00000000,0x00030047,0x000000ad,0x00000000,0x00030047,0x000000af,0x00000000,
+ 0x00030047,0x000000b0,0x00000000,0x00030047,0x000000b2,0x00000000,0x00030047,0x000000b3,
+ 0x00000000,0x00030047,0x000000b5,0x00000000,0x00030047,0x000000b6,0x00000000,0x00030047,
+ 0x000000b8,0x00000000,0x00030047,0x000000b9,0x00000000,0x00030047,0x000000ba,0x00000000,
+ 0x00030047,0x000000bb,0x00000000,0x00030047,0x000000bc,0x00000000,0x00030047,0x000000bd,
+ 0x00000000,0x00030047,0x000000be,0x00000000,0x00030047,0x000000c3,0x00000000,0x00030047,
+ 0x000000c4,0x00000000,0x00030047,0x000000c5,0x00000000,0x00030047,0x000000c6,0x00000000,
+ 0x00030047,0x000000c7,0x00000000,0x00030047,0x000000c8,0x00000000,0x00030047,0x000000cd,
+ 0x00000000,0x00030047,0x000000ce,0x00000000,0x00030047,0x000000cf,0x00000000,0x00030047,
+ 0x000000d0,0x00000000,0x00030047,0x000000d1,0x00000000,0x00030047,0x000000d2,0x00000000,
+ 0x00030047,0x000000d7,0x00000000,0x00030047,0x000000d8,0x00000000,0x00030047,0x000000d9,
+ 0x00000000,0x00030047,0x000000da,0x00000000,0x00030047,0x000000db,0x00000000,0x00030047,
+ 0x000000dc,0x00000000,0x00030047,0x000000e1,0x00000000,0x00030047,0x000000e2,0x00000000,
+ 0x00030047,0x000000e3,0x00000000,0x00030047,0x000000e4,0x00000000,0x00030047,0x000000e5,
+ 0x00000000,0x00030047,0x000000e6,0x00000000,0x00030047,0x000000eb,0x00000000,0x00030047,
+ 0x000000ec,0x00000000,0x00030047,0x000000ee,0x00000000,0x00030047,0x000000ef,0x00000000,
+ 0x00030047,0x000000f0,0x00000000,0x00030047,0x000000f1,0x00000000,0x00030047,0x000000f2,
+ 0x00000000,0x00030047,0x000000f3,0x00000000,0x00030047,0x000000f4,0x00000000,0x00030047,
+ 0x000000f5,0x00000000,0x00030047,0x000000f6,0x00000000,0x00030047,0x000000f7,0x00000000,
+ 0x00030047,0x000000f8,0x00000000,0x00030047,0x000000f9,0x00000000,0x00030047,0x000000fa,
+ 0x00000000,0x00030047,0x000000fb,0x00000000,0x00030047,0x000000fc,0x00000000,0x00030047,
+ 0x000000fd,0x00000000,0x00030047,0x000000fe,0x00000000,0x00030047,0x000000ff,0x00000000,
+ 0x00030047,0x00000100,0x00000000,0x00030047,0x00000101,0x00000000,0x00030047,0x00000102,
+ 0x00000000,0x00030047,0x00000103,0x00000000,0x00030047,0x00000104,0x00000000,0x00030047,
+ 0x00000105,0x00000000,0x00030047,0x00000106,0x00000000,0x00030047,0x00000107,0x00000000,
+ 0x00030047,0x00000108,0x00000000,0x00030047,0x00000109,0x00000000,0x00030047,0x0000010a,
+ 0x00000000,0x00030047,0x0000010b,0x00000000,0x00030047,0x0000010c,0x00000000,0x00030047,
+ 0x0000010d,0x00000000,0x00030047,0x0000010e,0x00000000,0x00030047,0x0000010f,0x00000000,
+ 0x00030047,0x00000110,0x00000000,0x00030047,0x00000111,0x00000000,0x00030047,0x00000112,
+ 0x00000000,0x00030047,0x00000113,0x00000000,0x00030047,0x00000114,0x00000000,0x00030047,
+ 0x00000116,0x00000000,0x00030047,0x00000117,0x00000000,0x00030047,0x00000118,0x00000000,
+ 0x00030047,0x00000119,0x00000000,0x00030047,0x0000011a,0x00000000,0x00030047,0x0000011b,
+ 0x00000000,0x00030047,0x0000011c,0x00000000,0x00030047,0x0000011d,0x00000000,0x00030047,
+ 0x0000011e,0x00000000,0x00030047,0x0000011f,0x00000000,0x00030047,0x00000120,0x00000000,
+ 0x00030047,0x00000121,0x00000000,0x00030047,0x00000122,0x00000000,0x00030047,0x00000123,
+ 0x00000000,0x00030047,0x00000124,0x00000000,0x00030047,0x00000126,0x00000000,0x00030047,
+ 0x00000128,0x00000000,0x00030047,0x0000012a,0x00000000,0x00030047,0x0000012e,0x00000000,
+ 0x00030047,0x00000130,0x00000000,0x00030047,0x00000133,0x00000000,0x00030047,0x00000135,
+ 0x00000000,0x00030047,0x00000137,0x00000000,0x00030047,0x0000013b,0x00000000,0x00030047,
+ 0x0000013d,0x00000000,0x00030047,0x00000146,0x00000000,0x00030047,0x00000147,0x00000000,
+ 0x00030047,0x00000148,0x00000000,0x00030047,0x00000149,0x00000000,0x00030047,0x0000014b,
+ 0x00000000,0x00030047,0x0000014d,0x00000000,0x00030047,0x0000014f,0x00000000,0x00030047,
+ 0x00000151,0x00000000,0x00030047,0x00000153,0x00000000,0x00030047,0x00000155,0x00000000,
+ 0x00030047,0x00000157,0x00000000,0x00030047,0x00000159,0x00000000,0x00030047,0x0000015b,
+ 0x00000000,0x00030047,0x0000015d,0x00000000,0x00030047,0x0000015f,0x00000000,0x00030047,
+ 0x00000161,0x00000000,0x00030047,0x00000163,0x00000000,0x00030047,0x00000165,0x00000000,
+ 0x00030047,0x00000167,0x00000000,0x00030047,0x00000169,0x00000000,0x00030047,0x0000016b,
+ 0x00000000,0x00030047,0x0000016d,0x00000000,0x00030047,0x0000016f,0x00000000,0x00030047,
+ 0x00000171,0x00000000,0x00030047,0x00000173,0x00000000,0x00030047,0x00000175,0x00000000,
+ 0x00030047,0x00000177,0x00000000,0x00030047,0x00000179,0x00000000,0x00030047,0x0000017b,
+ 0x00000000,0x00030047,0x0000017d,0x00000000,0x00030047,0x0000017f,0x00000000,0x00030047,
+ 0x00000181,0x00000000,0x00030047,0x00000183,0x00000000,0x00030047,0x00000187,0x00000000,
+ 0x00030047,0x0000018a,0x00000000,0x00030047,0x0000018c,0x00000000,0x00030047,0x0000018d,
+ 0x00000000,0x00030047,0x0000018e,0x00000000,0x00030047,0x0000018f,0x00000000,0x00030047,
+ 0x00000190,0x00000000,0x00030047,0x00000191,0x00000000,0x00030047,0x00000192,0x00000000,
+ 0x00030047,0x00000193,0x00000000,0x00030047,0x00000194,0x00000000,0x00030047,0x00000195,
+ 0x00000000,0x00030047,0x00000196,0x00000000,0x00030047,0x00000198,0x00000000,0x00030047,
+ 0x00000199,0x00000000,0x00030047,0x0000019a,0x00000000,0x00030047,0x0000019b,0x00000000,
+ 0x00030047,0x0000019c,0x00000000,0x00030047,0x0000019e,0x00000000,0x00030047,0x0000019f,
+ 0x00000000,0x00030047,0x000001a0,0x00000000,0x00030047,0x000001a1,0x00000000,0x00030047,
+ 0x000001a2,0x00000000,0x00030047,0x000001a4,0x00000000,0x00030047,0x000001a5,0x00000000,
+ 0x00030047,0x000001a6,0x00000000,0x00030047,0x000001a7,0x00000000,0x00030047,0x000001aa,
+ 0x00000000,0x00030047,0x000001ad,0x00000000,0x00030047,0x000001ae,0x00000000,0x00030047,
+ 0x000001af,0x00000000,0x00030047,0x000001b0,0x00000000,0x00030047,0x000001b1,0x00000000,
+ 0x00030047,0x000001b3,0x00000000,0x00030047,0x000001b4,0x00000000,0x00030047,0x000001b5,
+ 0x00000000,0x00030047,0x000001b7,0x00000000,0x00030047,0x000001ba,0x00000000,0x00030047,
+ 0x000001bb,0x00000000,0x00030047,0x000001bc,0x00000000,0x00030047,0x000001bd,0x00000000,
+ 0x00030047,0x000001be,0x00000000,0x00030047,0x000001c0,0x00000000,0x00030047,0x000001c1,
+ 0x00000000,0x00030047,0x000001c2,0x00000000,0x00030047,0x000001c4,0x00000000,0x00030047,
+ 0x000001c7,0x00000000,0x00030047,0x000001c8,0x00000000,0x00030047,0x000001c9,0x00000000,
+ 0x00030047,0x000001ca,0x00000000,0x00030047,0x000001cb,0x00000000,0x00030047,0x000001cd,
+ 0x00000000,0x00030047,0x000001ce,0x00000000,0x00030047,0x000001d0,0x00000000,0x00030047,
+ 0x000001d1,0x00000000,0x00030047,0x000001d2,0x00000000,0x00030047,0x000001d3,0x00000000,
+ 0x00030047,0x000001d4,0x00000000,0x00030047,0x000001d5,0x00000000,0x00030047,0x000001d7,
+ 0x00000000,0x00030047,0x000001d8,0x00000000,0x00030047,0x000001d9,0x00000000,0x00030047,
+ 0x000001da,0x00000000,0x00030047,0x000001db,0x00000000,0x00030047,0x000001dc,0x00000000,
+ 0x00030047,0x000001de,0x00000000,0x00030047,0x000001df,0x00000000,0x00030047,0x000001e0,
+ 0x00000000,0x00030047,0x000001e1,0x00000000,0x00030047,0x000001e2,0x00000000,0x00030047,
+ 0x000001e3,0x00000000,0x00030047,0x000001e4,0x00000000,0x00030047,0x000001e5,0x00000000,
+ 0x00030047,0x000001e8,0x00000000,0x00030047,0x000001eb,0x00000000,0x00030047,0x000001ec,
+ 0x00000000,0x00030047,0x000001ed,0x00000000,0x00030047,0x000001ef,0x00000000,0x00030047,
+ 0x000001f0,0x00000000,0x00030047,0x000001f1,0x00000000,0x00030047,0x000001f2,0x00000000,
+ 0x00030047,0x000001f4,0x00000000,0x00030047,0x000001f7,0x00000000,0x00030047,0x000001f8,
+ 0x00000000,0x00030047,0x000001f9,0x00000000,0x00030047,0x000001fb,0x00000000,0x00030047,
+ 0x000001fc,0x00000000,0x00030047,0x000001fd,0x00000000,0x00030047,0x000001fe,0x00000000,
+ 0x00030047,0x00000200,0x00000000,0x00030047,0x00000203,0x00000000,0x00030047,0x00000204,
+ 0x00000000,0x00030047,0x00000205,0x00000000,0x00030047,0x00000207,0x00000000,0x00030047,
+ 0x00000208,0x00000000,0x00030047,0x00000209,0x00000000,0x00030047,0x0000020a,0x00000000,
+ 0x00030047,0x0000020b,0x00000000,0x00030047,0x0000020c,0x00000000,0x00030047,0x0000020d,
+ 0x00000000,0x00030047,0x0000020e,0x00000000,0x00030047,0x0000020f,0x00000000,0x00030047,
+ 0x00000210,0x00000000,0x00030047,0x00000211,0x00000000,0x00030047,0x00000212,0x00000000,
+ 0x00030047,0x00000213,0x00000000,0x00030047,0x00000214,0x00000000,0x00030047,0x00000215,
+ 0x00000000,0x00030047,0x00000216,0x00000000,0x00030047,0x00000217,0x00000000,0x00030047,
+ 0x0000021a,0x00000000,0x00030047,0x0000021c,0x00000000,0x00030047,0x0000021e,0x00000000,
+ 0x00030047,0x00000227,0x00000000,0x00030047,0x00000228,0x00000000,0x00030047,0x00000229,
+ 0x00000000,0x00030047,0x0000022a,0x00000000,0x00030047,0x0000022d,0x00000000,0x00030047,
+ 0x0000022e,0x00000000,0x00030047,0x0000022f,0x00000000,0x00030047,0x00000230,0x00000000,
+ 0x00030047,0x00000231,0x00000000,0x00030047,0x00000232,0x00000000,0x00030047,0x00000233,
+ 0x00000000,0x00030047,0x00000234,0x00000000,0x00030047,0x00000235,0x00000000,0x00030047,
+ 0x00000236,0x00000000,0x00030047,0x00000237,0x00000000,0x00030047,0x00000238,0x00000000,
+ 0x00030047,0x00000239,0x00000000,0x00030047,0x0000023a,0x00000000,0x00030047,0x0000023b,
+ 0x00000000,0x00030047,0x0000023c,0x00000000,0x00030047,0x0000023d,0x00000000,0x00030047,
+ 0x0000023e,0x00000000,0x00030047,0x0000023f,0x00000000,0x00030047,0x00000240,0x00000000,
+ 0x00030047,0x00000241,0x00000000,0x00030047,0x00000242,0x00000000,0x00030047,0x00000243,
+ 0x00000000,0x00030047,0x00000244,0x00000000,0x00030047,0x00000245,0x00000000,0x00030047,
+ 0x00000246,0x00000000,0x00030047,0x00000247,0x00000000,0x00030047,0x00000248,0x00000000,
+ 0x00030047,0x00000249,0x00000000,0x00030047,0x0000024a,0x00000000,0x00030047,0x0000024b,
+ 0x00000000,0x00030047,0x0000024c,0x00000000,0x00030047,0x0000024d,0x00000000,0x00030047,
+ 0x0000024e,0x00000000,0x00030047,0x0000024f,0x00000000,0x00030047,0x00000250,0x00000000,
+ 0x00030047,0x00000251,0x00000000,0x00030047,0x00000252,0x00000000,0x00030047,0x00000253,
+ 0x00000000,0x00030047,0x00000254,0x00000000,0x00030047,0x00000255,0x00000000,0x00030047,
+ 0x00000256,0x00000000,0x00030047,0x00000257,0x00000000,0x00030047,0x00000258,0x00000000,
+ 0x00030047,0x00000259,0x00000000,0x00030047,0x0000025a,0x00000000,0x00030047,0x0000025b,
+ 0x00000000,0x00030047,0x0000025c,0x00000000,0x00030047,0x0000025d,0x00000000,0x00030047,
+ 0x0000025e,0x00000000,0x00030047,0x0000025f,0x00000000,0x00030047,0x00000260,0x00000000,
+ 0x00030047,0x00000261,0x00000000,0x00030047,0x00000262,0x00000000,0x00030047,0x00000263,
+ 0x00000000,0x00030047,0x00000264,0x00000000,0x00030047,0x00000265,0x00000000,0x00040047,
+ 0x00000269,0x0000001e,0x00000000,0x00030047,0x0000026b,0x00000002,0x00050048,0x0000026b,
+ 0x00000000,0x00000023,0x00000000,0x00050048,0x0000026b,0x00000001,0x00000023,0x00000010,
+ 0x00050048,0x0000026b,0x00000002,0x00000023,0x00000020,0x00030047,0x00000274,0x00000000,
+ 0x00030047,0x00000275,0x00000000,0x00030047,0x00000276,0x00000000,0x00030047,0x00000277,
+ 0x00000000,0x00030047,0x00000286,0x00000000,0x00040047,0x00000286,0x0000001e,0x00000000,
+ 0x00030047,0x00000287,0x00000000,0x00030047,0x00000288,0x00000000,0x00030047,0x00000289,
+ 0x00000000,0x00030047,0x0000028a,0x00000000,0x00030047,0x0000028b,0x00000000,0x00020013,
+ 0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040020,
+ 0x00000007,0x00000007,0x00000006,0x00040021,0x00000008,0x00000006,0x00000007,0x00060021,
+ 0x0000000f,0x00000006,0x00000007,0x00000007,0x00000007,0x00040015,0x0000001a,0x00000020,
+ 0x00000001,0x00040017,0x0000001b,0x0000001a,0x00000002,0x00040020,0x0000001c,0x00000007,
+ 0x0000001b,0x00040017,0x0000001d,0x00000006,0x00000004,0x00040021,0x0000001e,0x0000001d,
+ 0x0000001c,0x00060021,0x00000022,0x00000002,0x00000007,0x00000007,0x00000007,0x00040015,
+ 0x00000028,0x00000020,0x00000000,0x00040017,0x00000029,0x00000028,0x00000002,0x00040020,
+ 0x0000002a,0x00000007,0x00000029,0x00040017,0x0000002b,0x00000028,0x00000004,0x00040020,
+ 0x0000002c,0x00000007,0x0000002b,0x00080021,0x0000002d,0x00000002,0x00000007,0x00000007,
+ 0x00000007,0x0000002a,0x0000002c,0x0004002b,0x00000006,0x00000035,0x3f800000,0x0004002b,
+ 0x00000006,0x0000003b,0x00000000,0x00090019,0x0000004e,0x00000006,0x00000001,0x00000000,
+ 0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x0000004f,0x0000004e,0x00040020,
+ 0x00000050,0x00000000,0x0000004f,0x0004003b,0x00000050,0x00000051,0x00000000,0x0004002b,
+ 0x0000001a,0x00000053,0x00000000,0x0005002c,0x0000001b,0x00000058,0x00000053,0x00000053,
+ 0x0004002b,0x0000001a,0x0000005a,0x00000001,0x0005002c,0x0000001b,0x0000005b,0x0000005a,
+ 0x0000005a,0x00040017,0x00000065,0x00000006,0x00000003,0x00040020,0x00000066,0x00000007,
+ 0x00000065,0x0004002b,0x0000001a,0x00000069,0xffffffff,0x0005002c,0x0000001b,0x0000006a,
+ 0x00000053,0x00000069,0x0005002c,0x0000001b,0x00000071,0x00000069,0x00000053,0x0005002c,
+ 0x0000001b,0x0000007d,0x0000005a,0x00000053,0x0005002c,0x0000001b,0x00000084,0x00000053,
+ 0x0000005a,0x0004002b,0x00000028,0x0000008a,0x00000000,0x0004002b,0x00000028,0x0000008e,
+ 0x00000001,0x0004002b,0x00000028,0x00000092,0x00000002,0x0004002b,0x00000006,0x000000ed,
+ 0x3f000000,0x0004002b,0x00000006,0x00000115,0x3e800000,0x0004002b,0x00000006,0x00000145,
+ 0xbf000000,0x00040017,0x00000185,0x00000006,0x00000002,0x00040020,0x00000186,0x00000007,
+ 0x00000185,0x0004002b,0x00000006,0x00000188,0xc0800000,0x0005002c,0x00000185,0x00000189,
+ 0x00000035,0x00000188,0x0004002b,0x00000006,0x0000018b,0x40800000,0x00020014,0x000001a8,
+ 0x0004002b,0x00000006,0x000001e6,0x358637bd,0x0004002b,0x00000006,0x00000218,0xbe400000,
+ 0x00040020,0x00000222,0x00000007,0x00000028,0x00040020,0x00000268,0x00000001,0x00000185,
+ 0x0004003b,0x00000268,0x00000269,0x00000001,0x0005001e,0x0000026b,0x0000001d,0x0000002b,
+ 0x00000185,0x00040020,0x0000026c,0x00000009,0x0000026b,0x0004003b,0x0000026c,0x0000026d,
+ 0x00000009,0x0004002b,0x0000001a,0x0000026e,0x00000002,0x00040020,0x0000026f,0x00000009,
+ 0x00000185,0x00040020,0x0000027b,0x00000009,0x0000002b,0x00040020,0x00000285,0x00000003,
+ 0x0000001d,0x0004003b,0x00000285,0x00000286,0x00000003,0x00050036,0x00000002,0x00000004,
+ 0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x0000002a,0x00000267,0x00000007,
+ 0x0004003b,0x00000066,0x00000274,0x00000007,0x0004003b,0x00000007,0x00000275,0x00000007,
+ 0x0004003b,0x00000007,0x00000276,0x00000007,0x0004003b,0x00000007,0x00000277,0x00000007,
+ 0x0004003b,0x0000002a,0x00000278,0x00000007,0x0004003b,0x0000002c,0x0000027a,0x00000007,
+ 0x0004003d,0x00000185,0x0000026a,0x00000269,0x00050041,0x0000026f,0x00000270,0x0000026d,
+ 0x0000026e,0x0004003d,0x00000185,0x00000271,0x00000270,0x00050085,0x00000185,0x00000272,
+ 0x0000026a,0x00000271,0x0004006d,0x00000029,0x00000273,0x00000272,0x0003003e,0x00000267,
+ 0x00000273,0x0004003d,0x00000029,0x00000279,0x00000267,0x0003003e,0x00000278,0x00000279,
+ 0x00050041,0x0000027b,0x0000027c,0x0000026d,0x0000005a,0x0004003d,0x0000002b,0x0000027d,
+ 0x0000027c,0x0003003e,0x0000027a,0x0000027d,0x00090039,0x00000002,0x0000027e,0x00000033,
+ 0x00000275,0x00000276,0x00000277,0x00000278,0x0000027a,0x0004003d,0x00000006,0x0000027f,
+ 0x00000275,0x00050041,0x00000007,0x00000280,0x00000274,0x0000008a,0x0003003e,0x00000280,
+ 0x0000027f,0x0004003d,0x00000006,0x00000281,0x00000276,0x00050041,0x00000007,0x00000282,
+ 0x00000274,0x0000008e,0x0003003e,0x00000282,0x00000281,0x0004003d,0x00000006,0x00000283,
+ 0x00000277,0x00050041,0x00000007,0x00000284,0x00000274,0x00000092,0x0003003e,0x00000284,
+ 0x00000283,0x0004003d,0x00000065,0x00000287,0x00000274,0x00050051,0x00000006,0x00000288,
+ 0x00000287,0x00000000,0x00050051,0x00000006,0x00000289,0x00000287,0x00000001,0x00050051,
+ 0x00000006,0x0000028a,0x00000287,0x00000002,0x00070050,0x0000001d,0x0000028b,0x00000288,
+ 0x00000289,0x0000028a,0x00000035,0x0003003e,0x00000286,0x0000028b,0x000100fd,0x00010038,
+ 0x00050036,0x00000006,0x0000000a,0x00000000,0x00000008,0x00030037,0x00000007,0x00000009,
+ 0x000200f8,0x0000000b,0x0004003d,0x00000006,0x00000036,0x00000009,0x00050088,0x00000006,
+ 0x00000037,0x00000035,0x00000036,0x000200fe,0x00000037,0x00010038,0x00050036,0x00000006,
+ 0x0000000d,0x00000000,0x00000008,0x00030037,0x00000007,0x0000000c,0x000200f8,0x0000000e,
+ 0x0004003d,0x00000006,0x0000003a,0x0000000c,0x0008000c,0x00000006,0x0000003c,0x00000001,
+ 0x0000002b,0x0000003a,0x0000003b,0x00000035,0x000200fe,0x0000003c,0x00010038,0x00050036,
+ 0x00000006,0x00000013,0x00000000,0x0000000f,0x00030037,0x00000007,0x00000010,0x00030037,
+ 0x00000007,0x00000011,0x00030037,0x00000007,0x00000012,0x000200f8,0x00000014,0x0004003d,
+ 0x00000006,0x0000003f,0x00000010,0x0004003d,0x00000006,0x00000040,0x00000011,0x0004003d,
+ 0x00000006,0x00000041,0x00000012,0x0007000c,0x00000006,0x00000042,0x00000001,0x00000025,
+ 0x00000040,0x00000041,0x0007000c,0x00000006,0x00000043,0x00000001,0x00000025,0x0000003f,
+ 0x00000042,0x000200fe,0x00000043,0x00010038,0x00050036,0x00000006,0x00000018,0x00000000,
+ 0x0000000f,0x00030037,0x00000007,0x00000015,0x00030037,0x00000007,0x00000016,0x00030037,
+ 0x00000007,0x00000017,0x000200f8,0x00000019,0x0004003d,0x00000006,0x00000046,0x00000015,
+ 0x0004003d,0x00000006,0x00000047,0x00000016,0x0004003d,0x00000006,0x00000048,0x00000017,
+ 0x0007000c,0x00000006,0x00000049,0x00000001,0x00000028,0x00000047,0x00000048,0x0007000c,
+ 0x00000006,0x0000004a,0x00000001,0x00000028,0x00000046,0x00000049,0x000200fe,0x0000004a,
+ 0x00010038,0x00050036,0x0000001d,0x00000020,0x00000000,0x0000001e,0x00030037,0x0000001c,
+ 0x0000001f,0x000200f8,0x00000021,0x0004003b,0x0000001c,0x0000004d,0x00000007,0x0004003d,
+ 0x0000004f,0x00000052,0x00000051,0x00040064,0x0000004e,0x00000054,0x00000052,0x00050067,
+ 0x0000001b,0x00000055,0x00000054,0x00000053,0x0003003e,0x0000004d,0x00000055,0x0004003d,
+ 0x0000004f,0x00000056,0x00000051,0x0004003d,0x0000001b,0x00000057,0x0000001f,0x0004003d,
+ 0x0000001b,0x00000059,0x0000004d,0x00050082,0x0000001b,0x0000005c,0x00000059,0x0000005b,
+ 0x0008000c,0x0000001b,0x0000005d,0x00000001,0x0000002d,0x00000057,0x00000058,0x0000005c,
+ 0x00040064,0x0000004e,0x0000005e,0x00000056,0x0007005f,0x0000001d,0x0000005f,0x0000005e,
+ 0x0000005d,0x00000002,0x00000053,0x000200fe,0x0000005f,0x00010038,0x00050036,0x00000002,
+ 0x00000026,0x00000000,0x00000022,0x00030037,0x00000007,0x00000023,0x00030037,0x00000007,
+ 0x00000024,0x00030037,0x00000007,0x00000025,0x000200f8,0x00000027,0x000100fd,0x00010038,
+ 0x00050036,0x00000002,0x00000033,0x00000000,0x0000002d,0x00030037,0x00000007,0x0000002e,
+ 0x00030037,0x00000007,0x0000002f,0x00030037,0x00000007,0x00000030,0x00030037,0x0000002a,
+ 0x00000031,0x00030037,0x0000002c,0x00000032,0x000200f8,0x00000034,0x0004003b,0x0000001c,
+ 0x00000062,0x00000007,0x0004003b,0x00000066,0x00000067,0x00000007,0x0004003b,0x0000001c,
+ 0x0000006c,0x00000007,0x0004003b,0x00000066,0x0000006f,0x00000007,0x0004003b,0x0000001c,
+ 0x00000073,0x00000007,0x0004003b,0x00000066,0x00000076,0x00000007,0x0004003b,0x0000001c,
+ 0x00000077,0x00000007,0x0004003b,0x00000066,0x0000007b,0x00000007,0x0004003b,0x0000001c,
+ 0x0000007f,0x00000007,0x0004003b,0x00000066,0x00000082,0x00000007,0x0004003b,0x0000001c,
+ 0x00000086,0x00000007,0x0004003b,0x00000007,0x00000089,0x00000007,0x0004003b,0x00000007,
+ 0x0000008d,0x00000007,0x0004003b,0x00000007,0x00000091,0x00000007,0x0004003b,0x00000007,
+ 0x00000095,0x00000007,0x0004003b,0x00000007,0x00000098,0x00000007,0x0004003b,0x00000007,
+ 0x0000009b,0x00000007,0x0004003b,0x00000007,0x0000009e,0x00000007,0x0004003b,0x00000007,
+ 0x000000a1,0x00000007,0x0004003b,0x00000007,0x000000a4,0x00000007,0x0004003b,0x00000007,
+ 0x000000a7,0x00000007,0x0004003b,0x00000007,0x000000aa,0x00000007,0x0004003b,0x00000007,
+ 0x000000ad,0x00000007,0x0004003b,0x00000007,0x000000b0,0x00000007,0x0004003b,0x00000007,
+ 0x000000b3,0x00000007,0x0004003b,0x00000007,0x000000b6,0x00000007,0x0004003b,0x00000007,
+ 0x000000b9,0x00000007,0x0004003b,0x00000007,0x000000bb,0x00000007,0x0004003b,0x00000007,
+ 0x000000bd,0x00000007,0x0004003b,0x00000007,0x000000c3,0x00000007,0x0004003b,0x00000007,
+ 0x000000c5,0x00000007,0x0004003b,0x00000007,0x000000c7,0x00000007,0x0004003b,0x00000007,
+ 0x000000cd,0x00000007,0x0004003b,0x00000007,0x000000cf,0x00000007,0x0004003b,0x00000007,
+ 0x000000d1,0x00000007,0x0004003b,0x00000007,0x000000d7,0x00000007,0x0004003b,0x00000007,
+ 0x000000d9,0x00000007,0x0004003b,0x00000007,0x000000db,0x00000007,0x0004003b,0x00000007,
+ 0x000000e1,0x00000007,0x0004003b,0x00000007,0x000000e3,0x00000007,0x0004003b,0x00000007,
+ 0x000000e5,0x00000007,0x0004003b,0x00000007,0x000000eb,0x00000007,0x0004003b,0x00000007,
+ 0x000000f4,0x00000007,0x0004003b,0x00000007,0x000000fc,0x00000007,0x0004003b,0x00000007,
+ 0x00000104,0x00000007,0x0004003b,0x00000007,0x0000010c,0x00000007,0x0004003b,0x00000007,
+ 0x00000114,0x00000007,0x0004003b,0x00000007,0x00000125,0x00000007,0x0004003b,0x00000007,
+ 0x00000127,0x00000007,0x0004003b,0x00000007,0x00000129,0x00000007,0x0004003b,0x00000007,
+ 0x0000012c,0x00000007,0x0004003b,0x00000007,0x0000012d,0x00000007,0x0004003b,0x00000007,
+ 0x0000012f,0x00000007,0x0004003b,0x00000007,0x00000132,0x00000007,0x0004003b,0x00000007,
+ 0x00000134,0x00000007,0x0004003b,0x00000007,0x00000136,0x00000007,0x0004003b,0x00000007,
+ 0x00000139,0x00000007,0x0004003b,0x00000007,0x0000013a,0x00000007,0x0004003b,0x00000007,
+ 0x0000013c,0x00000007,0x0004003b,0x00000007,0x00000140,0x00000007,0x0004003b,0x00000007,
+ 0x00000143,0x00000007,0x0004003b,0x00000007,0x00000149,0x00000007,0x0004003b,0x00000007,
+ 0x0000014a,0x00000007,0x0004003b,0x00000007,0x0000014c,0x00000007,0x0004003b,0x00000007,
+ 0x0000014e,0x00000007,0x0004003b,0x00000007,0x00000153,0x00000007,0x0004003b,0x00000007,
+ 0x00000154,0x00000007,0x0004003b,0x00000007,0x00000156,0x00000007,0x0004003b,0x00000007,
+ 0x00000158,0x00000007,0x0004003b,0x00000007,0x0000015d,0x00000007,0x0004003b,0x00000007,
+ 0x0000015e,0x00000007,0x0004003b,0x00000007,0x00000160,0x00000007,0x0004003b,0x00000007,
+ 0x00000162,0x00000007,0x0004003b,0x00000007,0x00000167,0x00000007,0x0004003b,0x00000007,
+ 0x00000168,0x00000007,0x0004003b,0x00000007,0x0000016a,0x00000007,0x0004003b,0x00000007,
+ 0x0000016c,0x00000007,0x0004003b,0x00000007,0x00000171,0x00000007,0x0004003b,0x00000007,
+ 0x00000172,0x00000007,0x0004003b,0x00000007,0x00000174,0x00000007,0x0004003b,0x00000007,
+ 0x00000176,0x00000007,0x0004003b,0x00000007,0x0000017b,0x00000007,0x0004003b,0x00000007,
+ 0x0000017c,0x00000007,0x0004003b,0x00000007,0x0000017e,0x00000007,0x0004003b,0x00000007,
+ 0x00000180,0x00000007,0x0004003b,0x00000186,0x00000187,0x00000007,0x0004003b,0x00000007,
+ 0x0000018a,0x00000007,0x0004003b,0x00000007,0x0000018e,0x00000007,0x0004003b,0x00000007,
+ 0x00000191,0x00000007,0x0004003b,0x00000007,0x00000194,0x00000007,0x0004003b,0x00000007,
+ 0x0000019a,0x00000007,0x0004003b,0x00000007,0x000001a0,0x00000007,0x0004003b,0x00000007,
+ 0x000001a6,0x00000007,0x0004003b,0x00000007,0x000001aa,0x00000007,0x0004003b,0x00000007,
+ 0x000001b4,0x00000007,0x0004003b,0x00000007,0x000001b7,0x00000007,0x0004003b,0x00000007,
+ 0x000001c1,0x00000007,0x0004003b,0x00000007,0x000001c4,0x00000007,0x0004003b,0x00000007,
+ 0x000001ce,0x00000007,0x0004003b,0x00000007,0x000001d5,0x00000007,0x0004003b,0x00000007,
+ 0x000001dc,0x00000007,0x0004003b,0x00000007,0x000001e3,0x00000007,0x0004003b,0x00000007,
+ 0x000001e8,0x00000007,0x0004003b,0x00000007,0x000001f0,0x00000007,0x0004003b,0x00000007,
+ 0x000001f4,0x00000007,0x0004003b,0x00000007,0x000001fc,0x00000007,0x0004003b,0x00000007,
+ 0x00000200,0x00000007,0x0004003b,0x00000007,0x00000208,0x00000007,0x0004003b,0x00000007,
+ 0x0000020d,0x00000007,0x0004003b,0x00000007,0x00000212,0x00000007,0x0004003b,0x00000007,
+ 0x00000217,0x00000007,0x0004003b,0x00000007,0x00000219,0x00000007,0x0004003b,0x00000007,
+ 0x0000021b,0x00000007,0x0004003b,0x00000007,0x0000021d,0x00000007,0x0004003b,0x00000007,
+ 0x00000227,0x00000007,0x0004003b,0x00000007,0x0000022b,0x00000007,0x0004003d,0x00000029,
+ 0x00000063,0x00000031,0x0004007c,0x0000001b,0x00000064,0x00000063,0x0003003e,0x00000062,
+ 0x00000064,0x0004003d,0x0000001b,0x00000068,0x00000062,0x00050080,0x0000001b,0x0000006b,
+ 0x00000068,0x0000006a,0x0003003e,0x0000006c,0x0000006b,0x00050039,0x0000001d,0x0000006d,
+ 0x00000020,0x0000006c,0x0008004f,0x00000065,0x0000006e,0x0000006d,0x0000006d,0x00000000,
+ 0x00000001,0x00000002,0x0003003e,0x00000067,0x0000006e,0x0004003d,0x0000001b,0x00000070,
+ 0x00000062,0x00050080,0x0000001b,0x00000072,0x00000070,0x00000071,0x0003003e,0x00000073,
+ 0x00000072,0x00050039,0x0000001d,0x00000074,0x00000020,0x00000073,0x0008004f,0x00000065,
+ 0x00000075,0x00000074,0x00000074,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000006f,
+ 0x00000075,0x0004003d,0x0000001b,0x00000078,0x00000062,0x0003003e,0x00000077,0x00000078,
+ 0x00050039,0x0000001d,0x00000079,0x00000020,0x00000077,0x0008004f,0x00000065,0x0000007a,
+ 0x00000079,0x00000079,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000076,0x0000007a,
+ 0x0004003d,0x0000001b,0x0000007c,0x00000062,0x00050080,0x0000001b,0x0000007e,0x0000007c,
+ 0x0000007d,0x0003003e,0x0000007f,0x0000007e,0x00050039,0x0000001d,0x00000080,0x00000020,
+ 0x0000007f,0x0008004f,0x00000065,0x00000081,0x00000080,0x00000080,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x0000007b,0x00000081,0x0004003d,0x0000001b,0x00000083,0x00000062,
+ 0x00050080,0x0000001b,0x00000085,0x00000083,0x00000084,0x0003003e,0x00000086,0x00000085,
+ 0x00050039,0x0000001d,0x00000087,0x00000020,0x00000086,0x0008004f,0x00000065,0x00000088,
+ 0x00000087,0x00000087,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000082,0x00000088,
+ 0x00050041,0x00000007,0x0000008b,0x00000067,0x0000008a,0x0004003d,0x00000006,0x0000008c,
+ 0x0000008b,0x0003003e,0x00000089,0x0000008c,0x00050041,0x00000007,0x0000008f,0x00000067,
+ 0x0000008e,0x0004003d,0x00000006,0x00000090,0x0000008f,0x0003003e,0x0000008d,0x00000090,
+ 0x00050041,0x00000007,0x00000093,0x00000067,0x00000092,0x0004003d,0x00000006,0x00000094,
+ 0x00000093,0x0003003e,0x00000091,0x00000094,0x00050041,0x00000007,0x00000096,0x0000006f,
+ 0x0000008a,0x0004003d,0x00000006,0x00000097,0x00000096,0x0003003e,0x00000095,0x00000097,
+ 0x00050041,0x00000007,0x00000099,0x0000006f,0x0000008e,0x0004003d,0x00000006,0x0000009a,
+ 0x00000099,0x0003003e,0x00000098,0x0000009a,0x00050041,0x00000007,0x0000009c,0x0000006f,
+ 0x00000092,0x0004003d,0x00000006,0x0000009d,0x0000009c,0x0003003e,0x0000009b,0x0000009d,
+ 0x00050041,0x00000007,0x0000009f,0x00000076,0x0000008a,0x0004003d,0x00000006,0x000000a0,
+ 0x0000009f,0x0003003e,0x0000009e,0x000000a0,0x00050041,0x00000007,0x000000a2,0x00000076,
+ 0x0000008e,0x0004003d,0x00000006,0x000000a3,0x000000a2,0x0003003e,0x000000a1,0x000000a3,
+ 0x00050041,0x00000007,0x000000a5,0x00000076,0x00000092,0x0004003d,0x00000006,0x000000a6,
+ 0x000000a5,0x0003003e,0x000000a4,0x000000a6,0x00050041,0x00000007,0x000000a8,0x0000007b,
+ 0x0000008a,0x0004003d,0x00000006,0x000000a9,0x000000a8,0x0003003e,0x000000a7,0x000000a9,
+ 0x00050041,0x00000007,0x000000ab,0x0000007b,0x0000008e,0x0004003d,0x00000006,0x000000ac,
+ 0x000000ab,0x0003003e,0x000000aa,0x000000ac,0x00050041,0x00000007,0x000000ae,0x0000007b,
+ 0x00000092,0x0004003d,0x00000006,0x000000af,0x000000ae,0x0003003e,0x000000ad,0x000000af,
+ 0x00050041,0x00000007,0x000000b1,0x00000082,0x0000008a,0x0004003d,0x00000006,0x000000b2,
+ 0x000000b1,0x0003003e,0x000000b0,0x000000b2,0x00050041,0x00000007,0x000000b4,0x00000082,
+ 0x0000008e,0x0004003d,0x00000006,0x000000b5,0x000000b4,0x0003003e,0x000000b3,0x000000b5,
+ 0x00050041,0x00000007,0x000000b7,0x00000082,0x00000092,0x0004003d,0x00000006,0x000000b8,
+ 0x000000b7,0x0003003e,0x000000b6,0x000000b8,0x0004003d,0x00000006,0x000000ba,0x00000089,
+ 0x0003003e,0x000000b9,0x000000ba,0x0004003d,0x00000006,0x000000bc,0x0000008d,0x0003003e,
+ 0x000000bb,0x000000bc,0x0004003d,0x00000006,0x000000be,0x00000091,0x0003003e,0x000000bd,
+ 0x000000be,0x00070039,0x00000002,0x000000bf,0x00000026,0x000000b9,0x000000bb,0x000000bd,
+ 0x0004003d,0x00000006,0x000000c0,0x000000b9,0x0003003e,0x00000089,0x000000c0,0x0004003d,
+ 0x00000006,0x000000c1,0x000000bb,0x0003003e,0x0000008d,0x000000c1,0x0004003d,0x00000006,
+ 0x000000c2,0x000000bd,0x0003003e,0x00000091,0x000000c2,0x0004003d,0x00000006,0x000000c4,
+ 0x00000095,0x0003003e,0x000000c3,0x000000c4,0x0004003d,0x00000006,0x000000c6,0x00000098,
+ 0x0003003e,0x000000c5,0x000000c6,0x0004003d,0x00000006,0x000000c8,0x0000009b,0x0003003e,
+ 0x000000c7,0x000000c8,0x00070039,0x00000002,0x000000c9,0x00000026,0x000000c3,0x000000c5,
+ 0x000000c7,0x0004003d,0x00000006,0x000000ca,0x000000c3,0x0003003e,0x00000095,0x000000ca,
+ 0x0004003d,0x00000006,0x000000cb,0x000000c5,0x0003003e,0x00000098,0x000000cb,0x0004003d,
+ 0x00000006,0x000000cc,0x000000c7,0x0003003e,0x0000009b,0x000000cc,0x0004003d,0x00000006,
+ 0x000000ce,0x0000009e,0x0003003e,0x000000cd,0x000000ce,0x0004003d,0x00000006,0x000000d0,
+ 0x000000a1,0x0003003e,0x000000cf,0x000000d0,0x0004003d,0x00000006,0x000000d2,0x000000a4,
+ 0x0003003e,0x000000d1,0x000000d2,0x00070039,0x00000002,0x000000d3,0x00000026,0x000000cd,
+ 0x000000cf,0x000000d1,0x0004003d,0x00000006,0x000000d4,0x000000cd,0x0003003e,0x0000009e,
+ 0x000000d4,0x0004003d,0x00000006,0x000000d5,0x000000cf,0x0003003e,0x000000a1,0x000000d5,
+ 0x0004003d,0x00000006,0x000000d6,0x000000d1,0x0003003e,0x000000a4,0x000000d6,0x0004003d,
+ 0x00000006,0x000000d8,0x000000a7,0x0003003e,0x000000d7,0x000000d8,0x0004003d,0x00000006,
+ 0x000000da,0x000000aa,0x0003003e,0x000000d9,0x000000da,0x0004003d,0x00000006,0x000000dc,
+ 0x000000ad,0x0003003e,0x000000db,0x000000dc,0x00070039,0x00000002,0x000000dd,0x00000026,
+ 0x000000d7,0x000000d9,0x000000db,0x0004003d,0x00000006,0x000000de,0x000000d7,0x0003003e,
+ 0x000000a7,0x000000de,0x0004003d,0x00000006,0x000000df,0x000000d9,0x0003003e,0x000000aa,
+ 0x000000df,0x0004003d,0x00000006,0x000000e0,0x000000db,0x0003003e,0x000000ad,0x000000e0,
+ 0x0004003d,0x00000006,0x000000e2,0x000000b0,0x0003003e,0x000000e1,0x000000e2,0x0004003d,
+ 0x00000006,0x000000e4,0x000000b3,0x0003003e,0x000000e3,0x000000e4,0x0004003d,0x00000006,
+ 0x000000e6,0x000000b6,0x0003003e,0x000000e5,0x000000e6,0x00070039,0x00000002,0x000000e7,
+ 0x00000026,0x000000e1,0x000000e3,0x000000e5,0x0004003d,0x00000006,0x000000e8,0x000000e1,
+ 0x0003003e,0x000000b0,0x000000e8,0x0004003d,0x00000006,0x000000e9,0x000000e3,0x0003003e,
+ 0x000000b3,0x000000e9,0x0004003d,0x00000006,0x000000ea,0x000000e5,0x0003003e,0x000000b6,
+ 0x000000ea,0x0004003d,0x00000006,0x000000ec,0x00000091,0x00050085,0x00000006,0x000000ee,
+ 0x000000ec,0x000000ed,0x0004003d,0x00000006,0x000000ef,0x00000089,0x00050085,0x00000006,
+ 0x000000f0,0x000000ef,0x000000ed,0x0004003d,0x00000006,0x000000f1,0x0000008d,0x00050081,
+ 0x00000006,0x000000f2,0x000000f0,0x000000f1,0x00050081,0x00000006,0x000000f3,0x000000ee,
+ 0x000000f2,0x0003003e,0x000000eb,0x000000f3,0x0004003d,0x00000006,0x000000f5,0x0000009b,
+ 0x00050085,0x00000006,0x000000f6,0x000000f5,0x000000ed,0x0004003d,0x00000006,0x000000f7,
+ 0x00000095,0x00050085,0x00000006,0x000000f8,0x000000f7,0x000000ed,0x0004003d,0x00000006,
+ 0x000000f9,0x00000098,0x00050081,0x00000006,0x000000fa,0x000000f8,0x000000f9,0x00050081,
+ 0x00000006,0x000000fb,0x000000f6,0x000000fa,0x0003003e,0x000000f4,0x000000fb,0x0004003d,
+ 0x00000006,0x000000fd,0x000000a4,0x00050085,0x00000006,0x000000fe,0x000000fd,0x000000ed,
+ 0x0004003d,0x00000006,0x000000ff,0x0000009e,0x00050085,0x00000006,0x00000100,0x000000ff,
+ 0x000000ed,0x0004003d,0x00000006,0x00000101,0x000000a1,0x00050081,0x00000006,0x00000102,
+ 0x00000100,0x00000101,0x00050081,0x00000006,0x00000103,0x000000fe,0x00000102,0x0003003e,
+ 0x000000fc,0x00000103,0x0004003d,0x00000006,0x00000105,0x000000ad,0x00050085,0x00000006,
+ 0x00000106,0x00000105,0x000000ed,0x0004003d,0x00000006,0x00000107,0x000000a7,0x00050085,
+ 0x00000006,0x00000108,0x00000107,0x000000ed,0x0004003d,0x00000006,0x00000109,0x000000aa,
+ 0x00050081,0x00000006,0x0000010a,0x00000108,0x00000109,0x00050081,0x00000006,0x0000010b,
+ 0x00000106,0x0000010a,0x0003003e,0x00000104,0x0000010b,0x0004003d,0x00000006,0x0000010d,
+ 0x000000b6,0x00050085,0x00000006,0x0000010e,0x0000010d,0x000000ed,0x0004003d,0x00000006,
+ 0x0000010f,0x000000b0,0x00050085,0x00000006,0x00000110,0x0000010f,0x000000ed,0x0004003d,
+ 0x00000006,0x00000111,0x000000b3,0x00050081,0x00000006,0x00000112,0x00000110,0x00000111,
+ 0x00050081,0x00000006,0x00000113,0x0000010e,0x00000112,0x0003003e,0x0000010c,0x00000113,
+ 0x0004003d,0x00000006,0x00000116,0x000000eb,0x00050085,0x00000006,0x00000117,0x00000115,
+ 0x00000116,0x0004003d,0x00000006,0x00000118,0x000000f4,0x00050085,0x00000006,0x00000119,
+ 0x00000115,0x00000118,0x00050081,0x00000006,0x0000011a,0x00000117,0x00000119,0x0004003d,
+ 0x00000006,0x0000011b,0x00000104,0x00050085,0x00000006,0x0000011c,0x00000115,0x0000011b,
+ 0x00050081,0x00000006,0x0000011d,0x0000011a,0x0000011c,0x0004003d,0x00000006,0x0000011e,
+ 0x0000010c,0x00050085,0x00000006,0x0000011f,0x00000115,0x0000011e,0x00050081,0x00000006,
+ 0x00000120,0x0000011d,0x0000011f,0x0004003d,0x00000006,0x00000121,0x000000fc,0x00050083,
+ 0x00000006,0x00000122,0x00000120,0x00000121,0x0003003e,0x00000114,0x00000122,0x0004003d,
+ 0x00000006,0x00000123,0x00000114,0x0006000c,0x00000006,0x00000124,0x00000001,0x00000004,
+ 0x00000123,0x0004003d,0x00000006,0x00000126,0x000000eb,0x0003003e,0x00000125,0x00000126,
+ 0x0004003d,0x00000006,0x00000128,0x000000f4,0x0003003e,0x00000127,0x00000128,0x0004003d,
+ 0x00000006,0x0000012a,0x000000fc,0x0003003e,0x00000129,0x0000012a,0x00070039,0x00000006,
+ 0x0000012b,0x00000018,0x00000125,0x00000127,0x00000129,0x0003003e,0x0000012c,0x0000012b,
+ 0x0004003d,0x00000006,0x0000012e,0x00000104,0x0003003e,0x0000012d,0x0000012e,0x0004003d,
+ 0x00000006,0x00000130,0x0000010c,0x0003003e,0x0000012f,0x00000130,0x00070039,0x00000006,
+ 0x00000131,0x00000018,0x0000012c,0x0000012d,0x0000012f,0x0004003d,0x00000006,0x00000133,
+ 0x000000eb,0x0003003e,0x00000132,0x00000133,0x0004003d,0x00000006,0x00000135,0x000000f4,
+ 0x0003003e,0x00000134,0x00000135,0x0004003d,0x00000006,0x00000137,0x000000fc,0x0003003e,
+ 0x00000136,0x00000137,0x00070039,0x00000006,0x00000138,0x00000013,0x00000132,0x00000134,
+ 0x00000136,0x0003003e,0x00000139,0x00000138,0x0004003d,0x00000006,0x0000013b,0x00000104,
+ 0x0003003e,0x0000013a,0x0000013b,0x0004003d,0x00000006,0x0000013d,0x0000010c,0x0003003e,
+ 0x0000013c,0x0000013d,0x00070039,0x00000006,0x0000013e,0x00000013,0x00000139,0x0000013a,
+ 0x0000013c,0x00050083,0x00000006,0x0000013f,0x00000131,0x0000013e,0x0003003e,0x00000140,
+ 0x0000013f,0x00050039,0x00000006,0x00000141,0x0000000a,0x00000140,0x00050085,0x00000006,
+ 0x00000142,0x00000124,0x00000141,0x0003003e,0x00000143,0x00000142,0x00050039,0x00000006,
+ 0x00000144,0x0000000d,0x00000143,0x0003003e,0x00000114,0x00000144,0x0004003d,0x00000006,
+ 0x00000146,0x00000114,0x00050085,0x00000006,0x00000147,0x00000145,0x00000146,0x00050081,
+ 0x00000006,0x00000148,0x00000147,0x00000035,0x0003003e,0x00000114,0x00000148,0x0004003d,
+ 0x00000006,0x0000014b,0x00000089,0x0003003e,0x0000014a,0x0000014b,0x0004003d,0x00000006,
+ 0x0000014d,0x00000095,0x0003003e,0x0000014c,0x0000014d,0x0004003d,0x00000006,0x0000014f,
+ 0x000000a7,0x0003003e,0x0000014e,0x0000014f,0x00070039,0x00000006,0x00000150,0x00000013,
+ 0x0000014a,0x0000014c,0x0000014e,0x0004003d,0x00000006,0x00000151,0x000000b0,0x0007000c,
+ 0x00000006,0x00000152,0x00000001,0x00000025,0x00000150,0x00000151,0x0003003e,0x00000149,
+ 0x00000152,0x0004003d,0x00000006,0x00000155,0x0000008d,0x0003003e,0x00000154,0x00000155,
+ 0x0004003d,0x00000006,0x00000157,0x00000098,0x0003003e,0x00000156,0x00000157,0x0004003d,
+ 0x00000006,0x00000159,0x000000aa,0x0003003e,0x00000158,0x00000159,0x00070039,0x00000006,
+ 0x0000015a,0x00000013,0x00000154,0x00000156,0x00000158,0x0004003d,0x00000006,0x0000015b,
+ 0x000000b3,0x0007000c,0x00000006,0x0000015c,0x00000001,0x00000025,0x0000015a,0x0000015b,
+ 0x0003003e,0x00000153,0x0000015c,0x0004003d,0x00000006,0x0000015f,0x00000091,0x0003003e,
+ 0x0000015e,0x0000015f,0x0004003d,0x00000006,0x00000161,0x0000009b,0x0003003e,0x00000160,
+ 0x00000161,0x0004003d,0x00000006,0x00000163,0x000000ad,0x0003003e,0x00000162,0x00000163,
+ 0x00070039,0x00000006,0x00000164,0x00000013,0x0000015e,0x00000160,0x00000162,0x0004003d,
+ 0x00000006,0x00000165,0x000000b6,0x0007000c,0x00000006,0x00000166,0x00000001,0x00000025,
+ 0x00000164,0x00000165,0x0003003e,0x0000015d,0x00000166,0x0004003d,0x00000006,0x00000169,
+ 0x00000089,0x0003003e,0x00000168,0x00000169,0x0004003d,0x00000006,0x0000016b,0x00000095,
+ 0x0003003e,0x0000016a,0x0000016b,0x0004003d,0x00000006,0x0000016d,0x000000a7,0x0003003e,
+ 0x0000016c,0x0000016d,0x00070039,0x00000006,0x0000016e,0x00000018,0x00000168,0x0000016a,
+ 0x0000016c,0x0004003d,0x00000006,0x0000016f,0x000000b0,0x0007000c,0x00000006,0x00000170,
+ 0x00000001,0x00000028,0x0000016e,0x0000016f,0x0003003e,0x00000167,0x00000170,0x0004003d,
+ 0x00000006,0x00000173,0x0000008d,0x0003003e,0x00000172,0x00000173,0x0004003d,0x00000006,
+ 0x00000175,0x00000098,0x0003003e,0x00000174,0x00000175,0x0004003d,0x00000006,0x00000177,
+ 0x000000aa,0x0003003e,0x00000176,0x00000177,0x00070039,0x00000006,0x00000178,0x00000018,
+ 0x00000172,0x00000174,0x00000176,0x0004003d,0x00000006,0x00000179,0x000000b3,0x0007000c,
+ 0x00000006,0x0000017a,0x00000001,0x00000028,0x00000178,0x00000179,0x0003003e,0x00000171,
+ 0x0000017a,0x0004003d,0x00000006,0x0000017d,0x00000091,0x0003003e,0x0000017c,0x0000017d,
+ 0x0004003d,0x00000006,0x0000017f,0x0000009b,0x0003003e,0x0000017e,0x0000017f,0x0004003d,
+ 0x00000006,0x00000181,0x000000ad,0x0003003e,0x00000180,0x00000181,0x00070039,0x00000006,
+ 0x00000182,0x00000018,0x0000017c,0x0000017e,0x00000180,0x0004003d,0x00000006,0x00000183,
+ 0x000000b6,0x0007000c,0x00000006,0x00000184,0x00000001,0x00000028,0x00000182,0x00000183,
+ 0x0003003e,0x0000017b,0x00000184,0x0003003e,0x00000187,0x00000189,0x0004003d,0x00000006,
+ 0x0000018c,0x00000167,0x00050085,0x00000006,0x0000018d,0x0000018b,0x0000018c,0x0003003e,
+ 0x0000018a,0x0000018d,0x0004003d,0x00000006,0x0000018f,0x00000171,0x00050085,0x00000006,
+ 0x00000190,0x0000018b,0x0000018f,0x0003003e,0x0000018e,0x00000190,0x0004003d,0x00000006,
+ 0x00000192,0x0000017b,0x00050085,0x00000006,0x00000193,0x0000018b,0x00000192,0x0003003e,
+ 0x00000191,0x00000193,0x0004003d,0x00000006,0x00000195,0x00000149,0x00050085,0x00000006,
+ 0x00000196,0x0000018b,0x00000195,0x00050041,0x00000007,0x00000197,0x00000187,0x0000008e,
+ 0x0004003d,0x00000006,0x00000198,0x00000197,0x00050081,0x00000006,0x00000199,0x00000196,
+ 0x00000198,0x0003003e,0x00000194,0x00000199,0x0004003d,0x00000006,0x0000019b,0x00000153,
+ 0x00050085,0x00000006,0x0000019c,0x0000018b,0x0000019b,0x00050041,0x00000007,0x0000019d,
+ 0x00000187,0x0000008e,0x0004003d,0x00000006,0x0000019e,0x0000019d,0x00050081,0x00000006,
+ 0x0000019f,0x0000019c,0x0000019e,0x0003003e,0x0000019a,0x0000019f,0x0004003d,0x00000006,
+ 0x000001a1,0x0000015d,0x00050085,0x00000006,0x000001a2,0x0000018b,0x000001a1,0x00050041,
+ 0x00000007,0x000001a3,0x00000187,0x0000008e,0x0004003d,0x00000006,0x000001a4,0x000001a3,
+ 0x00050081,0x00000006,0x000001a5,0x000001a2,0x000001a4,0x0003003e,0x000001a0,0x000001a5,
+ 0x0004003d,0x00000006,0x000001a7,0x0000018a,0x000500ba,0x000001a8,0x000001a9,0x000001a7,
+ 0x0000003b,0x000300f7,0x000001ac,0x00000000,0x000400fa,0x000001a9,0x000001ab,0x000001b2,
+ 0x000200f8,0x000001ab,0x0004003d,0x00000006,0x000001ad,0x00000149,0x0004003d,0x00000006,
+ 0x000001ae,0x0000009e,0x0007000c,0x00000006,0x000001af,0x00000001,0x00000025,0x000001ad,
+ 0x000001ae,0x0004003d,0x00000006,0x000001b0,0x0000018a,0x00050088,0x00000006,0x000001b1,
+ 0x000001af,0x000001b0,0x0003003e,0x000001aa,0x000001b1,0x000200f9,0x000001ac,0x000200f8,
+ 0x000001b2,0x0003003e,0x000001aa,0x0000003b,0x000200f9,0x000001ac,0x000200f8,0x000001ac,
+ 0x0004003d,0x00000006,0x000001b3,0x000001aa,0x0003003e,0x000001a6,0x000001b3,0x0004003d,
+ 0x00000006,0x000001b5,0x0000018e,0x000500ba,0x000001a8,0x000001b6,0x000001b5,0x0000003b,
+ 0x000300f7,0x000001b9,0x00000000,0x000400fa,0x000001b6,0x000001b8,0x000001bf,0x000200f8,
+ 0x000001b8,0x0004003d,0x00000006,0x000001ba,0x00000153,0x0004003d,0x00000006,0x000001bb,
+ 0x000000a1,0x0007000c,0x00000006,0x000001bc,0x00000001,0x00000025,0x000001ba,0x000001bb,
+ 0x0004003d,0x00000006,0x000001bd,0x0000018e,0x00050088,0x00000006,0x000001be,0x000001bc,
+ 0x000001bd,0x0003003e,0x000001b7,0x000001be,0x000200f9,0x000001b9,0x000200f8,0x000001bf,
+ 0x0003003e,0x000001b7,0x0000003b,0x000200f9,0x000001b9,0x000200f8,0x000001b9,0x0004003d,
+ 0x00000006,0x000001c0,0x000001b7,0x0003003e,0x000001b4,0x000001c0,0x0004003d,0x00000006,
+ 0x000001c2,0x00000191,0x000500ba,0x000001a8,0x000001c3,0x000001c2,0x0000003b,0x000300f7,
+ 0x000001c6,0x00000000,0x000400fa,0x000001c3,0x000001c5,0x000001cc,0x000200f8,0x000001c5,
+ 0x0004003d,0x00000006,0x000001c7,0x0000015d,0x0004003d,0x00000006,0x000001c8,0x000000a4,
+ 0x0007000c,0x00000006,0x000001c9,0x00000001,0x00000025,0x000001c7,0x000001c8,0x0004003d,
+ 0x00000006,0x000001ca,0x00000191,0x00050088,0x00000006,0x000001cb,0x000001c9,0x000001ca,
+ 0x0003003e,0x000001c4,0x000001cb,0x000200f9,0x000001c6,0x000200f8,0x000001cc,0x0003003e,
+ 0x000001c4,0x0000003b,0x000200f9,0x000001c6,0x000200f8,0x000001c6,0x0004003d,0x00000006,
+ 0x000001cd,0x000001c4,0x0003003e,0x000001c1,0x000001cd,0x00050041,0x00000007,0x000001cf,
+ 0x00000187,0x0000008a,0x0004003d,0x00000006,0x000001d0,0x000001cf,0x0004003d,0x00000006,
+ 0x000001d1,0x00000167,0x0004003d,0x00000006,0x000001d2,0x0000009e,0x0007000c,0x00000006,
+ 0x000001d3,0x00000001,0x00000028,0x000001d1,0x000001d2,0x00050083,0x00000006,0x000001d4,
+ 0x000001d0,0x000001d3,0x0003003e,0x000001ce,0x000001d4,0x00050041,0x00000007,0x000001d6,
+ 0x00000187,0x0000008a,0x0004003d,0x00000006,0x000001d7,0x000001d6,0x0004003d,0x00000006,
+ 0x000001d8,0x00000171,0x0004003d,0x00000006,0x000001d9,0x000000a1,0x0007000c,0x00000006,
+ 0x000001da,0x00000001,0x00000028,0x000001d8,0x000001d9,0x00050083,0x00000006,0x000001db,
+ 0x000001d7,0x000001da,0x0003003e,0x000001d5,0x000001db,0x00050041,0x00000007,0x000001dd,
+ 0x00000187,0x0000008a,0x0004003d,0x00000006,0x000001de,0x000001dd,0x0004003d,0x00000006,
+ 0x000001df,0x0000017b,0x0004003d,0x00000006,0x000001e0,0x000000a4,0x0007000c,0x00000006,
+ 0x000001e1,0x00000001,0x00000028,0x000001df,0x000001e0,0x00050083,0x00000006,0x000001e2,
+ 0x000001de,0x000001e1,0x0003003e,0x000001dc,0x000001e2,0x0004003d,0x00000006,0x000001e4,
+ 0x00000194,0x0006000c,0x00000006,0x000001e5,0x00000001,0x00000004,0x000001e4,0x000500ba,
+ 0x000001a8,0x000001e7,0x000001e5,0x000001e6,0x000300f7,0x000001ea,0x00000000,0x000400fa,
+ 0x000001e7,0x000001e9,0x000001ee,0x000200f8,0x000001e9,0x0004003d,0x00000006,0x000001eb,
+ 0x000001ce,0x0004003d,0x00000006,0x000001ec,0x00000194,0x00050088,0x00000006,0x000001ed,
+ 0x000001eb,0x000001ec,0x0003003e,0x000001e8,0x000001ed,0x000200f9,0x000001ea,0x000200f8,
+ 0x000001ee,0x0003003e,0x000001e8,0x0000003b,0x000200f9,0x000001ea,0x000200f8,0x000001ea,
+ 0x0004003d,0x00000006,0x000001ef,0x000001e8,0x0003003e,0x000001e3,0x000001ef,0x0004003d,
+ 0x00000006,0x000001f1,0x0000019a,0x0006000c,0x00000006,0x000001f2,0x00000001,0x00000004,
+ 0x000001f1,0x000500ba,0x000001a8,0x000001f3,0x000001f2,0x000001e6,0x000300f7,0x000001f6,
+ 0x00000000,0x000400fa,0x000001f3,0x000001f5,0x000001fa,0x000200f8,0x000001f5,0x0004003d,
+ 0x00000006,0x000001f7,0x000001d5,0x0004003d,0x00000006,0x000001f8,0x0000019a,0x00050088,
+ 0x00000006,0x000001f9,0x000001f7,0x000001f8,0x0003003e,0x000001f4,0x000001f9,0x000200f9,
+ 0x000001f6,0x000200f8,0x000001fa,0x0003003e,0x000001f4,0x0000003b,0x000200f9,0x000001f6,
+ 0x000200f8,0x000001f6,0x0004003d,0x00000006,0x000001fb,0x000001f4,0x0003003e,0x000001f0,
+ 0x000001fb,0x0004003d,0x00000006,0x000001fd,0x000001a0,0x0006000c,0x00000006,0x000001fe,
+ 0x00000001,0x00000004,0x000001fd,0x000500ba,0x000001a8,0x000001ff,0x000001fe,0x000001e6,
+ 0x000300f7,0x00000202,0x00000000,0x000400fa,0x000001ff,0x00000201,0x00000206,0x000200f8,
+ 0x00000201,0x0004003d,0x00000006,0x00000203,0x000001dc,0x0004003d,0x00000006,0x00000204,
+ 0x000001a0,0x00050088,0x00000006,0x00000205,0x00000203,0x00000204,0x0003003e,0x00000200,
+ 0x00000205,0x000200f9,0x00000202,0x000200f8,0x00000206,0x0003003e,0x00000200,0x0000003b,
+ 0x000200f9,0x00000202,0x000200f8,0x00000202,0x0004003d,0x00000006,0x00000207,0x00000200,
+ 0x0003003e,0x000001fc,0x00000207,0x0004003d,0x00000006,0x00000209,0x000001a6,0x0004007f,
+ 0x00000006,0x0000020a,0x00000209,0x0004003d,0x00000006,0x0000020b,0x000001e3,0x0007000c,
+ 0x00000006,0x0000020c,0x00000001,0x00000028,0x0000020a,0x0000020b,0x0003003e,0x00000208,
+ 0x0000020c,0x0004003d,0x00000006,0x0000020e,0x000001b4,0x0004007f,0x00000006,0x0000020f,
+ 0x0000020e,0x0004003d,0x00000006,0x00000210,0x000001f0,0x0007000c,0x00000006,0x00000211,
+ 0x00000001,0x00000028,0x0000020f,0x00000210,0x0003003e,0x0000020d,0x00000211,0x0004003d,
+ 0x00000006,0x00000213,0x000001c1,0x0004007f,0x00000006,0x00000214,0x00000213,0x0004003d,
+ 0x00000006,0x00000215,0x000001fc,0x0007000c,0x00000006,0x00000216,0x00000001,0x00000028,
+ 0x00000214,0x00000215,0x0003003e,0x00000212,0x00000216,0x0004003d,0x00000006,0x0000021a,
+ 0x00000208,0x0003003e,0x00000219,0x0000021a,0x0004003d,0x00000006,0x0000021c,0x0000020d,
+ 0x0003003e,0x0000021b,0x0000021c,0x0004003d,0x00000006,0x0000021e,0x00000212,0x0003003e,
+ 0x0000021d,0x0000021e,0x00070039,0x00000006,0x0000021f,0x00000018,0x00000219,0x0000021b,
+ 0x0000021d,0x0007000c,0x00000006,0x00000220,0x00000001,0x00000025,0x0000021f,0x0000003b,
+ 0x0007000c,0x00000006,0x00000221,0x00000001,0x00000028,0x00000218,0x00000220,0x00050041,
+ 0x00000222,0x00000223,0x00000032,0x0000008a,0x0004003d,0x00000028,0x00000224,0x00000223,
+ 0x0004007c,0x00000006,0x00000225,0x00000224,0x00050085,0x00000006,0x00000226,0x00000221,
+ 0x00000225,0x0003003e,0x00000217,0x00000226,0x0004003d,0x00000006,0x00000228,0x00000217,
+ 0x00050085,0x00000006,0x00000229,0x0000018b,0x00000228,0x00050081,0x00000006,0x0000022a,
+ 0x00000229,0x00000035,0x0003003e,0x0000022b,0x0000022a,0x00050039,0x00000006,0x0000022c,
+ 0x0000000a,0x0000022b,0x0003003e,0x00000227,0x0000022c,0x0004003d,0x00000006,0x0000022d,
+ 0x00000217,0x0004003d,0x00000006,0x0000022e,0x00000089,0x00050085,0x00000006,0x0000022f,
+ 0x0000022d,0x0000022e,0x0004003d,0x00000006,0x00000230,0x00000217,0x0004003d,0x00000006,
+ 0x00000231,0x00000095,0x00050085,0x00000006,0x00000232,0x00000230,0x00000231,0x00050081,
+ 0x00000006,0x00000233,0x0000022f,0x00000232,0x0004003d,0x00000006,0x00000234,0x00000217,
+ 0x0004003d,0x00000006,0x00000235,0x000000b0,0x00050085,0x00000006,0x00000236,0x00000234,
+ 0x00000235,0x00050081,0x00000006,0x00000237,0x00000233,0x00000236,0x0004003d,0x00000006,
+ 0x00000238,0x00000217,0x0004003d,0x00000006,0x00000239,0x000000a7,0x00050085,0x00000006,
+ 0x0000023a,0x00000238,0x00000239,0x00050081,0x00000006,0x0000023b,0x00000237,0x0000023a,
+ 0x0004003d,0x00000006,0x0000023c,0x0000009e,0x00050081,0x00000006,0x0000023d,0x0000023b,
+ 0x0000023c,0x0004003d,0x00000006,0x0000023e,0x00000227,0x00050085,0x00000006,0x0000023f,
+ 0x0000023d,0x0000023e,0x0003003e,0x0000002e,0x0000023f,0x0004003d,0x00000006,0x00000240,
+ 0x00000217,0x0004003d,0x00000006,0x00000241,0x0000008d,0x00050085,0x00000006,0x00000242,
+ 0x00000240,0x00000241,0x0004003d,0x00000006,0x00000243,0x00000217,0x0004003d,0x00000006,
+ 0x00000244,0x00000098,0x00050085,0x00000006,0x00000245,0x00000243,0x00000244,0x00050081,
+ 0x00000006,0x00000246,0x00000242,0x00000245,0x0004003d,0x00000006,0x00000247,0x00000217,
+ 0x0004003d,0x00000006,0x00000248,0x000000b3,0x00050085,0x00000006,0x00000249,0x00000247,
+ 0x00000248,0x00050081,0x00000006,0x0000024a,0x00000246,0x00000249,0x0004003d,0x00000006,
+ 0x0000024b,0x00000217,0x0004003d,0x00000006,0x0000024c,0x000000aa,0x00050085,0x00000006,
+ 0x0000024d,0x0000024b,0x0000024c,0x00050081,0x00000006,0x0000024e,0x0000024a,0x0000024d,
+ 0x0004003d,0x00000006,0x0000024f,0x000000a1,0x00050081,0x00000006,0x00000250,0x0000024e,
+ 0x0000024f,0x0004003d,0x00000006,0x00000251,0x00000227,0x00050085,0x00000006,0x00000252,
+ 0x00000250,0x00000251,0x0003003e,0x0000002f,0x00000252,0x0004003d,0x00000006,0x00000253,
+ 0x00000217,0x0004003d,0x00000006,0x00000254,0x00000091,0x00050085,0x00000006,0x00000255,
+ 0x00000253,0x00000254,0x0004003d,0x00000006,0x00000256,0x00000217,0x0004003d,0x00000006,
+ 0x00000257,0x0000009b,0x00050085,0x00000006,0x00000258,0x00000256,0x00000257,0x00050081,
+ 0x00000006,0x00000259,0x00000255,0x00000258,0x0004003d,0x00000006,0x0000025a,0x00000217,
+ 0x0004003d,0x00000006,0x0000025b,0x000000b6,0x00050085,0x00000006,0x0000025c,0x0000025a,
+ 0x0000025b,0x00050081,0x00000006,0x0000025d,0x00000259,0x0000025c,0x0004003d,0x00000006,
+ 0x0000025e,0x00000217,0x0004003d,0x00000006,0x0000025f,0x000000ad,0x00050085,0x00000006,
+ 0x00000260,0x0000025e,0x0000025f,0x00050081,0x00000006,0x00000261,0x0000025d,0x00000260,
+ 0x0004003d,0x00000006,0x00000262,0x000000a4,0x00050081,0x00000006,0x00000263,0x00000261,
+ 0x00000262,0x0004003d,0x00000006,0x00000264,0x00000227,0x00050085,0x00000006,0x00000265,
+ 0x00000263,0x00000264,0x0003003e,0x00000030,0x00000265,0x000100fd,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/fxaa.frag b/app/src/main/cpp/shaders/fxaa.frag
new file mode 100644
index 0000000000..9476117722
--- /dev/null
+++ b/app/src/main/cpp/shaders/fxaa.frag
@@ -0,0 +1,67 @@
+#version 450
+
+// =============================================================================
+// FXAA (Fast Approximate Anti-Aliasing) post effect.
+//
+// Ported verbatim from the OpenGL FXAAEffect.java shader so the Vulkan
+// compositor's post-process pipeline applies the SAME anti-aliasing the GL
+// renderer's "FXAA" toggle does. GL sampled with gl_FragCoord.xy*invResolution;
+// here fragTexCoord already spans [0,1] across the output, so it IS that uv.
+//
+// Conventions match upscale.vert: combined-image-sampler at binding 0, the
+// push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+// Runs FIRST in the canonical post chain (AA on the clean composited image).
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ vec2 resolution; // input texture size in px
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+#define FXAA_MIN_REDUCE (1.0 / 128.0)
+#define FXAA_MUL_REDUCE (1.0 / 8.0)
+#define MAX_SPAN 8.0
+const vec3 luma = vec3(0.299, 0.587, 0.114);
+
+void main() {
+ vec2 invResolution = 1.0 / pc.resolution;
+ vec2 uv = fragTexCoord;
+
+ vec3 rgbNW = texture(InputTexture, uv + vec2(-1.0, -1.0) * invResolution).rgb;
+ vec3 rgbNE = texture(InputTexture, uv + vec2( 1.0, -1.0) * invResolution).rgb;
+ vec3 rgbSW = texture(InputTexture, uv + vec2(-1.0, 1.0) * invResolution).rgb;
+ vec3 rgbSE = texture(InputTexture, uv + vec2( 1.0, 1.0) * invResolution).rgb;
+ vec3 rgbM = texture(InputTexture, uv).rgb;
+
+ float lumaNW = dot(rgbNW, luma);
+ float lumaNE = dot(rgbNE, luma);
+ float lumaSW = dot(rgbSW, luma);
+ float lumaSE = dot(rgbSE, luma);
+ float lumaM = dot(rgbM, luma);
+
+ float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));
+ float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));
+
+ vec2 dir;
+ dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));
+ dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));
+
+ float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) * 0.25 * FXAA_MUL_REDUCE, FXAA_MIN_REDUCE);
+ float minDirFactor = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);
+ dir = clamp(dir * minDirFactor, vec2(-MAX_SPAN), vec2(MAX_SPAN)) * invResolution;
+
+ vec4 rgbA = 0.5 * (
+ texture(InputTexture, uv + dir * (1.0 / 3.0 - 0.5)) +
+ texture(InputTexture, uv + dir * (2.0 / 3.0 - 0.5)));
+ vec4 rgbB = rgbA * 0.5 + 0.25 * (
+ texture(InputTexture, uv + dir * -0.5) +
+ texture(InputTexture, uv + dir * 0.5));
+
+ float lumaB = dot(rgbB, vec4(luma, 0.0));
+ outColor = (lumaB < lumaMin || lumaB > lumaMax) ? rgbA : rgbB;
+}
diff --git a/app/src/main/cpp/shaders/fxaa_toon.frag b/app/src/main/cpp/shaders/fxaa_toon.frag
new file mode 100644
index 0000000000..ee75bba04f
--- /dev/null
+++ b/app/src/main/cpp/shaders/fxaa_toon.frag
@@ -0,0 +1,69 @@
+#version 450
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc;
+ vec2 resolution;
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+#define FXAA_MIN_REDUCE (1.0 / 128.0)
+#define FXAA_MUL_REDUCE (1.0 / 8.0)
+#define MAX_SPAN 8.0
+
+const vec3 luma = vec3(0.299, 0.587, 0.114);
+
+void main() {
+ vec2 invResolution = 1.0 / pc.resolution;
+ vec2 uv = fragTexCoord;
+
+ vec3 rgbNW = texture(InputTexture, uv + vec2(-1.0, -1.0) * invResolution).rgb;
+ vec3 rgbNE = texture(InputTexture, uv + vec2( 1.0, -1.0) * invResolution).rgb;
+ vec3 rgbSW = texture(InputTexture, uv + vec2(-1.0, 1.0) * invResolution).rgb;
+ vec3 rgbSE = texture(InputTexture, uv + vec2( 1.0, 1.0) * invResolution).rgb;
+ vec3 rgbM = texture(InputTexture, uv).rgb;
+
+ float lumaNW = dot(rgbNW, luma);
+ float lumaNE = dot(rgbNE, luma);
+ float lumaSW = dot(rgbSW, luma);
+ float lumaSE = dot(rgbSE, luma);
+ float lumaM = dot(rgbM, luma);
+
+ float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));
+ float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));
+
+ vec2 dir;
+ dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));
+ dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));
+
+ float dirReduce = max(
+ (lumaNW + lumaNE + lumaSW + lumaSE) * 0.25 * FXAA_MUL_REDUCE,
+ FXAA_MIN_REDUCE);
+ float minDirFactor = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);
+ dir = clamp(dir * minDirFactor, vec2(-MAX_SPAN), vec2(MAX_SPAN)) * invResolution;
+
+ vec4 rgbA = 0.5 * (
+ texture(InputTexture, uv + dir * (1.0 / 3.0 - 0.5)) +
+ texture(InputTexture, uv + dir * (2.0 / 3.0 - 0.5)));
+ vec4 rgbB = rgbA * 0.5 + 0.25 * (
+ texture(InputTexture, uv + dir * -0.5) +
+ texture(InputTexture, uv + dir * 0.5));
+
+ vec4 fxaaColor = dot(rgbB, vec4(luma, 0.0)) < lumaMin ||
+ dot(rgbB, vec4(luma, 0.0)) > lumaMax ? rgbA : rgbB;
+
+ // Approximate Toon edges using only FXAA's existing five samples.
+ vec3 colorLeft = 0.5 * (rgbNW + rgbSW);
+ vec3 colorRight = 0.5 * (rgbNE + rgbSE);
+ vec3 colorUp = 0.5 * (rgbNW + rgbNE);
+ vec3 colorDown = 0.5 * (rgbSW + rgbSE);
+
+ float diffHorizontal = length(colorRight - colorLeft);
+ float diffVertical = length(colorUp - colorDown);
+ float edgeFactor = step(0.2, diffHorizontal + diffVertical);
+
+ outColor = vec4(mix(fxaaColor.rgb, vec3(0.0), edgeFactor), 1.0);
+}
diff --git a/app/src/main/cpp/shaders/fxaa_toon_frag.h b/app/src/main/cpp/shaders/fxaa_toon_frag.h
new file mode 100644
index 0000000000..3c8e221743
--- /dev/null
+++ b/app/src/main/cpp/shaders/fxaa_toon_frag.h
@@ -0,0 +1,202 @@
+ // 1116.3.0
+ #pragma once
+const uint32_t fxaa_toon_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x00000115,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000018,0x0000010a,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00060005,0x00000009,0x52766e69,0x6c6f7365,0x6f697475,0x0000006e,0x00030005,
+ 0x0000000c,0x00004350,0x00040006,0x0000000c,0x00000000,0x0063646e,0x00060006,0x0000000c,
+ 0x00000001,0x6f736572,0x6974756c,0x00006e6f,0x00030005,0x0000000e,0x00006370,0x00030005,
+ 0x00000016,0x00007675,0x00060005,0x00000018,0x67617266,0x43786554,0x64726f6f,0x00000000,
+ 0x00040005,0x0000001c,0x4e626772,0x00000057,0x00060005,0x00000020,0x75706e49,0x78655474,
+ 0x65727574,0x00000000,0x00040005,0x0000002a,0x4e626772,0x00000045,0x00040005,0x00000033,
+ 0x53626772,0x00000057,0x00040005,0x0000003c,0x53626772,0x00000045,0x00040005,0x00000045,
+ 0x4d626772,0x00000000,0x00040005,0x0000004b,0x616d756c,0x0000574e,0x00040005,0x00000052,
+ 0x616d756c,0x0000454e,0x00040005,0x00000055,0x616d756c,0x00005753,0x00040005,0x00000058,
+ 0x616d756c,0x00004553,0x00040005,0x0000005b,0x616d756c,0x0000004d,0x00040005,0x0000005e,
+ 0x616d756c,0x006e694d,0x00040005,0x00000068,0x616d756c,0x0078614d,0x00030005,0x00000072,
+ 0x00726964,0x00050005,0x00000087,0x52726964,0x63756465,0x00000065,0x00060005,0x00000095,
+ 0x446e696d,0x61467269,0x726f7463,0x00000000,0x00040005,0x000000ab,0x41626772,0x00000000,
+ 0x00040005,0x000000bd,0x42626772,0x00000000,0x00050005,0x000000d0,0x61617866,0x6f6c6f43,
+ 0x00000072,0x00050005,0x000000e5,0x6f6c6f63,0x66654c72,0x00000074,0x00050005,0x000000ea,
+ 0x6f6c6f63,0x67695272,0x00007468,0x00040005,0x000000ef,0x6f6c6f63,0x00705572,0x00050005,
+ 0x000000f4,0x6f6c6f63,0x776f4472,0x0000006e,0x00060005,0x000000f9,0x66666964,0x69726f48,
+ 0x746e6f7a,0x00006c61,0x00060005,0x000000fe,0x66666964,0x74726556,0x6c616369,0x00000000,
+ 0x00050005,0x00000103,0x65676465,0x74636146,0x0000726f,0x00050005,0x0000010a,0x4374756f,
+ 0x726f6c6f,0x00000000,0x00030047,0x0000000c,0x00000002,0x00050048,0x0000000c,0x00000000,
+ 0x00000023,0x00000000,0x00050048,0x0000000c,0x00000001,0x00000023,0x00000010,0x00040047,
+ 0x00000018,0x0000001e,0x00000000,0x00040047,0x00000020,0x00000021,0x00000000,0x00040047,
+ 0x00000020,0x00000022,0x00000000,0x00040047,0x0000010a,0x0000001e,0x00000000,0x00020013,
+ 0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,
+ 0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,0x00000007,0x0004002b,
+ 0x00000006,0x0000000a,0x3f800000,0x00040017,0x0000000b,0x00000006,0x00000004,0x0004001e,
+ 0x0000000c,0x0000000b,0x00000007,0x00040020,0x0000000d,0x00000009,0x0000000c,0x0004003b,
+ 0x0000000d,0x0000000e,0x00000009,0x00040015,0x0000000f,0x00000020,0x00000001,0x0004002b,
+ 0x0000000f,0x00000010,0x00000001,0x00040020,0x00000011,0x00000009,0x00000007,0x00040020,
+ 0x00000017,0x00000001,0x00000007,0x0004003b,0x00000017,0x00000018,0x00000001,0x00040017,
+ 0x0000001a,0x00000006,0x00000003,0x00040020,0x0000001b,0x00000007,0x0000001a,0x00090019,
+ 0x0000001d,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,
+ 0x0003001b,0x0000001e,0x0000001d,0x00040020,0x0000001f,0x00000000,0x0000001e,0x0004003b,
+ 0x0000001f,0x00000020,0x00000000,0x0004002b,0x00000006,0x00000023,0xbf800000,0x0005002c,
+ 0x00000007,0x00000024,0x00000023,0x00000023,0x0005002c,0x00000007,0x0000002d,0x0000000a,
+ 0x00000023,0x0005002c,0x00000007,0x00000036,0x00000023,0x0000000a,0x0005002c,0x00000007,
+ 0x0000003f,0x0000000a,0x0000000a,0x00040020,0x0000004a,0x00000007,0x00000006,0x0004002b,
+ 0x00000006,0x0000004d,0x3e991687,0x0004002b,0x00000006,0x0000004e,0x3f1645a2,0x0004002b,
+ 0x00000006,0x0000004f,0x3de978d5,0x0006002c,0x0000001a,0x00000050,0x0000004d,0x0000004e,
+ 0x0000004f,0x00040015,0x0000007b,0x00000020,0x00000000,0x0004002b,0x0000007b,0x0000007c,
+ 0x00000000,0x0004002b,0x0000007b,0x00000085,0x00000001,0x0004002b,0x00000006,0x0000008f,
+ 0x3e800000,0x0004002b,0x00000006,0x00000091,0x3e000000,0x0004002b,0x00000006,0x00000093,
+ 0x3c000000,0x0004002b,0x00000006,0x000000a3,0xc1000000,0x0005002c,0x00000007,0x000000a4,
+ 0x000000a3,0x000000a3,0x0004002b,0x00000006,0x000000a5,0x41000000,0x0005002c,0x00000007,
+ 0x000000a6,0x000000a5,0x000000a5,0x00040020,0x000000aa,0x00000007,0x0000000b,0x0004002b,
+ 0x00000006,0x000000ac,0x3f000000,0x0004002b,0x00000006,0x000000b0,0xbe2aaaab,0x0004002b,
+ 0x00000006,0x000000b7,0x3e2aaaab,0x0004002b,0x00000006,0x000000c3,0xbf000000,0x00020014,
+ 0x000000d1,0x0004002b,0x00000006,0x000000d3,0x00000000,0x0007002c,0x0000000b,0x000000d4,
+ 0x0000004d,0x0000004e,0x0000004f,0x000000d3,0x00040017,0x000000e2,0x000000d1,0x00000004,
+ 0x0004002b,0x00000006,0x00000104,0x3e4ccccd,0x00040020,0x00000109,0x00000003,0x0000000b,
+ 0x0004003b,0x00000109,0x0000010a,0x00000003,0x0006002c,0x0000001a,0x0000010d,0x000000d3,
+ 0x000000d3,0x000000d3,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,
+ 0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b,0x00000008,0x00000016,
+ 0x00000007,0x0004003b,0x0000001b,0x0000001c,0x00000007,0x0004003b,0x0000001b,0x0000002a,
+ 0x00000007,0x0004003b,0x0000001b,0x00000033,0x00000007,0x0004003b,0x0000001b,0x0000003c,
+ 0x00000007,0x0004003b,0x0000001b,0x00000045,0x00000007,0x0004003b,0x0000004a,0x0000004b,
+ 0x00000007,0x0004003b,0x0000004a,0x00000052,0x00000007,0x0004003b,0x0000004a,0x00000055,
+ 0x00000007,0x0004003b,0x0000004a,0x00000058,0x00000007,0x0004003b,0x0000004a,0x0000005b,
+ 0x00000007,0x0004003b,0x0000004a,0x0000005e,0x00000007,0x0004003b,0x0000004a,0x00000068,
+ 0x00000007,0x0004003b,0x00000008,0x00000072,0x00000007,0x0004003b,0x0000004a,0x00000087,
+ 0x00000007,0x0004003b,0x0000004a,0x00000095,0x00000007,0x0004003b,0x000000aa,0x000000ab,
+ 0x00000007,0x0004003b,0x000000aa,0x000000bd,0x00000007,0x0004003b,0x000000aa,0x000000d0,
+ 0x00000007,0x0004003b,0x0000001b,0x000000e5,0x00000007,0x0004003b,0x0000001b,0x000000ea,
+ 0x00000007,0x0004003b,0x0000001b,0x000000ef,0x00000007,0x0004003b,0x0000001b,0x000000f4,
+ 0x00000007,0x0004003b,0x0000004a,0x000000f9,0x00000007,0x0004003b,0x0000004a,0x000000fe,
+ 0x00000007,0x0004003b,0x0000004a,0x00000103,0x00000007,0x00050041,0x00000011,0x00000012,
+ 0x0000000e,0x00000010,0x0004003d,0x00000007,0x00000013,0x00000012,0x00050050,0x00000007,
+ 0x00000014,0x0000000a,0x0000000a,0x00050088,0x00000007,0x00000015,0x00000014,0x00000013,
+ 0x0003003e,0x00000009,0x00000015,0x0004003d,0x00000007,0x00000019,0x00000018,0x0003003e,
+ 0x00000016,0x00000019,0x0004003d,0x0000001e,0x00000021,0x00000020,0x0004003d,0x00000007,
+ 0x00000022,0x00000016,0x0004003d,0x00000007,0x00000025,0x00000009,0x00050085,0x00000007,
+ 0x00000026,0x00000024,0x00000025,0x00050081,0x00000007,0x00000027,0x00000022,0x00000026,
+ 0x00050057,0x0000000b,0x00000028,0x00000021,0x00000027,0x0008004f,0x0000001a,0x00000029,
+ 0x00000028,0x00000028,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000001c,0x00000029,
+ 0x0004003d,0x0000001e,0x0000002b,0x00000020,0x0004003d,0x00000007,0x0000002c,0x00000016,
+ 0x0004003d,0x00000007,0x0000002e,0x00000009,0x00050085,0x00000007,0x0000002f,0x0000002d,
+ 0x0000002e,0x00050081,0x00000007,0x00000030,0x0000002c,0x0000002f,0x00050057,0x0000000b,
+ 0x00000031,0x0000002b,0x00000030,0x0008004f,0x0000001a,0x00000032,0x00000031,0x00000031,
+ 0x00000000,0x00000001,0x00000002,0x0003003e,0x0000002a,0x00000032,0x0004003d,0x0000001e,
+ 0x00000034,0x00000020,0x0004003d,0x00000007,0x00000035,0x00000016,0x0004003d,0x00000007,
+ 0x00000037,0x00000009,0x00050085,0x00000007,0x00000038,0x00000036,0x00000037,0x00050081,
+ 0x00000007,0x00000039,0x00000035,0x00000038,0x00050057,0x0000000b,0x0000003a,0x00000034,
+ 0x00000039,0x0008004f,0x0000001a,0x0000003b,0x0000003a,0x0000003a,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x00000033,0x0000003b,0x0004003d,0x0000001e,0x0000003d,0x00000020,
+ 0x0004003d,0x00000007,0x0000003e,0x00000016,0x0004003d,0x00000007,0x00000040,0x00000009,
+ 0x00050085,0x00000007,0x00000041,0x0000003f,0x00000040,0x00050081,0x00000007,0x00000042,
+ 0x0000003e,0x00000041,0x00050057,0x0000000b,0x00000043,0x0000003d,0x00000042,0x0008004f,
+ 0x0000001a,0x00000044,0x00000043,0x00000043,0x00000000,0x00000001,0x00000002,0x0003003e,
+ 0x0000003c,0x00000044,0x0004003d,0x0000001e,0x00000046,0x00000020,0x0004003d,0x00000007,
+ 0x00000047,0x00000016,0x00050057,0x0000000b,0x00000048,0x00000046,0x00000047,0x0008004f,
+ 0x0000001a,0x00000049,0x00000048,0x00000048,0x00000000,0x00000001,0x00000002,0x0003003e,
+ 0x00000045,0x00000049,0x0004003d,0x0000001a,0x0000004c,0x0000001c,0x00050094,0x00000006,
+ 0x00000051,0x0000004c,0x00000050,0x0003003e,0x0000004b,0x00000051,0x0004003d,0x0000001a,
+ 0x00000053,0x0000002a,0x00050094,0x00000006,0x00000054,0x00000053,0x00000050,0x0003003e,
+ 0x00000052,0x00000054,0x0004003d,0x0000001a,0x00000056,0x00000033,0x00050094,0x00000006,
+ 0x00000057,0x00000056,0x00000050,0x0003003e,0x00000055,0x00000057,0x0004003d,0x0000001a,
+ 0x00000059,0x0000003c,0x00050094,0x00000006,0x0000005a,0x00000059,0x00000050,0x0003003e,
+ 0x00000058,0x0000005a,0x0004003d,0x0000001a,0x0000005c,0x00000045,0x00050094,0x00000006,
+ 0x0000005d,0x0000005c,0x00000050,0x0003003e,0x0000005b,0x0000005d,0x0004003d,0x00000006,
+ 0x0000005f,0x0000005b,0x0004003d,0x00000006,0x00000060,0x0000004b,0x0004003d,0x00000006,
+ 0x00000061,0x00000052,0x0007000c,0x00000006,0x00000062,0x00000001,0x00000025,0x00000060,
+ 0x00000061,0x0004003d,0x00000006,0x00000063,0x00000055,0x0004003d,0x00000006,0x00000064,
+ 0x00000058,0x0007000c,0x00000006,0x00000065,0x00000001,0x00000025,0x00000063,0x00000064,
+ 0x0007000c,0x00000006,0x00000066,0x00000001,0x00000025,0x00000062,0x00000065,0x0007000c,
+ 0x00000006,0x00000067,0x00000001,0x00000025,0x0000005f,0x00000066,0x0003003e,0x0000005e,
+ 0x00000067,0x0004003d,0x00000006,0x00000069,0x0000005b,0x0004003d,0x00000006,0x0000006a,
+ 0x0000004b,0x0004003d,0x00000006,0x0000006b,0x00000052,0x0007000c,0x00000006,0x0000006c,
+ 0x00000001,0x00000028,0x0000006a,0x0000006b,0x0004003d,0x00000006,0x0000006d,0x00000055,
+ 0x0004003d,0x00000006,0x0000006e,0x00000058,0x0007000c,0x00000006,0x0000006f,0x00000001,
+ 0x00000028,0x0000006d,0x0000006e,0x0007000c,0x00000006,0x00000070,0x00000001,0x00000028,
+ 0x0000006c,0x0000006f,0x0007000c,0x00000006,0x00000071,0x00000001,0x00000028,0x00000069,
+ 0x00000070,0x0003003e,0x00000068,0x00000071,0x0004003d,0x00000006,0x00000073,0x0000004b,
+ 0x0004003d,0x00000006,0x00000074,0x00000052,0x00050081,0x00000006,0x00000075,0x00000073,
+ 0x00000074,0x0004003d,0x00000006,0x00000076,0x00000055,0x0004003d,0x00000006,0x00000077,
+ 0x00000058,0x00050081,0x00000006,0x00000078,0x00000076,0x00000077,0x00050083,0x00000006,
+ 0x00000079,0x00000075,0x00000078,0x0004007f,0x00000006,0x0000007a,0x00000079,0x00050041,
+ 0x0000004a,0x0000007d,0x00000072,0x0000007c,0x0003003e,0x0000007d,0x0000007a,0x0004003d,
+ 0x00000006,0x0000007e,0x0000004b,0x0004003d,0x00000006,0x0000007f,0x00000055,0x00050081,
+ 0x00000006,0x00000080,0x0000007e,0x0000007f,0x0004003d,0x00000006,0x00000081,0x00000052,
+ 0x0004003d,0x00000006,0x00000082,0x00000058,0x00050081,0x00000006,0x00000083,0x00000081,
+ 0x00000082,0x00050083,0x00000006,0x00000084,0x00000080,0x00000083,0x00050041,0x0000004a,
+ 0x00000086,0x00000072,0x00000085,0x0003003e,0x00000086,0x00000084,0x0004003d,0x00000006,
+ 0x00000088,0x0000004b,0x0004003d,0x00000006,0x00000089,0x00000052,0x00050081,0x00000006,
+ 0x0000008a,0x00000088,0x00000089,0x0004003d,0x00000006,0x0000008b,0x00000055,0x00050081,
+ 0x00000006,0x0000008c,0x0000008a,0x0000008b,0x0004003d,0x00000006,0x0000008d,0x00000058,
+ 0x00050081,0x00000006,0x0000008e,0x0000008c,0x0000008d,0x00050085,0x00000006,0x00000090,
+ 0x0000008e,0x0000008f,0x00050085,0x00000006,0x00000092,0x00000090,0x00000091,0x0007000c,
+ 0x00000006,0x00000094,0x00000001,0x00000028,0x00000092,0x00000093,0x0003003e,0x00000087,
+ 0x00000094,0x00050041,0x0000004a,0x00000096,0x00000072,0x0000007c,0x0004003d,0x00000006,
+ 0x00000097,0x00000096,0x0006000c,0x00000006,0x00000098,0x00000001,0x00000004,0x00000097,
+ 0x00050041,0x0000004a,0x00000099,0x00000072,0x00000085,0x0004003d,0x00000006,0x0000009a,
+ 0x00000099,0x0006000c,0x00000006,0x0000009b,0x00000001,0x00000004,0x0000009a,0x0007000c,
+ 0x00000006,0x0000009c,0x00000001,0x00000025,0x00000098,0x0000009b,0x0004003d,0x00000006,
+ 0x0000009d,0x00000087,0x00050081,0x00000006,0x0000009e,0x0000009c,0x0000009d,0x00050088,
+ 0x00000006,0x0000009f,0x0000000a,0x0000009e,0x0003003e,0x00000095,0x0000009f,0x0004003d,
+ 0x00000007,0x000000a0,0x00000072,0x0004003d,0x00000006,0x000000a1,0x00000095,0x0005008e,
+ 0x00000007,0x000000a2,0x000000a0,0x000000a1,0x0008000c,0x00000007,0x000000a7,0x00000001,
+ 0x0000002b,0x000000a2,0x000000a4,0x000000a6,0x0004003d,0x00000007,0x000000a8,0x00000009,
+ 0x00050085,0x00000007,0x000000a9,0x000000a7,0x000000a8,0x0003003e,0x00000072,0x000000a9,
+ 0x0004003d,0x0000001e,0x000000ad,0x00000020,0x0004003d,0x00000007,0x000000ae,0x00000016,
+ 0x0004003d,0x00000007,0x000000af,0x00000072,0x0005008e,0x00000007,0x000000b1,0x000000af,
+ 0x000000b0,0x00050081,0x00000007,0x000000b2,0x000000ae,0x000000b1,0x00050057,0x0000000b,
+ 0x000000b3,0x000000ad,0x000000b2,0x0004003d,0x0000001e,0x000000b4,0x00000020,0x0004003d,
+ 0x00000007,0x000000b5,0x00000016,0x0004003d,0x00000007,0x000000b6,0x00000072,0x0005008e,
+ 0x00000007,0x000000b8,0x000000b6,0x000000b7,0x00050081,0x00000007,0x000000b9,0x000000b5,
+ 0x000000b8,0x00050057,0x0000000b,0x000000ba,0x000000b4,0x000000b9,0x00050081,0x0000000b,
+ 0x000000bb,0x000000b3,0x000000ba,0x0005008e,0x0000000b,0x000000bc,0x000000bb,0x000000ac,
+ 0x0003003e,0x000000ab,0x000000bc,0x0004003d,0x0000000b,0x000000be,0x000000ab,0x0005008e,
+ 0x0000000b,0x000000bf,0x000000be,0x000000ac,0x0004003d,0x0000001e,0x000000c0,0x00000020,
+ 0x0004003d,0x00000007,0x000000c1,0x00000016,0x0004003d,0x00000007,0x000000c2,0x00000072,
+ 0x0005008e,0x00000007,0x000000c4,0x000000c2,0x000000c3,0x00050081,0x00000007,0x000000c5,
+ 0x000000c1,0x000000c4,0x00050057,0x0000000b,0x000000c6,0x000000c0,0x000000c5,0x0004003d,
+ 0x0000001e,0x000000c7,0x00000020,0x0004003d,0x00000007,0x000000c8,0x00000016,0x0004003d,
+ 0x00000007,0x000000c9,0x00000072,0x0005008e,0x00000007,0x000000ca,0x000000c9,0x000000ac,
+ 0x00050081,0x00000007,0x000000cb,0x000000c8,0x000000ca,0x00050057,0x0000000b,0x000000cc,
+ 0x000000c7,0x000000cb,0x00050081,0x0000000b,0x000000cd,0x000000c6,0x000000cc,0x0005008e,
+ 0x0000000b,0x000000ce,0x000000cd,0x0000008f,0x00050081,0x0000000b,0x000000cf,0x000000bf,
+ 0x000000ce,0x0003003e,0x000000bd,0x000000cf,0x0004003d,0x0000000b,0x000000d2,0x000000bd,
+ 0x00050094,0x00000006,0x000000d5,0x000000d2,0x000000d4,0x0004003d,0x00000006,0x000000d6,
+ 0x0000005e,0x000500b8,0x000000d1,0x000000d7,0x000000d5,0x000000d6,0x000400a8,0x000000d1,
+ 0x000000d8,0x000000d7,0x000300f7,0x000000da,0x00000000,0x000400fa,0x000000d8,0x000000d9,
+ 0x000000da,0x000200f8,0x000000d9,0x0004003d,0x0000000b,0x000000db,0x000000bd,0x00050094,
+ 0x00000006,0x000000dc,0x000000db,0x000000d4,0x0004003d,0x00000006,0x000000dd,0x00000068,
+ 0x000500ba,0x000000d1,0x000000de,0x000000dc,0x000000dd,0x000200f9,0x000000da,0x000200f8,
+ 0x000000da,0x000700f5,0x000000d1,0x000000df,0x000000d7,0x00000005,0x000000de,0x000000d9,
+ 0x0004003d,0x0000000b,0x000000e0,0x000000ab,0x0004003d,0x0000000b,0x000000e1,0x000000bd,
+ 0x00070050,0x000000e2,0x000000e3,0x000000df,0x000000df,0x000000df,0x000000df,0x000600a9,
+ 0x0000000b,0x000000e4,0x000000e3,0x000000e0,0x000000e1,0x0003003e,0x000000d0,0x000000e4,
+ 0x0004003d,0x0000001a,0x000000e6,0x0000001c,0x0004003d,0x0000001a,0x000000e7,0x00000033,
+ 0x00050081,0x0000001a,0x000000e8,0x000000e6,0x000000e7,0x0005008e,0x0000001a,0x000000e9,
+ 0x000000e8,0x000000ac,0x0003003e,0x000000e5,0x000000e9,0x0004003d,0x0000001a,0x000000eb,
+ 0x0000002a,0x0004003d,0x0000001a,0x000000ec,0x0000003c,0x00050081,0x0000001a,0x000000ed,
+ 0x000000eb,0x000000ec,0x0005008e,0x0000001a,0x000000ee,0x000000ed,0x000000ac,0x0003003e,
+ 0x000000ea,0x000000ee,0x0004003d,0x0000001a,0x000000f0,0x0000001c,0x0004003d,0x0000001a,
+ 0x000000f1,0x0000002a,0x00050081,0x0000001a,0x000000f2,0x000000f0,0x000000f1,0x0005008e,
+ 0x0000001a,0x000000f3,0x000000f2,0x000000ac,0x0003003e,0x000000ef,0x000000f3,0x0004003d,
+ 0x0000001a,0x000000f5,0x00000033,0x0004003d,0x0000001a,0x000000f6,0x0000003c,0x00050081,
+ 0x0000001a,0x000000f7,0x000000f5,0x000000f6,0x0005008e,0x0000001a,0x000000f8,0x000000f7,
+ 0x000000ac,0x0003003e,0x000000f4,0x000000f8,0x0004003d,0x0000001a,0x000000fa,0x000000ea,
+ 0x0004003d,0x0000001a,0x000000fb,0x000000e5,0x00050083,0x0000001a,0x000000fc,0x000000fa,
+ 0x000000fb,0x0006000c,0x00000006,0x000000fd,0x00000001,0x00000042,0x000000fc,0x0003003e,
+ 0x000000f9,0x000000fd,0x0004003d,0x0000001a,0x000000ff,0x000000ef,0x0004003d,0x0000001a,
+ 0x00000100,0x000000f4,0x00050083,0x0000001a,0x00000101,0x000000ff,0x00000100,0x0006000c,
+ 0x00000006,0x00000102,0x00000001,0x00000042,0x00000101,0x0003003e,0x000000fe,0x00000102,
+ 0x0004003d,0x00000006,0x00000105,0x000000f9,0x0004003d,0x00000006,0x00000106,0x000000fe,
+ 0x00050081,0x00000006,0x00000107,0x00000105,0x00000106,0x0007000c,0x00000006,0x00000108,
+ 0x00000001,0x00000030,0x00000104,0x00000107,0x0003003e,0x00000103,0x00000108,0x0004003d,
+ 0x0000000b,0x0000010b,0x000000d0,0x0008004f,0x0000001a,0x0000010c,0x0000010b,0x0000010b,
+ 0x00000000,0x00000001,0x00000002,0x0004003d,0x00000006,0x0000010e,0x00000103,0x00060050,
+ 0x0000001a,0x0000010f,0x0000010e,0x0000010e,0x0000010e,0x0008000c,0x0000001a,0x00000110,
+ 0x00000001,0x0000002e,0x0000010c,0x0000010d,0x0000010f,0x00050051,0x00000006,0x00000111,
+ 0x00000110,0x00000000,0x00050051,0x00000006,0x00000112,0x00000110,0x00000001,0x00050051,
+ 0x00000006,0x00000113,0x00000110,0x00000002,0x00070050,0x0000000b,0x00000114,0x00000111,
+ 0x00000112,0x00000113,0x0000000a,0x0003003e,0x0000010a,0x00000114,0x000100fd,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/gen_shaders.sh b/app/src/main/cpp/shaders/gen_shaders.sh
new file mode 100755
index 0000000000..8c583544e3
--- /dev/null
+++ b/app/src/main/cpp/shaders/gen_shaders.sh
@@ -0,0 +1,77 @@
+#!/usr/bin/env bash
+# =============================================================================
+# Regenerate the committed SPIR-V headers (*_frag.h / *_vert.h) for the native
+# Vulkan compositor's post-process shaders.
+#
+# The Android NDK build does NOT compile GLSL; instead every *.frag / *.vert in
+# this directory is pre-compiled to a SPIR-V uint32 array header that is #included
+# by VulkanRendererContext.cpp. Run this whenever you edit a shader, then commit
+# the regenerated *.h alongside the *.frag/*.vert source.
+#
+# Requires glslangValidator on PATH (e.g. the Vulkan SDK or the termux package).
+#
+# Usage: ./gen_shaders.sh # regenerate all shaders
+# ./gen_shaders.sh nis crt # regenerate only the named shaders
+#
+# The upscalers and CAS also get a half-precision build: the same source with
+# -DDD_HALF=1 -> _half_frag.h (array _half_code). The compositors
+# pick the plain or the half set at start-up (debug.droiddeck.upscale.shaders).
+# Names in HALF_ONLY are built half only.
+# =============================================================================
+set -euo pipefail
+
+cd "$(dirname "$0")"
+
+if ! command -v glslangValidator >/dev/null 2>&1; then
+ echo "error: glslangValidator not found on PATH" >&2
+ exit 1
+fi
+
+HALF=(sgsr sgsr_quality fsr_easu fsr_rcas cas_ffx nis_luma nis3)
+HALF_ONLY=(cas_ffx nis_luma nis3)
+
+in_list() {
+ local x="$1"; shift
+ for y in "$@"; do [ "$x" = "$y" ] && return 0; done
+ return 1
+}
+
+gen() {
+ local src="$1" # e.g. nis.frag
+ local base="${src%.*}" # nis
+ local ext="${src##*.}" # frag | vert
+ if ! in_list "${base}" "${HALF_ONLY[@]}"; then
+ local vn="${base}_code"
+ if [ "$ext" = "vert" ]; then
+ vn="${base}_vert_code"
+ fi
+ local out="${base}_${ext}.h"
+ echo " ${src} -> ${out} (--vn ${vn})"
+ glslangValidator -V "${src}" --vn "${vn}" -o "${out}"
+ fi
+ if in_list "${base}" "${HALF[@]}"; then
+ local hvn="${base}_half_code"
+ local hout="${base}_half_${ext}.h"
+ echo " ${src} -> ${hout} (--vn ${hvn}, -DDD_HALF=1)"
+ glslangValidator -V -DDD_HALF=1 "${src}" --vn "${hvn}" -o "${hout}"
+ fi
+}
+
+shaders=()
+if [ "$#" -gt 0 ]; then
+ for name in "$@"; do
+ for f in "${name}.frag" "${name}.vert"; do
+ [ -f "$f" ] && shaders+=("$f")
+ done
+ done
+else
+ for f in *.frag *.vert; do
+ [ -f "$f" ] && shaders+=("$f")
+ done
+fi
+
+for s in "${shaders[@]}"; do
+ gen "$s"
+done
+
+echo "done."
diff --git a/app/src/main/cpp/shaders/hdr.frag b/app/src/main/cpp/shaders/hdr.frag
new file mode 100644
index 0000000000..3a24ce392d
--- /dev/null
+++ b/app/src/main/cpp/shaders/hdr.frag
@@ -0,0 +1,64 @@
+#version 450
+
+// =============================================================================
+// Fake-HDR (dual-radius bloom + contrast lift) post effect.
+//
+// Ported from the OpenGL HDREffect.java shader so the Vulkan compositor's
+// post-process pipeline applies the SAME fake-HDR the GL renderer's "HDR"
+// toggle does. Binary on/off; HDRPower fixed at 1.30. Composable: runs at any
+// resolution, after the optional scaling and CAS passes.
+//
+// Conventions match upscale.vert: combined-image-sampler at binding 0, the
+// push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ vec2 resolution; // input texture size in pixels
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+const float HDRPower = 1.30;
+const float radius1 = 0.793;
+const float radius2 = 0.870;
+
+void main() {
+ vec2 texcoord = fragTexCoord;
+ vec2 px = 1.0 / pc.resolution;
+
+ vec3 color = texture(InputTexture, texcoord).rgb;
+
+ // --- BLOOM PASS 1 (radius1) ---
+ vec3 bloom_sum1 = texture(InputTexture, texcoord + vec2( 1.5, -1.5) * radius1 * px).rgb;
+ bloom_sum1 += texture(InputTexture, texcoord + vec2(-1.5, -1.5) * radius1 * px).rgb;
+ bloom_sum1 += texture(InputTexture, texcoord + vec2( 1.5, 1.5) * radius1 * px).rgb;
+ bloom_sum1 += texture(InputTexture, texcoord + vec2(-1.5, 1.5) * radius1 * px).rgb;
+ bloom_sum1 += texture(InputTexture, texcoord + vec2( 0.0, -2.5) * radius1 * px).rgb;
+ bloom_sum1 += texture(InputTexture, texcoord + vec2( 0.0, 2.5) * radius1 * px).rgb;
+ bloom_sum1 += texture(InputTexture, texcoord + vec2(-2.5, 0.0) * radius1 * px).rgb;
+ bloom_sum1 += texture(InputTexture, texcoord + vec2( 2.5, 0.0) * radius1 * px).rgb;
+ bloom_sum1 *= 0.005;
+
+ // --- BLOOM PASS 2 (radius2) ---
+ vec3 bloom_sum2 = texture(InputTexture, texcoord + vec2( 1.5, -1.5) * radius2 * px).rgb;
+ bloom_sum2 += texture(InputTexture, texcoord + vec2(-1.5, -1.5) * radius2 * px).rgb;
+ bloom_sum2 += texture(InputTexture, texcoord + vec2( 1.5, 1.5) * radius2 * px).rgb;
+ bloom_sum2 += texture(InputTexture, texcoord + vec2(-1.5, 1.5) * radius2 * px).rgb;
+ bloom_sum2 += texture(InputTexture, texcoord + vec2( 0.0, -2.5) * radius2 * px).rgb;
+ bloom_sum2 += texture(InputTexture, texcoord + vec2( 0.0, 2.5) * radius2 * px).rgb;
+ bloom_sum2 += texture(InputTexture, texcoord + vec2(-2.5, 0.0) * radius2 * px).rgb;
+ bloom_sum2 += texture(InputTexture, texcoord + vec2( 2.5, 0.0) * radius2 * px).rgb;
+ bloom_sum2 *= 0.010;
+
+ // --- FAKE HDR ---
+ float dist = radius2 - radius1;
+ vec3 HDR = (color + (bloom_sum2 - bloom_sum1)) * dist;
+ vec3 blend = HDR + color;
+ color = pow(abs(blend), vec3(abs(HDRPower))) + HDR;
+
+ outColor = vec4(clamp(color, 0.0, 1.0), 1.0);
+}
diff --git a/app/src/main/cpp/shaders/nis.frag b/app/src/main/cpp/shaders/nis.frag
new file mode 100644
index 0000000000..025fa4f251
--- /dev/null
+++ b/app/src/main/cpp/shaders/nis.frag
@@ -0,0 +1,458 @@
+#version 450
+
+// =============================================================================
+// NVIDIA Image Scaling (NIS) - NVScaler spatial upscaler + adaptive sharpen.
+//
+// Ported from NVIDIA's reference NVScaler:
+// NVIDIAGameWorks/NVIDIAImageScaling NIS/NIS_Scaler.h (+ NIS_Config.h)
+//
+// The MIT License (MIT)
+// Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+// Adapted for the Winlator native Vulkan compositor:
+// - #version 450 (Vulkan GLSL), single-pass FRAGMENT shader (the reference is
+// an LDS-tiled compute shader). The block/LDS cooperative tile loads are
+// replaced with direct per-fragment texture() fetches of the 6x6 luma
+// support, and the edge map is computed inline from that support. The math
+// (edge detection + 6-tap directional scale/USM blend) is the reference's.
+// - The kPhaseCount x 6 scaler/USM coefficient banks (coef_scale, coef_usm,
+// fp32 path) are BAKED below as const arrays - no second descriptor binding
+// (the post dsLayout has ONE sampler at binding 0 shared by all pipelines).
+// - Config-UBO reads are replaced by push constants + baked SDR constants; the
+// sharpness-derived params are recomputed in-shader exactly as
+// NVScalerUpdateConfig does, driven by the existing "Sharpness" slider.
+// - fp32 only (NOT the fp16/bit-packed NIS_USE_HALF_PRECISION path) so there
+// are no bitwise/bvec ops - Adreno-compile-safe.
+// - HDR mode = None (SDR). The whole compositor chain is R8G8B8A8_UNORM and
+// values are display(gamma)-encoded here, matching NIS LDR expectations.
+// - Reuses upscale.vert: fragTexCoord spans [0,1] across the destination rect
+// (= normalised output position). With kScaleX = inputW/outputW, the source
+// sample position reduces to srcX = fragTexCoord.x*inputW - 0.5 (so the
+// output viewport origin/size cancel out and are never needed here).
+//
+// Conventions match sgsr.frag / cas.frag: combined-image-sampler at binding 0,
+// push-constant block leads with vec4 ndc (offset 0, consumed by upscale.vert),
+// then ViewportInfo (xy = 1/inputSize texel size, zw = inputSize px) + sharpness.
+// =============================================================================
+
+// DD_HALF is set for the *_half_frag.h build (gen_shaders.sh): colour and
+// weight maths in mediump (RelaxedPrecision, 16-bit on Adreno) as NVIDIA's
+// NIS_USE_HALF_PRECISION path (pixels, weights, coefficient tables); positions and texture coordinates stay highp.
+#ifdef DD_HALF
+precision mediump float;
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ highp vec4 ViewportInfo; // xy = 1/inputSize (texel size), zw = inputSize in pixels
+ float sharpness; // "Sharpness" slider mapped to [0..1] (NIS sharpness)
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+// ---- SDR (HDR mode None) constants, from NVScalerUpdateConfig -----------------
+const float kDetectRatio = 2.0 * 1127.0 / 1024.0; // 2.201171875
+const float kDetectThres = 64.0 / 1024.0; // 0.0625
+const float kMinContrastRatio = 2.0;
+const float kMaxContrastRatio = 10.0;
+const float kRatioNorm = 1.0 / (kMaxContrastRatio - kMinContrastRatio); // 0.125
+const float kContrastBoost = 1.0;
+const float kEps = 1.0 / 255.0;
+const float kSharpStartY = 0.45;
+const float kSharpEndY = 0.9;
+const float kSharpScaleY = 1.0 / (kSharpEndY - kSharpStartY); // 2.222...
+const int kPhaseCount = 64;
+
+// Sharpness-derived params (recomputed in main from pc.sharpness, read here).
+float gSharpStrengthMin;
+float gSharpStrengthScale;
+float gSharpLimitMin;
+float gSharpLimitScale;
+
+const float coefScale[384] = float[384](
+ 0.0, 0.0, 1.0000, 0.0, 0.0, 0.0, // phase 0
+ 0.0029, -0.0127, 1.0000, 0.0132, -0.0034, 0.0, // phase 1
+ 0.0063, -0.0249, 0.9985, 0.0269, -0.0068, 0.0, // phase 2
+ 0.0088, -0.0361, 0.9956, 0.0415, -0.0103, 0.0005, // phase 3
+ 0.0117, -0.0474, 0.9932, 0.0562, -0.0142, 0.0005, // phase 4
+ 0.0142, -0.0576, 0.9897, 0.0713, -0.0181, 0.0005, // phase 5
+ 0.0166, -0.0674, 0.9844, 0.0874, -0.0220, 0.0010, // phase 6
+ 0.0186, -0.0762, 0.9785, 0.1040, -0.0264, 0.0015, // phase 7
+ 0.0205, -0.0850, 0.9727, 0.1206, -0.0308, 0.0020, // phase 8
+ 0.0225, -0.0928, 0.9648, 0.1382, -0.0352, 0.0024, // phase 9
+ 0.0239, -0.1006, 0.9575, 0.1558, -0.0396, 0.0029, // phase 10
+ 0.0254, -0.1074, 0.9487, 0.1738, -0.0439, 0.0034, // phase 11
+ 0.0264, -0.1138, 0.9390, 0.1929, -0.0488, 0.0044, // phase 12
+ 0.0278, -0.1191, 0.9282, 0.2119, -0.0537, 0.0049, // phase 13
+ 0.0288, -0.1245, 0.9170, 0.2310, -0.0581, 0.0059, // phase 14
+ 0.0293, -0.1294, 0.9058, 0.2510, -0.0630, 0.0063, // phase 15
+ 0.0303, -0.1333, 0.8926, 0.2710, -0.0679, 0.0073, // phase 16
+ 0.0308, -0.1367, 0.8789, 0.2915, -0.0728, 0.0083, // phase 17
+ 0.0308, -0.1401, 0.8657, 0.3120, -0.0776, 0.0093, // phase 18
+ 0.0313, -0.1426, 0.8506, 0.3330, -0.0825, 0.0103, // phase 19
+ 0.0313, -0.1445, 0.8354, 0.3540, -0.0874, 0.0112, // phase 20
+ 0.0313, -0.1460, 0.8193, 0.3755, -0.0923, 0.0122, // phase 21
+ 0.0313, -0.1470, 0.8022, 0.3965, -0.0967, 0.0137, // phase 22
+ 0.0308, -0.1479, 0.7856, 0.4185, -0.1016, 0.0146, // phase 23
+ 0.0303, -0.1479, 0.7681, 0.4399, -0.1060, 0.0156, // phase 24
+ 0.0298, -0.1479, 0.7505, 0.4614, -0.1104, 0.0166, // phase 25
+ 0.0293, -0.1470, 0.7314, 0.4829, -0.1147, 0.0181, // phase 26
+ 0.0288, -0.1460, 0.7119, 0.5049, -0.1187, 0.0190, // phase 27
+ 0.0278, -0.1445, 0.6929, 0.5264, -0.1226, 0.0200, // phase 28
+ 0.0273, -0.1431, 0.6724, 0.5479, -0.1260, 0.0215, // phase 29
+ 0.0264, -0.1411, 0.6528, 0.5693, -0.1299, 0.0225, // phase 30
+ 0.0254, -0.1387, 0.6323, 0.5903, -0.1328, 0.0234, // phase 31
+ 0.0244, -0.1357, 0.6113, 0.6113, -0.1357, 0.0244, // phase 32
+ 0.0234, -0.1328, 0.5903, 0.6323, -0.1387, 0.0254, // phase 33
+ 0.0225, -0.1299, 0.5693, 0.6528, -0.1411, 0.0264, // phase 34
+ 0.0215, -0.1260, 0.5479, 0.6724, -0.1431, 0.0273, // phase 35
+ 0.0200, -0.1226, 0.5264, 0.6929, -0.1445, 0.0278, // phase 36
+ 0.0190, -0.1187, 0.5049, 0.7119, -0.1460, 0.0288, // phase 37
+ 0.0181, -0.1147, 0.4829, 0.7314, -0.1470, 0.0293, // phase 38
+ 0.0166, -0.1104, 0.4614, 0.7505, -0.1479, 0.0298, // phase 39
+ 0.0156, -0.1060, 0.4399, 0.7681, -0.1479, 0.0303, // phase 40
+ 0.0146, -0.1016, 0.4185, 0.7856, -0.1479, 0.0308, // phase 41
+ 0.0137, -0.0967, 0.3965, 0.8022, -0.1470, 0.0313, // phase 42
+ 0.0122, -0.0923, 0.3755, 0.8193, -0.1460, 0.0313, // phase 43
+ 0.0112, -0.0874, 0.3540, 0.8354, -0.1445, 0.0313, // phase 44
+ 0.0103, -0.0825, 0.3330, 0.8506, -0.1426, 0.0313, // phase 45
+ 0.0093, -0.0776, 0.3120, 0.8657, -0.1401, 0.0308, // phase 46
+ 0.0083, -0.0728, 0.2915, 0.8789, -0.1367, 0.0308, // phase 47
+ 0.0073, -0.0679, 0.2710, 0.8926, -0.1333, 0.0303, // phase 48
+ 0.0063, -0.0630, 0.2510, 0.9058, -0.1294, 0.0293, // phase 49
+ 0.0059, -0.0581, 0.2310, 0.9170, -0.1245, 0.0288, // phase 50
+ 0.0049, -0.0537, 0.2119, 0.9282, -0.1191, 0.0278, // phase 51
+ 0.0044, -0.0488, 0.1929, 0.9390, -0.1138, 0.0264, // phase 52
+ 0.0034, -0.0439, 0.1738, 0.9487, -0.1074, 0.0254, // phase 53
+ 0.0029, -0.0396, 0.1558, 0.9575, -0.1006, 0.0239, // phase 54
+ 0.0024, -0.0352, 0.1382, 0.9648, -0.0928, 0.0225, // phase 55
+ 0.0020, -0.0308, 0.1206, 0.9727, -0.0850, 0.0205, // phase 56
+ 0.0015, -0.0264, 0.1040, 0.9785, -0.0762, 0.0186, // phase 57
+ 0.0010, -0.0220, 0.0874, 0.9844, -0.0674, 0.0166, // phase 58
+ 0.0005, -0.0181, 0.0713, 0.9897, -0.0576, 0.0142, // phase 59
+ 0.0005, -0.0142, 0.0562, 0.9932, -0.0474, 0.0117, // phase 60
+ 0.0005, -0.0103, 0.0415, 0.9956, -0.0361, 0.0088, // phase 61
+ 0.0, -0.0068, 0.0269, 0.9985, -0.0249, 0.0063, // phase 62
+ 0.0, -0.0034, 0.0132, 1.0000, -0.0127, 0.0029 // phase 63
+);
+
+const float coefUsm[384] = float[384](
+ 0.0, -0.6001, 1.2002, -0.6001, 0.0, 0.0, // phase 0
+ 0.0029, -0.6084, 1.1987, -0.5903, -0.0029, 0.0, // phase 1
+ 0.0049, -0.6147, 1.1958, -0.5791, -0.0068, 0.0005, // phase 2
+ 0.0073, -0.6196, 1.1890, -0.5659, -0.0103, 0.0, // phase 3
+ 0.0093, -0.6235, 1.1802, -0.5513, -0.0151, 0.0, // phase 4
+ 0.0112, -0.6265, 1.1699, -0.5352, -0.0195, 0.0005, // phase 5
+ 0.0122, -0.6270, 1.1582, -0.5181, -0.0259, 0.0005, // phase 6
+ 0.0142, -0.6284, 1.1455, -0.5005, -0.0317, 0.0005, // phase 7
+ 0.0156, -0.6265, 1.1274, -0.4790, -0.0386, 0.0005, // phase 8
+ 0.0166, -0.6235, 1.1089, -0.4570, -0.0454, 0.0010, // phase 9
+ 0.0176, -0.6187, 1.0879, -0.4346, -0.0532, 0.0010, // phase 10
+ 0.0181, -0.6138, 1.0659, -0.4102, -0.0615, 0.0015, // phase 11
+ 0.0190, -0.6069, 1.0405, -0.3843, -0.0698, 0.0015, // phase 12
+ 0.0195, -0.6006, 1.0161, -0.3574, -0.0796, 0.0020, // phase 13
+ 0.0200, -0.5928, 0.9893, -0.3286, -0.0898, 0.0024, // phase 14
+ 0.0200, -0.5820, 0.9580, -0.2988, -0.1001, 0.0029, // phase 15
+ 0.0200, -0.5728, 0.9292, -0.2690, -0.1104, 0.0034, // phase 16
+ 0.0200, -0.5620, 0.8975, -0.2368, -0.1226, 0.0039, // phase 17
+ 0.0205, -0.5498, 0.8643, -0.2046, -0.1343, 0.0044, // phase 18
+ 0.0200, -0.5371, 0.8301, -0.1709, -0.1465, 0.0049, // phase 19
+ 0.0195, -0.5239, 0.7944, -0.1367, -0.1587, 0.0054, // phase 20
+ 0.0195, -0.5107, 0.7598, -0.1021, -0.1724, 0.0059, // phase 21
+ 0.0190, -0.4966, 0.7231, -0.0649, -0.1865, 0.0063, // phase 22
+ 0.0186, -0.4819, 0.6846, -0.0288, -0.1997, 0.0068, // phase 23
+ 0.0186, -0.4668, 0.6460, 0.0093, -0.2144, 0.0073, // phase 24
+ 0.0176, -0.4507, 0.6055, 0.0479, -0.2290, 0.0083, // phase 25
+ 0.0171, -0.4370, 0.5693, 0.0859, -0.2446, 0.0088, // phase 26
+ 0.0161, -0.4199, 0.5283, 0.1255, -0.2598, 0.0098, // phase 27
+ 0.0161, -0.4048, 0.4883, 0.1655, -0.2754, 0.0103, // phase 28
+ 0.0151, -0.3887, 0.4497, 0.2041, -0.2910, 0.0107, // phase 29
+ 0.0142, -0.3711, 0.4072, 0.2446, -0.3066, 0.0117, // phase 30
+ 0.0137, -0.3555, 0.3672, 0.2852, -0.3228, 0.0122, // phase 31
+ 0.0132, -0.3394, 0.3262, 0.3262, -0.3394, 0.0132, // phase 32
+ 0.0122, -0.3228, 0.2852, 0.3672, -0.3555, 0.0137, // phase 33
+ 0.0117, -0.3066, 0.2446, 0.4072, -0.3711, 0.0142, // phase 34
+ 0.0107, -0.2910, 0.2041, 0.4497, -0.3887, 0.0151, // phase 35
+ 0.0103, -0.2754, 0.1655, 0.4883, -0.4048, 0.0161, // phase 36
+ 0.0098, -0.2598, 0.1255, 0.5283, -0.4199, 0.0161, // phase 37
+ 0.0088, -0.2446, 0.0859, 0.5693, -0.4370, 0.0171, // phase 38
+ 0.0083, -0.2290, 0.0479, 0.6055, -0.4507, 0.0176, // phase 39
+ 0.0073, -0.2144, 0.0093, 0.6460, -0.4668, 0.0186, // phase 40
+ 0.0068, -0.1997, -0.0288, 0.6846, -0.4819, 0.0186, // phase 41
+ 0.0063, -0.1865, -0.0649, 0.7231, -0.4966, 0.0190, // phase 42
+ 0.0059, -0.1724, -0.1021, 0.7598, -0.5107, 0.0195, // phase 43
+ 0.0054, -0.1587, -0.1367, 0.7944, -0.5239, 0.0195, // phase 44
+ 0.0049, -0.1465, -0.1709, 0.8301, -0.5371, 0.0200, // phase 45
+ 0.0044, -0.1343, -0.2046, 0.8643, -0.5498, 0.0205, // phase 46
+ 0.0039, -0.1226, -0.2368, 0.8975, -0.5620, 0.0200, // phase 47
+ 0.0034, -0.1104, -0.2690, 0.9292, -0.5728, 0.0200, // phase 48
+ 0.0029, -0.1001, -0.2988, 0.9580, -0.5820, 0.0200, // phase 49
+ 0.0024, -0.0898, -0.3286, 0.9893, -0.5928, 0.0200, // phase 50
+ 0.0020, -0.0796, -0.3574, 1.0161, -0.6006, 0.0195, // phase 51
+ 0.0015, -0.0698, -0.3843, 1.0405, -0.6069, 0.0190, // phase 52
+ 0.0015, -0.0615, -0.4102, 1.0659, -0.6138, 0.0181, // phase 53
+ 0.0010, -0.0532, -0.4346, 1.0879, -0.6187, 0.0176, // phase 54
+ 0.0010, -0.0454, -0.4570, 1.1089, -0.6235, 0.0166, // phase 55
+ 0.0005, -0.0386, -0.4790, 1.1274, -0.6265, 0.0156, // phase 56
+ 0.0005, -0.0317, -0.5005, 1.1455, -0.6284, 0.0142, // phase 57
+ 0.0005, -0.0259, -0.5181, 1.1582, -0.6270, 0.0122, // phase 58
+ 0.0005, -0.0195, -0.5352, 1.1699, -0.6265, 0.0112, // phase 59
+ 0.0, -0.0151, -0.5513, 1.1802, -0.6235, 0.0093, // phase 60
+ 0.0, -0.0103, -0.5659, 1.1890, -0.6196, 0.0073, // phase 61
+ 0.0005, -0.0068, -0.5791, 1.1958, -0.6147, 0.0049, // phase 62
+ 0.0, -0.0029, -0.5903, 1.1987, -0.6084, 0.0029 // phase 63
+);
+
+float getY(vec3 rgb) {
+ return dot(rgb, vec3(0.2126, 0.7152, 0.0722));
+}
+
+// GetEdgeMap on a 3x3 luma window (pRC: R=row 0=top, C=col 0=left).
+vec4 edgeAt(float p00, float p01, float p02,
+ float p10, float p11, float p12,
+ float p20, float p21, float p22) {
+ float g_0 = abs(p00 + p01 + p02 - p20 - p21 - p22);
+ float g_45 = abs(p10 + p00 + p01 - p21 - p22 - p12);
+ float g_90 = abs(p00 + p10 + p20 - p02 - p12 - p22);
+ float g_135 = abs(p10 + p20 + p21 - p01 - p02 - p12);
+
+ float g_0_90_max = max(g_0, g_90);
+ float g_0_90_min = min(g_0, g_90);
+ float g_45_135_max = max(g_45, g_135);
+ float g_45_135_min = min(g_45, g_135);
+
+ if (g_0_90_max + g_45_135_max == 0.0) {
+ return vec4(0.0);
+ }
+
+ float e_0_90 = g_0_90_max / (g_0_90_max + g_45_135_max);
+ float e_45_135 = 1.0 - e_0_90;
+
+ bool c_0_90 = (g_0_90_max > (g_0_90_min * kDetectRatio)) && (g_0_90_max > kDetectThres) && (g_0_90_max > g_45_135_min);
+ bool c_45_135 = (g_45_135_max > (g_45_135_min * kDetectRatio)) && (g_45_135_max > kDetectThres) && (g_45_135_max > g_0_90_min);
+ bool c_g_0_90 = (g_0_90_max == g_0);
+ bool c_g_45_135= (g_45_135_max == g_45);
+
+ float f_e_0_90 = (c_0_90 && c_45_135) ? e_0_90 : 1.0;
+ float f_e_45_135 = (c_0_90 && c_45_135) ? e_45_135 : 1.0;
+
+ float w0 = (c_0_90 && c_g_0_90) ? f_e_0_90 : 0.0;
+ float w90 = (c_0_90 && !c_g_0_90) ? f_e_0_90 : 0.0;
+ float w45 = (c_45_135 && c_g_45_135) ? f_e_45_135 : 0.0;
+ float w135 = (c_45_135 && !c_g_45_135)? f_e_45_135 : 0.0;
+
+ return vec4(w0, w90, w45, w135);
+}
+
+vec4 getInterpEdgeMap(vec4 e00, vec4 e01, vec4 e10, vec4 e11, float fx, float fy) {
+ vec4 h0 = mix(e00, e01, fx);
+ vec4 h1 = mix(e10, e11, fx);
+ return mix(h0, h1, fy);
+}
+
+float calcLTI(float p0, float p1, float p2, float p3, float p4, float p5, int phase_index) {
+ bool selector = (phase_index <= kPhaseCount / 2);
+ float sel = selector ? p0 : p3;
+ float a_min = min(min(p1, p2), sel);
+ float a_max = max(max(p1, p2), sel);
+ sel = selector ? p2 : p5;
+ float b_min = min(min(p3, p4), sel);
+ float b_max = max(max(p3, p4), sel);
+
+ float a_cont = a_max - a_min;
+ float b_cont = b_max - b_min;
+
+ float cont_ratio = max(a_cont, b_cont) / (min(a_cont, b_cont) + kEps);
+ return (1.0 - clamp((cont_ratio - kMinContrastRatio) * kRatioNorm, 0.0, 1.0)) * kContrastBoost;
+}
+
+float evalPoly6(float pxl[6], int phase_int) {
+ phase_int = clamp(phase_int, 0, 63);
+ float y = 0.0;
+ float y_usm = 0.0;
+ for (int i = 0; i < 6; ++i) {
+ y += coefScale[phase_int * 6 + i] * pxl[i];
+ y_usm += coefUsm[phase_int * 6 + i] * pxl[i];
+ }
+
+ // piece-wise ramp based on luma (NIS_SCALE_FLOAT == 1)
+ float y_scale = 1.0 - clamp((y - kSharpStartY) * kSharpScaleY, 0.0, 1.0);
+ float y_sharpness = y_scale * gSharpStrengthScale + gSharpStrengthMin;
+ y_usm *= y_sharpness;
+
+ float y_sharpness_limit = (y_scale * gSharpLimitScale + gSharpLimitMin) * y;
+ y_usm = min(y_sharpness_limit, max(-y_sharpness_limit, y_usm));
+ y_usm *= calcLTI(pxl[0], pxl[1], pxl[2], pxl[3], pxl[4], pxl[5], phase_int);
+
+ return y + y_usm;
+}
+
+float filterNormal(float p[6][6], int phase_x_int, int phase_y_int) {
+ phase_x_int = clamp(phase_x_int, 0, 63);
+ phase_y_int = clamp(phase_y_int, 0, 63);
+ float h_acc = 0.0;
+ for (int j = 0; j < 6; ++j) {
+ float v_acc = 0.0;
+ for (int i = 0; i < 6; ++i) {
+ v_acc += p[i][j] * coefScale[phase_y_int * 6 + i];
+ }
+ h_acc += v_acc * coefScale[phase_x_int * 6 + j];
+ }
+ return h_acc;
+}
+
+float addDirFilters(float p[6][6], float phase_x_frac, float phase_y_frac,
+ int phase_x_frac_int, int phase_y_frac_int, vec4 w) {
+ float f = 0.0;
+ if (w.x > 0.0) {
+ // 0 deg filter
+ float interp0Deg[6];
+ for (int i = 0; i < 6; ++i) {
+ interp0Deg[i] = mix(p[i][2], p[i][3], phase_x_frac);
+ }
+ f += evalPoly6(interp0Deg, phase_y_frac_int) * w.x;
+ }
+ if (w.y > 0.0) {
+ // 90 deg filter
+ float interp90Deg[6];
+ for (int i = 0; i < 6; ++i) {
+ interp90Deg[i] = mix(p[2][i], p[3][i], phase_y_frac);
+ }
+ f += evalPoly6(interp90Deg, phase_x_frac_int) * w.y;
+ }
+ if (w.z > 0.0) {
+ // 45 deg filter
+ float pphase_b45 = 0.5 + 0.5 * (phase_x_frac - phase_y_frac);
+
+ float temp_interp45Deg[7];
+ temp_interp45Deg[1] = mix(p[2][1], p[1][2], pphase_b45);
+ temp_interp45Deg[3] = mix(p[3][2], p[2][3], pphase_b45);
+ temp_interp45Deg[5] = mix(p[4][3], p[3][4], pphase_b45);
+ {
+ pphase_b45 = pphase_b45 - 0.5;
+ float a = (pphase_b45 >= 0.0) ? p[0][2] : p[2][0];
+ float b = (pphase_b45 >= 0.0) ? p[1][3] : p[3][1];
+ float c = (pphase_b45 >= 0.0) ? p[2][4] : p[4][2];
+ float d = (pphase_b45 >= 0.0) ? p[3][5] : p[5][3];
+ temp_interp45Deg[0] = mix(p[1][1], a, abs(pphase_b45));
+ temp_interp45Deg[2] = mix(p[2][2], b, abs(pphase_b45));
+ temp_interp45Deg[4] = mix(p[3][3], c, abs(pphase_b45));
+ temp_interp45Deg[6] = mix(p[4][4], d, abs(pphase_b45));
+ }
+
+ float interp45Deg[6];
+ float pphase_p45 = phase_x_frac + phase_y_frac;
+ if (pphase_p45 >= 1.0) {
+ for (int i = 0; i < 6; ++i) {
+ interp45Deg[i] = temp_interp45Deg[i + 1];
+ }
+ pphase_p45 = pphase_p45 - 1.0;
+ } else {
+ for (int i = 0; i < 6; ++i) {
+ interp45Deg[i] = temp_interp45Deg[i];
+ }
+ }
+
+ f += evalPoly6(interp45Deg, int(pphase_p45 * 64.0)) * w.z;
+ }
+ if (w.w > 0.0) {
+ // 135 deg filter
+ float pphase_b135 = 0.5 * (phase_x_frac + phase_y_frac);
+
+ float temp_interp135Deg[7];
+ temp_interp135Deg[1] = mix(p[3][1], p[4][2], pphase_b135);
+ temp_interp135Deg[3] = mix(p[2][2], p[3][3], pphase_b135);
+ temp_interp135Deg[5] = mix(p[1][3], p[2][4], pphase_b135);
+ {
+ pphase_b135 = pphase_b135 - 0.5;
+ float a = (pphase_b135 >= 0.0) ? p[5][2] : p[3][0];
+ float b = (pphase_b135 >= 0.0) ? p[4][3] : p[2][1];
+ float c = (pphase_b135 >= 0.0) ? p[3][4] : p[1][2];
+ float d = (pphase_b135 >= 0.0) ? p[2][5] : p[0][3];
+ temp_interp135Deg[0] = mix(p[4][1], a, abs(pphase_b135));
+ temp_interp135Deg[2] = mix(p[3][2], b, abs(pphase_b135));
+ temp_interp135Deg[4] = mix(p[2][3], c, abs(pphase_b135));
+ temp_interp135Deg[6] = mix(p[1][4], d, abs(pphase_b135));
+ }
+
+ float interp135Deg[6];
+ float pphase_p135 = 1.0 + (phase_x_frac - phase_y_frac);
+ if (pphase_p135 >= 1.0) {
+ for (int i = 0; i < 6; ++i) {
+ interp135Deg[i] = temp_interp135Deg[i + 1];
+ }
+ pphase_p135 = pphase_p135 - 1.0;
+ } else {
+ for (int i = 0; i < 6; ++i) {
+ interp135Deg[i] = temp_interp135Deg[i];
+ }
+ }
+
+ f += evalPoly6(interp135Deg, int(pphase_p135 * 64.0)) * w.w;
+ }
+ return f;
+}
+
+void main() {
+ // Sharpness-derived params - mirror NVScalerUpdateConfig (SDR path).
+ float sharpness = clamp(pc.sharpness, 0.0, 1.0);
+ float sharpen_slider = sharpness - 0.5;
+ float MaxScale = (sharpen_slider >= 0.0) ? 1.25 : 1.75;
+ float MinScale = (sharpen_slider >= 0.0) ? 1.25 : 1.0;
+ float LimitScale = MinScale;
+
+ gSharpStrengthMin = max(0.0, 0.4 + sharpen_slider * MinScale * 1.2);
+ float sharpStrengthMax = 1.6 + sharpen_slider * MaxScale * 1.8;
+ gSharpStrengthScale = sharpStrengthMax - gSharpStrengthMin;
+ gSharpLimitMin = max(0.1, 0.14 + sharpen_slider * LimitScale * 0.32);
+ float sharpLimitMax = 0.5 + sharpen_slider * LimitScale * 0.6;
+ gSharpLimitScale = sharpLimitMax - gSharpLimitMin;
+
+ highp vec2 inSize = pc.ViewportInfo.zw;
+ highp vec2 invIn = pc.ViewportInfo.xy;
+
+ // Source sample position in input-pixel space (output viewport cancels out).
+ highp float srcX = fragTexCoord.x * inSize.x - 0.5;
+ highp float srcY = fragTexCoord.y * inSize.y - 0.5;
+ highp float fsx = floor(srcX);
+ highp float fsy = floor(srcY);
+ highp float fx = srcX - fsx;
+ highp float fy = srcY - fsy;
+ int fx_int = int(fx * float(kPhaseCount));
+ int fy_int = int(fy * float(kPhaseCount));
+
+ // 6x6 luma support: p[i][j] = luma at source texel (fsx + j - 2, fsy + i - 2).
+ float p[6][6];
+ for (int i = 0; i < 6; ++i) {
+ for (int j = 0; j < 6; ++j) {
+ highp vec2 tc = (vec2(fsx + float(j) - 2.0, fsy + float(i) - 2.0) + 0.5) * invIn;
+ p[i][j] = getY(textureLod(InputTexture, tc, 0.0).rgb);
+ }
+ }
+
+ // 2x2 edge map around the source pixel (3x3 luma window per corner).
+ vec4 e00 = edgeAt(p[1][1], p[1][2], p[1][3], p[2][1], p[2][2], p[2][3], p[3][1], p[3][2], p[3][3]);
+ vec4 e01 = edgeAt(p[1][2], p[1][3], p[1][4], p[2][2], p[2][3], p[2][4], p[3][2], p[3][3], p[3][4]);
+ vec4 e10 = edgeAt(p[2][1], p[2][2], p[2][3], p[3][1], p[3][2], p[3][3], p[4][1], p[4][2], p[4][3]);
+ vec4 e11 = edgeAt(p[2][2], p[2][3], p[2][4], p[3][2], p[3][3], p[3][4], p[4][2], p[4][3], p[4][4]);
+ vec4 w = getInterpEdgeMap(e00, e01, e10, e11, fx, fy); // * NIS_SCALE_INT (==1)
+
+ float baseWeight = 1.0 - w.x - w.y - w.z - w.w; // NIS_SCALE_FLOAT - sum
+ float opY = filterNormal(p, fx_int, fy_int) * baseWeight;
+ opY += addDirFilters(p, fx, fy, fx_int, fy_int, w);
+
+ // Bilinear color tap (coord reduces to fragTexCoord) + luma correction.
+ vec4 op = texture(InputTexture, fragTexCoord);
+ float y = getY(op.rgb);
+ float corr = opY - y; // * (1/NIS_SCALE_FLOAT) == 1
+ op.rgb += vec3(corr);
+
+ outColor = vec4(clamp(op.rgb, 0.0, 1.0), 1.0);
+}
diff --git a/app/src/main/cpp/shaders/nis3.frag b/app/src/main/cpp/shaders/nis3.frag
new file mode 100644
index 0000000000..4439f7a413
--- /dev/null
+++ b/app/src/main/cpp/shaders/nis3.frag
@@ -0,0 +1,357 @@
+#version 450
+
+// =============================================================================
+// nis3.frag (feat/nis-rewrite): nis.frag's NVScaler maths with
+// - the 6x6 luma support read from the nis_luma.frag prepass (luma in alpha)
+// by 9 textureGather calls instead of 36 textureLod + getY per pixel;
+// - the two coefficient banks in a uniform buffer (set 1, nis_coef.h) instead
+// of const arrays: indexed by the per-pixel phase, the 384-entry const arrays
+// were copied into a per-pixel variable before every lookup (glslang
+// OpStore %indexable), several times per pixel.
+// Edge maps and filter maths are nis.frag's. Built half only (nis3_half_frag.h);
+// the old set keeps nis.frag.
+// =============================================================================
+
+// =============================================================================
+// NVIDIA Image Scaling (NIS) - NVScaler spatial upscaler + adaptive sharpen.
+//
+// Ported from NVIDIA's reference NVScaler:
+// NVIDIAGameWorks/NVIDIAImageScaling NIS/NIS_Scaler.h (+ NIS_Config.h)
+//
+// The MIT License (MIT)
+// Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+// Adapted for the Winlator native Vulkan compositor:
+// - #version 450 (Vulkan GLSL), single-pass FRAGMENT shader (the reference is
+// an LDS-tiled compute shader). The block/LDS cooperative tile loads are
+// replaced with direct per-fragment texture() fetches of the 6x6 luma
+// support, and the edge map is computed inline from that support. The math
+// (edge detection + 6-tap directional scale/USM blend) is the reference's.
+// - The kPhaseCount x 6 scaler/USM coefficient banks (coef_scale, coef_usm,
+// fp32 path) are BAKED below as const arrays - no second descriptor binding
+// (the post dsLayout has ONE sampler at binding 0 shared by all pipelines).
+// - Config-UBO reads are replaced by push constants + baked SDR constants; the
+// sharpness-derived params are recomputed in-shader exactly as
+// NVScalerUpdateConfig does, driven by the existing "Sharpness" slider.
+// - fp32 only (NOT the fp16/bit-packed NIS_USE_HALF_PRECISION path) so there
+// are no bitwise/bvec ops - Adreno-compile-safe.
+// - HDR mode = None (SDR). The whole compositor chain is R8G8B8A8_UNORM and
+// values are display(gamma)-encoded here, matching NIS LDR expectations.
+// - Reuses upscale.vert: fragTexCoord spans [0,1] across the destination rect
+// (= normalised output position). With kScaleX = inputW/outputW, the source
+// sample position reduces to srcX = fragTexCoord.x*inputW - 0.5 (so the
+// output viewport origin/size cancel out and are never needed here).
+//
+// Conventions match sgsr.frag / cas.frag: combined-image-sampler at binding 0,
+// push-constant block leads with vec4 ndc (offset 0, consumed by upscale.vert),
+// then ViewportInfo (xy = 1/inputSize texel size, zw = inputSize px) + sharpness.
+// =============================================================================
+
+// DD_HALF is set for the *_half_frag.h build (gen_shaders.sh): colour and
+// weight maths in mediump (RelaxedPrecision, 16-bit on Adreno) as NVIDIA's
+// NIS_USE_HALF_PRECISION path (pixels, weights, coefficient tables); positions and texture coordinates stay highp.
+#ifdef DD_HALF
+precision mediump float;
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ highp vec4 ViewportInfo; // xy = 1/inputSize (texel size), zw = inputSize in pixels
+ float sharpness; // "Sharpness" slider mapped to [0..1] (NIS sharpness)
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+// ---- SDR (HDR mode None) constants, from NVScalerUpdateConfig -----------------
+const float kDetectRatio = 2.0 * 1127.0 / 1024.0; // 2.201171875
+const float kDetectThres = 64.0 / 1024.0; // 0.0625
+const float kMinContrastRatio = 2.0;
+const float kMaxContrastRatio = 10.0;
+const float kRatioNorm = 1.0 / (kMaxContrastRatio - kMinContrastRatio); // 0.125
+const float kContrastBoost = 1.0;
+const float kEps = 1.0 / 255.0;
+const float kSharpStartY = 0.45;
+const float kSharpEndY = 0.9;
+const float kSharpScaleY = 1.0 / (kSharpEndY - kSharpStartY); // 2.222...
+const int kPhaseCount = 64;
+
+// Sharpness-derived params (recomputed in main from pc.sharpness, read here).
+float gSharpStrengthMin;
+float gSharpStrengthScale;
+float gSharpLimitMin;
+float gSharpLimitScale;
+
+// NVIDIA NIS coef_scale / coef_usm (64 phases x 6 taps, the values nis.frag bakes), filled by the
+// compositor from nis_coef.h: two vec4 per phase (taps 0-3, taps 4-5 + 2 zeros), std140.
+layout(std140, set = 1, binding = 0) uniform NisCoef {
+ vec4 scale[128];
+ vec4 usm[128];
+} nisCoef;
+
+float getY(vec3 rgb) {
+ return 0.2126 * rgb.x + 0.7152 * rgb.y + 0.0722 * rgb.z;
+}
+
+// GetEdgeMap on a 3x3 luma window (pRC: R=row 0=top, C=col 0=left).
+vec4 edgeAt(float p00, float p01, float p02,
+ float p10, float p11, float p12,
+ float p20, float p21, float p22) {
+ float g_0 = abs(p00 + p01 + p02 - p20 - p21 - p22);
+ float g_45 = abs(p10 + p00 + p01 - p21 - p22 - p12);
+ float g_90 = abs(p00 + p10 + p20 - p02 - p12 - p22);
+ float g_135 = abs(p10 + p20 + p21 - p01 - p02 - p12);
+
+ float g_0_90_max = max(g_0, g_90);
+ float g_0_90_min = min(g_0, g_90);
+ float g_45_135_max = max(g_45, g_135);
+ float g_45_135_min = min(g_45, g_135);
+
+ if (g_0_90_max + g_45_135_max == 0.0) {
+ return vec4(0.0);
+ }
+
+ float e_0_90 = min(g_0_90_max / (g_0_90_max + g_45_135_max), 1.0);
+ float e_45_135 = 1.0 - e_0_90;
+
+ bool c_0_90 = (g_0_90_max > (g_0_90_min * kDetectRatio)) && (g_0_90_max > kDetectThres) && (g_0_90_max > g_45_135_min);
+ bool c_45_135 = (g_45_135_max > (g_45_135_min * kDetectRatio)) && (g_45_135_max > kDetectThres) && (g_45_135_max > g_0_90_min);
+ bool c_g_0_90 = (g_0_90_max == g_0);
+ bool c_g_45_135= (g_45_135_max == g_45);
+
+ float f_e_0_90 = (c_0_90 && c_45_135) ? e_0_90 : 1.0;
+ float f_e_45_135 = (c_0_90 && c_45_135) ? e_45_135 : 1.0;
+
+ float w0 = (c_0_90 && c_g_0_90) ? f_e_0_90 : 0.0;
+ float w90 = (c_0_90 && !c_g_0_90) ? f_e_0_90 : 0.0;
+ float w45 = (c_45_135 && c_g_45_135) ? f_e_45_135 : 0.0;
+ float w135 = (c_45_135 && !c_g_45_135)? f_e_45_135 : 0.0;
+
+ return vec4(w0, w90, w45, w135);
+}
+
+vec4 getInterpEdgeMap(vec4 e00, vec4 e01, vec4 e10, vec4 e11, float fx, float fy) {
+ vec4 h0 = mix(e00, e01, fx);
+ vec4 h1 = mix(e10, e11, fx);
+ return mix(h0, h1, fy);
+}
+
+float calcLTI(float p0, float p1, float p2, float p3, float p4, float p5, int phase_index) {
+ bool selector = (phase_index <= kPhaseCount / 2);
+ float sel = selector ? p0 : p3;
+ float a_min = min(min(p1, p2), sel);
+ float a_max = max(max(p1, p2), sel);
+ sel = selector ? p2 : p5;
+ float b_min = min(min(p3, p4), sel);
+ float b_max = max(max(p3, p4), sel);
+
+ float a_cont = a_max - a_min;
+ float b_cont = b_max - b_min;
+
+ float cont_ratio = max(a_cont, b_cont) / (min(a_cont, b_cont) + kEps);
+ return (1.0 - clamp((cont_ratio - kMinContrastRatio) * kRatioNorm, 0.0, 1.0)) * kContrastBoost;
+}
+
+float evalPoly6(float pxl[6], int phase_int) {
+ phase_int = clamp(phase_int, 0, 63);
+ vec4 s0 = nisCoef.scale[phase_int * 2], s1 = nisCoef.scale[phase_int * 2 + 1];
+ vec4 u0 = nisCoef.usm[phase_int * 2], u1 = nisCoef.usm[phase_int * 2 + 1];
+ float y = 0.0;
+ y += s0.x * pxl[0]; y += s0.y * pxl[1]; y += s0.z * pxl[2];
+ y += s0.w * pxl[3]; y += s1.x * pxl[4]; y += s1.y * pxl[5];
+ float y_usm = 0.0;
+ y_usm += u0.x * pxl[0]; y_usm += u0.y * pxl[1]; y_usm += u0.z * pxl[2];
+ y_usm += u0.w * pxl[3]; y_usm += u1.x * pxl[4]; y_usm += u1.y * pxl[5];
+
+ // piece-wise ramp based on luma (NIS_SCALE_FLOAT == 1)
+ float y_scale = 1.0 - clamp((y - kSharpStartY) * kSharpScaleY, 0.0, 1.0);
+ float y_sharpness = y_scale * gSharpStrengthScale + gSharpStrengthMin;
+ y_usm *= y_sharpness;
+
+ float y_sharpness_limit = (y_scale * gSharpLimitScale + gSharpLimitMin) * y;
+ y_usm = min(y_sharpness_limit, max(-y_sharpness_limit, y_usm));
+ y_usm *= calcLTI(pxl[0], pxl[1], pxl[2], pxl[3], pxl[4], pxl[5], phase_int);
+
+ return y + y_usm;
+}
+
+float filterNormal(float p[6][6], int phase_x_int, int phase_y_int) {
+ phase_x_int = clamp(phase_x_int, 0, 63);
+ phase_y_int = clamp(phase_y_int, 0, 63);
+ vec4 y0 = nisCoef.scale[phase_y_int * 2], y1 = nisCoef.scale[phase_y_int * 2 + 1];
+ vec4 x0 = nisCoef.scale[phase_x_int * 2], x1 = nisCoef.scale[phase_x_int * 2 + 1];
+ float cy[6] = float[6](y0.x, y0.y, y0.z, y0.w, y1.x, y1.y);
+ float cx[6] = float[6](x0.x, x0.y, x0.z, x0.w, x1.x, x1.y);
+ float h_acc = 0.0;
+ for (int j = 0; j < 6; ++j) {
+ float v_acc = 0.0;
+ for (int i = 0; i < 6; ++i) {
+ v_acc += p[i][j] * cy[i];
+ }
+ h_acc += v_acc * cx[j];
+ }
+ return h_acc;
+}
+
+float addDirFilters(float p[6][6], float phase_x_frac, float phase_y_frac,
+ int phase_x_frac_int, int phase_y_frac_int, vec4 w) {
+ float f = 0.0;
+ if (w.x > 0.0) {
+ // 0 deg filter
+ float interp0Deg[6];
+ for (int i = 0; i < 6; ++i) {
+ interp0Deg[i] = mix(p[i][2], p[i][3], phase_x_frac);
+ }
+ f += evalPoly6(interp0Deg, phase_y_frac_int) * w.x;
+ }
+ if (w.y > 0.0) {
+ // 90 deg filter
+ float interp90Deg[6];
+ for (int i = 0; i < 6; ++i) {
+ interp90Deg[i] = mix(p[2][i], p[3][i], phase_y_frac);
+ }
+ f += evalPoly6(interp90Deg, phase_x_frac_int) * w.y;
+ }
+ if (w.z > 0.0) {
+ // 45 deg filter
+ float pphase_b45 = 0.5 + 0.5 * (phase_x_frac - phase_y_frac);
+
+ float temp_interp45Deg[7];
+ temp_interp45Deg[1] = mix(p[2][1], p[1][2], pphase_b45);
+ temp_interp45Deg[3] = mix(p[3][2], p[2][3], pphase_b45);
+ temp_interp45Deg[5] = mix(p[4][3], p[3][4], pphase_b45);
+ {
+ pphase_b45 = pphase_b45 - 0.5;
+ float a = (pphase_b45 >= 0.0) ? p[0][2] : p[2][0];
+ float b = (pphase_b45 >= 0.0) ? p[1][3] : p[3][1];
+ float c = (pphase_b45 >= 0.0) ? p[2][4] : p[4][2];
+ float d = (pphase_b45 >= 0.0) ? p[3][5] : p[5][3];
+ temp_interp45Deg[0] = mix(p[1][1], a, abs(pphase_b45));
+ temp_interp45Deg[2] = mix(p[2][2], b, abs(pphase_b45));
+ temp_interp45Deg[4] = mix(p[3][3], c, abs(pphase_b45));
+ temp_interp45Deg[6] = mix(p[4][4], d, abs(pphase_b45));
+ }
+
+ float interp45Deg[6];
+ float pphase_p45 = phase_x_frac + phase_y_frac;
+ if (pphase_p45 >= 1.0) {
+ for (int i = 0; i < 6; ++i) {
+ interp45Deg[i] = temp_interp45Deg[i + 1];
+ }
+ pphase_p45 = pphase_p45 - 1.0;
+ } else {
+ for (int i = 0; i < 6; ++i) {
+ interp45Deg[i] = temp_interp45Deg[i];
+ }
+ }
+
+ f += evalPoly6(interp45Deg, int(pphase_p45 * 64.0)) * w.z;
+ }
+ if (w.w > 0.0) {
+ // 135 deg filter
+ float pphase_b135 = 0.5 * (phase_x_frac + phase_y_frac);
+
+ float temp_interp135Deg[7];
+ temp_interp135Deg[1] = mix(p[3][1], p[4][2], pphase_b135);
+ temp_interp135Deg[3] = mix(p[2][2], p[3][3], pphase_b135);
+ temp_interp135Deg[5] = mix(p[1][3], p[2][4], pphase_b135);
+ {
+ pphase_b135 = pphase_b135 - 0.5;
+ float a = (pphase_b135 >= 0.0) ? p[5][2] : p[3][0];
+ float b = (pphase_b135 >= 0.0) ? p[4][3] : p[2][1];
+ float c = (pphase_b135 >= 0.0) ? p[3][4] : p[1][2];
+ float d = (pphase_b135 >= 0.0) ? p[2][5] : p[0][3];
+ temp_interp135Deg[0] = mix(p[4][1], a, abs(pphase_b135));
+ temp_interp135Deg[2] = mix(p[3][2], b, abs(pphase_b135));
+ temp_interp135Deg[4] = mix(p[2][3], c, abs(pphase_b135));
+ temp_interp135Deg[6] = mix(p[1][4], d, abs(pphase_b135));
+ }
+
+ float interp135Deg[6];
+ float pphase_p135 = 1.0 + (phase_x_frac - phase_y_frac);
+ if (pphase_p135 >= 1.0) {
+ for (int i = 0; i < 6; ++i) {
+ interp135Deg[i] = temp_interp135Deg[i + 1];
+ }
+ pphase_p135 = pphase_p135 - 1.0;
+ } else {
+ for (int i = 0; i < 6; ++i) {
+ interp135Deg[i] = temp_interp135Deg[i];
+ }
+ }
+
+ f += evalPoly6(interp135Deg, int(pphase_p135 * 64.0)) * w.w;
+ }
+ return f;
+}
+
+void main() {
+ // Sharpness-derived params - mirror NVScalerUpdateConfig (SDR path).
+ float sharpness = clamp(pc.sharpness, 0.0, 1.0);
+ float sharpen_slider = sharpness - 0.5;
+ float MaxScale = (sharpen_slider >= 0.0) ? 1.25 : 1.75;
+ float MinScale = (sharpen_slider >= 0.0) ? 1.25 : 1.0;
+ float LimitScale = (sharpen_slider >= 0.0) ? 1.25 : 1.0;
+
+ gSharpStrengthMin = max(0.0, 0.4 + sharpen_slider * MinScale * 1.2);
+ float sharpStrengthMax = 1.6 + sharpen_slider * MaxScale * 1.8;
+ gSharpStrengthScale = sharpStrengthMax - gSharpStrengthMin;
+ gSharpLimitMin = max(0.1, 0.14 + sharpen_slider * LimitScale * 0.32);
+ float sharpLimitMax = 0.5 + sharpen_slider * LimitScale * 0.6;
+ gSharpLimitScale = sharpLimitMax - gSharpLimitMin;
+
+ highp vec2 inSize = pc.ViewportInfo.zw;
+ highp vec2 invIn = pc.ViewportInfo.xy;
+
+ // Source sample position in input-pixel space (output viewport cancels out).
+ highp float srcX = fragTexCoord.x * inSize.x - 0.5;
+ highp float srcY = fragTexCoord.y * inSize.y - 0.5;
+ highp float fsx = floor(srcX);
+ highp float fsy = floor(srcY);
+ highp float fx = srcX - fsx;
+ highp float fy = srcY - fsy;
+ int fx_int = int(fx * float(kPhaseCount));
+ int fy_int = int(fy * float(kPhaseCount));
+
+ // 6x6 luma support: p[i][j] = luma at source texel (fsx + j - 2, fsy + i - 2), from the
+ // prepass alpha. A gather at the shared corner of texels (x, y)..(x + 1, y + 1) returns
+ // .w = (x, y), .z = (x + 1, y), .x = (x, y + 1), .y = (x + 1, y + 1); block (bi, bj) starts
+ // at x = fsx - 2 + 2 bj, y = fsy - 2 + 2 bi, so its corner is (fsx + 2 bj - 1, fsy + 2 bi - 1).
+ // Clamp-to-edge clamps each gathered texel like the per-texel fetches did.
+ float p[6][6];
+ for (int bi = 0; bi < 3; ++bi) {
+ for (int bj = 0; bj < 3; ++bj) {
+ highp vec2 tc = vec2(fsx + float(2 * bj - 1), fsy + float(2 * bi - 1)) * invIn;
+ vec4 g = textureGather(InputTexture, tc, 3);
+ p[2 * bi][2 * bj] = g.w;
+ p[2 * bi][2 * bj + 1] = g.z;
+ p[2 * bi + 1][2 * bj] = g.x;
+ p[2 * bi + 1][2 * bj + 1] = g.y;
+ }
+ }
+
+ // 2x2 edge map around the source pixel (3x3 luma window per corner).
+ vec4 e00 = edgeAt(p[1][1], p[1][2], p[1][3], p[2][1], p[2][2], p[2][3], p[3][1], p[3][2], p[3][3]);
+ vec4 e01 = edgeAt(p[1][2], p[1][3], p[1][4], p[2][2], p[2][3], p[2][4], p[3][2], p[3][3], p[3][4]);
+ vec4 e10 = edgeAt(p[2][1], p[2][2], p[2][3], p[3][1], p[3][2], p[3][3], p[4][1], p[4][2], p[4][3]);
+ vec4 e11 = edgeAt(p[2][2], p[2][3], p[2][4], p[3][2], p[3][3], p[3][4], p[4][2], p[4][3], p[4][4]);
+ vec4 w = getInterpEdgeMap(e00, e01, e10, e11, fx, fy); // * NIS_SCALE_INT (==1)
+
+ float baseWeight = 1.0 - w.x - w.y - w.z - w.w; // NIS_SCALE_FLOAT - sum
+ float opY = filterNormal(p, fx_int, fy_int) * baseWeight;
+ opY += addDirFilters(p, fx, fy, fx_int, fy_int, w);
+
+ // Bilinear color tap from the prepass rgb (= the game image) + luma correction.
+ vec4 op = texture(InputTexture, fragTexCoord);
+ float y = getY(op.rgb);
+ float corr = opY - y; // * (1/NIS_SCALE_FLOAT) == 1
+ op.rgb += vec3(corr);
+
+ outColor = vec4(clamp(op.rgb, 0.0, 1.0), 1.0);
+}
diff --git a/app/src/main/cpp/shaders/nis3_half_frag.h b/app/src/main/cpp/shaders/nis3_half_frag.h
new file mode 100644
index 0000000000..7603498099
--- /dev/null
+++ b/app/src/main/cpp/shaders/nis3_half_frag.h
@@ -0,0 +1,1364 @@
+ // 1116.2.0
+ #pragma once
+const uint32_t nis3_half_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x000005a2,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000462,0x00000595,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00050005,0x0000000b,0x59746567,0x33667628,0x0000003b,0x00030005,0x0000000a,
+ 0x00626772,0x000b0005,0x00000019,0x65676465,0x66287441,0x31663b31,0x3b31663b,0x663b3166,
+ 0x31663b31,0x3b31663b,0x663b3166,0x00003b31,0x00030005,0x00000010,0x00303070,0x00030005,
+ 0x00000011,0x00313070,0x00030005,0x00000012,0x00323070,0x00030005,0x00000013,0x00303170,
+ 0x00030005,0x00000014,0x00313170,0x00030005,0x00000015,0x00323170,0x00030005,0x00000016,
+ 0x00303270,0x00030005,0x00000017,0x00313270,0x00030005,0x00000018,0x00323270,0x000c0005,
+ 0x00000023,0x49746567,0x7265746e,0x67644570,0x70614d65,0x34667628,0x3466763b,0x3466763b,
+ 0x3466763b,0x3b31663b,0x003b3166,0x00030005,0x0000001d,0x00303065,0x00030005,0x0000001e,
+ 0x00313065,0x00030005,0x0000001f,0x00303165,0x00030005,0x00000020,0x00313165,0x00030005,
+ 0x00000021,0x00007866,0x00030005,0x00000022,0x00007966,0x000a0005,0x0000002f,0x636c6163,
+ 0x2849544c,0x663b3166,0x31663b31,0x3b31663b,0x663b3166,0x31693b31,0x0000003b,0x00030005,
+ 0x00000028,0x00003070,0x00030005,0x00000029,0x00003170,0x00030005,0x0000002a,0x00003270,
+ 0x00030005,0x0000002b,0x00003370,0x00030005,0x0000002c,0x00003470,0x00030005,0x0000002d,
+ 0x00003570,0x00050005,0x0000002e,0x73616870,0x6e695f65,0x00786564,0x00070005,0x00000038,
+ 0x6c617665,0x796c6f50,0x31662836,0x3b5d365b,0x003b3169,0x00030005,0x00000036,0x006c7870,
+ 0x00050005,0x00000037,0x73616870,0x6e695f65,0x00000074,0x000a0005,0x00000040,0x746c6966,
+ 0x6f4e7265,0x6c616d72,0x5b316628,0x365b5d36,0x31693b5d,0x3b31693b,0x00000000,0x00030005,
+ 0x0000003d,0x00000070,0x00050005,0x0000003e,0x73616870,0x5f785f65,0x00746e69,0x00050005,
+ 0x0000003f,0x73616870,0x5f795f65,0x00746e69,0x000c0005,0x00000049,0x44646461,0x69467269,
+ 0x7265746c,0x31662873,0x5b5d365b,0x663b5d36,0x31663b31,0x3b31693b,0x763b3169,0x003b3466,
+ 0x00030005,0x00000043,0x00000070,0x00060005,0x00000044,0x73616870,0x5f785f65,0x63617266,
+ 0x00000000,0x00060005,0x00000045,0x73616870,0x5f795f65,0x63617266,0x00000000,0x00070005,
+ 0x00000046,0x73616870,0x5f785f65,0x63617266,0x746e695f,0x00000000,0x00070005,0x00000047,
+ 0x73616870,0x5f795f65,0x63617266,0x746e695f,0x00000000,0x00030005,0x00000048,0x00000077,
+ 0x00030005,0x0000005e,0x00305f67,0x00040005,0x0000006b,0x35345f67,0x00000000,0x00040005,
+ 0x00000078,0x30395f67,0x00000000,0x00040005,0x00000085,0x33315f67,0x00000035,0x00050005,
+ 0x00000092,0x5f305f67,0x6d5f3039,0x00007861,0x00050005,0x00000096,0x5f305f67,0x6d5f3039,
+ 0x00006e69,0x00060005,0x0000009a,0x35345f67,0x3533315f,0x78616d5f,0x00000000,0x00060005,
+ 0x0000009e,0x35345f67,0x3533315f,0x6e696d5f,0x00000000,0x00040005,0x000000ac,0x5f305f65,
+ 0x00003039,0x00050005,0x000000b4,0x35345f65,0x3533315f,0x00000000,0x00040005,0x000000b8,
+ 0x5f305f63,0x00003039,0x00050005,0x000000c6,0x35345f63,0x3533315f,0x00000000,0x00050005,
+ 0x000000d2,0x5f675f63,0x30395f30,0x00000000,0x00050005,0x000000d6,0x5f675f63,0x315f3534,
+ 0x00003533,0x00050005,0x000000da,0x5f655f66,0x30395f30,0x00000000,0x00050005,0x000000e0,
+ 0x5f655f66,0x315f3534,0x00003533,0x00030005,0x000000e6,0x00003077,0x00030005,0x000000ec,
+ 0x00303977,0x00030005,0x000000f3,0x00353477,0x00040005,0x000000f9,0x35333177,0x00000000,
+ 0x00030005,0x00000107,0x00003068,0x00030005,0x0000010d,0x00003168,0x00050005,0x0000011a,
+ 0x656c6573,0x726f7463,0x00000000,0x00030005,0x0000011e,0x006c6573,0x00040005,0x00000123,
+ 0x696d5f61,0x0000006e,0x00040005,0x00000129,0x616d5f61,0x00000078,0x00040005,0x00000133,
+ 0x696d5f62,0x0000006e,0x00040005,0x00000139,0x616d5f62,0x00000078,0x00040005,0x0000013f,
+ 0x6f635f61,0x0000746e,0x00040005,0x00000143,0x6f635f62,0x0000746e,0x00050005,0x00000147,
+ 0x746e6f63,0x7461725f,0x00006f69,0x00030005,0x0000015f,0x00003073,0x00040005,0x00000163,
+ 0x4373694e,0x0066656f,0x00050006,0x00000163,0x00000000,0x6c616373,0x00000065,0x00040006,
+ 0x00000163,0x00000001,0x006d7375,0x00040005,0x00000165,0x4373696e,0x0066656f,0x00030005,
+ 0x0000016c,0x00003173,0x00030005,0x00000173,0x00003075,0x00030005,0x00000178,0x00003175,
+ 0x00030005,0x0000017e,0x00000079,0x00040005,0x000001ad,0x73755f79,0x0000006d,0x00040005,
+ 0x000001d8,0x63735f79,0x00656c61,0x00050005,0x000001e0,0x68735f79,0x6e707261,0x00737365,
+ 0x00070005,0x000001e3,0x61685367,0x74537072,0x676e6572,0x63536874,0x00656c61,0x00070005,
+ 0x000001e6,0x61685367,0x74537072,0x676e6572,0x694d6874,0x0000006e,0x00070005,0x000001ec,
+ 0x68735f79,0x6e707261,0x5f737365,0x696d696c,0x00000074,0x00070005,0x000001ee,0x61685367,
+ 0x694c7072,0x5374696d,0x656c6163,0x00000000,0x00060005,0x000001f1,0x61685367,0x694c7072,
+ 0x4d74696d,0x00006e69,0x00040005,0x000001fc,0x61726170,0x0000006d,0x00040005,0x000001ff,
+ 0x61726170,0x0000006d,0x00040005,0x00000202,0x61726170,0x0000006d,0x00040005,0x00000205,
+ 0x61726170,0x0000006d,0x00040005,0x00000208,0x61726170,0x0000006d,0x00040005,0x0000020b,
+ 0x61726170,0x0000006d,0x00040005,0x0000020e,0x61726170,0x0000006d,0x00030005,0x0000021c,
+ 0x00003079,0x00030005,0x00000221,0x00003179,0x00030005,0x00000227,0x00003078,0x00030005,
+ 0x0000022c,0x00003178,0x00030005,0x00000232,0x00007963,0x00030005,0x00000240,0x00007863,
+ 0x00040005,0x0000024e,0x63615f68,0x00000063,0x00030005,0x0000024f,0x0000006a,0x00040005,
+ 0x00000258,0x63615f76,0x00000063,0x00030005,0x00000259,0x00000069,0x00030005,0x00000279,
+ 0x00000066,0x00030005,0x0000027f,0x00000069,0x00050005,0x00000287,0x65746e69,0x44307072,
+ 0x00006765,0x00040005,0x00000294,0x61726170,0x0000006d,0x00040005,0x00000296,0x61726170,
+ 0x0000006d,0x00030005,0x000002a3,0x00000069,0x00050005,0x000002ab,0x65746e69,0x30397072,
+ 0x00676544,0x00040005,0x000002b8,0x61726170,0x0000006d,0x00040005,0x000002ba,0x61726170,
+ 0x0000006d,0x00050005,0x000002c7,0x61687070,0x625f6573,0x00003534,0x00070005,0x000002d1,
+ 0x706d6574,0x746e695f,0x34707265,0x67654435,0x00000000,0x00030005,0x000002e9,0x00000061,
+ 0x00030005,0x000002f5,0x00000062,0x00030005,0x00000301,0x00000063,0x00030005,0x0000030d,
+ 0x00000064,0x00050005,0x00000335,0x61687070,0x705f6573,0x00003534,0x00030005,0x0000033d,
+ 0x00000069,0x00050005,0x00000345,0x65746e69,0x35347072,0x00676544,0x00030005,0x00000351,
+ 0x00000069,0x00040005,0x00000364,0x61726170,0x0000006d,0x00040005,0x00000366,0x61726170,
+ 0x0000006d,0x00050005,0x00000372,0x61687070,0x625f6573,0x00353331,0x00070005,0x00000377,
+ 0x706d6574,0x746e695f,0x31707265,0x65443533,0x00000067,0x00030005,0x0000038f,0x00000061,
+ 0x00030005,0x0000039b,0x00000062,0x00030005,0x000003a7,0x00000063,0x00030005,0x000003b3,
+ 0x00000064,0x00050005,0x000003db,0x61687070,0x705f6573,0x00353331,0x00030005,0x000003e4,
+ 0x00000069,0x00060005,0x000003ec,0x65746e69,0x33317072,0x67654435,0x00000000,0x00030005,
+ 0x000003f8,0x00000069,0x00040005,0x0000040a,0x61726170,0x0000006d,0x00040005,0x0000040c,
+ 0x61726170,0x0000006d,0x00050005,0x00000416,0x72616873,0x73656e70,0x00000073,0x00030005,
+ 0x00000417,0x00004350,0x00040006,0x00000417,0x00000000,0x0063646e,0x00070006,0x00000417,
+ 0x00000001,0x77656956,0x74726f70,0x6f666e49,0x00000000,0x00060006,0x00000417,0x00000002,
+ 0x72616873,0x73656e70,0x00000073,0x00030005,0x00000419,0x00006370,0x00060005,0x0000041e,
+ 0x72616873,0x5f6e6570,0x64696c73,0x00007265,0x00050005,0x00000421,0x5378614d,0x656c6163,
+ 0x00000000,0x00050005,0x00000427,0x536e694d,0x656c6163,0x00000000,0x00050005,0x0000042b,
+ 0x696d694c,0x61635374,0x0000656c,0x00070005,0x00000437,0x72616873,0x72745370,0x74676e65,
+ 0x78614d68,0x00000000,0x00060005,0x0000044b,0x72616873,0x6d694c70,0x614d7469,0x00000078,
+ 0x00040005,0x00000457,0x69536e69,0x0000657a,0x00040005,0x0000045c,0x49766e69,0x0000006e,
+ 0x00040005,0x00000460,0x58637273,0x00000000,0x00060005,0x00000462,0x67617266,0x43786554,
+ 0x64726f6f,0x00000000,0x00040005,0x0000046a,0x59637273,0x00000000,0x00030005,0x00000471,
+ 0x00787366,0x00030005,0x00000474,0x00797366,0x00030005,0x00000477,0x00007866,0x00030005,
+ 0x0000047b,0x00007966,0x00040005,0x0000047f,0x695f7866,0x0000746e,0x00040005,0x00000483,
+ 0x695f7966,0x0000746e,0x00030005,0x00000487,0x00006962,0x00030005,0x0000048f,0x00006a62,
+ 0x00030005,0x00000497,0x00006374,0x00030005,0x000004a7,0x00000067,0x00060005,0x000004ab,
+ 0x75706e49,0x78655474,0x65727574,0x00000000,0x00030005,0x000004af,0x00000070,0x00030005,
+ 0x000004d4,0x00303065,0x00040005,0x000004d5,0x61726170,0x0000006d,0x00040005,0x000004d8,
+ 0x61726170,0x0000006d,0x00040005,0x000004db,0x61726170,0x0000006d,0x00040005,0x000004de,
+ 0x61726170,0x0000006d,0x00040005,0x000004e1,0x61726170,0x0000006d,0x00040005,0x000004e4,
+ 0x61726170,0x0000006d,0x00040005,0x000004e7,0x61726170,0x0000006d,0x00040005,0x000004ea,
+ 0x61726170,0x0000006d,0x00040005,0x000004ed,0x61726170,0x0000006d,0x00030005,0x000004f1,
+ 0x00313065,0x00040005,0x000004f2,0x61726170,0x0000006d,0x00040005,0x000004f5,0x61726170,
+ 0x0000006d,0x00040005,0x000004f8,0x61726170,0x0000006d,0x00040005,0x000004fb,0x61726170,
+ 0x0000006d,0x00040005,0x000004fe,0x61726170,0x0000006d,0x00040005,0x00000501,0x61726170,
+ 0x0000006d,0x00040005,0x00000504,0x61726170,0x0000006d,0x00040005,0x00000507,0x61726170,
+ 0x0000006d,0x00040005,0x0000050a,0x61726170,0x0000006d,0x00030005,0x0000050e,0x00303165,
+ 0x00040005,0x0000050f,0x61726170,0x0000006d,0x00040005,0x00000512,0x61726170,0x0000006d,
+ 0x00040005,0x00000515,0x61726170,0x0000006d,0x00040005,0x00000518,0x61726170,0x0000006d,
+ 0x00040005,0x0000051b,0x61726170,0x0000006d,0x00040005,0x0000051e,0x61726170,0x0000006d,
+ 0x00040005,0x00000521,0x61726170,0x0000006d,0x00040005,0x00000524,0x61726170,0x0000006d,
+ 0x00040005,0x00000527,0x61726170,0x0000006d,0x00030005,0x0000052b,0x00313165,0x00040005,
+ 0x0000052c,0x61726170,0x0000006d,0x00040005,0x0000052f,0x61726170,0x0000006d,0x00040005,
+ 0x00000532,0x61726170,0x0000006d,0x00040005,0x00000535,0x61726170,0x0000006d,0x00040005,
+ 0x00000538,0x61726170,0x0000006d,0x00040005,0x0000053b,0x61726170,0x0000006d,0x00040005,
+ 0x0000053e,0x61726170,0x0000006d,0x00040005,0x00000541,0x61726170,0x0000006d,0x00040005,
+ 0x00000544,0x61726170,0x0000006d,0x00030005,0x00000548,0x00000077,0x00040005,0x00000549,
+ 0x61726170,0x0000006d,0x00040005,0x0000054b,0x61726170,0x0000006d,0x00040005,0x0000054d,
+ 0x61726170,0x0000006d,0x00040005,0x0000054f,0x61726170,0x0000006d,0x00040005,0x00000551,
+ 0x61726170,0x0000006d,0x00040005,0x00000553,0x61726170,0x0000006d,0x00050005,0x00000556,
+ 0x65736162,0x67696557,0x00007468,0x00030005,0x00000563,0x0059706f,0x00040005,0x00000564,
+ 0x61726170,0x0000006d,0x00040005,0x00000566,0x61726170,0x0000006d,0x00040005,0x00000568,
+ 0x61726170,0x0000006d,0x00040005,0x0000056d,0x61726170,0x0000006d,0x00040005,0x0000056f,
+ 0x61726170,0x0000006d,0x00040005,0x00000571,0x61726170,0x0000006d,0x00040005,0x00000573,
+ 0x61726170,0x0000006d,0x00040005,0x00000575,0x61726170,0x0000006d,0x00040005,0x00000577,
+ 0x61726170,0x0000006d,0x00030005,0x0000057c,0x0000706f,0x00030005,0x00000580,0x00000079,
+ 0x00040005,0x00000581,0x61726170,0x0000006d,0x00040005,0x00000585,0x72726f63,0x00000000,
+ 0x00050005,0x00000595,0x4374756f,0x726f6c6f,0x00000000,0x00030047,0x0000000a,0x00000000,
+ 0x00030047,0x0000000b,0x00000000,0x00030047,0x00000010,0x00000000,0x00030047,0x00000011,
+ 0x00000000,0x00030047,0x00000012,0x00000000,0x00030047,0x00000013,0x00000000,0x00030047,
+ 0x00000014,0x00000000,0x00030047,0x00000015,0x00000000,0x00030047,0x00000016,0x00000000,
+ 0x00030047,0x00000017,0x00000000,0x00030047,0x00000018,0x00000000,0x00030047,0x00000019,
+ 0x00000000,0x00030047,0x0000001d,0x00000000,0x00030047,0x0000001e,0x00000000,0x00030047,
+ 0x0000001f,0x00000000,0x00030047,0x00000020,0x00000000,0x00030047,0x00000021,0x00000000,
+ 0x00030047,0x00000022,0x00000000,0x00030047,0x00000023,0x00000000,0x00030047,0x00000028,
+ 0x00000000,0x00030047,0x00000029,0x00000000,0x00030047,0x0000002a,0x00000000,0x00030047,
+ 0x0000002b,0x00000000,0x00030047,0x0000002c,0x00000000,0x00030047,0x0000002d,0x00000000,
+ 0x00030047,0x0000002f,0x00000000,0x00030047,0x00000036,0x00000000,0x00030047,0x00000038,
+ 0x00000000,0x00030047,0x0000003d,0x00000000,0x00030047,0x00000040,0x00000000,0x00030047,
+ 0x00000043,0x00000000,0x00030047,0x00000044,0x00000000,0x00030047,0x00000045,0x00000000,
+ 0x00030047,0x00000048,0x00000000,0x00030047,0x00000049,0x00000000,0x00030047,0x0000004e,
+ 0x00000000,0x00030047,0x0000004f,0x00000000,0x00030047,0x00000053,0x00000000,0x00030047,
+ 0x00000054,0x00000000,0x00030047,0x00000055,0x00000000,0x00030047,0x00000059,0x00000000,
+ 0x00030047,0x0000005a,0x00000000,0x00030047,0x0000005b,0x00000000,0x00030047,0x0000005e,
+ 0x00000000,0x00030047,0x0000005f,0x00000000,0x00030047,0x00000060,0x00000000,0x00030047,
+ 0x00000061,0x00000000,0x00030047,0x00000062,0x00000000,0x00030047,0x00000063,0x00000000,
+ 0x00030047,0x00000064,0x00000000,0x00030047,0x00000065,0x00000000,0x00030047,0x00000066,
+ 0x00000000,0x00030047,0x00000067,0x00000000,0x00030047,0x00000068,0x00000000,0x00030047,
+ 0x00000069,0x00000000,0x00030047,0x0000006a,0x00000000,0x00030047,0x0000006b,0x00000000,
+ 0x00030047,0x0000006c,0x00000000,0x00030047,0x0000006d,0x00000000,0x00030047,0x0000006e,
+ 0x00000000,0x00030047,0x0000006f,0x00000000,0x00030047,0x00000070,0x00000000,0x00030047,
+ 0x00000071,0x00000000,0x00030047,0x00000072,0x00000000,0x00030047,0x00000073,0x00000000,
+ 0x00030047,0x00000074,0x00000000,0x00030047,0x00000075,0x00000000,0x00030047,0x00000076,
+ 0x00000000,0x00030047,0x00000077,0x00000000,0x00030047,0x00000078,0x00000000,0x00030047,
+ 0x00000079,0x00000000,0x00030047,0x0000007a,0x00000000,0x00030047,0x0000007b,0x00000000,
+ 0x00030047,0x0000007c,0x00000000,0x00030047,0x0000007d,0x00000000,0x00030047,0x0000007e,
+ 0x00000000,0x00030047,0x0000007f,0x00000000,0x00030047,0x00000080,0x00000000,0x00030047,
+ 0x00000081,0x00000000,0x00030047,0x00000082,0x00000000,0x00030047,0x00000083,0x00000000,
+ 0x00030047,0x00000084,0x00000000,0x00030047,0x00000085,0x00000000,0x00030047,0x00000086,
+ 0x00000000,0x00030047,0x00000087,0x00000000,0x00030047,0x00000088,0x00000000,0x00030047,
+ 0x00000089,0x00000000,0x00030047,0x0000008a,0x00000000,0x00030047,0x0000008b,0x00000000,
+ 0x00030047,0x0000008c,0x00000000,0x00030047,0x0000008d,0x00000000,0x00030047,0x0000008e,
+ 0x00000000,0x00030047,0x0000008f,0x00000000,0x00030047,0x00000090,0x00000000,0x00030047,
+ 0x00000091,0x00000000,0x00030047,0x00000092,0x00000000,0x00030047,0x00000093,0x00000000,
+ 0x00030047,0x00000094,0x00000000,0x00030047,0x00000095,0x00000000,0x00030047,0x00000096,
+ 0x00000000,0x00030047,0x00000097,0x00000000,0x00030047,0x00000098,0x00000000,0x00030047,
+ 0x00000099,0x00000000,0x00030047,0x0000009a,0x00000000,0x00030047,0x0000009b,0x00000000,
+ 0x00030047,0x0000009c,0x00000000,0x00030047,0x0000009d,0x00000000,0x00030047,0x0000009e,
+ 0x00000000,0x00030047,0x0000009f,0x00000000,0x00030047,0x000000a0,0x00000000,0x00030047,
+ 0x000000a1,0x00000000,0x00030047,0x000000a2,0x00000000,0x00030047,0x000000a3,0x00000000,
+ 0x00030047,0x000000a4,0x00000000,0x00030047,0x000000ac,0x00000000,0x00030047,0x000000ad,
+ 0x00000000,0x00030047,0x000000ae,0x00000000,0x00030047,0x000000af,0x00000000,0x00030047,
+ 0x000000b0,0x00000000,0x00030047,0x000000b1,0x00000000,0x00030047,0x000000b2,0x00000000,
+ 0x00030047,0x000000b3,0x00000000,0x00030047,0x000000b4,0x00000000,0x00030047,0x000000b5,
+ 0x00000000,0x00030047,0x000000b6,0x00000000,0x00030047,0x000000b9,0x00000000,0x00030047,
+ 0x000000ba,0x00000000,0x00030047,0x000000bb,0x00000000,0x00030047,0x000000bc,0x00000000,
+ 0x00030047,0x000000be,0x00000000,0x00030047,0x000000bf,0x00000000,0x00030047,0x000000c2,
+ 0x00000000,0x00030047,0x000000c3,0x00000000,0x00030047,0x000000c7,0x00000000,0x00030047,
+ 0x000000c8,0x00000000,0x00030047,0x000000c9,0x00000000,0x00030047,0x000000cb,0x00000000,
+ 0x00030047,0x000000ce,0x00000000,0x00030047,0x000000cf,0x00000000,0x00030047,0x000000d3,
+ 0x00000000,0x00030047,0x000000d4,0x00000000,0x00030047,0x000000d7,0x00000000,0x00030047,
+ 0x000000d8,0x00000000,0x00030047,0x000000da,0x00000000,0x00030047,0x000000de,0x00000000,
+ 0x00030047,0x000000e0,0x00000000,0x00030047,0x000000e4,0x00000000,0x00030047,0x000000e6,
+ 0x00000000,0x00030047,0x000000ea,0x00000000,0x00030047,0x000000ec,0x00000000,0x00030047,
+ 0x000000f1,0x00000000,0x00030047,0x000000f3,0x00000000,0x00030047,0x000000f7,0x00000000,
+ 0x00030047,0x000000f9,0x00000000,0x00030047,0x000000fe,0x00000000,0x00030047,0x00000100,
+ 0x00000000,0x00030047,0x00000101,0x00000000,0x00030047,0x00000102,0x00000000,0x00030047,
+ 0x00000103,0x00000000,0x00030047,0x00000104,0x00000000,0x00030047,0x00000107,0x00000000,
+ 0x00030047,0x00000108,0x00000000,0x00030047,0x00000109,0x00000000,0x00030047,0x0000010a,
+ 0x00000000,0x00030047,0x0000010b,0x00000000,0x00030047,0x0000010c,0x00000000,0x00030047,
+ 0x0000010d,0x00000000,0x00030047,0x0000010e,0x00000000,0x00030047,0x0000010f,0x00000000,
+ 0x00030047,0x00000110,0x00000000,0x00030047,0x00000111,0x00000000,0x00030047,0x00000112,
+ 0x00000000,0x00030047,0x00000113,0x00000000,0x00030047,0x00000114,0x00000000,0x00030047,
+ 0x00000115,0x00000000,0x00030047,0x00000116,0x00000000,0x00030047,0x00000117,0x00000000,
+ 0x00030047,0x0000011e,0x00000000,0x00030047,0x00000120,0x00000000,0x00030047,0x00000121,
+ 0x00000000,0x00030047,0x00000123,0x00000000,0x00030047,0x00000124,0x00000000,0x00030047,
+ 0x00000125,0x00000000,0x00030047,0x00000126,0x00000000,0x00030047,0x00000127,0x00000000,
+ 0x00030047,0x00000128,0x00000000,0x00030047,0x00000129,0x00000000,0x00030047,0x0000012a,
+ 0x00000000,0x00030047,0x0000012b,0x00000000,0x00030047,0x0000012c,0x00000000,0x00030047,
+ 0x0000012d,0x00000000,0x00030047,0x0000012e,0x00000000,0x00030047,0x00000130,0x00000000,
+ 0x00030047,0x00000131,0x00000000,0x00030047,0x00000133,0x00000000,0x00030047,0x00000134,
+ 0x00000000,0x00030047,0x00000135,0x00000000,0x00030047,0x00000136,0x00000000,0x00030047,
+ 0x00000137,0x00000000,0x00030047,0x00000138,0x00000000,0x00030047,0x00000139,0x00000000,
+ 0x00030047,0x0000013a,0x00000000,0x00030047,0x0000013b,0x00000000,0x00030047,0x0000013c,
+ 0x00000000,0x00030047,0x0000013d,0x00000000,0x00030047,0x0000013e,0x00000000,0x00030047,
+ 0x0000013f,0x00000000,0x00030047,0x00000140,0x00000000,0x00030047,0x00000141,0x00000000,
+ 0x00030047,0x00000142,0x00000000,0x00030047,0x00000143,0x00000000,0x00030047,0x00000144,
+ 0x00000000,0x00030047,0x00000145,0x00000000,0x00030047,0x00000146,0x00000000,0x00030047,
+ 0x00000147,0x00000000,0x00030047,0x00000148,0x00000000,0x00030047,0x00000149,0x00000000,
+ 0x00030047,0x0000014a,0x00000000,0x00030047,0x0000014b,0x00000000,0x00030047,0x0000014c,
+ 0x00000000,0x00030047,0x0000014d,0x00000000,0x00030047,0x0000014e,0x00000000,0x00030047,
+ 0x0000014f,0x00000000,0x00030047,0x00000150,0x00000000,0x00030047,0x00000151,0x00000000,
+ 0x00030047,0x00000152,0x00000000,0x00030047,0x00000153,0x00000000,0x00030047,0x00000154,
+ 0x00000000,0x00030047,0x00000155,0x00000000,0x00030047,0x00000156,0x00000000,0x00030047,
+ 0x00000157,0x00000000,0x00030047,0x00000158,0x00000000,0x00030047,0x0000015f,0x00000000,
+ 0x00040047,0x00000161,0x00000006,0x00000010,0x00040047,0x00000162,0x00000006,0x00000010,
+ 0x00030047,0x00000163,0x00000002,0x00040048,0x00000163,0x00000000,0x00000000,0x00050048,
+ 0x00000163,0x00000000,0x00000023,0x00000000,0x00040048,0x00000163,0x00000001,0x00000000,
+ 0x00050048,0x00000163,0x00000001,0x00000023,0x00000800,0x00040047,0x00000165,0x00000021,
+ 0x00000000,0x00040047,0x00000165,0x00000022,0x00000001,0x00030047,0x0000016b,0x00000000,
+ 0x00030047,0x0000016c,0x00000000,0x00030047,0x00000172,0x00000000,0x00030047,0x00000173,
+ 0x00000000,0x00030047,0x00000177,0x00000000,0x00030047,0x00000178,0x00000000,0x00030047,
+ 0x0000017d,0x00000000,0x00030047,0x0000017e,0x00000000,0x00030047,0x00000180,0x00000000,
+ 0x00030047,0x00000182,0x00000000,0x00030047,0x00000183,0x00000000,0x00030047,0x00000184,
+ 0x00000000,0x00030047,0x00000185,0x00000000,0x00030047,0x00000187,0x00000000,0x00030047,
+ 0x00000189,0x00000000,0x00030047,0x0000018a,0x00000000,0x00030047,0x0000018b,0x00000000,
+ 0x00030047,0x0000018c,0x00000000,0x00030047,0x0000018e,0x00000000,0x00030047,0x00000190,
+ 0x00000000,0x00030047,0x00000191,0x00000000,0x00030047,0x00000192,0x00000000,0x00030047,
+ 0x00000193,0x00000000,0x00030047,0x00000196,0x00000000,0x00030047,0x00000199,0x00000000,
+ 0x00030047,0x0000019a,0x00000000,0x00030047,0x0000019b,0x00000000,0x00030047,0x0000019c,
+ 0x00000000,0x00030047,0x0000019e,0x00000000,0x00030047,0x000001a1,0x00000000,0x00030047,
+ 0x000001a2,0x00000000,0x00030047,0x000001a3,0x00000000,0x00030047,0x000001a4,0x00000000,
+ 0x00030047,0x000001a6,0x00000000,0x00030047,0x000001a9,0x00000000,0x00030047,0x000001aa,
+ 0x00000000,0x00030047,0x000001ab,0x00000000,0x00030047,0x000001ac,0x00000000,0x00030047,
+ 0x000001ad,0x00000000,0x00030047,0x000001af,0x00000000,0x00030047,0x000001b1,0x00000000,
+ 0x00030047,0x000001b2,0x00000000,0x00030047,0x000001b3,0x00000000,0x00030047,0x000001b4,
+ 0x00000000,0x00030047,0x000001b6,0x00000000,0x00030047,0x000001b8,0x00000000,0x00030047,
+ 0x000001b9,0x00000000,0x00030047,0x000001ba,0x00000000,0x00030047,0x000001bb,0x00000000,
+ 0x00030047,0x000001bd,0x00000000,0x00030047,0x000001bf,0x00000000,0x00030047,0x000001c0,
+ 0x00000000,0x00030047,0x000001c1,0x00000000,0x00030047,0x000001c2,0x00000000,0x00030047,
+ 0x000001c4,0x00000000,0x00030047,0x000001c6,0x00000000,0x00030047,0x000001c7,0x00000000,
+ 0x00030047,0x000001c8,0x00000000,0x00030047,0x000001c9,0x00000000,0x00030047,0x000001cb,
+ 0x00000000,0x00030047,0x000001cd,0x00000000,0x00030047,0x000001ce,0x00000000,0x00030047,
+ 0x000001cf,0x00000000,0x00030047,0x000001d0,0x00000000,0x00030047,0x000001d2,0x00000000,
+ 0x00030047,0x000001d4,0x00000000,0x00030047,0x000001d5,0x00000000,0x00030047,0x000001d6,
+ 0x00000000,0x00030047,0x000001d7,0x00000000,0x00030047,0x000001d8,0x00000000,0x00030047,
+ 0x000001d9,0x00000000,0x00030047,0x000001da,0x00000000,0x00030047,0x000001db,0x00000000,
+ 0x00030047,0x000001dc,0x00000000,0x00030047,0x000001dd,0x00000000,0x00030047,0x000001de,
+ 0x00000000,0x00030047,0x000001df,0x00000000,0x00030047,0x000001e0,0x00000000,0x00030047,
+ 0x000001e1,0x00000000,0x00030047,0x000001e3,0x00000000,0x00030047,0x000001e4,0x00000000,
+ 0x00030047,0x000001e5,0x00000000,0x00030047,0x000001e6,0x00000000,0x00030047,0x000001e7,
+ 0x00000000,0x00030047,0x000001e8,0x00000000,0x00030047,0x000001e9,0x00000000,0x00030047,
+ 0x000001ea,0x00000000,0x00030047,0x000001eb,0x00000000,0x00030047,0x000001ec,0x00000000,
+ 0x00030047,0x000001ed,0x00000000,0x00030047,0x000001ee,0x00000000,0x00030047,0x000001ef,
+ 0x00000000,0x00030047,0x000001f0,0x00000000,0x00030047,0x000001f1,0x00000000,0x00030047,
+ 0x000001f2,0x00000000,0x00030047,0x000001f3,0x00000000,0x00030047,0x000001f4,0x00000000,
+ 0x00030047,0x000001f5,0x00000000,0x00030047,0x000001f6,0x00000000,0x00030047,0x000001f7,
+ 0x00000000,0x00030047,0x000001f8,0x00000000,0x00030047,0x000001f9,0x00000000,0x00030047,
+ 0x000001fa,0x00000000,0x00030047,0x000001fb,0x00000000,0x00030047,0x000001fc,0x00000000,
+ 0x00030047,0x000001fe,0x00000000,0x00030047,0x000001ff,0x00000000,0x00030047,0x00000201,
+ 0x00000000,0x00030047,0x00000202,0x00000000,0x00030047,0x00000204,0x00000000,0x00030047,
+ 0x00000205,0x00000000,0x00030047,0x00000207,0x00000000,0x00030047,0x00000208,0x00000000,
+ 0x00030047,0x0000020a,0x00000000,0x00030047,0x0000020b,0x00000000,0x00030047,0x0000020d,
+ 0x00000000,0x00030047,0x00000210,0x00000000,0x00030047,0x00000211,0x00000000,0x00030047,
+ 0x00000212,0x00000000,0x00030047,0x00000213,0x00000000,0x00030047,0x00000214,0x00000000,
+ 0x00030047,0x00000215,0x00000000,0x00030047,0x0000021c,0x00000000,0x00030047,0x00000220,
+ 0x00000000,0x00030047,0x00000221,0x00000000,0x00030047,0x00000226,0x00000000,0x00030047,
+ 0x00000227,0x00000000,0x00030047,0x0000022b,0x00000000,0x00030047,0x0000022c,0x00000000,
+ 0x00030047,0x00000231,0x00000000,0x00030047,0x00000232,0x00000000,0x00030047,0x00000234,
+ 0x00000000,0x00030047,0x00000236,0x00000000,0x00030047,0x00000238,0x00000000,0x00030047,
+ 0x0000023a,0x00000000,0x00030047,0x0000023c,0x00000000,0x00030047,0x0000023e,0x00000000,
+ 0x00030047,0x00000240,0x00000000,0x00030047,0x00000242,0x00000000,0x00030047,0x00000244,
+ 0x00000000,0x00030047,0x00000246,0x00000000,0x00030047,0x00000248,0x00000000,0x00030047,
+ 0x0000024a,0x00000000,0x00030047,0x0000024c,0x00000000,0x00030047,0x0000024e,0x00000000,
+ 0x00030047,0x00000258,0x00000000,0x00030047,0x00000264,0x00000000,0x00030047,0x00000267,
+ 0x00000000,0x00030047,0x00000268,0x00000000,0x00030047,0x00000269,0x00000000,0x00030047,
+ 0x0000026a,0x00000000,0x00030047,0x0000026d,0x00000000,0x00030047,0x00000270,0x00000000,
+ 0x00030047,0x00000271,0x00000000,0x00030047,0x00000272,0x00000000,0x00030047,0x00000273,
+ 0x00000000,0x00030047,0x00000276,0x00000000,0x00030047,0x00000279,0x00000000,0x00030047,
+ 0x0000027b,0x00000000,0x00030047,0x00000287,0x00000000,0x00030047,0x0000028b,0x00000000,
+ 0x00030047,0x0000028e,0x00000000,0x00030047,0x0000028f,0x00000000,0x00030047,0x00000290,
+ 0x00000000,0x00030047,0x00000294,0x00000000,0x00030047,0x00000295,0x00000000,0x00030047,
+ 0x00000298,0x00000000,0x00030047,0x0000029a,0x00000000,0x00030047,0x0000029b,0x00000000,
+ 0x00030047,0x0000029c,0x00000000,0x00030047,0x0000029d,0x00000000,0x00030047,0x0000029f,
+ 0x00000000,0x00030047,0x000002ab,0x00000000,0x00030047,0x000002af,0x00000000,0x00030047,
+ 0x000002b2,0x00000000,0x00030047,0x000002b3,0x00000000,0x00030047,0x000002b4,0x00000000,
+ 0x00030047,0x000002b8,0x00000000,0x00030047,0x000002b9,0x00000000,0x00030047,0x000002bc,
+ 0x00000000,0x00030047,0x000002be,0x00000000,0x00030047,0x000002bf,0x00000000,0x00030047,
+ 0x000002c0,0x00000000,0x00030047,0x000002c1,0x00000000,0x00030047,0x000002c3,0x00000000,
+ 0x00030047,0x000002c7,0x00000000,0x00030047,0x000002c9,0x00000000,0x00030047,0x000002ca,
+ 0x00000000,0x00030047,0x000002cb,0x00000000,0x00030047,0x000002cc,0x00000000,0x00030047,
+ 0x000002cd,0x00000000,0x00030047,0x000002d1,0x00000000,0x00030047,0x000002d3,0x00000000,
+ 0x00030047,0x000002d5,0x00000000,0x00030047,0x000002d6,0x00000000,0x00030047,0x000002d7,
+ 0x00000000,0x00030047,0x000002da,0x00000000,0x00030047,0x000002dc,0x00000000,0x00030047,
+ 0x000002dd,0x00000000,0x00030047,0x000002de,0x00000000,0x00030047,0x000002e1,0x00000000,
+ 0x00030047,0x000002e3,0x00000000,0x00030047,0x000002e4,0x00000000,0x00030047,0x000002e5,
+ 0x00000000,0x00030047,0x000002e7,0x00000000,0x00030047,0x000002e8,0x00000000,0x00030047,
+ 0x000002e9,0x00000000,0x00030047,0x000002ea,0x00000000,0x00030047,0x000002ec,0x00000000,
+ 0x00030047,0x000002f0,0x00000000,0x00030047,0x000002f3,0x00000000,0x00030047,0x000002f4,
+ 0x00000000,0x00030047,0x000002f5,0x00000000,0x00030047,0x000002f6,0x00000000,0x00030047,
+ 0x000002f8,0x00000000,0x00030047,0x000002fc,0x00000000,0x00030047,0x000002ff,0x00000000,
+ 0x00030047,0x00000300,0x00000000,0x00030047,0x00000301,0x00000000,0x00030047,0x00000302,
+ 0x00000000,0x00030047,0x00000304,0x00000000,0x00030047,0x00000308,0x00000000,0x00030047,
+ 0x0000030b,0x00000000,0x00030047,0x0000030c,0x00000000,0x00030047,0x0000030d,0x00000000,
+ 0x00030047,0x0000030e,0x00000000,0x00030047,0x00000310,0x00000000,0x00030047,0x00000314,
+ 0x00000000,0x00030047,0x00000317,0x00000000,0x00030047,0x00000318,0x00000000,0x00030047,
+ 0x0000031a,0x00000000,0x00030047,0x0000031b,0x00000000,0x00030047,0x0000031c,0x00000000,
+ 0x00030047,0x0000031d,0x00000000,0x00030047,0x0000031e,0x00000000,0x00030047,0x00000321,
+ 0x00000000,0x00030047,0x00000322,0x00000000,0x00030047,0x00000323,0x00000000,0x00030047,
+ 0x00000324,0x00000000,0x00030047,0x00000325,0x00000000,0x00030047,0x00000328,0x00000000,
+ 0x00030047,0x00000329,0x00000000,0x00030047,0x0000032a,0x00000000,0x00030047,0x0000032b,
+ 0x00000000,0x00030047,0x0000032c,0x00000000,0x00030047,0x0000032f,0x00000000,0x00030047,
+ 0x00000330,0x00000000,0x00030047,0x00000331,0x00000000,0x00030047,0x00000332,0x00000000,
+ 0x00030047,0x00000333,0x00000000,0x00030047,0x00000335,0x00000000,0x00030047,0x00000336,
+ 0x00000000,0x00030047,0x00000337,0x00000000,0x00030047,0x00000338,0x00000000,0x00030047,
+ 0x00000339,0x00000000,0x00030047,0x00000345,0x00000000,0x00030047,0x0000034a,0x00000000,
+ 0x00030047,0x0000034e,0x00000000,0x00030047,0x0000034f,0x00000000,0x00030047,0x0000035c,
+ 0x00000000,0x00030047,0x00000360,0x00000000,0x00030047,0x00000362,0x00000000,0x00030047,
+ 0x00000363,0x00000000,0x00030047,0x00000364,0x00000000,0x00030047,0x00000365,0x00000000,
+ 0x00030047,0x00000367,0x00000000,0x00030047,0x00000369,0x00000000,0x00030047,0x0000036a,
+ 0x00000000,0x00030047,0x0000036b,0x00000000,0x00030047,0x0000036c,0x00000000,0x00030047,
+ 0x0000036e,0x00000000,0x00030047,0x00000372,0x00000000,0x00030047,0x00000373,0x00000000,
+ 0x00030047,0x00000374,0x00000000,0x00030047,0x00000375,0x00000000,0x00030047,0x00000376,
+ 0x00000000,0x00030047,0x00000377,0x00000000,0x00030047,0x00000379,0x00000000,0x00030047,
+ 0x0000037b,0x00000000,0x00030047,0x0000037c,0x00000000,0x00030047,0x0000037d,0x00000000,
+ 0x00030047,0x00000380,0x00000000,0x00030047,0x00000382,0x00000000,0x00030047,0x00000383,
+ 0x00000000,0x00030047,0x00000384,0x00000000,0x00030047,0x00000387,0x00000000,0x00030047,
+ 0x00000389,0x00000000,0x00030047,0x0000038a,0x00000000,0x00030047,0x0000038b,0x00000000,
+ 0x00030047,0x0000038d,0x00000000,0x00030047,0x0000038e,0x00000000,0x00030047,0x0000038f,
+ 0x00000000,0x00030047,0x00000390,0x00000000,0x00030047,0x00000392,0x00000000,0x00030047,
+ 0x00000396,0x00000000,0x00030047,0x00000399,0x00000000,0x00030047,0x0000039a,0x00000000,
+ 0x00030047,0x0000039b,0x00000000,0x00030047,0x0000039c,0x00000000,0x00030047,0x0000039e,
+ 0x00000000,0x00030047,0x000003a2,0x00000000,0x00030047,0x000003a5,0x00000000,0x00030047,
+ 0x000003a6,0x00000000,0x00030047,0x000003a7,0x00000000,0x00030047,0x000003a8,0x00000000,
+ 0x00030047,0x000003aa,0x00000000,0x00030047,0x000003ae,0x00000000,0x00030047,0x000003b1,
+ 0x00000000,0x00030047,0x000003b2,0x00000000,0x00030047,0x000003b3,0x00000000,0x00030047,
+ 0x000003b4,0x00000000,0x00030047,0x000003b6,0x00000000,0x00030047,0x000003ba,0x00000000,
+ 0x00030047,0x000003bd,0x00000000,0x00030047,0x000003be,0x00000000,0x00030047,0x000003c0,
+ 0x00000000,0x00030047,0x000003c1,0x00000000,0x00030047,0x000003c2,0x00000000,0x00030047,
+ 0x000003c3,0x00000000,0x00030047,0x000003c4,0x00000000,0x00030047,0x000003c7,0x00000000,
+ 0x00030047,0x000003c8,0x00000000,0x00030047,0x000003c9,0x00000000,0x00030047,0x000003ca,
+ 0x00000000,0x00030047,0x000003cb,0x00000000,0x00030047,0x000003ce,0x00000000,0x00030047,
+ 0x000003cf,0x00000000,0x00030047,0x000003d0,0x00000000,0x00030047,0x000003d1,0x00000000,
+ 0x00030047,0x000003d2,0x00000000,0x00030047,0x000003d5,0x00000000,0x00030047,0x000003d6,
+ 0x00000000,0x00030047,0x000003d7,0x00000000,0x00030047,0x000003d8,0x00000000,0x00030047,
+ 0x000003d9,0x00000000,0x00030047,0x000003db,0x00000000,0x00030047,0x000003dc,0x00000000,
+ 0x00030047,0x000003dd,0x00000000,0x00030047,0x000003de,0x00000000,0x00030047,0x000003df,
+ 0x00000000,0x00030047,0x000003e0,0x00000000,0x00030047,0x000003ec,0x00000000,0x00030047,
+ 0x000003f1,0x00000000,0x00030047,0x000003f5,0x00000000,0x00030047,0x000003f6,0x00000000,
+ 0x00030047,0x00000403,0x00000000,0x00030047,0x00000407,0x00000000,0x00030047,0x00000408,
+ 0x00000000,0x00030047,0x00000409,0x00000000,0x00030047,0x0000040a,0x00000000,0x00030047,
+ 0x0000040b,0x00000000,0x00030047,0x0000040d,0x00000000,0x00030047,0x0000040f,0x00000000,
+ 0x00030047,0x00000410,0x00000000,0x00030047,0x00000411,0x00000000,0x00030047,0x00000412,
+ 0x00000000,0x00030047,0x00000413,0x00000000,0x00030047,0x00000416,0x00000000,0x00030047,
+ 0x00000417,0x00000002,0x00050048,0x00000417,0x00000000,0x00000023,0x00000000,0x00050048,
+ 0x00000417,0x00000001,0x00000023,0x00000010,0x00040048,0x00000417,0x00000002,0x00000000,
+ 0x00050048,0x00000417,0x00000002,0x00000023,0x00000020,0x00030047,0x0000041c,0x00000000,
+ 0x00030047,0x0000041d,0x00000000,0x00030047,0x0000041e,0x00000000,0x00030047,0x0000041f,
+ 0x00000000,0x00030047,0x00000420,0x00000000,0x00030047,0x00000421,0x00000000,0x00030047,
+ 0x00000422,0x00000000,0x00030047,0x00000427,0x00000000,0x00030047,0x00000428,0x00000000,
+ 0x00030047,0x0000042b,0x00000000,0x00030047,0x0000042c,0x00000000,0x00030047,0x00000430,
+ 0x00000000,0x00030047,0x00000431,0x00000000,0x00030047,0x00000432,0x00000000,0x00030047,
+ 0x00000434,0x00000000,0x00030047,0x00000435,0x00000000,0x00030047,0x00000436,0x00000000,
+ 0x00030047,0x00000437,0x00000000,0x00030047,0x00000439,0x00000000,0x00030047,0x0000043a,
+ 0x00000000,0x00030047,0x0000043b,0x00000000,0x00030047,0x0000043d,0x00000000,0x00030047,
+ 0x0000043e,0x00000000,0x00030047,0x0000043f,0x00000000,0x00030047,0x00000440,0x00000000,
+ 0x00030047,0x00000441,0x00000000,0x00030047,0x00000444,0x00000000,0x00030047,0x00000445,
+ 0x00000000,0x00030047,0x00000446,0x00000000,0x00030047,0x00000448,0x00000000,0x00030047,
+ 0x00000449,0x00000000,0x00030047,0x0000044a,0x00000000,0x00030047,0x0000044b,0x00000000,
+ 0x00030047,0x0000044c,0x00000000,0x00030047,0x0000044d,0x00000000,0x00030047,0x0000044e,
+ 0x00000000,0x00030047,0x00000450,0x00000000,0x00030047,0x00000451,0x00000000,0x00030047,
+ 0x00000452,0x00000000,0x00030047,0x00000453,0x00000000,0x00030047,0x00000454,0x00000000,
+ 0x00040047,0x00000462,0x0000001e,0x00000000,0x00030047,0x000004a7,0x00000000,0x00030047,
+ 0x000004ab,0x00000000,0x00040047,0x000004ab,0x00000021,0x00000000,0x00040047,0x000004ab,
+ 0x00000022,0x00000000,0x00030047,0x000004ac,0x00000000,0x00030047,0x000004ae,0x00000000,
+ 0x00030047,0x000004af,0x00000000,0x00030047,0x000004b5,0x00000000,0x00030047,0x000004bd,
+ 0x00000000,0x00030047,0x000004c5,0x00000000,0x00030047,0x000004ce,0x00000000,0x00030047,
+ 0x000004d4,0x00000000,0x00030047,0x000004d5,0x00000000,0x00030047,0x000004d7,0x00000000,
+ 0x00030047,0x000004d8,0x00000000,0x00030047,0x000004da,0x00000000,0x00030047,0x000004db,
+ 0x00000000,0x00030047,0x000004dd,0x00000000,0x00030047,0x000004de,0x00000000,0x00030047,
+ 0x000004e0,0x00000000,0x00030047,0x000004e1,0x00000000,0x00030047,0x000004e3,0x00000000,
+ 0x00030047,0x000004e4,0x00000000,0x00030047,0x000004e6,0x00000000,0x00030047,0x000004e7,
+ 0x00000000,0x00030047,0x000004e9,0x00000000,0x00030047,0x000004ea,0x00000000,0x00030047,
+ 0x000004ec,0x00000000,0x00030047,0x000004ed,0x00000000,0x00030047,0x000004ef,0x00000000,
+ 0x00030047,0x000004f0,0x00000000,0x00030047,0x000004f1,0x00000000,0x00030047,0x000004f2,
+ 0x00000000,0x00030047,0x000004f4,0x00000000,0x00030047,0x000004f5,0x00000000,0x00030047,
+ 0x000004f7,0x00000000,0x00030047,0x000004f8,0x00000000,0x00030047,0x000004fa,0x00000000,
+ 0x00030047,0x000004fb,0x00000000,0x00030047,0x000004fd,0x00000000,0x00030047,0x000004fe,
+ 0x00000000,0x00030047,0x00000500,0x00000000,0x00030047,0x00000501,0x00000000,0x00030047,
+ 0x00000503,0x00000000,0x00030047,0x00000504,0x00000000,0x00030047,0x00000506,0x00000000,
+ 0x00030047,0x00000507,0x00000000,0x00030047,0x00000509,0x00000000,0x00030047,0x0000050a,
+ 0x00000000,0x00030047,0x0000050c,0x00000000,0x00030047,0x0000050d,0x00000000,0x00030047,
+ 0x0000050e,0x00000000,0x00030047,0x0000050f,0x00000000,0x00030047,0x00000511,0x00000000,
+ 0x00030047,0x00000512,0x00000000,0x00030047,0x00000514,0x00000000,0x00030047,0x00000515,
+ 0x00000000,0x00030047,0x00000517,0x00000000,0x00030047,0x00000518,0x00000000,0x00030047,
+ 0x0000051a,0x00000000,0x00030047,0x0000051b,0x00000000,0x00030047,0x0000051d,0x00000000,
+ 0x00030047,0x0000051e,0x00000000,0x00030047,0x00000520,0x00000000,0x00030047,0x00000521,
+ 0x00000000,0x00030047,0x00000523,0x00000000,0x00030047,0x00000524,0x00000000,0x00030047,
+ 0x00000526,0x00000000,0x00030047,0x00000527,0x00000000,0x00030047,0x00000529,0x00000000,
+ 0x00030047,0x0000052a,0x00000000,0x00030047,0x0000052b,0x00000000,0x00030047,0x0000052c,
+ 0x00000000,0x00030047,0x0000052e,0x00000000,0x00030047,0x0000052f,0x00000000,0x00030047,
+ 0x00000531,0x00000000,0x00030047,0x00000532,0x00000000,0x00030047,0x00000534,0x00000000,
+ 0x00030047,0x00000535,0x00000000,0x00030047,0x00000537,0x00000000,0x00030047,0x00000538,
+ 0x00000000,0x00030047,0x0000053a,0x00000000,0x00030047,0x0000053b,0x00000000,0x00030047,
+ 0x0000053d,0x00000000,0x00030047,0x0000053e,0x00000000,0x00030047,0x00000540,0x00000000,
+ 0x00030047,0x00000541,0x00000000,0x00030047,0x00000543,0x00000000,0x00030047,0x00000544,
+ 0x00000000,0x00030047,0x00000546,0x00000000,0x00030047,0x00000547,0x00000000,0x00030047,
+ 0x00000548,0x00000000,0x00030047,0x00000549,0x00000000,0x00030047,0x0000054a,0x00000000,
+ 0x00030047,0x0000054b,0x00000000,0x00030047,0x0000054c,0x00000000,0x00030047,0x0000054d,
+ 0x00000000,0x00030047,0x0000054e,0x00000000,0x00030047,0x0000054f,0x00000000,0x00030047,
+ 0x00000550,0x00000000,0x00030047,0x00000551,0x00000000,0x00030047,0x00000553,0x00000000,
+ 0x00030047,0x00000555,0x00000000,0x00030047,0x00000556,0x00000000,0x00030047,0x00000558,
+ 0x00000000,0x00030047,0x00000559,0x00000000,0x00030047,0x0000055b,0x00000000,0x00030047,
+ 0x0000055c,0x00000000,0x00030047,0x0000055e,0x00000000,0x00030047,0x0000055f,0x00000000,
+ 0x00030047,0x00000561,0x00000000,0x00030047,0x00000562,0x00000000,0x00030047,0x00000563,
+ 0x00000000,0x00030047,0x00000564,0x00000000,0x00030047,0x00000565,0x00000000,0x00030047,
+ 0x0000056a,0x00000000,0x00030047,0x0000056b,0x00000000,0x00030047,0x0000056c,0x00000000,
+ 0x00030047,0x0000056d,0x00000000,0x00030047,0x0000056e,0x00000000,0x00030047,0x0000056f,
+ 0x00000000,0x00030047,0x00000571,0x00000000,0x00030047,0x00000577,0x00000000,0x00030047,
+ 0x00000578,0x00000000,0x00030047,0x00000579,0x00000000,0x00030047,0x0000057a,0x00000000,
+ 0x00030047,0x0000057b,0x00000000,0x00030047,0x0000057c,0x00000000,0x00030047,0x0000057d,
+ 0x00000000,0x00030047,0x0000057f,0x00000000,0x00030047,0x00000580,0x00000000,0x00030047,
+ 0x00000581,0x00000000,0x00030047,0x00000582,0x00000000,0x00030047,0x00000583,0x00000000,
+ 0x00030047,0x00000584,0x00000000,0x00030047,0x00000585,0x00000000,0x00030047,0x00000586,
+ 0x00000000,0x00030047,0x00000587,0x00000000,0x00030047,0x00000588,0x00000000,0x00030047,
+ 0x00000589,0x00000000,0x00030047,0x0000058a,0x00000000,0x00030047,0x0000058b,0x00000000,
+ 0x00030047,0x0000058c,0x00000000,0x00030047,0x0000058d,0x00000000,0x00030047,0x00000595,
+ 0x00000000,0x00040047,0x00000595,0x0000001e,0x00000000,0x00030047,0x00000596,0x00000000,
+ 0x00030047,0x00000597,0x00000000,0x00030047,0x00000598,0x00000000,0x00030047,0x00000599,
+ 0x00000000,0x00030047,0x0000059a,0x00000000,0x00030047,0x0000059b,0x00000000,0x00030047,
+ 0x0000059c,0x00000000,0x00030047,0x0000059d,0x00000000,0x00030047,0x0000059e,0x00000000,
+ 0x00030047,0x0000059f,0x00000000,0x00030047,0x000005a0,0x00000000,0x00020013,0x00000002,
+ 0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,
+ 0x00000006,0x00000003,0x00040020,0x00000008,0x00000007,0x00000007,0x00040021,0x00000009,
+ 0x00000006,0x00000008,0x00040020,0x0000000d,0x00000007,0x00000006,0x00040017,0x0000000e,
+ 0x00000006,0x00000004,0x000c0021,0x0000000f,0x0000000e,0x0000000d,0x0000000d,0x0000000d,
+ 0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x00040020,0x0000001b,
+ 0x00000007,0x0000000e,0x00090021,0x0000001c,0x0000000e,0x0000001b,0x0000001b,0x0000001b,
+ 0x0000001b,0x0000000d,0x0000000d,0x00040015,0x00000025,0x00000020,0x00000001,0x00040020,
+ 0x00000026,0x00000007,0x00000025,0x000a0021,0x00000027,0x00000006,0x0000000d,0x0000000d,
+ 0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x00000026,0x00040015,0x00000031,0x00000020,
+ 0x00000000,0x0004002b,0x00000031,0x00000032,0x00000006,0x0004001c,0x00000033,0x00000006,
+ 0x00000032,0x00040020,0x00000034,0x00000007,0x00000033,0x00050021,0x00000035,0x00000006,
+ 0x00000034,0x00000026,0x0004001c,0x0000003a,0x00000033,0x00000032,0x00040020,0x0000003b,
+ 0x00000007,0x0000003a,0x00060021,0x0000003c,0x00000006,0x0000003b,0x00000026,0x00000026,
+ 0x00090021,0x00000042,0x00000006,0x0000003b,0x0000000d,0x0000000d,0x00000026,0x00000026,
+ 0x0000001b,0x0004002b,0x00000006,0x0000004b,0x3e59b3d0,0x0004002b,0x00000031,0x0000004c,
+ 0x00000000,0x0004002b,0x00000006,0x00000050,0x3f371759,0x0004002b,0x00000031,0x00000051,
+ 0x00000001,0x0004002b,0x00000006,0x00000056,0x3d93dd98,0x0004002b,0x00000031,0x00000057,
+ 0x00000002,0x0004002b,0x00000006,0x000000a5,0x00000000,0x00020014,0x000000a6,0x0007002c,
+ 0x0000000e,0x000000aa,0x000000a5,0x000000a5,0x000000a5,0x000000a5,0x0004002b,0x00000006,
+ 0x000000b2,0x3f800000,0x00040020,0x000000b7,0x00000007,0x000000a6,0x0004002b,0x00000006,
+ 0x000000bb,0x400ce000,0x0004002b,0x00000006,0x000000bf,0x3d800000,0x0004002b,0x00000025,
+ 0x0000011c,0x00000020,0x0004002b,0x00000006,0x0000014e,0x3b808081,0x0004002b,0x00000006,
+ 0x00000152,0x40000000,0x0004002b,0x00000006,0x00000154,0x3e000000,0x0004002b,0x00000025,
+ 0x0000015c,0x00000000,0x0004002b,0x00000025,0x0000015d,0x0000003f,0x0004002b,0x00000031,
+ 0x00000160,0x00000080,0x0004001c,0x00000161,0x0000000e,0x00000160,0x0004001c,0x00000162,
+ 0x0000000e,0x00000160,0x0004001e,0x00000163,0x00000161,0x00000162,0x00040020,0x00000164,
+ 0x00000002,0x00000163,0x0004003b,0x00000164,0x00000165,0x00000002,0x0004002b,0x00000025,
+ 0x00000167,0x00000002,0x00040020,0x00000169,0x00000002,0x0000000e,0x0004002b,0x00000025,
+ 0x0000016f,0x00000001,0x0004002b,0x00000031,0x00000194,0x00000003,0x0004002b,0x00000025,
+ 0x00000197,0x00000003,0x0004002b,0x00000025,0x0000019f,0x00000004,0x0004002b,0x00000025,
+ 0x000001a7,0x00000005,0x0004002b,0x00000006,0x000001da,0x3ee66666,0x0004002b,0x00000006,
+ 0x000001dc,0x400e38e4,0x00040020,0x000001e2,0x00000006,0x00000006,0x0004003b,0x000001e2,
+ 0x000001e3,0x00000006,0x0004003b,0x000001e2,0x000001e6,0x00000006,0x0004003b,0x000001e2,
+ 0x000001ee,0x00000006,0x0004003b,0x000001e2,0x000001f1,0x00000006,0x0004002b,0x00000025,
+ 0x00000256,0x00000006,0x0004002b,0x00000006,0x000002c8,0x3f000000,0x0004002b,0x00000031,
+ 0x000002ce,0x00000007,0x0004001c,0x000002cf,0x00000006,0x000002ce,0x00040020,0x000002d0,
+ 0x00000007,0x000002cf,0x0004002b,0x00000006,0x00000361,0x42800000,0x0005001e,0x00000417,
+ 0x0000000e,0x0000000e,0x00000006,0x00040020,0x00000418,0x00000009,0x00000417,0x0004003b,
+ 0x00000418,0x00000419,0x00000009,0x00040020,0x0000041a,0x00000009,0x00000006,0x0004002b,
+ 0x00000006,0x00000424,0x3fa00000,0x0004002b,0x00000006,0x00000425,0x3fe00000,0x0004002b,
+ 0x00000006,0x0000042f,0x3ecccccd,0x0004002b,0x00000006,0x00000433,0x3f99999a,0x0004002b,
+ 0x00000006,0x00000438,0x3fcccccd,0x0004002b,0x00000006,0x0000043c,0x3fe66666,0x0004002b,
+ 0x00000006,0x00000442,0x3dcccccd,0x0004002b,0x00000006,0x00000443,0x3e0f5c29,0x0004002b,
+ 0x00000006,0x00000447,0x3ea3d70a,0x0004002b,0x00000006,0x0000044f,0x3f19999a,0x00040017,
+ 0x00000455,0x00000006,0x00000002,0x00040020,0x00000456,0x00000007,0x00000455,0x00040020,
+ 0x00000458,0x00000009,0x0000000e,0x00040020,0x00000461,0x00000001,0x00000455,0x0004003b,
+ 0x00000461,0x00000462,0x00000001,0x00040020,0x00000463,0x00000001,0x00000006,0x00090019,
+ 0x000004a8,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,
+ 0x0003001b,0x000004a9,0x000004a8,0x00040020,0x000004aa,0x00000000,0x000004a9,0x0004003b,
+ 0x000004aa,0x000004ab,0x00000000,0x00040020,0x00000594,0x00000003,0x0000000e,0x0004003b,
+ 0x00000594,0x00000595,0x00000003,0x0004002b,0x00000006,0x0000059f,0x41200000,0x0004002b,
+ 0x00000006,0x000005a0,0x3f666666,0x0004002b,0x00000025,0x000005a1,0x00000040,0x00050036,
+ 0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x0000000d,
+ 0x00000416,0x00000007,0x0004003b,0x0000000d,0x0000041e,0x00000007,0x0004003b,0x0000000d,
+ 0x00000421,0x00000007,0x0004003b,0x0000000d,0x00000427,0x00000007,0x0004003b,0x0000000d,
+ 0x0000042b,0x00000007,0x0004003b,0x0000000d,0x00000437,0x00000007,0x0004003b,0x0000000d,
+ 0x0000044b,0x00000007,0x0004003b,0x00000456,0x00000457,0x00000007,0x0004003b,0x00000456,
+ 0x0000045c,0x00000007,0x0004003b,0x0000000d,0x00000460,0x00000007,0x0004003b,0x0000000d,
+ 0x0000046a,0x00000007,0x0004003b,0x0000000d,0x00000471,0x00000007,0x0004003b,0x0000000d,
+ 0x00000474,0x00000007,0x0004003b,0x0000000d,0x00000477,0x00000007,0x0004003b,0x0000000d,
+ 0x0000047b,0x00000007,0x0004003b,0x00000026,0x0000047f,0x00000007,0x0004003b,0x00000026,
+ 0x00000483,0x00000007,0x0004003b,0x00000026,0x00000487,0x00000007,0x0004003b,0x00000026,
+ 0x0000048f,0x00000007,0x0004003b,0x00000456,0x00000497,0x00000007,0x0004003b,0x0000001b,
+ 0x000004a7,0x00000007,0x0004003b,0x0000003b,0x000004af,0x00000007,0x0004003b,0x0000001b,
+ 0x000004d4,0x00000007,0x0004003b,0x0000000d,0x000004d5,0x00000007,0x0004003b,0x0000000d,
+ 0x000004d8,0x00000007,0x0004003b,0x0000000d,0x000004db,0x00000007,0x0004003b,0x0000000d,
+ 0x000004de,0x00000007,0x0004003b,0x0000000d,0x000004e1,0x00000007,0x0004003b,0x0000000d,
+ 0x000004e4,0x00000007,0x0004003b,0x0000000d,0x000004e7,0x00000007,0x0004003b,0x0000000d,
+ 0x000004ea,0x00000007,0x0004003b,0x0000000d,0x000004ed,0x00000007,0x0004003b,0x0000001b,
+ 0x000004f1,0x00000007,0x0004003b,0x0000000d,0x000004f2,0x00000007,0x0004003b,0x0000000d,
+ 0x000004f5,0x00000007,0x0004003b,0x0000000d,0x000004f8,0x00000007,0x0004003b,0x0000000d,
+ 0x000004fb,0x00000007,0x0004003b,0x0000000d,0x000004fe,0x00000007,0x0004003b,0x0000000d,
+ 0x00000501,0x00000007,0x0004003b,0x0000000d,0x00000504,0x00000007,0x0004003b,0x0000000d,
+ 0x00000507,0x00000007,0x0004003b,0x0000000d,0x0000050a,0x00000007,0x0004003b,0x0000001b,
+ 0x0000050e,0x00000007,0x0004003b,0x0000000d,0x0000050f,0x00000007,0x0004003b,0x0000000d,
+ 0x00000512,0x00000007,0x0004003b,0x0000000d,0x00000515,0x00000007,0x0004003b,0x0000000d,
+ 0x00000518,0x00000007,0x0004003b,0x0000000d,0x0000051b,0x00000007,0x0004003b,0x0000000d,
+ 0x0000051e,0x00000007,0x0004003b,0x0000000d,0x00000521,0x00000007,0x0004003b,0x0000000d,
+ 0x00000524,0x00000007,0x0004003b,0x0000000d,0x00000527,0x00000007,0x0004003b,0x0000001b,
+ 0x0000052b,0x00000007,0x0004003b,0x0000000d,0x0000052c,0x00000007,0x0004003b,0x0000000d,
+ 0x0000052f,0x00000007,0x0004003b,0x0000000d,0x00000532,0x00000007,0x0004003b,0x0000000d,
+ 0x00000535,0x00000007,0x0004003b,0x0000000d,0x00000538,0x00000007,0x0004003b,0x0000000d,
+ 0x0000053b,0x00000007,0x0004003b,0x0000000d,0x0000053e,0x00000007,0x0004003b,0x0000000d,
+ 0x00000541,0x00000007,0x0004003b,0x0000000d,0x00000544,0x00000007,0x0004003b,0x0000001b,
+ 0x00000548,0x00000007,0x0004003b,0x0000001b,0x00000549,0x00000007,0x0004003b,0x0000001b,
+ 0x0000054b,0x00000007,0x0004003b,0x0000001b,0x0000054d,0x00000007,0x0004003b,0x0000001b,
+ 0x0000054f,0x00000007,0x0004003b,0x0000000d,0x00000551,0x00000007,0x0004003b,0x0000000d,
+ 0x00000553,0x00000007,0x0004003b,0x0000000d,0x00000556,0x00000007,0x0004003b,0x0000000d,
+ 0x00000563,0x00000007,0x0004003b,0x0000003b,0x00000564,0x00000007,0x0004003b,0x00000026,
+ 0x00000566,0x00000007,0x0004003b,0x00000026,0x00000568,0x00000007,0x0004003b,0x0000003b,
+ 0x0000056d,0x00000007,0x0004003b,0x0000000d,0x0000056f,0x00000007,0x0004003b,0x0000000d,
+ 0x00000571,0x00000007,0x0004003b,0x00000026,0x00000573,0x00000007,0x0004003b,0x00000026,
+ 0x00000575,0x00000007,0x0004003b,0x0000001b,0x00000577,0x00000007,0x0004003b,0x0000001b,
+ 0x0000057c,0x00000007,0x0004003b,0x0000000d,0x00000580,0x00000007,0x0004003b,0x00000008,
+ 0x00000581,0x00000007,0x0004003b,0x0000000d,0x00000585,0x00000007,0x00050041,0x0000041a,
+ 0x0000041b,0x00000419,0x00000167,0x0004003d,0x00000006,0x0000041c,0x0000041b,0x0008000c,
+ 0x00000006,0x0000041d,0x00000001,0x0000002b,0x0000041c,0x000000a5,0x000000b2,0x0003003e,
+ 0x00000416,0x0000041d,0x0004003d,0x00000006,0x0000041f,0x00000416,0x00050083,0x00000006,
+ 0x00000420,0x0000041f,0x000002c8,0x0003003e,0x0000041e,0x00000420,0x0004003d,0x00000006,
+ 0x00000422,0x0000041e,0x000500be,0x000000a6,0x00000423,0x00000422,0x000000a5,0x000600a9,
+ 0x00000006,0x00000426,0x00000423,0x00000424,0x00000425,0x0003003e,0x00000421,0x00000426,
+ 0x0004003d,0x00000006,0x00000428,0x0000041e,0x000500be,0x000000a6,0x00000429,0x00000428,
+ 0x000000a5,0x000600a9,0x00000006,0x0000042a,0x00000429,0x00000424,0x000000b2,0x0003003e,
+ 0x00000427,0x0000042a,0x0004003d,0x00000006,0x0000042c,0x0000041e,0x000500be,0x000000a6,
+ 0x0000042d,0x0000042c,0x000000a5,0x000600a9,0x00000006,0x0000042e,0x0000042d,0x00000424,
+ 0x000000b2,0x0003003e,0x0000042b,0x0000042e,0x0004003d,0x00000006,0x00000430,0x0000041e,
+ 0x0004003d,0x00000006,0x00000431,0x00000427,0x00050085,0x00000006,0x00000432,0x00000430,
+ 0x00000431,0x00050085,0x00000006,0x00000434,0x00000432,0x00000433,0x00050081,0x00000006,
+ 0x00000435,0x0000042f,0x00000434,0x0007000c,0x00000006,0x00000436,0x00000001,0x00000028,
+ 0x000000a5,0x00000435,0x0003003e,0x000001e6,0x00000436,0x0004003d,0x00000006,0x00000439,
+ 0x0000041e,0x0004003d,0x00000006,0x0000043a,0x00000421,0x00050085,0x00000006,0x0000043b,
+ 0x00000439,0x0000043a,0x00050085,0x00000006,0x0000043d,0x0000043b,0x0000043c,0x00050081,
+ 0x00000006,0x0000043e,0x00000438,0x0000043d,0x0003003e,0x00000437,0x0000043e,0x0004003d,
+ 0x00000006,0x0000043f,0x00000437,0x0004003d,0x00000006,0x00000440,0x000001e6,0x00050083,
+ 0x00000006,0x00000441,0x0000043f,0x00000440,0x0003003e,0x000001e3,0x00000441,0x0004003d,
+ 0x00000006,0x00000444,0x0000041e,0x0004003d,0x00000006,0x00000445,0x0000042b,0x00050085,
+ 0x00000006,0x00000446,0x00000444,0x00000445,0x00050085,0x00000006,0x00000448,0x00000446,
+ 0x00000447,0x00050081,0x00000006,0x00000449,0x00000443,0x00000448,0x0007000c,0x00000006,
+ 0x0000044a,0x00000001,0x00000028,0x00000442,0x00000449,0x0003003e,0x000001f1,0x0000044a,
+ 0x0004003d,0x00000006,0x0000044c,0x0000041e,0x0004003d,0x00000006,0x0000044d,0x0000042b,
+ 0x00050085,0x00000006,0x0000044e,0x0000044c,0x0000044d,0x00050085,0x00000006,0x00000450,
+ 0x0000044e,0x0000044f,0x00050081,0x00000006,0x00000451,0x000002c8,0x00000450,0x0003003e,
+ 0x0000044b,0x00000451,0x0004003d,0x00000006,0x00000452,0x0000044b,0x0004003d,0x00000006,
+ 0x00000453,0x000001f1,0x00050083,0x00000006,0x00000454,0x00000452,0x00000453,0x0003003e,
+ 0x000001ee,0x00000454,0x00050041,0x00000458,0x00000459,0x00000419,0x0000016f,0x0004003d,
+ 0x0000000e,0x0000045a,0x00000459,0x0007004f,0x00000455,0x0000045b,0x0000045a,0x0000045a,
+ 0x00000002,0x00000003,0x0003003e,0x00000457,0x0000045b,0x00050041,0x00000458,0x0000045d,
+ 0x00000419,0x0000016f,0x0004003d,0x0000000e,0x0000045e,0x0000045d,0x0007004f,0x00000455,
+ 0x0000045f,0x0000045e,0x0000045e,0x00000000,0x00000001,0x0003003e,0x0000045c,0x0000045f,
+ 0x00050041,0x00000463,0x00000464,0x00000462,0x0000004c,0x0004003d,0x00000006,0x00000465,
+ 0x00000464,0x00050041,0x0000000d,0x00000466,0x00000457,0x0000004c,0x0004003d,0x00000006,
+ 0x00000467,0x00000466,0x00050085,0x00000006,0x00000468,0x00000465,0x00000467,0x00050083,
+ 0x00000006,0x00000469,0x00000468,0x000002c8,0x0003003e,0x00000460,0x00000469,0x00050041,
+ 0x00000463,0x0000046b,0x00000462,0x00000051,0x0004003d,0x00000006,0x0000046c,0x0000046b,
+ 0x00050041,0x0000000d,0x0000046d,0x00000457,0x00000051,0x0004003d,0x00000006,0x0000046e,
+ 0x0000046d,0x00050085,0x00000006,0x0000046f,0x0000046c,0x0000046e,0x00050083,0x00000006,
+ 0x00000470,0x0000046f,0x000002c8,0x0003003e,0x0000046a,0x00000470,0x0004003d,0x00000006,
+ 0x00000472,0x00000460,0x0006000c,0x00000006,0x00000473,0x00000001,0x00000008,0x00000472,
+ 0x0003003e,0x00000471,0x00000473,0x0004003d,0x00000006,0x00000475,0x0000046a,0x0006000c,
+ 0x00000006,0x00000476,0x00000001,0x00000008,0x00000475,0x0003003e,0x00000474,0x00000476,
+ 0x0004003d,0x00000006,0x00000478,0x00000460,0x0004003d,0x00000006,0x00000479,0x00000471,
+ 0x00050083,0x00000006,0x0000047a,0x00000478,0x00000479,0x0003003e,0x00000477,0x0000047a,
+ 0x0004003d,0x00000006,0x0000047c,0x0000046a,0x0004003d,0x00000006,0x0000047d,0x00000474,
+ 0x00050083,0x00000006,0x0000047e,0x0000047c,0x0000047d,0x0003003e,0x0000047b,0x0000047e,
+ 0x0004003d,0x00000006,0x00000480,0x00000477,0x00050085,0x00000006,0x00000481,0x00000480,
+ 0x00000361,0x0004006e,0x00000025,0x00000482,0x00000481,0x0003003e,0x0000047f,0x00000482,
+ 0x0004003d,0x00000006,0x00000484,0x0000047b,0x00050085,0x00000006,0x00000485,0x00000484,
+ 0x00000361,0x0004006e,0x00000025,0x00000486,0x00000485,0x0003003e,0x00000483,0x00000486,
+ 0x0003003e,0x00000487,0x0000015c,0x000200f9,0x00000488,0x000200f8,0x00000488,0x000400f6,
+ 0x0000048a,0x0000048b,0x00000000,0x000200f9,0x0000048c,0x000200f8,0x0000048c,0x0004003d,
+ 0x00000025,0x0000048d,0x00000487,0x000500b1,0x000000a6,0x0000048e,0x0000048d,0x00000197,
+ 0x000400fa,0x0000048e,0x00000489,0x0000048a,0x000200f8,0x00000489,0x0003003e,0x0000048f,
+ 0x0000015c,0x000200f9,0x00000490,0x000200f8,0x00000490,0x000400f6,0x00000492,0x00000493,
+ 0x00000000,0x000200f9,0x00000494,0x000200f8,0x00000494,0x0004003d,0x00000025,0x00000495,
+ 0x0000048f,0x000500b1,0x000000a6,0x00000496,0x00000495,0x00000197,0x000400fa,0x00000496,
+ 0x00000491,0x00000492,0x000200f8,0x00000491,0x0004003d,0x00000006,0x00000498,0x00000471,
+ 0x0004003d,0x00000025,0x00000499,0x0000048f,0x00050084,0x00000025,0x0000049a,0x00000167,
+ 0x00000499,0x00050082,0x00000025,0x0000049b,0x0000049a,0x0000016f,0x0004006f,0x00000006,
+ 0x0000049c,0x0000049b,0x00050081,0x00000006,0x0000049d,0x00000498,0x0000049c,0x0004003d,
+ 0x00000006,0x0000049e,0x00000474,0x0004003d,0x00000025,0x0000049f,0x00000487,0x00050084,
+ 0x00000025,0x000004a0,0x00000167,0x0000049f,0x00050082,0x00000025,0x000004a1,0x000004a0,
+ 0x0000016f,0x0004006f,0x00000006,0x000004a2,0x000004a1,0x00050081,0x00000006,0x000004a3,
+ 0x0000049e,0x000004a2,0x00050050,0x00000455,0x000004a4,0x0000049d,0x000004a3,0x0004003d,
+ 0x00000455,0x000004a5,0x0000045c,0x00050085,0x00000455,0x000004a6,0x000004a4,0x000004a5,
+ 0x0003003e,0x00000497,0x000004a6,0x0004003d,0x000004a9,0x000004ac,0x000004ab,0x0004003d,
+ 0x00000455,0x000004ad,0x00000497,0x00060060,0x0000000e,0x000004ae,0x000004ac,0x000004ad,
+ 0x00000197,0x0003003e,0x000004a7,0x000004ae,0x0004003d,0x00000025,0x000004b0,0x00000487,
+ 0x00050084,0x00000025,0x000004b1,0x00000167,0x000004b0,0x0004003d,0x00000025,0x000004b2,
+ 0x0000048f,0x00050084,0x00000025,0x000004b3,0x00000167,0x000004b2,0x00050041,0x0000000d,
+ 0x000004b4,0x000004a7,0x00000194,0x0004003d,0x00000006,0x000004b5,0x000004b4,0x00060041,
+ 0x0000000d,0x000004b6,0x000004af,0x000004b1,0x000004b3,0x0003003e,0x000004b6,0x000004b5,
+ 0x0004003d,0x00000025,0x000004b7,0x00000487,0x00050084,0x00000025,0x000004b8,0x00000167,
+ 0x000004b7,0x0004003d,0x00000025,0x000004b9,0x0000048f,0x00050084,0x00000025,0x000004ba,
+ 0x00000167,0x000004b9,0x00050080,0x00000025,0x000004bb,0x000004ba,0x0000016f,0x00050041,
+ 0x0000000d,0x000004bc,0x000004a7,0x00000057,0x0004003d,0x00000006,0x000004bd,0x000004bc,
+ 0x00060041,0x0000000d,0x000004be,0x000004af,0x000004b8,0x000004bb,0x0003003e,0x000004be,
+ 0x000004bd,0x0004003d,0x00000025,0x000004bf,0x00000487,0x00050084,0x00000025,0x000004c0,
+ 0x00000167,0x000004bf,0x00050080,0x00000025,0x000004c1,0x000004c0,0x0000016f,0x0004003d,
+ 0x00000025,0x000004c2,0x0000048f,0x00050084,0x00000025,0x000004c3,0x00000167,0x000004c2,
+ 0x00050041,0x0000000d,0x000004c4,0x000004a7,0x0000004c,0x0004003d,0x00000006,0x000004c5,
+ 0x000004c4,0x00060041,0x0000000d,0x000004c6,0x000004af,0x000004c1,0x000004c3,0x0003003e,
+ 0x000004c6,0x000004c5,0x0004003d,0x00000025,0x000004c7,0x00000487,0x00050084,0x00000025,
+ 0x000004c8,0x00000167,0x000004c7,0x00050080,0x00000025,0x000004c9,0x000004c8,0x0000016f,
+ 0x0004003d,0x00000025,0x000004ca,0x0000048f,0x00050084,0x00000025,0x000004cb,0x00000167,
+ 0x000004ca,0x00050080,0x00000025,0x000004cc,0x000004cb,0x0000016f,0x00050041,0x0000000d,
+ 0x000004cd,0x000004a7,0x00000051,0x0004003d,0x00000006,0x000004ce,0x000004cd,0x00060041,
+ 0x0000000d,0x000004cf,0x000004af,0x000004c9,0x000004cc,0x0003003e,0x000004cf,0x000004ce,
+ 0x000200f9,0x00000493,0x000200f8,0x00000493,0x0004003d,0x00000025,0x000004d0,0x0000048f,
+ 0x00050080,0x00000025,0x000004d1,0x000004d0,0x0000016f,0x0003003e,0x0000048f,0x000004d1,
+ 0x000200f9,0x00000490,0x000200f8,0x00000492,0x000200f9,0x0000048b,0x000200f8,0x0000048b,
+ 0x0004003d,0x00000025,0x000004d2,0x00000487,0x00050080,0x00000025,0x000004d3,0x000004d2,
+ 0x0000016f,0x0003003e,0x00000487,0x000004d3,0x000200f9,0x00000488,0x000200f8,0x0000048a,
+ 0x00060041,0x0000000d,0x000004d6,0x000004af,0x0000016f,0x0000016f,0x0004003d,0x00000006,
+ 0x000004d7,0x000004d6,0x0003003e,0x000004d5,0x000004d7,0x00060041,0x0000000d,0x000004d9,
+ 0x000004af,0x0000016f,0x00000167,0x0004003d,0x00000006,0x000004da,0x000004d9,0x0003003e,
+ 0x000004d8,0x000004da,0x00060041,0x0000000d,0x000004dc,0x000004af,0x0000016f,0x00000197,
+ 0x0004003d,0x00000006,0x000004dd,0x000004dc,0x0003003e,0x000004db,0x000004dd,0x00060041,
+ 0x0000000d,0x000004df,0x000004af,0x00000167,0x0000016f,0x0004003d,0x00000006,0x000004e0,
+ 0x000004df,0x0003003e,0x000004de,0x000004e0,0x00060041,0x0000000d,0x000004e2,0x000004af,
+ 0x00000167,0x00000167,0x0004003d,0x00000006,0x000004e3,0x000004e2,0x0003003e,0x000004e1,
+ 0x000004e3,0x00060041,0x0000000d,0x000004e5,0x000004af,0x00000167,0x00000197,0x0004003d,
+ 0x00000006,0x000004e6,0x000004e5,0x0003003e,0x000004e4,0x000004e6,0x00060041,0x0000000d,
+ 0x000004e8,0x000004af,0x00000197,0x0000016f,0x0004003d,0x00000006,0x000004e9,0x000004e8,
+ 0x0003003e,0x000004e7,0x000004e9,0x00060041,0x0000000d,0x000004eb,0x000004af,0x00000197,
+ 0x00000167,0x0004003d,0x00000006,0x000004ec,0x000004eb,0x0003003e,0x000004ea,0x000004ec,
+ 0x00060041,0x0000000d,0x000004ee,0x000004af,0x00000197,0x00000197,0x0004003d,0x00000006,
+ 0x000004ef,0x000004ee,0x0003003e,0x000004ed,0x000004ef,0x000d0039,0x0000000e,0x000004f0,
+ 0x00000019,0x000004d5,0x000004d8,0x000004db,0x000004de,0x000004e1,0x000004e4,0x000004e7,
+ 0x000004ea,0x000004ed,0x0003003e,0x000004d4,0x000004f0,0x00060041,0x0000000d,0x000004f3,
+ 0x000004af,0x0000016f,0x00000167,0x0004003d,0x00000006,0x000004f4,0x000004f3,0x0003003e,
+ 0x000004f2,0x000004f4,0x00060041,0x0000000d,0x000004f6,0x000004af,0x0000016f,0x00000197,
+ 0x0004003d,0x00000006,0x000004f7,0x000004f6,0x0003003e,0x000004f5,0x000004f7,0x00060041,
+ 0x0000000d,0x000004f9,0x000004af,0x0000016f,0x0000019f,0x0004003d,0x00000006,0x000004fa,
+ 0x000004f9,0x0003003e,0x000004f8,0x000004fa,0x00060041,0x0000000d,0x000004fc,0x000004af,
+ 0x00000167,0x00000167,0x0004003d,0x00000006,0x000004fd,0x000004fc,0x0003003e,0x000004fb,
+ 0x000004fd,0x00060041,0x0000000d,0x000004ff,0x000004af,0x00000167,0x00000197,0x0004003d,
+ 0x00000006,0x00000500,0x000004ff,0x0003003e,0x000004fe,0x00000500,0x00060041,0x0000000d,
+ 0x00000502,0x000004af,0x00000167,0x0000019f,0x0004003d,0x00000006,0x00000503,0x00000502,
+ 0x0003003e,0x00000501,0x00000503,0x00060041,0x0000000d,0x00000505,0x000004af,0x00000197,
+ 0x00000167,0x0004003d,0x00000006,0x00000506,0x00000505,0x0003003e,0x00000504,0x00000506,
+ 0x00060041,0x0000000d,0x00000508,0x000004af,0x00000197,0x00000197,0x0004003d,0x00000006,
+ 0x00000509,0x00000508,0x0003003e,0x00000507,0x00000509,0x00060041,0x0000000d,0x0000050b,
+ 0x000004af,0x00000197,0x0000019f,0x0004003d,0x00000006,0x0000050c,0x0000050b,0x0003003e,
+ 0x0000050a,0x0000050c,0x000d0039,0x0000000e,0x0000050d,0x00000019,0x000004f2,0x000004f5,
+ 0x000004f8,0x000004fb,0x000004fe,0x00000501,0x00000504,0x00000507,0x0000050a,0x0003003e,
+ 0x000004f1,0x0000050d,0x00060041,0x0000000d,0x00000510,0x000004af,0x00000167,0x0000016f,
+ 0x0004003d,0x00000006,0x00000511,0x00000510,0x0003003e,0x0000050f,0x00000511,0x00060041,
+ 0x0000000d,0x00000513,0x000004af,0x00000167,0x00000167,0x0004003d,0x00000006,0x00000514,
+ 0x00000513,0x0003003e,0x00000512,0x00000514,0x00060041,0x0000000d,0x00000516,0x000004af,
+ 0x00000167,0x00000197,0x0004003d,0x00000006,0x00000517,0x00000516,0x0003003e,0x00000515,
+ 0x00000517,0x00060041,0x0000000d,0x00000519,0x000004af,0x00000197,0x0000016f,0x0004003d,
+ 0x00000006,0x0000051a,0x00000519,0x0003003e,0x00000518,0x0000051a,0x00060041,0x0000000d,
+ 0x0000051c,0x000004af,0x00000197,0x00000167,0x0004003d,0x00000006,0x0000051d,0x0000051c,
+ 0x0003003e,0x0000051b,0x0000051d,0x00060041,0x0000000d,0x0000051f,0x000004af,0x00000197,
+ 0x00000197,0x0004003d,0x00000006,0x00000520,0x0000051f,0x0003003e,0x0000051e,0x00000520,
+ 0x00060041,0x0000000d,0x00000522,0x000004af,0x0000019f,0x0000016f,0x0004003d,0x00000006,
+ 0x00000523,0x00000522,0x0003003e,0x00000521,0x00000523,0x00060041,0x0000000d,0x00000525,
+ 0x000004af,0x0000019f,0x00000167,0x0004003d,0x00000006,0x00000526,0x00000525,0x0003003e,
+ 0x00000524,0x00000526,0x00060041,0x0000000d,0x00000528,0x000004af,0x0000019f,0x00000197,
+ 0x0004003d,0x00000006,0x00000529,0x00000528,0x0003003e,0x00000527,0x00000529,0x000d0039,
+ 0x0000000e,0x0000052a,0x00000019,0x0000050f,0x00000512,0x00000515,0x00000518,0x0000051b,
+ 0x0000051e,0x00000521,0x00000524,0x00000527,0x0003003e,0x0000050e,0x0000052a,0x00060041,
+ 0x0000000d,0x0000052d,0x000004af,0x00000167,0x00000167,0x0004003d,0x00000006,0x0000052e,
+ 0x0000052d,0x0003003e,0x0000052c,0x0000052e,0x00060041,0x0000000d,0x00000530,0x000004af,
+ 0x00000167,0x00000197,0x0004003d,0x00000006,0x00000531,0x00000530,0x0003003e,0x0000052f,
+ 0x00000531,0x00060041,0x0000000d,0x00000533,0x000004af,0x00000167,0x0000019f,0x0004003d,
+ 0x00000006,0x00000534,0x00000533,0x0003003e,0x00000532,0x00000534,0x00060041,0x0000000d,
+ 0x00000536,0x000004af,0x00000197,0x00000167,0x0004003d,0x00000006,0x00000537,0x00000536,
+ 0x0003003e,0x00000535,0x00000537,0x00060041,0x0000000d,0x00000539,0x000004af,0x00000197,
+ 0x00000197,0x0004003d,0x00000006,0x0000053a,0x00000539,0x0003003e,0x00000538,0x0000053a,
+ 0x00060041,0x0000000d,0x0000053c,0x000004af,0x00000197,0x0000019f,0x0004003d,0x00000006,
+ 0x0000053d,0x0000053c,0x0003003e,0x0000053b,0x0000053d,0x00060041,0x0000000d,0x0000053f,
+ 0x000004af,0x0000019f,0x00000167,0x0004003d,0x00000006,0x00000540,0x0000053f,0x0003003e,
+ 0x0000053e,0x00000540,0x00060041,0x0000000d,0x00000542,0x000004af,0x0000019f,0x00000197,
+ 0x0004003d,0x00000006,0x00000543,0x00000542,0x0003003e,0x00000541,0x00000543,0x00060041,
+ 0x0000000d,0x00000545,0x000004af,0x0000019f,0x0000019f,0x0004003d,0x00000006,0x00000546,
+ 0x00000545,0x0003003e,0x00000544,0x00000546,0x000d0039,0x0000000e,0x00000547,0x00000019,
+ 0x0000052c,0x0000052f,0x00000532,0x00000535,0x00000538,0x0000053b,0x0000053e,0x00000541,
+ 0x00000544,0x0003003e,0x0000052b,0x00000547,0x0004003d,0x0000000e,0x0000054a,0x000004d4,
+ 0x0003003e,0x00000549,0x0000054a,0x0004003d,0x0000000e,0x0000054c,0x000004f1,0x0003003e,
+ 0x0000054b,0x0000054c,0x0004003d,0x0000000e,0x0000054e,0x0000050e,0x0003003e,0x0000054d,
+ 0x0000054e,0x0004003d,0x0000000e,0x00000550,0x0000052b,0x0003003e,0x0000054f,0x00000550,
+ 0x0004003d,0x00000006,0x00000552,0x00000477,0x0003003e,0x00000551,0x00000552,0x0004003d,
+ 0x00000006,0x00000554,0x0000047b,0x0003003e,0x00000553,0x00000554,0x000a0039,0x0000000e,
+ 0x00000555,0x00000023,0x00000549,0x0000054b,0x0000054d,0x0000054f,0x00000551,0x00000553,
+ 0x0003003e,0x00000548,0x00000555,0x00050041,0x0000000d,0x00000557,0x00000548,0x0000004c,
+ 0x0004003d,0x00000006,0x00000558,0x00000557,0x00050083,0x00000006,0x00000559,0x000000b2,
+ 0x00000558,0x00050041,0x0000000d,0x0000055a,0x00000548,0x00000051,0x0004003d,0x00000006,
+ 0x0000055b,0x0000055a,0x00050083,0x00000006,0x0000055c,0x00000559,0x0000055b,0x00050041,
+ 0x0000000d,0x0000055d,0x00000548,0x00000057,0x0004003d,0x00000006,0x0000055e,0x0000055d,
+ 0x00050083,0x00000006,0x0000055f,0x0000055c,0x0000055e,0x00050041,0x0000000d,0x00000560,
+ 0x00000548,0x00000194,0x0004003d,0x00000006,0x00000561,0x00000560,0x00050083,0x00000006,
+ 0x00000562,0x0000055f,0x00000561,0x0003003e,0x00000556,0x00000562,0x0004003d,0x0000003a,
+ 0x00000565,0x000004af,0x0003003e,0x00000564,0x00000565,0x0004003d,0x00000025,0x00000567,
+ 0x0000047f,0x0003003e,0x00000566,0x00000567,0x0004003d,0x00000025,0x00000569,0x00000483,
+ 0x0003003e,0x00000568,0x00000569,0x00070039,0x00000006,0x0000056a,0x00000040,0x00000564,
+ 0x00000566,0x00000568,0x0004003d,0x00000006,0x0000056b,0x00000556,0x00050085,0x00000006,
+ 0x0000056c,0x0000056a,0x0000056b,0x0003003e,0x00000563,0x0000056c,0x0004003d,0x0000003a,
+ 0x0000056e,0x000004af,0x0003003e,0x0000056d,0x0000056e,0x0004003d,0x00000006,0x00000570,
+ 0x00000477,0x0003003e,0x0000056f,0x00000570,0x0004003d,0x00000006,0x00000572,0x0000047b,
+ 0x0003003e,0x00000571,0x00000572,0x0004003d,0x00000025,0x00000574,0x0000047f,0x0003003e,
+ 0x00000573,0x00000574,0x0004003d,0x00000025,0x00000576,0x00000483,0x0003003e,0x00000575,
+ 0x00000576,0x0004003d,0x0000000e,0x00000578,0x00000548,0x0003003e,0x00000577,0x00000578,
+ 0x000a0039,0x00000006,0x00000579,0x00000049,0x0000056d,0x0000056f,0x00000571,0x00000573,
+ 0x00000575,0x00000577,0x0004003d,0x00000006,0x0000057a,0x00000563,0x00050081,0x00000006,
+ 0x0000057b,0x0000057a,0x00000579,0x0003003e,0x00000563,0x0000057b,0x0004003d,0x000004a9,
+ 0x0000057d,0x000004ab,0x0004003d,0x00000455,0x0000057e,0x00000462,0x00050057,0x0000000e,
+ 0x0000057f,0x0000057d,0x0000057e,0x0003003e,0x0000057c,0x0000057f,0x0004003d,0x0000000e,
+ 0x00000582,0x0000057c,0x0008004f,0x00000007,0x00000583,0x00000582,0x00000582,0x00000000,
+ 0x00000001,0x00000002,0x0003003e,0x00000581,0x00000583,0x00050039,0x00000006,0x00000584,
+ 0x0000000b,0x00000581,0x0003003e,0x00000580,0x00000584,0x0004003d,0x00000006,0x00000586,
+ 0x00000563,0x0004003d,0x00000006,0x00000587,0x00000580,0x00050083,0x00000006,0x00000588,
+ 0x00000586,0x00000587,0x0003003e,0x00000585,0x00000588,0x0004003d,0x00000006,0x00000589,
+ 0x00000585,0x00060050,0x00000007,0x0000058a,0x00000589,0x00000589,0x00000589,0x0004003d,
+ 0x0000000e,0x0000058b,0x0000057c,0x0008004f,0x00000007,0x0000058c,0x0000058b,0x0000058b,
+ 0x00000000,0x00000001,0x00000002,0x00050081,0x00000007,0x0000058d,0x0000058c,0x0000058a,
+ 0x00050041,0x0000000d,0x0000058e,0x0000057c,0x0000004c,0x00050051,0x00000006,0x0000058f,
+ 0x0000058d,0x00000000,0x0003003e,0x0000058e,0x0000058f,0x00050041,0x0000000d,0x00000590,
+ 0x0000057c,0x00000051,0x00050051,0x00000006,0x00000591,0x0000058d,0x00000001,0x0003003e,
+ 0x00000590,0x00000591,0x00050041,0x0000000d,0x00000592,0x0000057c,0x00000057,0x00050051,
+ 0x00000006,0x00000593,0x0000058d,0x00000002,0x0003003e,0x00000592,0x00000593,0x0004003d,
+ 0x0000000e,0x00000596,0x0000057c,0x0008004f,0x00000007,0x00000597,0x00000596,0x00000596,
+ 0x00000000,0x00000001,0x00000002,0x00060050,0x00000007,0x00000598,0x000000a5,0x000000a5,
+ 0x000000a5,0x00060050,0x00000007,0x00000599,0x000000b2,0x000000b2,0x000000b2,0x0008000c,
+ 0x00000007,0x0000059a,0x00000001,0x0000002b,0x00000597,0x00000598,0x00000599,0x00050051,
+ 0x00000006,0x0000059b,0x0000059a,0x00000000,0x00050051,0x00000006,0x0000059c,0x0000059a,
+ 0x00000001,0x00050051,0x00000006,0x0000059d,0x0000059a,0x00000002,0x00070050,0x0000000e,
+ 0x0000059e,0x0000059b,0x0000059c,0x0000059d,0x000000b2,0x0003003e,0x00000595,0x0000059e,
+ 0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000b,0x00000000,0x00000009,0x00030037,
+ 0x00000008,0x0000000a,0x000200f8,0x0000000c,0x00050041,0x0000000d,0x0000004d,0x0000000a,
+ 0x0000004c,0x0004003d,0x00000006,0x0000004e,0x0000004d,0x00050085,0x00000006,0x0000004f,
+ 0x0000004b,0x0000004e,0x00050041,0x0000000d,0x00000052,0x0000000a,0x00000051,0x0004003d,
+ 0x00000006,0x00000053,0x00000052,0x00050085,0x00000006,0x00000054,0x00000050,0x00000053,
+ 0x00050081,0x00000006,0x00000055,0x0000004f,0x00000054,0x00050041,0x0000000d,0x00000058,
+ 0x0000000a,0x00000057,0x0004003d,0x00000006,0x00000059,0x00000058,0x00050085,0x00000006,
+ 0x0000005a,0x00000056,0x00000059,0x00050081,0x00000006,0x0000005b,0x00000055,0x0000005a,
+ 0x000200fe,0x0000005b,0x00010038,0x00050036,0x0000000e,0x00000019,0x00000000,0x0000000f,
+ 0x00030037,0x0000000d,0x00000010,0x00030037,0x0000000d,0x00000011,0x00030037,0x0000000d,
+ 0x00000012,0x00030037,0x0000000d,0x00000013,0x00030037,0x0000000d,0x00000014,0x00030037,
+ 0x0000000d,0x00000015,0x00030037,0x0000000d,0x00000016,0x00030037,0x0000000d,0x00000017,
+ 0x00030037,0x0000000d,0x00000018,0x000200f8,0x0000001a,0x0004003b,0x0000000d,0x0000005e,
+ 0x00000007,0x0004003b,0x0000000d,0x0000006b,0x00000007,0x0004003b,0x0000000d,0x00000078,
+ 0x00000007,0x0004003b,0x0000000d,0x00000085,0x00000007,0x0004003b,0x0000000d,0x00000092,
+ 0x00000007,0x0004003b,0x0000000d,0x00000096,0x00000007,0x0004003b,0x0000000d,0x0000009a,
+ 0x00000007,0x0004003b,0x0000000d,0x0000009e,0x00000007,0x0004003b,0x0000000d,0x000000ac,
+ 0x00000007,0x0004003b,0x0000000d,0x000000b4,0x00000007,0x0004003b,0x000000b7,0x000000b8,
+ 0x00000007,0x0004003b,0x000000b7,0x000000c6,0x00000007,0x0004003b,0x000000b7,0x000000d2,
+ 0x00000007,0x0004003b,0x000000b7,0x000000d6,0x00000007,0x0004003b,0x0000000d,0x000000da,
+ 0x00000007,0x0004003b,0x0000000d,0x000000e0,0x00000007,0x0004003b,0x0000000d,0x000000e6,
+ 0x00000007,0x0004003b,0x0000000d,0x000000ec,0x00000007,0x0004003b,0x0000000d,0x000000f3,
+ 0x00000007,0x0004003b,0x0000000d,0x000000f9,0x00000007,0x0004003d,0x00000006,0x0000005f,
+ 0x00000010,0x0004003d,0x00000006,0x00000060,0x00000011,0x00050081,0x00000006,0x00000061,
+ 0x0000005f,0x00000060,0x0004003d,0x00000006,0x00000062,0x00000012,0x00050081,0x00000006,
+ 0x00000063,0x00000061,0x00000062,0x0004003d,0x00000006,0x00000064,0x00000016,0x00050083,
+ 0x00000006,0x00000065,0x00000063,0x00000064,0x0004003d,0x00000006,0x00000066,0x00000017,
+ 0x00050083,0x00000006,0x00000067,0x00000065,0x00000066,0x0004003d,0x00000006,0x00000068,
+ 0x00000018,0x00050083,0x00000006,0x00000069,0x00000067,0x00000068,0x0006000c,0x00000006,
+ 0x0000006a,0x00000001,0x00000004,0x00000069,0x0003003e,0x0000005e,0x0000006a,0x0004003d,
+ 0x00000006,0x0000006c,0x00000013,0x0004003d,0x00000006,0x0000006d,0x00000010,0x00050081,
+ 0x00000006,0x0000006e,0x0000006c,0x0000006d,0x0004003d,0x00000006,0x0000006f,0x00000011,
+ 0x00050081,0x00000006,0x00000070,0x0000006e,0x0000006f,0x0004003d,0x00000006,0x00000071,
+ 0x00000017,0x00050083,0x00000006,0x00000072,0x00000070,0x00000071,0x0004003d,0x00000006,
+ 0x00000073,0x00000018,0x00050083,0x00000006,0x00000074,0x00000072,0x00000073,0x0004003d,
+ 0x00000006,0x00000075,0x00000015,0x00050083,0x00000006,0x00000076,0x00000074,0x00000075,
+ 0x0006000c,0x00000006,0x00000077,0x00000001,0x00000004,0x00000076,0x0003003e,0x0000006b,
+ 0x00000077,0x0004003d,0x00000006,0x00000079,0x00000010,0x0004003d,0x00000006,0x0000007a,
+ 0x00000013,0x00050081,0x00000006,0x0000007b,0x00000079,0x0000007a,0x0004003d,0x00000006,
+ 0x0000007c,0x00000016,0x00050081,0x00000006,0x0000007d,0x0000007b,0x0000007c,0x0004003d,
+ 0x00000006,0x0000007e,0x00000012,0x00050083,0x00000006,0x0000007f,0x0000007d,0x0000007e,
+ 0x0004003d,0x00000006,0x00000080,0x00000015,0x00050083,0x00000006,0x00000081,0x0000007f,
+ 0x00000080,0x0004003d,0x00000006,0x00000082,0x00000018,0x00050083,0x00000006,0x00000083,
+ 0x00000081,0x00000082,0x0006000c,0x00000006,0x00000084,0x00000001,0x00000004,0x00000083,
+ 0x0003003e,0x00000078,0x00000084,0x0004003d,0x00000006,0x00000086,0x00000013,0x0004003d,
+ 0x00000006,0x00000087,0x00000016,0x00050081,0x00000006,0x00000088,0x00000086,0x00000087,
+ 0x0004003d,0x00000006,0x00000089,0x00000017,0x00050081,0x00000006,0x0000008a,0x00000088,
+ 0x00000089,0x0004003d,0x00000006,0x0000008b,0x00000011,0x00050083,0x00000006,0x0000008c,
+ 0x0000008a,0x0000008b,0x0004003d,0x00000006,0x0000008d,0x00000012,0x00050083,0x00000006,
+ 0x0000008e,0x0000008c,0x0000008d,0x0004003d,0x00000006,0x0000008f,0x00000015,0x00050083,
+ 0x00000006,0x00000090,0x0000008e,0x0000008f,0x0006000c,0x00000006,0x00000091,0x00000001,
+ 0x00000004,0x00000090,0x0003003e,0x00000085,0x00000091,0x0004003d,0x00000006,0x00000093,
+ 0x0000005e,0x0004003d,0x00000006,0x00000094,0x00000078,0x0007000c,0x00000006,0x00000095,
+ 0x00000001,0x00000028,0x00000093,0x00000094,0x0003003e,0x00000092,0x00000095,0x0004003d,
+ 0x00000006,0x00000097,0x0000005e,0x0004003d,0x00000006,0x00000098,0x00000078,0x0007000c,
+ 0x00000006,0x00000099,0x00000001,0x00000025,0x00000097,0x00000098,0x0003003e,0x00000096,
+ 0x00000099,0x0004003d,0x00000006,0x0000009b,0x0000006b,0x0004003d,0x00000006,0x0000009c,
+ 0x00000085,0x0007000c,0x00000006,0x0000009d,0x00000001,0x00000028,0x0000009b,0x0000009c,
+ 0x0003003e,0x0000009a,0x0000009d,0x0004003d,0x00000006,0x0000009f,0x0000006b,0x0004003d,
+ 0x00000006,0x000000a0,0x00000085,0x0007000c,0x00000006,0x000000a1,0x00000001,0x00000025,
+ 0x0000009f,0x000000a0,0x0003003e,0x0000009e,0x000000a1,0x0004003d,0x00000006,0x000000a2,
+ 0x00000092,0x0004003d,0x00000006,0x000000a3,0x0000009a,0x00050081,0x00000006,0x000000a4,
+ 0x000000a2,0x000000a3,0x000500b4,0x000000a6,0x000000a7,0x000000a4,0x000000a5,0x000300f7,
+ 0x000000a9,0x00000000,0x000400fa,0x000000a7,0x000000a8,0x000000a9,0x000200f8,0x000000a8,
+ 0x000200fe,0x000000aa,0x000200f8,0x000000a9,0x0004003d,0x00000006,0x000000ad,0x00000092,
+ 0x0004003d,0x00000006,0x000000ae,0x00000092,0x0004003d,0x00000006,0x000000af,0x0000009a,
+ 0x00050081,0x00000006,0x000000b0,0x000000ae,0x000000af,0x00050088,0x00000006,0x000000b1,
+ 0x000000ad,0x000000b0,0x0007000c,0x00000006,0x000000b3,0x00000001,0x00000025,0x000000b1,
+ 0x000000b2,0x0003003e,0x000000ac,0x000000b3,0x0004003d,0x00000006,0x000000b5,0x000000ac,
+ 0x00050083,0x00000006,0x000000b6,0x000000b2,0x000000b5,0x0003003e,0x000000b4,0x000000b6,
+ 0x0004003d,0x00000006,0x000000b9,0x00000092,0x0004003d,0x00000006,0x000000ba,0x00000096,
+ 0x00050085,0x00000006,0x000000bc,0x000000ba,0x000000bb,0x000500ba,0x000000a6,0x000000bd,
+ 0x000000b9,0x000000bc,0x0004003d,0x00000006,0x000000be,0x00000092,0x000500ba,0x000000a6,
+ 0x000000c0,0x000000be,0x000000bf,0x000500a7,0x000000a6,0x000000c1,0x000000bd,0x000000c0,
+ 0x0004003d,0x00000006,0x000000c2,0x00000092,0x0004003d,0x00000006,0x000000c3,0x0000009e,
+ 0x000500ba,0x000000a6,0x000000c4,0x000000c2,0x000000c3,0x000500a7,0x000000a6,0x000000c5,
+ 0x000000c1,0x000000c4,0x0003003e,0x000000b8,0x000000c5,0x0004003d,0x00000006,0x000000c7,
+ 0x0000009a,0x0004003d,0x00000006,0x000000c8,0x0000009e,0x00050085,0x00000006,0x000000c9,
+ 0x000000c8,0x000000bb,0x000500ba,0x000000a6,0x000000ca,0x000000c7,0x000000c9,0x0004003d,
+ 0x00000006,0x000000cb,0x0000009a,0x000500ba,0x000000a6,0x000000cc,0x000000cb,0x000000bf,
+ 0x000500a7,0x000000a6,0x000000cd,0x000000ca,0x000000cc,0x0004003d,0x00000006,0x000000ce,
+ 0x0000009a,0x0004003d,0x00000006,0x000000cf,0x00000096,0x000500ba,0x000000a6,0x000000d0,
+ 0x000000ce,0x000000cf,0x000500a7,0x000000a6,0x000000d1,0x000000cd,0x000000d0,0x0003003e,
+ 0x000000c6,0x000000d1,0x0004003d,0x00000006,0x000000d3,0x00000092,0x0004003d,0x00000006,
+ 0x000000d4,0x0000005e,0x000500b4,0x000000a6,0x000000d5,0x000000d3,0x000000d4,0x0003003e,
+ 0x000000d2,0x000000d5,0x0004003d,0x00000006,0x000000d7,0x0000009a,0x0004003d,0x00000006,
+ 0x000000d8,0x0000006b,0x000500b4,0x000000a6,0x000000d9,0x000000d7,0x000000d8,0x0003003e,
+ 0x000000d6,0x000000d9,0x0004003d,0x000000a6,0x000000db,0x000000b8,0x0004003d,0x000000a6,
+ 0x000000dc,0x000000c6,0x000500a7,0x000000a6,0x000000dd,0x000000db,0x000000dc,0x0004003d,
+ 0x00000006,0x000000de,0x000000ac,0x000600a9,0x00000006,0x000000df,0x000000dd,0x000000de,
+ 0x000000b2,0x0003003e,0x000000da,0x000000df,0x0004003d,0x000000a6,0x000000e1,0x000000b8,
+ 0x0004003d,0x000000a6,0x000000e2,0x000000c6,0x000500a7,0x000000a6,0x000000e3,0x000000e1,
+ 0x000000e2,0x0004003d,0x00000006,0x000000e4,0x000000b4,0x000600a9,0x00000006,0x000000e5,
+ 0x000000e3,0x000000e4,0x000000b2,0x0003003e,0x000000e0,0x000000e5,0x0004003d,0x000000a6,
+ 0x000000e7,0x000000b8,0x0004003d,0x000000a6,0x000000e8,0x000000d2,0x000500a7,0x000000a6,
+ 0x000000e9,0x000000e7,0x000000e8,0x0004003d,0x00000006,0x000000ea,0x000000da,0x000600a9,
+ 0x00000006,0x000000eb,0x000000e9,0x000000ea,0x000000a5,0x0003003e,0x000000e6,0x000000eb,
+ 0x0004003d,0x000000a6,0x000000ed,0x000000b8,0x0004003d,0x000000a6,0x000000ee,0x000000d2,
+ 0x000400a8,0x000000a6,0x000000ef,0x000000ee,0x000500a7,0x000000a6,0x000000f0,0x000000ed,
+ 0x000000ef,0x0004003d,0x00000006,0x000000f1,0x000000da,0x000600a9,0x00000006,0x000000f2,
+ 0x000000f0,0x000000f1,0x000000a5,0x0003003e,0x000000ec,0x000000f2,0x0004003d,0x000000a6,
+ 0x000000f4,0x000000c6,0x0004003d,0x000000a6,0x000000f5,0x000000d6,0x000500a7,0x000000a6,
+ 0x000000f6,0x000000f4,0x000000f5,0x0004003d,0x00000006,0x000000f7,0x000000e0,0x000600a9,
+ 0x00000006,0x000000f8,0x000000f6,0x000000f7,0x000000a5,0x0003003e,0x000000f3,0x000000f8,
+ 0x0004003d,0x000000a6,0x000000fa,0x000000c6,0x0004003d,0x000000a6,0x000000fb,0x000000d6,
+ 0x000400a8,0x000000a6,0x000000fc,0x000000fb,0x000500a7,0x000000a6,0x000000fd,0x000000fa,
+ 0x000000fc,0x0004003d,0x00000006,0x000000fe,0x000000e0,0x000600a9,0x00000006,0x000000ff,
+ 0x000000fd,0x000000fe,0x000000a5,0x0003003e,0x000000f9,0x000000ff,0x0004003d,0x00000006,
+ 0x00000100,0x000000e6,0x0004003d,0x00000006,0x00000101,0x000000ec,0x0004003d,0x00000006,
+ 0x00000102,0x000000f3,0x0004003d,0x00000006,0x00000103,0x000000f9,0x00070050,0x0000000e,
+ 0x00000104,0x00000100,0x00000101,0x00000102,0x00000103,0x000200fe,0x00000104,0x00010038,
+ 0x00050036,0x0000000e,0x00000023,0x00000000,0x0000001c,0x00030037,0x0000001b,0x0000001d,
+ 0x00030037,0x0000001b,0x0000001e,0x00030037,0x0000001b,0x0000001f,0x00030037,0x0000001b,
+ 0x00000020,0x00030037,0x0000000d,0x00000021,0x00030037,0x0000000d,0x00000022,0x000200f8,
+ 0x00000024,0x0004003b,0x0000001b,0x00000107,0x00000007,0x0004003b,0x0000001b,0x0000010d,
+ 0x00000007,0x0004003d,0x0000000e,0x00000108,0x0000001d,0x0004003d,0x0000000e,0x00000109,
+ 0x0000001e,0x0004003d,0x00000006,0x0000010a,0x00000021,0x00070050,0x0000000e,0x0000010b,
+ 0x0000010a,0x0000010a,0x0000010a,0x0000010a,0x0008000c,0x0000000e,0x0000010c,0x00000001,
+ 0x0000002e,0x00000108,0x00000109,0x0000010b,0x0003003e,0x00000107,0x0000010c,0x0004003d,
+ 0x0000000e,0x0000010e,0x0000001f,0x0004003d,0x0000000e,0x0000010f,0x00000020,0x0004003d,
+ 0x00000006,0x00000110,0x00000021,0x00070050,0x0000000e,0x00000111,0x00000110,0x00000110,
+ 0x00000110,0x00000110,0x0008000c,0x0000000e,0x00000112,0x00000001,0x0000002e,0x0000010e,
+ 0x0000010f,0x00000111,0x0003003e,0x0000010d,0x00000112,0x0004003d,0x0000000e,0x00000113,
+ 0x00000107,0x0004003d,0x0000000e,0x00000114,0x0000010d,0x0004003d,0x00000006,0x00000115,
+ 0x00000022,0x00070050,0x0000000e,0x00000116,0x00000115,0x00000115,0x00000115,0x00000115,
+ 0x0008000c,0x0000000e,0x00000117,0x00000001,0x0000002e,0x00000113,0x00000114,0x00000116,
+ 0x000200fe,0x00000117,0x00010038,0x00050036,0x00000006,0x0000002f,0x00000000,0x00000027,
+ 0x00030037,0x0000000d,0x00000028,0x00030037,0x0000000d,0x00000029,0x00030037,0x0000000d,
+ 0x0000002a,0x00030037,0x0000000d,0x0000002b,0x00030037,0x0000000d,0x0000002c,0x00030037,
+ 0x0000000d,0x0000002d,0x00030037,0x00000026,0x0000002e,0x000200f8,0x00000030,0x0004003b,
+ 0x000000b7,0x0000011a,0x00000007,0x0004003b,0x0000000d,0x0000011e,0x00000007,0x0004003b,
+ 0x0000000d,0x00000123,0x00000007,0x0004003b,0x0000000d,0x00000129,0x00000007,0x0004003b,
+ 0x0000000d,0x00000133,0x00000007,0x0004003b,0x0000000d,0x00000139,0x00000007,0x0004003b,
+ 0x0000000d,0x0000013f,0x00000007,0x0004003b,0x0000000d,0x00000143,0x00000007,0x0004003b,
+ 0x0000000d,0x00000147,0x00000007,0x0004003d,0x00000025,0x0000011b,0x0000002e,0x000500b3,
+ 0x000000a6,0x0000011d,0x0000011b,0x0000011c,0x0003003e,0x0000011a,0x0000011d,0x0004003d,
+ 0x000000a6,0x0000011f,0x0000011a,0x0004003d,0x00000006,0x00000120,0x00000028,0x0004003d,
+ 0x00000006,0x00000121,0x0000002b,0x000600a9,0x00000006,0x00000122,0x0000011f,0x00000120,
+ 0x00000121,0x0003003e,0x0000011e,0x00000122,0x0004003d,0x00000006,0x00000124,0x00000029,
+ 0x0004003d,0x00000006,0x00000125,0x0000002a,0x0007000c,0x00000006,0x00000126,0x00000001,
+ 0x00000025,0x00000124,0x00000125,0x0004003d,0x00000006,0x00000127,0x0000011e,0x0007000c,
+ 0x00000006,0x00000128,0x00000001,0x00000025,0x00000126,0x00000127,0x0003003e,0x00000123,
+ 0x00000128,0x0004003d,0x00000006,0x0000012a,0x00000029,0x0004003d,0x00000006,0x0000012b,
+ 0x0000002a,0x0007000c,0x00000006,0x0000012c,0x00000001,0x00000028,0x0000012a,0x0000012b,
+ 0x0004003d,0x00000006,0x0000012d,0x0000011e,0x0007000c,0x00000006,0x0000012e,0x00000001,
+ 0x00000028,0x0000012c,0x0000012d,0x0003003e,0x00000129,0x0000012e,0x0004003d,0x000000a6,
+ 0x0000012f,0x0000011a,0x0004003d,0x00000006,0x00000130,0x0000002a,0x0004003d,0x00000006,
+ 0x00000131,0x0000002d,0x000600a9,0x00000006,0x00000132,0x0000012f,0x00000130,0x00000131,
+ 0x0003003e,0x0000011e,0x00000132,0x0004003d,0x00000006,0x00000134,0x0000002b,0x0004003d,
+ 0x00000006,0x00000135,0x0000002c,0x0007000c,0x00000006,0x00000136,0x00000001,0x00000025,
+ 0x00000134,0x00000135,0x0004003d,0x00000006,0x00000137,0x0000011e,0x0007000c,0x00000006,
+ 0x00000138,0x00000001,0x00000025,0x00000136,0x00000137,0x0003003e,0x00000133,0x00000138,
+ 0x0004003d,0x00000006,0x0000013a,0x0000002b,0x0004003d,0x00000006,0x0000013b,0x0000002c,
+ 0x0007000c,0x00000006,0x0000013c,0x00000001,0x00000028,0x0000013a,0x0000013b,0x0004003d,
+ 0x00000006,0x0000013d,0x0000011e,0x0007000c,0x00000006,0x0000013e,0x00000001,0x00000028,
+ 0x0000013c,0x0000013d,0x0003003e,0x00000139,0x0000013e,0x0004003d,0x00000006,0x00000140,
+ 0x00000129,0x0004003d,0x00000006,0x00000141,0x00000123,0x00050083,0x00000006,0x00000142,
+ 0x00000140,0x00000141,0x0003003e,0x0000013f,0x00000142,0x0004003d,0x00000006,0x00000144,
+ 0x00000139,0x0004003d,0x00000006,0x00000145,0x00000133,0x00050083,0x00000006,0x00000146,
+ 0x00000144,0x00000145,0x0003003e,0x00000143,0x00000146,0x0004003d,0x00000006,0x00000148,
+ 0x0000013f,0x0004003d,0x00000006,0x00000149,0x00000143,0x0007000c,0x00000006,0x0000014a,
+ 0x00000001,0x00000028,0x00000148,0x00000149,0x0004003d,0x00000006,0x0000014b,0x0000013f,
+ 0x0004003d,0x00000006,0x0000014c,0x00000143,0x0007000c,0x00000006,0x0000014d,0x00000001,
+ 0x00000025,0x0000014b,0x0000014c,0x00050081,0x00000006,0x0000014f,0x0000014d,0x0000014e,
+ 0x00050088,0x00000006,0x00000150,0x0000014a,0x0000014f,0x0003003e,0x00000147,0x00000150,
+ 0x0004003d,0x00000006,0x00000151,0x00000147,0x00050083,0x00000006,0x00000153,0x00000151,
+ 0x00000152,0x00050085,0x00000006,0x00000155,0x00000153,0x00000154,0x0008000c,0x00000006,
+ 0x00000156,0x00000001,0x0000002b,0x00000155,0x000000a5,0x000000b2,0x00050083,0x00000006,
+ 0x00000157,0x000000b2,0x00000156,0x00050085,0x00000006,0x00000158,0x00000157,0x000000b2,
+ 0x000200fe,0x00000158,0x00010038,0x00050036,0x00000006,0x00000038,0x00000000,0x00000035,
+ 0x00030037,0x00000034,0x00000036,0x00030037,0x00000026,0x00000037,0x000200f8,0x00000039,
+ 0x0004003b,0x0000001b,0x0000015f,0x00000007,0x0004003b,0x0000001b,0x0000016c,0x00000007,
+ 0x0004003b,0x0000001b,0x00000173,0x00000007,0x0004003b,0x0000001b,0x00000178,0x00000007,
+ 0x0004003b,0x0000000d,0x0000017e,0x00000007,0x0004003b,0x0000000d,0x000001ad,0x00000007,
+ 0x0004003b,0x0000000d,0x000001d8,0x00000007,0x0004003b,0x0000000d,0x000001e0,0x00000007,
+ 0x0004003b,0x0000000d,0x000001ec,0x00000007,0x0004003b,0x0000000d,0x000001fc,0x00000007,
+ 0x0004003b,0x0000000d,0x000001ff,0x00000007,0x0004003b,0x0000000d,0x00000202,0x00000007,
+ 0x0004003b,0x0000000d,0x00000205,0x00000007,0x0004003b,0x0000000d,0x00000208,0x00000007,
+ 0x0004003b,0x0000000d,0x0000020b,0x00000007,0x0004003b,0x00000026,0x0000020e,0x00000007,
+ 0x0004003d,0x00000025,0x0000015b,0x00000037,0x0008000c,0x00000025,0x0000015e,0x00000001,
+ 0x0000002d,0x0000015b,0x0000015c,0x0000015d,0x0003003e,0x00000037,0x0000015e,0x0004003d,
+ 0x00000025,0x00000166,0x00000037,0x00050084,0x00000025,0x00000168,0x00000166,0x00000167,
+ 0x00060041,0x00000169,0x0000016a,0x00000165,0x0000015c,0x00000168,0x0004003d,0x0000000e,
+ 0x0000016b,0x0000016a,0x0003003e,0x0000015f,0x0000016b,0x0004003d,0x00000025,0x0000016d,
+ 0x00000037,0x00050084,0x00000025,0x0000016e,0x0000016d,0x00000167,0x00050080,0x00000025,
+ 0x00000170,0x0000016e,0x0000016f,0x00060041,0x00000169,0x00000171,0x00000165,0x0000015c,
+ 0x00000170,0x0004003d,0x0000000e,0x00000172,0x00000171,0x0003003e,0x0000016c,0x00000172,
+ 0x0004003d,0x00000025,0x00000174,0x00000037,0x00050084,0x00000025,0x00000175,0x00000174,
+ 0x00000167,0x00060041,0x00000169,0x00000176,0x00000165,0x0000016f,0x00000175,0x0004003d,
+ 0x0000000e,0x00000177,0x00000176,0x0003003e,0x00000173,0x00000177,0x0004003d,0x00000025,
+ 0x00000179,0x00000037,0x00050084,0x00000025,0x0000017a,0x00000179,0x00000167,0x00050080,
+ 0x00000025,0x0000017b,0x0000017a,0x0000016f,0x00060041,0x00000169,0x0000017c,0x00000165,
+ 0x0000016f,0x0000017b,0x0004003d,0x0000000e,0x0000017d,0x0000017c,0x0003003e,0x00000178,
+ 0x0000017d,0x0003003e,0x0000017e,0x000000a5,0x00050041,0x0000000d,0x0000017f,0x0000015f,
+ 0x0000004c,0x0004003d,0x00000006,0x00000180,0x0000017f,0x00050041,0x0000000d,0x00000181,
+ 0x00000036,0x0000015c,0x0004003d,0x00000006,0x00000182,0x00000181,0x00050085,0x00000006,
+ 0x00000183,0x00000180,0x00000182,0x0004003d,0x00000006,0x00000184,0x0000017e,0x00050081,
+ 0x00000006,0x00000185,0x00000184,0x00000183,0x0003003e,0x0000017e,0x00000185,0x00050041,
+ 0x0000000d,0x00000186,0x0000015f,0x00000051,0x0004003d,0x00000006,0x00000187,0x00000186,
+ 0x00050041,0x0000000d,0x00000188,0x00000036,0x0000016f,0x0004003d,0x00000006,0x00000189,
+ 0x00000188,0x00050085,0x00000006,0x0000018a,0x00000187,0x00000189,0x0004003d,0x00000006,
+ 0x0000018b,0x0000017e,0x00050081,0x00000006,0x0000018c,0x0000018b,0x0000018a,0x0003003e,
+ 0x0000017e,0x0000018c,0x00050041,0x0000000d,0x0000018d,0x0000015f,0x00000057,0x0004003d,
+ 0x00000006,0x0000018e,0x0000018d,0x00050041,0x0000000d,0x0000018f,0x00000036,0x00000167,
+ 0x0004003d,0x00000006,0x00000190,0x0000018f,0x00050085,0x00000006,0x00000191,0x0000018e,
+ 0x00000190,0x0004003d,0x00000006,0x00000192,0x0000017e,0x00050081,0x00000006,0x00000193,
+ 0x00000192,0x00000191,0x0003003e,0x0000017e,0x00000193,0x00050041,0x0000000d,0x00000195,
+ 0x0000015f,0x00000194,0x0004003d,0x00000006,0x00000196,0x00000195,0x00050041,0x0000000d,
+ 0x00000198,0x00000036,0x00000197,0x0004003d,0x00000006,0x00000199,0x00000198,0x00050085,
+ 0x00000006,0x0000019a,0x00000196,0x00000199,0x0004003d,0x00000006,0x0000019b,0x0000017e,
+ 0x00050081,0x00000006,0x0000019c,0x0000019b,0x0000019a,0x0003003e,0x0000017e,0x0000019c,
+ 0x00050041,0x0000000d,0x0000019d,0x0000016c,0x0000004c,0x0004003d,0x00000006,0x0000019e,
+ 0x0000019d,0x00050041,0x0000000d,0x000001a0,0x00000036,0x0000019f,0x0004003d,0x00000006,
+ 0x000001a1,0x000001a0,0x00050085,0x00000006,0x000001a2,0x0000019e,0x000001a1,0x0004003d,
+ 0x00000006,0x000001a3,0x0000017e,0x00050081,0x00000006,0x000001a4,0x000001a3,0x000001a2,
+ 0x0003003e,0x0000017e,0x000001a4,0x00050041,0x0000000d,0x000001a5,0x0000016c,0x00000051,
+ 0x0004003d,0x00000006,0x000001a6,0x000001a5,0x00050041,0x0000000d,0x000001a8,0x00000036,
+ 0x000001a7,0x0004003d,0x00000006,0x000001a9,0x000001a8,0x00050085,0x00000006,0x000001aa,
+ 0x000001a6,0x000001a9,0x0004003d,0x00000006,0x000001ab,0x0000017e,0x00050081,0x00000006,
+ 0x000001ac,0x000001ab,0x000001aa,0x0003003e,0x0000017e,0x000001ac,0x0003003e,0x000001ad,
+ 0x000000a5,0x00050041,0x0000000d,0x000001ae,0x00000173,0x0000004c,0x0004003d,0x00000006,
+ 0x000001af,0x000001ae,0x00050041,0x0000000d,0x000001b0,0x00000036,0x0000015c,0x0004003d,
+ 0x00000006,0x000001b1,0x000001b0,0x00050085,0x00000006,0x000001b2,0x000001af,0x000001b1,
+ 0x0004003d,0x00000006,0x000001b3,0x000001ad,0x00050081,0x00000006,0x000001b4,0x000001b3,
+ 0x000001b2,0x0003003e,0x000001ad,0x000001b4,0x00050041,0x0000000d,0x000001b5,0x00000173,
+ 0x00000051,0x0004003d,0x00000006,0x000001b6,0x000001b5,0x00050041,0x0000000d,0x000001b7,
+ 0x00000036,0x0000016f,0x0004003d,0x00000006,0x000001b8,0x000001b7,0x00050085,0x00000006,
+ 0x000001b9,0x000001b6,0x000001b8,0x0004003d,0x00000006,0x000001ba,0x000001ad,0x00050081,
+ 0x00000006,0x000001bb,0x000001ba,0x000001b9,0x0003003e,0x000001ad,0x000001bb,0x00050041,
+ 0x0000000d,0x000001bc,0x00000173,0x00000057,0x0004003d,0x00000006,0x000001bd,0x000001bc,
+ 0x00050041,0x0000000d,0x000001be,0x00000036,0x00000167,0x0004003d,0x00000006,0x000001bf,
+ 0x000001be,0x00050085,0x00000006,0x000001c0,0x000001bd,0x000001bf,0x0004003d,0x00000006,
+ 0x000001c1,0x000001ad,0x00050081,0x00000006,0x000001c2,0x000001c1,0x000001c0,0x0003003e,
+ 0x000001ad,0x000001c2,0x00050041,0x0000000d,0x000001c3,0x00000173,0x00000194,0x0004003d,
+ 0x00000006,0x000001c4,0x000001c3,0x00050041,0x0000000d,0x000001c5,0x00000036,0x00000197,
+ 0x0004003d,0x00000006,0x000001c6,0x000001c5,0x00050085,0x00000006,0x000001c7,0x000001c4,
+ 0x000001c6,0x0004003d,0x00000006,0x000001c8,0x000001ad,0x00050081,0x00000006,0x000001c9,
+ 0x000001c8,0x000001c7,0x0003003e,0x000001ad,0x000001c9,0x00050041,0x0000000d,0x000001ca,
+ 0x00000178,0x0000004c,0x0004003d,0x00000006,0x000001cb,0x000001ca,0x00050041,0x0000000d,
+ 0x000001cc,0x00000036,0x0000019f,0x0004003d,0x00000006,0x000001cd,0x000001cc,0x00050085,
+ 0x00000006,0x000001ce,0x000001cb,0x000001cd,0x0004003d,0x00000006,0x000001cf,0x000001ad,
+ 0x00050081,0x00000006,0x000001d0,0x000001cf,0x000001ce,0x0003003e,0x000001ad,0x000001d0,
+ 0x00050041,0x0000000d,0x000001d1,0x00000178,0x00000051,0x0004003d,0x00000006,0x000001d2,
+ 0x000001d1,0x00050041,0x0000000d,0x000001d3,0x00000036,0x000001a7,0x0004003d,0x00000006,
+ 0x000001d4,0x000001d3,0x00050085,0x00000006,0x000001d5,0x000001d2,0x000001d4,0x0004003d,
+ 0x00000006,0x000001d6,0x000001ad,0x00050081,0x00000006,0x000001d7,0x000001d6,0x000001d5,
+ 0x0003003e,0x000001ad,0x000001d7,0x0004003d,0x00000006,0x000001d9,0x0000017e,0x00050083,
+ 0x00000006,0x000001db,0x000001d9,0x000001da,0x00050085,0x00000006,0x000001dd,0x000001db,
+ 0x000001dc,0x0008000c,0x00000006,0x000001de,0x00000001,0x0000002b,0x000001dd,0x000000a5,
+ 0x000000b2,0x00050083,0x00000006,0x000001df,0x000000b2,0x000001de,0x0003003e,0x000001d8,
+ 0x000001df,0x0004003d,0x00000006,0x000001e1,0x000001d8,0x0004003d,0x00000006,0x000001e4,
+ 0x000001e3,0x00050085,0x00000006,0x000001e5,0x000001e1,0x000001e4,0x0004003d,0x00000006,
+ 0x000001e7,0x000001e6,0x00050081,0x00000006,0x000001e8,0x000001e5,0x000001e7,0x0003003e,
+ 0x000001e0,0x000001e8,0x0004003d,0x00000006,0x000001e9,0x000001e0,0x0004003d,0x00000006,
+ 0x000001ea,0x000001ad,0x00050085,0x00000006,0x000001eb,0x000001ea,0x000001e9,0x0003003e,
+ 0x000001ad,0x000001eb,0x0004003d,0x00000006,0x000001ed,0x000001d8,0x0004003d,0x00000006,
+ 0x000001ef,0x000001ee,0x00050085,0x00000006,0x000001f0,0x000001ed,0x000001ef,0x0004003d,
+ 0x00000006,0x000001f2,0x000001f1,0x00050081,0x00000006,0x000001f3,0x000001f0,0x000001f2,
+ 0x0004003d,0x00000006,0x000001f4,0x0000017e,0x00050085,0x00000006,0x000001f5,0x000001f3,
+ 0x000001f4,0x0003003e,0x000001ec,0x000001f5,0x0004003d,0x00000006,0x000001f6,0x000001ec,
+ 0x0004003d,0x00000006,0x000001f7,0x000001ec,0x0004007f,0x00000006,0x000001f8,0x000001f7,
+ 0x0004003d,0x00000006,0x000001f9,0x000001ad,0x0007000c,0x00000006,0x000001fa,0x00000001,
+ 0x00000028,0x000001f8,0x000001f9,0x0007000c,0x00000006,0x000001fb,0x00000001,0x00000025,
+ 0x000001f6,0x000001fa,0x0003003e,0x000001ad,0x000001fb,0x00050041,0x0000000d,0x000001fd,
+ 0x00000036,0x0000015c,0x0004003d,0x00000006,0x000001fe,0x000001fd,0x0003003e,0x000001fc,
+ 0x000001fe,0x00050041,0x0000000d,0x00000200,0x00000036,0x0000016f,0x0004003d,0x00000006,
+ 0x00000201,0x00000200,0x0003003e,0x000001ff,0x00000201,0x00050041,0x0000000d,0x00000203,
+ 0x00000036,0x00000167,0x0004003d,0x00000006,0x00000204,0x00000203,0x0003003e,0x00000202,
+ 0x00000204,0x00050041,0x0000000d,0x00000206,0x00000036,0x00000197,0x0004003d,0x00000006,
+ 0x00000207,0x00000206,0x0003003e,0x00000205,0x00000207,0x00050041,0x0000000d,0x00000209,
+ 0x00000036,0x0000019f,0x0004003d,0x00000006,0x0000020a,0x00000209,0x0003003e,0x00000208,
+ 0x0000020a,0x00050041,0x0000000d,0x0000020c,0x00000036,0x000001a7,0x0004003d,0x00000006,
+ 0x0000020d,0x0000020c,0x0003003e,0x0000020b,0x0000020d,0x0004003d,0x00000025,0x0000020f,
+ 0x00000037,0x0003003e,0x0000020e,0x0000020f,0x000b0039,0x00000006,0x00000210,0x0000002f,
+ 0x000001fc,0x000001ff,0x00000202,0x00000205,0x00000208,0x0000020b,0x0000020e,0x0004003d,
+ 0x00000006,0x00000211,0x000001ad,0x00050085,0x00000006,0x00000212,0x00000211,0x00000210,
+ 0x0003003e,0x000001ad,0x00000212,0x0004003d,0x00000006,0x00000213,0x0000017e,0x0004003d,
+ 0x00000006,0x00000214,0x000001ad,0x00050081,0x00000006,0x00000215,0x00000213,0x00000214,
+ 0x000200fe,0x00000215,0x00010038,0x00050036,0x00000006,0x00000040,0x00000000,0x0000003c,
+ 0x00030037,0x0000003b,0x0000003d,0x00030037,0x00000026,0x0000003e,0x00030037,0x00000026,
+ 0x0000003f,0x000200f8,0x00000041,0x0004003b,0x0000001b,0x0000021c,0x00000007,0x0004003b,
+ 0x0000001b,0x00000221,0x00000007,0x0004003b,0x0000001b,0x00000227,0x00000007,0x0004003b,
+ 0x0000001b,0x0000022c,0x00000007,0x0004003b,0x00000034,0x00000232,0x00000007,0x0004003b,
+ 0x00000034,0x00000240,0x00000007,0x0004003b,0x0000000d,0x0000024e,0x00000007,0x0004003b,
+ 0x00000026,0x0000024f,0x00000007,0x0004003b,0x0000000d,0x00000258,0x00000007,0x0004003b,
+ 0x00000026,0x00000259,0x00000007,0x0004003d,0x00000025,0x00000218,0x0000003e,0x0008000c,
+ 0x00000025,0x00000219,0x00000001,0x0000002d,0x00000218,0x0000015c,0x0000015d,0x0003003e,
+ 0x0000003e,0x00000219,0x0004003d,0x00000025,0x0000021a,0x0000003f,0x0008000c,0x00000025,
+ 0x0000021b,0x00000001,0x0000002d,0x0000021a,0x0000015c,0x0000015d,0x0003003e,0x0000003f,
+ 0x0000021b,0x0004003d,0x00000025,0x0000021d,0x0000003f,0x00050084,0x00000025,0x0000021e,
+ 0x0000021d,0x00000167,0x00060041,0x00000169,0x0000021f,0x00000165,0x0000015c,0x0000021e,
+ 0x0004003d,0x0000000e,0x00000220,0x0000021f,0x0003003e,0x0000021c,0x00000220,0x0004003d,
+ 0x00000025,0x00000222,0x0000003f,0x00050084,0x00000025,0x00000223,0x00000222,0x00000167,
+ 0x00050080,0x00000025,0x00000224,0x00000223,0x0000016f,0x00060041,0x00000169,0x00000225,
+ 0x00000165,0x0000015c,0x00000224,0x0004003d,0x0000000e,0x00000226,0x00000225,0x0003003e,
+ 0x00000221,0x00000226,0x0004003d,0x00000025,0x00000228,0x0000003e,0x00050084,0x00000025,
+ 0x00000229,0x00000228,0x00000167,0x00060041,0x00000169,0x0000022a,0x00000165,0x0000015c,
+ 0x00000229,0x0004003d,0x0000000e,0x0000022b,0x0000022a,0x0003003e,0x00000227,0x0000022b,
+ 0x0004003d,0x00000025,0x0000022d,0x0000003e,0x00050084,0x00000025,0x0000022e,0x0000022d,
+ 0x00000167,0x00050080,0x00000025,0x0000022f,0x0000022e,0x0000016f,0x00060041,0x00000169,
+ 0x00000230,0x00000165,0x0000015c,0x0000022f,0x0004003d,0x0000000e,0x00000231,0x00000230,
+ 0x0003003e,0x0000022c,0x00000231,0x00050041,0x0000000d,0x00000233,0x0000021c,0x0000004c,
+ 0x0004003d,0x00000006,0x00000234,0x00000233,0x00050041,0x0000000d,0x00000235,0x0000021c,
+ 0x00000051,0x0004003d,0x00000006,0x00000236,0x00000235,0x00050041,0x0000000d,0x00000237,
+ 0x0000021c,0x00000057,0x0004003d,0x00000006,0x00000238,0x00000237,0x00050041,0x0000000d,
+ 0x00000239,0x0000021c,0x00000194,0x0004003d,0x00000006,0x0000023a,0x00000239,0x00050041,
+ 0x0000000d,0x0000023b,0x00000221,0x0000004c,0x0004003d,0x00000006,0x0000023c,0x0000023b,
+ 0x00050041,0x0000000d,0x0000023d,0x00000221,0x00000051,0x0004003d,0x00000006,0x0000023e,
+ 0x0000023d,0x00090050,0x00000033,0x0000023f,0x00000234,0x00000236,0x00000238,0x0000023a,
+ 0x0000023c,0x0000023e,0x0003003e,0x00000232,0x0000023f,0x00050041,0x0000000d,0x00000241,
+ 0x00000227,0x0000004c,0x0004003d,0x00000006,0x00000242,0x00000241,0x00050041,0x0000000d,
+ 0x00000243,0x00000227,0x00000051,0x0004003d,0x00000006,0x00000244,0x00000243,0x00050041,
+ 0x0000000d,0x00000245,0x00000227,0x00000057,0x0004003d,0x00000006,0x00000246,0x00000245,
+ 0x00050041,0x0000000d,0x00000247,0x00000227,0x00000194,0x0004003d,0x00000006,0x00000248,
+ 0x00000247,0x00050041,0x0000000d,0x00000249,0x0000022c,0x0000004c,0x0004003d,0x00000006,
+ 0x0000024a,0x00000249,0x00050041,0x0000000d,0x0000024b,0x0000022c,0x00000051,0x0004003d,
+ 0x00000006,0x0000024c,0x0000024b,0x00090050,0x00000033,0x0000024d,0x00000242,0x00000244,
+ 0x00000246,0x00000248,0x0000024a,0x0000024c,0x0003003e,0x00000240,0x0000024d,0x0003003e,
+ 0x0000024e,0x000000a5,0x0003003e,0x0000024f,0x0000015c,0x000200f9,0x00000250,0x000200f8,
+ 0x00000250,0x000400f6,0x00000252,0x00000253,0x00000000,0x000200f9,0x00000254,0x000200f8,
+ 0x00000254,0x0004003d,0x00000025,0x00000255,0x0000024f,0x000500b1,0x000000a6,0x00000257,
+ 0x00000255,0x00000256,0x000400fa,0x00000257,0x00000251,0x00000252,0x000200f8,0x00000251,
+ 0x0003003e,0x00000258,0x000000a5,0x0003003e,0x00000259,0x0000015c,0x000200f9,0x0000025a,
+ 0x000200f8,0x0000025a,0x000400f6,0x0000025c,0x0000025d,0x00000000,0x000200f9,0x0000025e,
+ 0x000200f8,0x0000025e,0x0004003d,0x00000025,0x0000025f,0x00000259,0x000500b1,0x000000a6,
+ 0x00000260,0x0000025f,0x00000256,0x000400fa,0x00000260,0x0000025b,0x0000025c,0x000200f8,
+ 0x0000025b,0x0004003d,0x00000025,0x00000261,0x00000259,0x0004003d,0x00000025,0x00000262,
+ 0x0000024f,0x00060041,0x0000000d,0x00000263,0x0000003d,0x00000261,0x00000262,0x0004003d,
+ 0x00000006,0x00000264,0x00000263,0x0004003d,0x00000025,0x00000265,0x00000259,0x00050041,
+ 0x0000000d,0x00000266,0x00000232,0x00000265,0x0004003d,0x00000006,0x00000267,0x00000266,
+ 0x00050085,0x00000006,0x00000268,0x00000264,0x00000267,0x0004003d,0x00000006,0x00000269,
+ 0x00000258,0x00050081,0x00000006,0x0000026a,0x00000269,0x00000268,0x0003003e,0x00000258,
+ 0x0000026a,0x000200f9,0x0000025d,0x000200f8,0x0000025d,0x0004003d,0x00000025,0x0000026b,
+ 0x00000259,0x00050080,0x00000025,0x0000026c,0x0000026b,0x0000016f,0x0003003e,0x00000259,
+ 0x0000026c,0x000200f9,0x0000025a,0x000200f8,0x0000025c,0x0004003d,0x00000006,0x0000026d,
+ 0x00000258,0x0004003d,0x00000025,0x0000026e,0x0000024f,0x00050041,0x0000000d,0x0000026f,
+ 0x00000240,0x0000026e,0x0004003d,0x00000006,0x00000270,0x0000026f,0x00050085,0x00000006,
+ 0x00000271,0x0000026d,0x00000270,0x0004003d,0x00000006,0x00000272,0x0000024e,0x00050081,
+ 0x00000006,0x00000273,0x00000272,0x00000271,0x0003003e,0x0000024e,0x00000273,0x000200f9,
+ 0x00000253,0x000200f8,0x00000253,0x0004003d,0x00000025,0x00000274,0x0000024f,0x00050080,
+ 0x00000025,0x00000275,0x00000274,0x0000016f,0x0003003e,0x0000024f,0x00000275,0x000200f9,
+ 0x00000250,0x000200f8,0x00000252,0x0004003d,0x00000006,0x00000276,0x0000024e,0x000200fe,
+ 0x00000276,0x00010038,0x00050036,0x00000006,0x00000049,0x00000000,0x00000042,0x00030037,
+ 0x0000003b,0x00000043,0x00030037,0x0000000d,0x00000044,0x00030037,0x0000000d,0x00000045,
+ 0x00030037,0x00000026,0x00000046,0x00030037,0x00000026,0x00000047,0x00030037,0x0000001b,
+ 0x00000048,0x000200f8,0x0000004a,0x0004003b,0x0000000d,0x00000279,0x00000007,0x0004003b,
+ 0x00000026,0x0000027f,0x00000007,0x0004003b,0x00000034,0x00000287,0x00000007,0x0004003b,
+ 0x00000034,0x00000294,0x00000007,0x0004003b,0x00000026,0x00000296,0x00000007,0x0004003b,
+ 0x00000026,0x000002a3,0x00000007,0x0004003b,0x00000034,0x000002ab,0x00000007,0x0004003b,
+ 0x00000034,0x000002b8,0x00000007,0x0004003b,0x00000026,0x000002ba,0x00000007,0x0004003b,
+ 0x0000000d,0x000002c7,0x00000007,0x0004003b,0x000002d0,0x000002d1,0x00000007,0x0004003b,
+ 0x0000000d,0x000002e9,0x00000007,0x0004003b,0x0000000d,0x000002ec,0x00000007,0x0004003b,
+ 0x0000000d,0x000002f5,0x00000007,0x0004003b,0x0000000d,0x000002f8,0x00000007,0x0004003b,
+ 0x0000000d,0x00000301,0x00000007,0x0004003b,0x0000000d,0x00000304,0x00000007,0x0004003b,
+ 0x0000000d,0x0000030d,0x00000007,0x0004003b,0x0000000d,0x00000310,0x00000007,0x0004003b,
+ 0x0000000d,0x00000335,0x00000007,0x0004003b,0x00000026,0x0000033d,0x00000007,0x0004003b,
+ 0x00000034,0x00000345,0x00000007,0x0004003b,0x00000026,0x00000351,0x00000007,0x0004003b,
+ 0x00000034,0x00000364,0x00000007,0x0004003b,0x00000026,0x00000366,0x00000007,0x0004003b,
+ 0x0000000d,0x00000372,0x00000007,0x0004003b,0x000002d0,0x00000377,0x00000007,0x0004003b,
+ 0x0000000d,0x0000038f,0x00000007,0x0004003b,0x0000000d,0x00000392,0x00000007,0x0004003b,
+ 0x0000000d,0x0000039b,0x00000007,0x0004003b,0x0000000d,0x0000039e,0x00000007,0x0004003b,
+ 0x0000000d,0x000003a7,0x00000007,0x0004003b,0x0000000d,0x000003aa,0x00000007,0x0004003b,
+ 0x0000000d,0x000003b3,0x00000007,0x0004003b,0x0000000d,0x000003b6,0x00000007,0x0004003b,
+ 0x0000000d,0x000003db,0x00000007,0x0004003b,0x00000026,0x000003e4,0x00000007,0x0004003b,
+ 0x00000034,0x000003ec,0x00000007,0x0004003b,0x00000026,0x000003f8,0x00000007,0x0004003b,
+ 0x00000034,0x0000040a,0x00000007,0x0004003b,0x00000026,0x0000040c,0x00000007,0x0003003e,
+ 0x00000279,0x000000a5,0x00050041,0x0000000d,0x0000027a,0x00000048,0x0000004c,0x0004003d,
+ 0x00000006,0x0000027b,0x0000027a,0x000500ba,0x000000a6,0x0000027c,0x0000027b,0x000000a5,
+ 0x000300f7,0x0000027e,0x00000000,0x000400fa,0x0000027c,0x0000027d,0x0000027e,0x000200f8,
+ 0x0000027d,0x0003003e,0x0000027f,0x0000015c,0x000200f9,0x00000280,0x000200f8,0x00000280,
+ 0x000400f6,0x00000282,0x00000283,0x00000000,0x000200f9,0x00000284,0x000200f8,0x00000284,
+ 0x0004003d,0x00000025,0x00000285,0x0000027f,0x000500b1,0x000000a6,0x00000286,0x00000285,
+ 0x00000256,0x000400fa,0x00000286,0x00000281,0x00000282,0x000200f8,0x00000281,0x0004003d,
+ 0x00000025,0x00000288,0x0000027f,0x0004003d,0x00000025,0x00000289,0x0000027f,0x00060041,
+ 0x0000000d,0x0000028a,0x00000043,0x00000289,0x00000167,0x0004003d,0x00000006,0x0000028b,
+ 0x0000028a,0x0004003d,0x00000025,0x0000028c,0x0000027f,0x00060041,0x0000000d,0x0000028d,
+ 0x00000043,0x0000028c,0x00000197,0x0004003d,0x00000006,0x0000028e,0x0000028d,0x0004003d,
+ 0x00000006,0x0000028f,0x00000044,0x0008000c,0x00000006,0x00000290,0x00000001,0x0000002e,
+ 0x0000028b,0x0000028e,0x0000028f,0x00050041,0x0000000d,0x00000291,0x00000287,0x00000288,
+ 0x0003003e,0x00000291,0x00000290,0x000200f9,0x00000283,0x000200f8,0x00000283,0x0004003d,
+ 0x00000025,0x00000292,0x0000027f,0x00050080,0x00000025,0x00000293,0x00000292,0x0000016f,
+ 0x0003003e,0x0000027f,0x00000293,0x000200f9,0x00000280,0x000200f8,0x00000282,0x0004003d,
+ 0x00000033,0x00000295,0x00000287,0x0003003e,0x00000294,0x00000295,0x0004003d,0x00000025,
+ 0x00000297,0x00000047,0x0003003e,0x00000296,0x00000297,0x00060039,0x00000006,0x00000298,
+ 0x00000038,0x00000294,0x00000296,0x00050041,0x0000000d,0x00000299,0x00000048,0x0000004c,
+ 0x0004003d,0x00000006,0x0000029a,0x00000299,0x00050085,0x00000006,0x0000029b,0x00000298,
+ 0x0000029a,0x0004003d,0x00000006,0x0000029c,0x00000279,0x00050081,0x00000006,0x0000029d,
+ 0x0000029c,0x0000029b,0x0003003e,0x00000279,0x0000029d,0x000200f9,0x0000027e,0x000200f8,
+ 0x0000027e,0x00050041,0x0000000d,0x0000029e,0x00000048,0x00000051,0x0004003d,0x00000006,
+ 0x0000029f,0x0000029e,0x000500ba,0x000000a6,0x000002a0,0x0000029f,0x000000a5,0x000300f7,
+ 0x000002a2,0x00000000,0x000400fa,0x000002a0,0x000002a1,0x000002a2,0x000200f8,0x000002a1,
+ 0x0003003e,0x000002a3,0x0000015c,0x000200f9,0x000002a4,0x000200f8,0x000002a4,0x000400f6,
+ 0x000002a6,0x000002a7,0x00000000,0x000200f9,0x000002a8,0x000200f8,0x000002a8,0x0004003d,
+ 0x00000025,0x000002a9,0x000002a3,0x000500b1,0x000000a6,0x000002aa,0x000002a9,0x00000256,
+ 0x000400fa,0x000002aa,0x000002a5,0x000002a6,0x000200f8,0x000002a5,0x0004003d,0x00000025,
+ 0x000002ac,0x000002a3,0x0004003d,0x00000025,0x000002ad,0x000002a3,0x00060041,0x0000000d,
+ 0x000002ae,0x00000043,0x00000167,0x000002ad,0x0004003d,0x00000006,0x000002af,0x000002ae,
+ 0x0004003d,0x00000025,0x000002b0,0x000002a3,0x00060041,0x0000000d,0x000002b1,0x00000043,
+ 0x00000197,0x000002b0,0x0004003d,0x00000006,0x000002b2,0x000002b1,0x0004003d,0x00000006,
+ 0x000002b3,0x00000045,0x0008000c,0x00000006,0x000002b4,0x00000001,0x0000002e,0x000002af,
+ 0x000002b2,0x000002b3,0x00050041,0x0000000d,0x000002b5,0x000002ab,0x000002ac,0x0003003e,
+ 0x000002b5,0x000002b4,0x000200f9,0x000002a7,0x000200f8,0x000002a7,0x0004003d,0x00000025,
+ 0x000002b6,0x000002a3,0x00050080,0x00000025,0x000002b7,0x000002b6,0x0000016f,0x0003003e,
+ 0x000002a3,0x000002b7,0x000200f9,0x000002a4,0x000200f8,0x000002a6,0x0004003d,0x00000033,
+ 0x000002b9,0x000002ab,0x0003003e,0x000002b8,0x000002b9,0x0004003d,0x00000025,0x000002bb,
+ 0x00000046,0x0003003e,0x000002ba,0x000002bb,0x00060039,0x00000006,0x000002bc,0x00000038,
+ 0x000002b8,0x000002ba,0x00050041,0x0000000d,0x000002bd,0x00000048,0x00000051,0x0004003d,
+ 0x00000006,0x000002be,0x000002bd,0x00050085,0x00000006,0x000002bf,0x000002bc,0x000002be,
+ 0x0004003d,0x00000006,0x000002c0,0x00000279,0x00050081,0x00000006,0x000002c1,0x000002c0,
+ 0x000002bf,0x0003003e,0x00000279,0x000002c1,0x000200f9,0x000002a2,0x000200f8,0x000002a2,
+ 0x00050041,0x0000000d,0x000002c2,0x00000048,0x00000057,0x0004003d,0x00000006,0x000002c3,
+ 0x000002c2,0x000500ba,0x000000a6,0x000002c4,0x000002c3,0x000000a5,0x000300f7,0x000002c6,
+ 0x00000000,0x000400fa,0x000002c4,0x000002c5,0x000002c6,0x000200f8,0x000002c5,0x0004003d,
+ 0x00000006,0x000002c9,0x00000044,0x0004003d,0x00000006,0x000002ca,0x00000045,0x00050083,
+ 0x00000006,0x000002cb,0x000002c9,0x000002ca,0x00050085,0x00000006,0x000002cc,0x000002c8,
+ 0x000002cb,0x00050081,0x00000006,0x000002cd,0x000002c8,0x000002cc,0x0003003e,0x000002c7,
+ 0x000002cd,0x00060041,0x0000000d,0x000002d2,0x00000043,0x00000167,0x0000016f,0x0004003d,
+ 0x00000006,0x000002d3,0x000002d2,0x00060041,0x0000000d,0x000002d4,0x00000043,0x0000016f,
+ 0x00000167,0x0004003d,0x00000006,0x000002d5,0x000002d4,0x0004003d,0x00000006,0x000002d6,
+ 0x000002c7,0x0008000c,0x00000006,0x000002d7,0x00000001,0x0000002e,0x000002d3,0x000002d5,
+ 0x000002d6,0x00050041,0x0000000d,0x000002d8,0x000002d1,0x0000016f,0x0003003e,0x000002d8,
+ 0x000002d7,0x00060041,0x0000000d,0x000002d9,0x00000043,0x00000197,0x00000167,0x0004003d,
+ 0x00000006,0x000002da,0x000002d9,0x00060041,0x0000000d,0x000002db,0x00000043,0x00000167,
+ 0x00000197,0x0004003d,0x00000006,0x000002dc,0x000002db,0x0004003d,0x00000006,0x000002dd,
+ 0x000002c7,0x0008000c,0x00000006,0x000002de,0x00000001,0x0000002e,0x000002da,0x000002dc,
+ 0x000002dd,0x00050041,0x0000000d,0x000002df,0x000002d1,0x00000197,0x0003003e,0x000002df,
+ 0x000002de,0x00060041,0x0000000d,0x000002e0,0x00000043,0x0000019f,0x00000197,0x0004003d,
+ 0x00000006,0x000002e1,0x000002e0,0x00060041,0x0000000d,0x000002e2,0x00000043,0x00000197,
+ 0x0000019f,0x0004003d,0x00000006,0x000002e3,0x000002e2,0x0004003d,0x00000006,0x000002e4,
+ 0x000002c7,0x0008000c,0x00000006,0x000002e5,0x00000001,0x0000002e,0x000002e1,0x000002e3,
+ 0x000002e4,0x00050041,0x0000000d,0x000002e6,0x000002d1,0x000001a7,0x0003003e,0x000002e6,
+ 0x000002e5,0x0004003d,0x00000006,0x000002e7,0x000002c7,0x00050083,0x00000006,0x000002e8,
+ 0x000002e7,0x000002c8,0x0003003e,0x000002c7,0x000002e8,0x0004003d,0x00000006,0x000002ea,
+ 0x000002c7,0x000500be,0x000000a6,0x000002eb,0x000002ea,0x000000a5,0x000300f7,0x000002ee,
+ 0x00000000,0x000400fa,0x000002eb,0x000002ed,0x000002f1,0x000200f8,0x000002ed,0x00060041,
+ 0x0000000d,0x000002ef,0x00000043,0x0000015c,0x00000167,0x0004003d,0x00000006,0x000002f0,
+ 0x000002ef,0x0003003e,0x000002ec,0x000002f0,0x000200f9,0x000002ee,0x000200f8,0x000002f1,
+ 0x00060041,0x0000000d,0x000002f2,0x00000043,0x00000167,0x0000015c,0x0004003d,0x00000006,
+ 0x000002f3,0x000002f2,0x0003003e,0x000002ec,0x000002f3,0x000200f9,0x000002ee,0x000200f8,
+ 0x000002ee,0x0004003d,0x00000006,0x000002f4,0x000002ec,0x0003003e,0x000002e9,0x000002f4,
+ 0x0004003d,0x00000006,0x000002f6,0x000002c7,0x000500be,0x000000a6,0x000002f7,0x000002f6,
+ 0x000000a5,0x000300f7,0x000002fa,0x00000000,0x000400fa,0x000002f7,0x000002f9,0x000002fd,
+ 0x000200f8,0x000002f9,0x00060041,0x0000000d,0x000002fb,0x00000043,0x0000016f,0x00000197,
+ 0x0004003d,0x00000006,0x000002fc,0x000002fb,0x0003003e,0x000002f8,0x000002fc,0x000200f9,
+ 0x000002fa,0x000200f8,0x000002fd,0x00060041,0x0000000d,0x000002fe,0x00000043,0x00000197,
+ 0x0000016f,0x0004003d,0x00000006,0x000002ff,0x000002fe,0x0003003e,0x000002f8,0x000002ff,
+ 0x000200f9,0x000002fa,0x000200f8,0x000002fa,0x0004003d,0x00000006,0x00000300,0x000002f8,
+ 0x0003003e,0x000002f5,0x00000300,0x0004003d,0x00000006,0x00000302,0x000002c7,0x000500be,
+ 0x000000a6,0x00000303,0x00000302,0x000000a5,0x000300f7,0x00000306,0x00000000,0x000400fa,
+ 0x00000303,0x00000305,0x00000309,0x000200f8,0x00000305,0x00060041,0x0000000d,0x00000307,
+ 0x00000043,0x00000167,0x0000019f,0x0004003d,0x00000006,0x00000308,0x00000307,0x0003003e,
+ 0x00000304,0x00000308,0x000200f9,0x00000306,0x000200f8,0x00000309,0x00060041,0x0000000d,
+ 0x0000030a,0x00000043,0x0000019f,0x00000167,0x0004003d,0x00000006,0x0000030b,0x0000030a,
+ 0x0003003e,0x00000304,0x0000030b,0x000200f9,0x00000306,0x000200f8,0x00000306,0x0004003d,
+ 0x00000006,0x0000030c,0x00000304,0x0003003e,0x00000301,0x0000030c,0x0004003d,0x00000006,
+ 0x0000030e,0x000002c7,0x000500be,0x000000a6,0x0000030f,0x0000030e,0x000000a5,0x000300f7,
+ 0x00000312,0x00000000,0x000400fa,0x0000030f,0x00000311,0x00000315,0x000200f8,0x00000311,
+ 0x00060041,0x0000000d,0x00000313,0x00000043,0x00000197,0x000001a7,0x0004003d,0x00000006,
+ 0x00000314,0x00000313,0x0003003e,0x00000310,0x00000314,0x000200f9,0x00000312,0x000200f8,
+ 0x00000315,0x00060041,0x0000000d,0x00000316,0x00000043,0x000001a7,0x00000197,0x0004003d,
+ 0x00000006,0x00000317,0x00000316,0x0003003e,0x00000310,0x00000317,0x000200f9,0x00000312,
+ 0x000200f8,0x00000312,0x0004003d,0x00000006,0x00000318,0x00000310,0x0003003e,0x0000030d,
+ 0x00000318,0x00060041,0x0000000d,0x00000319,0x00000043,0x0000016f,0x0000016f,0x0004003d,
+ 0x00000006,0x0000031a,0x00000319,0x0004003d,0x00000006,0x0000031b,0x000002e9,0x0004003d,
+ 0x00000006,0x0000031c,0x000002c7,0x0006000c,0x00000006,0x0000031d,0x00000001,0x00000004,
+ 0x0000031c,0x0008000c,0x00000006,0x0000031e,0x00000001,0x0000002e,0x0000031a,0x0000031b,
+ 0x0000031d,0x00050041,0x0000000d,0x0000031f,0x000002d1,0x0000015c,0x0003003e,0x0000031f,
+ 0x0000031e,0x00060041,0x0000000d,0x00000320,0x00000043,0x00000167,0x00000167,0x0004003d,
+ 0x00000006,0x00000321,0x00000320,0x0004003d,0x00000006,0x00000322,0x000002f5,0x0004003d,
+ 0x00000006,0x00000323,0x000002c7,0x0006000c,0x00000006,0x00000324,0x00000001,0x00000004,
+ 0x00000323,0x0008000c,0x00000006,0x00000325,0x00000001,0x0000002e,0x00000321,0x00000322,
+ 0x00000324,0x00050041,0x0000000d,0x00000326,0x000002d1,0x00000167,0x0003003e,0x00000326,
+ 0x00000325,0x00060041,0x0000000d,0x00000327,0x00000043,0x00000197,0x00000197,0x0004003d,
+ 0x00000006,0x00000328,0x00000327,0x0004003d,0x00000006,0x00000329,0x00000301,0x0004003d,
+ 0x00000006,0x0000032a,0x000002c7,0x0006000c,0x00000006,0x0000032b,0x00000001,0x00000004,
+ 0x0000032a,0x0008000c,0x00000006,0x0000032c,0x00000001,0x0000002e,0x00000328,0x00000329,
+ 0x0000032b,0x00050041,0x0000000d,0x0000032d,0x000002d1,0x0000019f,0x0003003e,0x0000032d,
+ 0x0000032c,0x00060041,0x0000000d,0x0000032e,0x00000043,0x0000019f,0x0000019f,0x0004003d,
+ 0x00000006,0x0000032f,0x0000032e,0x0004003d,0x00000006,0x00000330,0x0000030d,0x0004003d,
+ 0x00000006,0x00000331,0x000002c7,0x0006000c,0x00000006,0x00000332,0x00000001,0x00000004,
+ 0x00000331,0x0008000c,0x00000006,0x00000333,0x00000001,0x0000002e,0x0000032f,0x00000330,
+ 0x00000332,0x00050041,0x0000000d,0x00000334,0x000002d1,0x00000256,0x0003003e,0x00000334,
+ 0x00000333,0x0004003d,0x00000006,0x00000336,0x00000044,0x0004003d,0x00000006,0x00000337,
+ 0x00000045,0x00050081,0x00000006,0x00000338,0x00000336,0x00000337,0x0003003e,0x00000335,
+ 0x00000338,0x0004003d,0x00000006,0x00000339,0x00000335,0x000500be,0x000000a6,0x0000033a,
+ 0x00000339,0x000000b2,0x000300f7,0x0000033c,0x00000000,0x000400fa,0x0000033a,0x0000033b,
+ 0x00000350,0x000200f8,0x0000033b,0x0003003e,0x0000033d,0x0000015c,0x000200f9,0x0000033e,
+ 0x000200f8,0x0000033e,0x000400f6,0x00000340,0x00000341,0x00000000,0x000200f9,0x00000342,
+ 0x000200f8,0x00000342,0x0004003d,0x00000025,0x00000343,0x0000033d,0x000500b1,0x000000a6,
+ 0x00000344,0x00000343,0x00000256,0x000400fa,0x00000344,0x0000033f,0x00000340,0x000200f8,
+ 0x0000033f,0x0004003d,0x00000025,0x00000346,0x0000033d,0x0004003d,0x00000025,0x00000347,
+ 0x0000033d,0x00050080,0x00000025,0x00000348,0x00000347,0x0000016f,0x00050041,0x0000000d,
+ 0x00000349,0x000002d1,0x00000348,0x0004003d,0x00000006,0x0000034a,0x00000349,0x00050041,
+ 0x0000000d,0x0000034b,0x00000345,0x00000346,0x0003003e,0x0000034b,0x0000034a,0x000200f9,
+ 0x00000341,0x000200f8,0x00000341,0x0004003d,0x00000025,0x0000034c,0x0000033d,0x00050080,
+ 0x00000025,0x0000034d,0x0000034c,0x0000016f,0x0003003e,0x0000033d,0x0000034d,0x000200f9,
+ 0x0000033e,0x000200f8,0x00000340,0x0004003d,0x00000006,0x0000034e,0x00000335,0x00050083,
+ 0x00000006,0x0000034f,0x0000034e,0x000000b2,0x0003003e,0x00000335,0x0000034f,0x000200f9,
+ 0x0000033c,0x000200f8,0x00000350,0x0003003e,0x00000351,0x0000015c,0x000200f9,0x00000352,
+ 0x000200f8,0x00000352,0x000400f6,0x00000354,0x00000355,0x00000000,0x000200f9,0x00000356,
+ 0x000200f8,0x00000356,0x0004003d,0x00000025,0x00000357,0x00000351,0x000500b1,0x000000a6,
+ 0x00000358,0x00000357,0x00000256,0x000400fa,0x00000358,0x00000353,0x00000354,0x000200f8,
+ 0x00000353,0x0004003d,0x00000025,0x00000359,0x00000351,0x0004003d,0x00000025,0x0000035a,
+ 0x00000351,0x00050041,0x0000000d,0x0000035b,0x000002d1,0x0000035a,0x0004003d,0x00000006,
+ 0x0000035c,0x0000035b,0x00050041,0x0000000d,0x0000035d,0x00000345,0x00000359,0x0003003e,
+ 0x0000035d,0x0000035c,0x000200f9,0x00000355,0x000200f8,0x00000355,0x0004003d,0x00000025,
+ 0x0000035e,0x00000351,0x00050080,0x00000025,0x0000035f,0x0000035e,0x0000016f,0x0003003e,
+ 0x00000351,0x0000035f,0x000200f9,0x00000352,0x000200f8,0x00000354,0x000200f9,0x0000033c,
+ 0x000200f8,0x0000033c,0x0004003d,0x00000006,0x00000360,0x00000335,0x00050085,0x00000006,
+ 0x00000362,0x00000360,0x00000361,0x0004006e,0x00000025,0x00000363,0x00000362,0x0004003d,
+ 0x00000033,0x00000365,0x00000345,0x0003003e,0x00000364,0x00000365,0x0003003e,0x00000366,
+ 0x00000363,0x00060039,0x00000006,0x00000367,0x00000038,0x00000364,0x00000366,0x00050041,
+ 0x0000000d,0x00000368,0x00000048,0x00000057,0x0004003d,0x00000006,0x00000369,0x00000368,
+ 0x00050085,0x00000006,0x0000036a,0x00000367,0x00000369,0x0004003d,0x00000006,0x0000036b,
+ 0x00000279,0x00050081,0x00000006,0x0000036c,0x0000036b,0x0000036a,0x0003003e,0x00000279,
+ 0x0000036c,0x000200f9,0x000002c6,0x000200f8,0x000002c6,0x00050041,0x0000000d,0x0000036d,
+ 0x00000048,0x00000194,0x0004003d,0x00000006,0x0000036e,0x0000036d,0x000500ba,0x000000a6,
+ 0x0000036f,0x0000036e,0x000000a5,0x000300f7,0x00000371,0x00000000,0x000400fa,0x0000036f,
+ 0x00000370,0x00000371,0x000200f8,0x00000370,0x0004003d,0x00000006,0x00000373,0x00000044,
+ 0x0004003d,0x00000006,0x00000374,0x00000045,0x00050081,0x00000006,0x00000375,0x00000373,
+ 0x00000374,0x00050085,0x00000006,0x00000376,0x000002c8,0x00000375,0x0003003e,0x00000372,
+ 0x00000376,0x00060041,0x0000000d,0x00000378,0x00000043,0x00000197,0x0000016f,0x0004003d,
+ 0x00000006,0x00000379,0x00000378,0x00060041,0x0000000d,0x0000037a,0x00000043,0x0000019f,
+ 0x00000167,0x0004003d,0x00000006,0x0000037b,0x0000037a,0x0004003d,0x00000006,0x0000037c,
+ 0x00000372,0x0008000c,0x00000006,0x0000037d,0x00000001,0x0000002e,0x00000379,0x0000037b,
+ 0x0000037c,0x00050041,0x0000000d,0x0000037e,0x00000377,0x0000016f,0x0003003e,0x0000037e,
+ 0x0000037d,0x00060041,0x0000000d,0x0000037f,0x00000043,0x00000167,0x00000167,0x0004003d,
+ 0x00000006,0x00000380,0x0000037f,0x00060041,0x0000000d,0x00000381,0x00000043,0x00000197,
+ 0x00000197,0x0004003d,0x00000006,0x00000382,0x00000381,0x0004003d,0x00000006,0x00000383,
+ 0x00000372,0x0008000c,0x00000006,0x00000384,0x00000001,0x0000002e,0x00000380,0x00000382,
+ 0x00000383,0x00050041,0x0000000d,0x00000385,0x00000377,0x00000197,0x0003003e,0x00000385,
+ 0x00000384,0x00060041,0x0000000d,0x00000386,0x00000043,0x0000016f,0x00000197,0x0004003d,
+ 0x00000006,0x00000387,0x00000386,0x00060041,0x0000000d,0x00000388,0x00000043,0x00000167,
+ 0x0000019f,0x0004003d,0x00000006,0x00000389,0x00000388,0x0004003d,0x00000006,0x0000038a,
+ 0x00000372,0x0008000c,0x00000006,0x0000038b,0x00000001,0x0000002e,0x00000387,0x00000389,
+ 0x0000038a,0x00050041,0x0000000d,0x0000038c,0x00000377,0x000001a7,0x0003003e,0x0000038c,
+ 0x0000038b,0x0004003d,0x00000006,0x0000038d,0x00000372,0x00050083,0x00000006,0x0000038e,
+ 0x0000038d,0x000002c8,0x0003003e,0x00000372,0x0000038e,0x0004003d,0x00000006,0x00000390,
+ 0x00000372,0x000500be,0x000000a6,0x00000391,0x00000390,0x000000a5,0x000300f7,0x00000394,
+ 0x00000000,0x000400fa,0x00000391,0x00000393,0x00000397,0x000200f8,0x00000393,0x00060041,
+ 0x0000000d,0x00000395,0x00000043,0x000001a7,0x00000167,0x0004003d,0x00000006,0x00000396,
+ 0x00000395,0x0003003e,0x00000392,0x00000396,0x000200f9,0x00000394,0x000200f8,0x00000397,
+ 0x00060041,0x0000000d,0x00000398,0x00000043,0x00000197,0x0000015c,0x0004003d,0x00000006,
+ 0x00000399,0x00000398,0x0003003e,0x00000392,0x00000399,0x000200f9,0x00000394,0x000200f8,
+ 0x00000394,0x0004003d,0x00000006,0x0000039a,0x00000392,0x0003003e,0x0000038f,0x0000039a,
+ 0x0004003d,0x00000006,0x0000039c,0x00000372,0x000500be,0x000000a6,0x0000039d,0x0000039c,
+ 0x000000a5,0x000300f7,0x000003a0,0x00000000,0x000400fa,0x0000039d,0x0000039f,0x000003a3,
+ 0x000200f8,0x0000039f,0x00060041,0x0000000d,0x000003a1,0x00000043,0x0000019f,0x00000197,
+ 0x0004003d,0x00000006,0x000003a2,0x000003a1,0x0003003e,0x0000039e,0x000003a2,0x000200f9,
+ 0x000003a0,0x000200f8,0x000003a3,0x00060041,0x0000000d,0x000003a4,0x00000043,0x00000167,
+ 0x0000016f,0x0004003d,0x00000006,0x000003a5,0x000003a4,0x0003003e,0x0000039e,0x000003a5,
+ 0x000200f9,0x000003a0,0x000200f8,0x000003a0,0x0004003d,0x00000006,0x000003a6,0x0000039e,
+ 0x0003003e,0x0000039b,0x000003a6,0x0004003d,0x00000006,0x000003a8,0x00000372,0x000500be,
+ 0x000000a6,0x000003a9,0x000003a8,0x000000a5,0x000300f7,0x000003ac,0x00000000,0x000400fa,
+ 0x000003a9,0x000003ab,0x000003af,0x000200f8,0x000003ab,0x00060041,0x0000000d,0x000003ad,
+ 0x00000043,0x00000197,0x0000019f,0x0004003d,0x00000006,0x000003ae,0x000003ad,0x0003003e,
+ 0x000003aa,0x000003ae,0x000200f9,0x000003ac,0x000200f8,0x000003af,0x00060041,0x0000000d,
+ 0x000003b0,0x00000043,0x0000016f,0x00000167,0x0004003d,0x00000006,0x000003b1,0x000003b0,
+ 0x0003003e,0x000003aa,0x000003b1,0x000200f9,0x000003ac,0x000200f8,0x000003ac,0x0004003d,
+ 0x00000006,0x000003b2,0x000003aa,0x0003003e,0x000003a7,0x000003b2,0x0004003d,0x00000006,
+ 0x000003b4,0x00000372,0x000500be,0x000000a6,0x000003b5,0x000003b4,0x000000a5,0x000300f7,
+ 0x000003b8,0x00000000,0x000400fa,0x000003b5,0x000003b7,0x000003bb,0x000200f8,0x000003b7,
+ 0x00060041,0x0000000d,0x000003b9,0x00000043,0x00000167,0x000001a7,0x0004003d,0x00000006,
+ 0x000003ba,0x000003b9,0x0003003e,0x000003b6,0x000003ba,0x000200f9,0x000003b8,0x000200f8,
+ 0x000003bb,0x00060041,0x0000000d,0x000003bc,0x00000043,0x0000015c,0x00000197,0x0004003d,
+ 0x00000006,0x000003bd,0x000003bc,0x0003003e,0x000003b6,0x000003bd,0x000200f9,0x000003b8,
+ 0x000200f8,0x000003b8,0x0004003d,0x00000006,0x000003be,0x000003b6,0x0003003e,0x000003b3,
+ 0x000003be,0x00060041,0x0000000d,0x000003bf,0x00000043,0x0000019f,0x0000016f,0x0004003d,
+ 0x00000006,0x000003c0,0x000003bf,0x0004003d,0x00000006,0x000003c1,0x0000038f,0x0004003d,
+ 0x00000006,0x000003c2,0x00000372,0x0006000c,0x00000006,0x000003c3,0x00000001,0x00000004,
+ 0x000003c2,0x0008000c,0x00000006,0x000003c4,0x00000001,0x0000002e,0x000003c0,0x000003c1,
+ 0x000003c3,0x00050041,0x0000000d,0x000003c5,0x00000377,0x0000015c,0x0003003e,0x000003c5,
+ 0x000003c4,0x00060041,0x0000000d,0x000003c6,0x00000043,0x00000197,0x00000167,0x0004003d,
+ 0x00000006,0x000003c7,0x000003c6,0x0004003d,0x00000006,0x000003c8,0x0000039b,0x0004003d,
+ 0x00000006,0x000003c9,0x00000372,0x0006000c,0x00000006,0x000003ca,0x00000001,0x00000004,
+ 0x000003c9,0x0008000c,0x00000006,0x000003cb,0x00000001,0x0000002e,0x000003c7,0x000003c8,
+ 0x000003ca,0x00050041,0x0000000d,0x000003cc,0x00000377,0x00000167,0x0003003e,0x000003cc,
+ 0x000003cb,0x00060041,0x0000000d,0x000003cd,0x00000043,0x00000167,0x00000197,0x0004003d,
+ 0x00000006,0x000003ce,0x000003cd,0x0004003d,0x00000006,0x000003cf,0x000003a7,0x0004003d,
+ 0x00000006,0x000003d0,0x00000372,0x0006000c,0x00000006,0x000003d1,0x00000001,0x00000004,
+ 0x000003d0,0x0008000c,0x00000006,0x000003d2,0x00000001,0x0000002e,0x000003ce,0x000003cf,
+ 0x000003d1,0x00050041,0x0000000d,0x000003d3,0x00000377,0x0000019f,0x0003003e,0x000003d3,
+ 0x000003d2,0x00060041,0x0000000d,0x000003d4,0x00000043,0x0000016f,0x0000019f,0x0004003d,
+ 0x00000006,0x000003d5,0x000003d4,0x0004003d,0x00000006,0x000003d6,0x000003b3,0x0004003d,
+ 0x00000006,0x000003d7,0x00000372,0x0006000c,0x00000006,0x000003d8,0x00000001,0x00000004,
+ 0x000003d7,0x0008000c,0x00000006,0x000003d9,0x00000001,0x0000002e,0x000003d5,0x000003d6,
+ 0x000003d8,0x00050041,0x0000000d,0x000003da,0x00000377,0x00000256,0x0003003e,0x000003da,
+ 0x000003d9,0x0004003d,0x00000006,0x000003dc,0x00000044,0x0004003d,0x00000006,0x000003dd,
+ 0x00000045,0x00050083,0x00000006,0x000003de,0x000003dc,0x000003dd,0x00050081,0x00000006,
+ 0x000003df,0x000000b2,0x000003de,0x0003003e,0x000003db,0x000003df,0x0004003d,0x00000006,
+ 0x000003e0,0x000003db,0x000500be,0x000000a6,0x000003e1,0x000003e0,0x000000b2,0x000300f7,
+ 0x000003e3,0x00000000,0x000400fa,0x000003e1,0x000003e2,0x000003f7,0x000200f8,0x000003e2,
+ 0x0003003e,0x000003e4,0x0000015c,0x000200f9,0x000003e5,0x000200f8,0x000003e5,0x000400f6,
+ 0x000003e7,0x000003e8,0x00000000,0x000200f9,0x000003e9,0x000200f8,0x000003e9,0x0004003d,
+ 0x00000025,0x000003ea,0x000003e4,0x000500b1,0x000000a6,0x000003eb,0x000003ea,0x00000256,
+ 0x000400fa,0x000003eb,0x000003e6,0x000003e7,0x000200f8,0x000003e6,0x0004003d,0x00000025,
+ 0x000003ed,0x000003e4,0x0004003d,0x00000025,0x000003ee,0x000003e4,0x00050080,0x00000025,
+ 0x000003ef,0x000003ee,0x0000016f,0x00050041,0x0000000d,0x000003f0,0x00000377,0x000003ef,
+ 0x0004003d,0x00000006,0x000003f1,0x000003f0,0x00050041,0x0000000d,0x000003f2,0x000003ec,
+ 0x000003ed,0x0003003e,0x000003f2,0x000003f1,0x000200f9,0x000003e8,0x000200f8,0x000003e8,
+ 0x0004003d,0x00000025,0x000003f3,0x000003e4,0x00050080,0x00000025,0x000003f4,0x000003f3,
+ 0x0000016f,0x0003003e,0x000003e4,0x000003f4,0x000200f9,0x000003e5,0x000200f8,0x000003e7,
+ 0x0004003d,0x00000006,0x000003f5,0x000003db,0x00050083,0x00000006,0x000003f6,0x000003f5,
+ 0x000000b2,0x0003003e,0x000003db,0x000003f6,0x000200f9,0x000003e3,0x000200f8,0x000003f7,
+ 0x0003003e,0x000003f8,0x0000015c,0x000200f9,0x000003f9,0x000200f8,0x000003f9,0x000400f6,
+ 0x000003fb,0x000003fc,0x00000000,0x000200f9,0x000003fd,0x000200f8,0x000003fd,0x0004003d,
+ 0x00000025,0x000003fe,0x000003f8,0x000500b1,0x000000a6,0x000003ff,0x000003fe,0x00000256,
+ 0x000400fa,0x000003ff,0x000003fa,0x000003fb,0x000200f8,0x000003fa,0x0004003d,0x00000025,
+ 0x00000400,0x000003f8,0x0004003d,0x00000025,0x00000401,0x000003f8,0x00050041,0x0000000d,
+ 0x00000402,0x00000377,0x00000401,0x0004003d,0x00000006,0x00000403,0x00000402,0x00050041,
+ 0x0000000d,0x00000404,0x000003ec,0x00000400,0x0003003e,0x00000404,0x00000403,0x000200f9,
+ 0x000003fc,0x000200f8,0x000003fc,0x0004003d,0x00000025,0x00000405,0x000003f8,0x00050080,
+ 0x00000025,0x00000406,0x00000405,0x0000016f,0x0003003e,0x000003f8,0x00000406,0x000200f9,
+ 0x000003f9,0x000200f8,0x000003fb,0x000200f9,0x000003e3,0x000200f8,0x000003e3,0x0004003d,
+ 0x00000006,0x00000407,0x000003db,0x00050085,0x00000006,0x00000408,0x00000407,0x00000361,
+ 0x0004006e,0x00000025,0x00000409,0x00000408,0x0004003d,0x00000033,0x0000040b,0x000003ec,
+ 0x0003003e,0x0000040a,0x0000040b,0x0003003e,0x0000040c,0x00000409,0x00060039,0x00000006,
+ 0x0000040d,0x00000038,0x0000040a,0x0000040c,0x00050041,0x0000000d,0x0000040e,0x00000048,
+ 0x00000194,0x0004003d,0x00000006,0x0000040f,0x0000040e,0x00050085,0x00000006,0x00000410,
+ 0x0000040d,0x0000040f,0x0004003d,0x00000006,0x00000411,0x00000279,0x00050081,0x00000006,
+ 0x00000412,0x00000411,0x00000410,0x0003003e,0x00000279,0x00000412,0x000200f9,0x00000371,
+ 0x000200f8,0x00000371,0x0004003d,0x00000006,0x00000413,0x00000279,0x000200fe,0x00000413,
+ 0x00010038
+};
diff --git a/app/src/main/cpp/shaders/nis_coef.h b/app/src/main/cpp/shaders/nis_coef.h
new file mode 100644
index 0000000000..77252c738e
--- /dev/null
+++ b/app/src/main/cpp/shaders/nis_coef.h
@@ -0,0 +1,156 @@
+// NVIDIA Image Scaling coefficient banks for nis3.frag (uniform buffer, set 1, binding 0):
+// coef_scale and coef_usm, 64 phases x 6 taps, laid out as two vec4 per phase (taps 0-3, taps 4-5
+// + two zeros) to match the shader's std140 vec4[128] arrays. Values = nis.frag's baked tables.
+//
+// The MIT License (MIT)
+// Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
+// associated documentation files (the "Software"), to deal in the Software without restriction,
+// including without limitation the rights to use, copy, modify, merge, publish, distribute,
+// sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all copies or
+// substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
+// NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
+// OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#pragma once
+
+static const float kNisCoefScale[64 * 8] = {
+ 0.0000f, 0.0000f, 1.0000f, 0.0000f, 0.0000f, 0.0000f, 0.0000f, 0.0000f, // phase 0
+ 0.0029f, -0.0127f, 1.0000f, 0.0132f, -0.0034f, 0.0000f, 0.0000f, 0.0000f, // phase 1
+ 0.0063f, -0.0249f, 0.9985f, 0.0269f, -0.0068f, 0.0000f, 0.0000f, 0.0000f, // phase 2
+ 0.0088f, -0.0361f, 0.9956f, 0.0415f, -0.0103f, 0.0005f, 0.0000f, 0.0000f, // phase 3
+ 0.0117f, -0.0474f, 0.9932f, 0.0562f, -0.0142f, 0.0005f, 0.0000f, 0.0000f, // phase 4
+ 0.0142f, -0.0576f, 0.9897f, 0.0713f, -0.0181f, 0.0005f, 0.0000f, 0.0000f, // phase 5
+ 0.0166f, -0.0674f, 0.9844f, 0.0874f, -0.0220f, 0.0010f, 0.0000f, 0.0000f, // phase 6
+ 0.0186f, -0.0762f, 0.9785f, 0.1040f, -0.0264f, 0.0015f, 0.0000f, 0.0000f, // phase 7
+ 0.0205f, -0.0850f, 0.9727f, 0.1206f, -0.0308f, 0.0020f, 0.0000f, 0.0000f, // phase 8
+ 0.0225f, -0.0928f, 0.9648f, 0.1382f, -0.0352f, 0.0024f, 0.0000f, 0.0000f, // phase 9
+ 0.0239f, -0.1006f, 0.9575f, 0.1558f, -0.0396f, 0.0029f, 0.0000f, 0.0000f, // phase 10
+ 0.0254f, -0.1074f, 0.9487f, 0.1738f, -0.0439f, 0.0034f, 0.0000f, 0.0000f, // phase 11
+ 0.0264f, -0.1138f, 0.9390f, 0.1929f, -0.0488f, 0.0044f, 0.0000f, 0.0000f, // phase 12
+ 0.0278f, -0.1191f, 0.9282f, 0.2119f, -0.0537f, 0.0049f, 0.0000f, 0.0000f, // phase 13
+ 0.0288f, -0.1245f, 0.9170f, 0.2310f, -0.0581f, 0.0059f, 0.0000f, 0.0000f, // phase 14
+ 0.0293f, -0.1294f, 0.9058f, 0.2510f, -0.0630f, 0.0063f, 0.0000f, 0.0000f, // phase 15
+ 0.0303f, -0.1333f, 0.8926f, 0.2710f, -0.0679f, 0.0073f, 0.0000f, 0.0000f, // phase 16
+ 0.0308f, -0.1367f, 0.8789f, 0.2915f, -0.0728f, 0.0083f, 0.0000f, 0.0000f, // phase 17
+ 0.0308f, -0.1401f, 0.8657f, 0.3120f, -0.0776f, 0.0093f, 0.0000f, 0.0000f, // phase 18
+ 0.0313f, -0.1426f, 0.8506f, 0.3330f, -0.0825f, 0.0103f, 0.0000f, 0.0000f, // phase 19
+ 0.0313f, -0.1445f, 0.8354f, 0.3540f, -0.0874f, 0.0112f, 0.0000f, 0.0000f, // phase 20
+ 0.0313f, -0.1460f, 0.8193f, 0.3755f, -0.0923f, 0.0122f, 0.0000f, 0.0000f, // phase 21
+ 0.0313f, -0.1470f, 0.8022f, 0.3965f, -0.0967f, 0.0137f, 0.0000f, 0.0000f, // phase 22
+ 0.0308f, -0.1479f, 0.7856f, 0.4185f, -0.1016f, 0.0146f, 0.0000f, 0.0000f, // phase 23
+ 0.0303f, -0.1479f, 0.7681f, 0.4399f, -0.1060f, 0.0156f, 0.0000f, 0.0000f, // phase 24
+ 0.0298f, -0.1479f, 0.7505f, 0.4614f, -0.1104f, 0.0166f, 0.0000f, 0.0000f, // phase 25
+ 0.0293f, -0.1470f, 0.7314f, 0.4829f, -0.1147f, 0.0181f, 0.0000f, 0.0000f, // phase 26
+ 0.0288f, -0.1460f, 0.7119f, 0.5049f, -0.1187f, 0.0190f, 0.0000f, 0.0000f, // phase 27
+ 0.0278f, -0.1445f, 0.6929f, 0.5264f, -0.1226f, 0.0200f, 0.0000f, 0.0000f, // phase 28
+ 0.0273f, -0.1431f, 0.6724f, 0.5479f, -0.1260f, 0.0215f, 0.0000f, 0.0000f, // phase 29
+ 0.0264f, -0.1411f, 0.6528f, 0.5693f, -0.1299f, 0.0225f, 0.0000f, 0.0000f, // phase 30
+ 0.0254f, -0.1387f, 0.6323f, 0.5903f, -0.1328f, 0.0234f, 0.0000f, 0.0000f, // phase 31
+ 0.0244f, -0.1357f, 0.6113f, 0.6113f, -0.1357f, 0.0244f, 0.0000f, 0.0000f, // phase 32
+ 0.0234f, -0.1328f, 0.5903f, 0.6323f, -0.1387f, 0.0254f, 0.0000f, 0.0000f, // phase 33
+ 0.0225f, -0.1299f, 0.5693f, 0.6528f, -0.1411f, 0.0264f, 0.0000f, 0.0000f, // phase 34
+ 0.0215f, -0.1260f, 0.5479f, 0.6724f, -0.1431f, 0.0273f, 0.0000f, 0.0000f, // phase 35
+ 0.0200f, -0.1226f, 0.5264f, 0.6929f, -0.1445f, 0.0278f, 0.0000f, 0.0000f, // phase 36
+ 0.0190f, -0.1187f, 0.5049f, 0.7119f, -0.1460f, 0.0288f, 0.0000f, 0.0000f, // phase 37
+ 0.0181f, -0.1147f, 0.4829f, 0.7314f, -0.1470f, 0.0293f, 0.0000f, 0.0000f, // phase 38
+ 0.0166f, -0.1104f, 0.4614f, 0.7505f, -0.1479f, 0.0298f, 0.0000f, 0.0000f, // phase 39
+ 0.0156f, -0.1060f, 0.4399f, 0.7681f, -0.1479f, 0.0303f, 0.0000f, 0.0000f, // phase 40
+ 0.0146f, -0.1016f, 0.4185f, 0.7856f, -0.1479f, 0.0308f, 0.0000f, 0.0000f, // phase 41
+ 0.0137f, -0.0967f, 0.3965f, 0.8022f, -0.1470f, 0.0313f, 0.0000f, 0.0000f, // phase 42
+ 0.0122f, -0.0923f, 0.3755f, 0.8193f, -0.1460f, 0.0313f, 0.0000f, 0.0000f, // phase 43
+ 0.0112f, -0.0874f, 0.3540f, 0.8354f, -0.1445f, 0.0313f, 0.0000f, 0.0000f, // phase 44
+ 0.0103f, -0.0825f, 0.3330f, 0.8506f, -0.1426f, 0.0313f, 0.0000f, 0.0000f, // phase 45
+ 0.0093f, -0.0776f, 0.3120f, 0.8657f, -0.1401f, 0.0308f, 0.0000f, 0.0000f, // phase 46
+ 0.0083f, -0.0728f, 0.2915f, 0.8789f, -0.1367f, 0.0308f, 0.0000f, 0.0000f, // phase 47
+ 0.0073f, -0.0679f, 0.2710f, 0.8926f, -0.1333f, 0.0303f, 0.0000f, 0.0000f, // phase 48
+ 0.0063f, -0.0630f, 0.2510f, 0.9058f, -0.1294f, 0.0293f, 0.0000f, 0.0000f, // phase 49
+ 0.0059f, -0.0581f, 0.2310f, 0.9170f, -0.1245f, 0.0288f, 0.0000f, 0.0000f, // phase 50
+ 0.0049f, -0.0537f, 0.2119f, 0.9282f, -0.1191f, 0.0278f, 0.0000f, 0.0000f, // phase 51
+ 0.0044f, -0.0488f, 0.1929f, 0.9390f, -0.1138f, 0.0264f, 0.0000f, 0.0000f, // phase 52
+ 0.0034f, -0.0439f, 0.1738f, 0.9487f, -0.1074f, 0.0254f, 0.0000f, 0.0000f, // phase 53
+ 0.0029f, -0.0396f, 0.1558f, 0.9575f, -0.1006f, 0.0239f, 0.0000f, 0.0000f, // phase 54
+ 0.0024f, -0.0352f, 0.1382f, 0.9648f, -0.0928f, 0.0225f, 0.0000f, 0.0000f, // phase 55
+ 0.0020f, -0.0308f, 0.1206f, 0.9727f, -0.0850f, 0.0205f, 0.0000f, 0.0000f, // phase 56
+ 0.0015f, -0.0264f, 0.1040f, 0.9785f, -0.0762f, 0.0186f, 0.0000f, 0.0000f, // phase 57
+ 0.0010f, -0.0220f, 0.0874f, 0.9844f, -0.0674f, 0.0166f, 0.0000f, 0.0000f, // phase 58
+ 0.0005f, -0.0181f, 0.0713f, 0.9897f, -0.0576f, 0.0142f, 0.0000f, 0.0000f, // phase 59
+ 0.0005f, -0.0142f, 0.0562f, 0.9932f, -0.0474f, 0.0117f, 0.0000f, 0.0000f, // phase 60
+ 0.0005f, -0.0103f, 0.0415f, 0.9956f, -0.0361f, 0.0088f, 0.0000f, 0.0000f, // phase 61
+ 0.0000f, -0.0068f, 0.0269f, 0.9985f, -0.0249f, 0.0063f, 0.0000f, 0.0000f, // phase 62
+ 0.0000f, -0.0034f, 0.0132f, 1.0000f, -0.0127f, 0.0029f, 0.0000f, 0.0000f, // phase 63
+};
+
+static const float kNisCoefUsm[64 * 8] = {
+ 0.0000f, -0.6001f, 1.2002f, -0.6001f, 0.0000f, 0.0000f, 0.0000f, 0.0000f, // phase 0
+ 0.0029f, -0.6084f, 1.1987f, -0.5903f, -0.0029f, 0.0000f, 0.0000f, 0.0000f, // phase 1
+ 0.0049f, -0.6147f, 1.1958f, -0.5791f, -0.0068f, 0.0005f, 0.0000f, 0.0000f, // phase 2
+ 0.0073f, -0.6196f, 1.1890f, -0.5659f, -0.0103f, 0.0000f, 0.0000f, 0.0000f, // phase 3
+ 0.0093f, -0.6235f, 1.1802f, -0.5513f, -0.0151f, 0.0000f, 0.0000f, 0.0000f, // phase 4
+ 0.0112f, -0.6265f, 1.1699f, -0.5352f, -0.0195f, 0.0005f, 0.0000f, 0.0000f, // phase 5
+ 0.0122f, -0.6270f, 1.1582f, -0.5181f, -0.0259f, 0.0005f, 0.0000f, 0.0000f, // phase 6
+ 0.0142f, -0.6284f, 1.1455f, -0.5005f, -0.0317f, 0.0005f, 0.0000f, 0.0000f, // phase 7
+ 0.0156f, -0.6265f, 1.1274f, -0.4790f, -0.0386f, 0.0005f, 0.0000f, 0.0000f, // phase 8
+ 0.0166f, -0.6235f, 1.1089f, -0.4570f, -0.0454f, 0.0010f, 0.0000f, 0.0000f, // phase 9
+ 0.0176f, -0.6187f, 1.0879f, -0.4346f, -0.0532f, 0.0010f, 0.0000f, 0.0000f, // phase 10
+ 0.0181f, -0.6138f, 1.0659f, -0.4102f, -0.0615f, 0.0015f, 0.0000f, 0.0000f, // phase 11
+ 0.0190f, -0.6069f, 1.0405f, -0.3843f, -0.0698f, 0.0015f, 0.0000f, 0.0000f, // phase 12
+ 0.0195f, -0.6006f, 1.0161f, -0.3574f, -0.0796f, 0.0020f, 0.0000f, 0.0000f, // phase 13
+ 0.0200f, -0.5928f, 0.9893f, -0.3286f, -0.0898f, 0.0024f, 0.0000f, 0.0000f, // phase 14
+ 0.0200f, -0.5820f, 0.9580f, -0.2988f, -0.1001f, 0.0029f, 0.0000f, 0.0000f, // phase 15
+ 0.0200f, -0.5728f, 0.9292f, -0.2690f, -0.1104f, 0.0034f, 0.0000f, 0.0000f, // phase 16
+ 0.0200f, -0.5620f, 0.8975f, -0.2368f, -0.1226f, 0.0039f, 0.0000f, 0.0000f, // phase 17
+ 0.0205f, -0.5498f, 0.8643f, -0.2046f, -0.1343f, 0.0044f, 0.0000f, 0.0000f, // phase 18
+ 0.0200f, -0.5371f, 0.8301f, -0.1709f, -0.1465f, 0.0049f, 0.0000f, 0.0000f, // phase 19
+ 0.0195f, -0.5239f, 0.7944f, -0.1367f, -0.1587f, 0.0054f, 0.0000f, 0.0000f, // phase 20
+ 0.0195f, -0.5107f, 0.7598f, -0.1021f, -0.1724f, 0.0059f, 0.0000f, 0.0000f, // phase 21
+ 0.0190f, -0.4966f, 0.7231f, -0.0649f, -0.1865f, 0.0063f, 0.0000f, 0.0000f, // phase 22
+ 0.0186f, -0.4819f, 0.6846f, -0.0288f, -0.1997f, 0.0068f, 0.0000f, 0.0000f, // phase 23
+ 0.0186f, -0.4668f, 0.6460f, 0.0093f, -0.2144f, 0.0073f, 0.0000f, 0.0000f, // phase 24
+ 0.0176f, -0.4507f, 0.6055f, 0.0479f, -0.2290f, 0.0083f, 0.0000f, 0.0000f, // phase 25
+ 0.0171f, -0.4370f, 0.5693f, 0.0859f, -0.2446f, 0.0088f, 0.0000f, 0.0000f, // phase 26
+ 0.0161f, -0.4199f, 0.5283f, 0.1255f, -0.2598f, 0.0098f, 0.0000f, 0.0000f, // phase 27
+ 0.0161f, -0.4048f, 0.4883f, 0.1655f, -0.2754f, 0.0103f, 0.0000f, 0.0000f, // phase 28
+ 0.0151f, -0.3887f, 0.4497f, 0.2041f, -0.2910f, 0.0107f, 0.0000f, 0.0000f, // phase 29
+ 0.0142f, -0.3711f, 0.4072f, 0.2446f, -0.3066f, 0.0117f, 0.0000f, 0.0000f, // phase 30
+ 0.0137f, -0.3555f, 0.3672f, 0.2852f, -0.3228f, 0.0122f, 0.0000f, 0.0000f, // phase 31
+ 0.0132f, -0.3394f, 0.3262f, 0.3262f, -0.3394f, 0.0132f, 0.0000f, 0.0000f, // phase 32
+ 0.0122f, -0.3228f, 0.2852f, 0.3672f, -0.3555f, 0.0137f, 0.0000f, 0.0000f, // phase 33
+ 0.0117f, -0.3066f, 0.2446f, 0.4072f, -0.3711f, 0.0142f, 0.0000f, 0.0000f, // phase 34
+ 0.0107f, -0.2910f, 0.2041f, 0.4497f, -0.3887f, 0.0151f, 0.0000f, 0.0000f, // phase 35
+ 0.0103f, -0.2754f, 0.1655f, 0.4883f, -0.4048f, 0.0161f, 0.0000f, 0.0000f, // phase 36
+ 0.0098f, -0.2598f, 0.1255f, 0.5283f, -0.4199f, 0.0161f, 0.0000f, 0.0000f, // phase 37
+ 0.0088f, -0.2446f, 0.0859f, 0.5693f, -0.4370f, 0.0171f, 0.0000f, 0.0000f, // phase 38
+ 0.0083f, -0.2290f, 0.0479f, 0.6055f, -0.4507f, 0.0176f, 0.0000f, 0.0000f, // phase 39
+ 0.0073f, -0.2144f, 0.0093f, 0.6460f, -0.4668f, 0.0186f, 0.0000f, 0.0000f, // phase 40
+ 0.0068f, -0.1997f, -0.0288f, 0.6846f, -0.4819f, 0.0186f, 0.0000f, 0.0000f, // phase 41
+ 0.0063f, -0.1865f, -0.0649f, 0.7231f, -0.4966f, 0.0190f, 0.0000f, 0.0000f, // phase 42
+ 0.0059f, -0.1724f, -0.1021f, 0.7598f, -0.5107f, 0.0195f, 0.0000f, 0.0000f, // phase 43
+ 0.0054f, -0.1587f, -0.1367f, 0.7944f, -0.5239f, 0.0195f, 0.0000f, 0.0000f, // phase 44
+ 0.0049f, -0.1465f, -0.1709f, 0.8301f, -0.5371f, 0.0200f, 0.0000f, 0.0000f, // phase 45
+ 0.0044f, -0.1343f, -0.2046f, 0.8643f, -0.5498f, 0.0205f, 0.0000f, 0.0000f, // phase 46
+ 0.0039f, -0.1226f, -0.2368f, 0.8975f, -0.5620f, 0.0200f, 0.0000f, 0.0000f, // phase 47
+ 0.0034f, -0.1104f, -0.2690f, 0.9292f, -0.5728f, 0.0200f, 0.0000f, 0.0000f, // phase 48
+ 0.0029f, -0.1001f, -0.2988f, 0.9580f, -0.5820f, 0.0200f, 0.0000f, 0.0000f, // phase 49
+ 0.0024f, -0.0898f, -0.3286f, 0.9893f, -0.5928f, 0.0200f, 0.0000f, 0.0000f, // phase 50
+ 0.0020f, -0.0796f, -0.3574f, 1.0161f, -0.6006f, 0.0195f, 0.0000f, 0.0000f, // phase 51
+ 0.0015f, -0.0698f, -0.3843f, 1.0405f, -0.6069f, 0.0190f, 0.0000f, 0.0000f, // phase 52
+ 0.0015f, -0.0615f, -0.4102f, 1.0659f, -0.6138f, 0.0181f, 0.0000f, 0.0000f, // phase 53
+ 0.0010f, -0.0532f, -0.4346f, 1.0879f, -0.6187f, 0.0176f, 0.0000f, 0.0000f, // phase 54
+ 0.0010f, -0.0454f, -0.4570f, 1.1089f, -0.6235f, 0.0166f, 0.0000f, 0.0000f, // phase 55
+ 0.0005f, -0.0386f, -0.4790f, 1.1274f, -0.6265f, 0.0156f, 0.0000f, 0.0000f, // phase 56
+ 0.0005f, -0.0317f, -0.5005f, 1.1455f, -0.6284f, 0.0142f, 0.0000f, 0.0000f, // phase 57
+ 0.0005f, -0.0259f, -0.5181f, 1.1582f, -0.6270f, 0.0122f, 0.0000f, 0.0000f, // phase 58
+ 0.0005f, -0.0195f, -0.5352f, 1.1699f, -0.6265f, 0.0112f, 0.0000f, 0.0000f, // phase 59
+ 0.0000f, -0.0151f, -0.5513f, 1.1802f, -0.6235f, 0.0093f, 0.0000f, 0.0000f, // phase 60
+ 0.0000f, -0.0103f, -0.5659f, 1.1890f, -0.6196f, 0.0073f, 0.0000f, 0.0000f, // phase 61
+ 0.0005f, -0.0068f, -0.5791f, 1.1958f, -0.6147f, 0.0049f, 0.0000f, 0.0000f, // phase 62
+ 0.0000f, -0.0029f, -0.5903f, 1.1987f, -0.6084f, 0.0029f, 0.0000f, 0.0000f, // phase 63
+};
diff --git a/app/src/main/cpp/shaders/nis_frag.h b/app/src/main/cpp/shaders/nis_frag.h
index b20294eae8..8946f147c9 100644
--- a/app/src/main/cpp/shaders/nis_frag.h
+++ b/app/src/main/cpp/shaders/nis_frag.h
@@ -1,8 +1,9 @@
+ // 1116.3.0
#pragma once
const uint32_t nis_code[] = {
- 0x07230203,0x00010000,0x0008000b,0x00000644,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x07230203,0x00010000,0x0008000b,0x0000062f,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
- 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000051f,0x00000637,0x00030010,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000050a,0x00000622,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00050005,0x0000000b,0x59746567,0x33667628,0x0000003b,0x00030005,0x0000000a,
0x00626772,0x000b0005,0x00000019,0x65676465,0x66287441,0x31663b31,0x3b31663b,0x663b3166,
@@ -28,1194 +29,1180 @@ const uint32_t nis_code[] = {
0x00000000,0x00060005,0x00000045,0x73616870,0x5f795f65,0x63617266,0x00000000,0x00070005,
0x00000046,0x73616870,0x5f785f65,0x63617266,0x746e695f,0x00000000,0x00070005,0x00000047,
0x73616870,0x5f795f65,0x63617266,0x746e695f,0x00000000,0x00030005,0x00000048,0x00000077,
- 0x00030005,0x0000005e,0x00305f67,0x00040005,0x0000006b,0x35345f67,0x00000000,0x00040005,
- 0x00000078,0x30395f67,0x00000000,0x00040005,0x00000085,0x33315f67,0x00000035,0x00050005,
- 0x00000092,0x5f305f67,0x6d5f3039,0x00007861,0x00050005,0x00000096,0x5f305f67,0x6d5f3039,
- 0x00006e69,0x00060005,0x0000009a,0x35345f67,0x3533315f,0x78616d5f,0x00000000,0x00060005,
- 0x0000009e,0x35345f67,0x3533315f,0x6e696d5f,0x00000000,0x00040005,0x000000ac,0x5f305f65,
- 0x00003039,0x00050005,0x000000b4,0x35345f65,0x3533315f,0x00000000,0x00040005,0x000000b8,
- 0x5f305f63,0x00003039,0x00050005,0x000000c6,0x35345f63,0x3533315f,0x00000000,0x00050005,
- 0x000000d2,0x5f675f63,0x30395f30,0x00000000,0x00050005,0x000000d6,0x5f675f63,0x315f3534,
- 0x00003533,0x00050005,0x000000da,0x5f655f66,0x30395f30,0x00000000,0x00050005,0x000000e0,
- 0x5f655f66,0x315f3534,0x00003533,0x00030005,0x000000e6,0x00003077,0x00030005,0x000000ec,
- 0x00303977,0x00030005,0x000000f3,0x00353477,0x00040005,0x000000f9,0x35333177,0x00000000,
- 0x00030005,0x00000107,0x00003068,0x00030005,0x0000010d,0x00003168,0x00050005,0x0000011a,
- 0x656c6573,0x726f7463,0x00000000,0x00030005,0x0000011e,0x006c6573,0x00040005,0x00000123,
- 0x696d5f61,0x0000006e,0x00040005,0x00000129,0x616d5f61,0x00000078,0x00040005,0x00000133,
- 0x696d5f62,0x0000006e,0x00040005,0x00000139,0x616d5f62,0x00000078,0x00040005,0x0000013f,
- 0x6f635f61,0x0000746e,0x00040005,0x00000143,0x6f635f62,0x0000746e,0x00050005,0x00000147,
- 0x746e6f63,0x7461725f,0x00006f69,0x00030005,0x0000015f,0x00000079,0x00030005,0x00000160,
- 0x00000069,0x00050005,0x00000215,0x65646e69,0x6c626178,0x00000065,0x00040005,0x00000221,
- 0x73755f79,0x0000006d,0x00030005,0x00000222,0x00000069,0x00050005,0x000002b0,0x65646e69,
- 0x6c626178,0x00000065,0x00040005,0x000002bb,0x63735f79,0x00656c61,0x00050005,0x000002c3,
- 0x68735f79,0x6e707261,0x00737365,0x00070005,0x000002c6,0x61685367,0x74537072,0x676e6572,
- 0x63536874,0x00656c61,0x00070005,0x000002c9,0x61685367,0x74537072,0x676e6572,0x694d6874,
- 0x0000006e,0x00070005,0x000002cf,0x68735f79,0x6e707261,0x5f737365,0x696d696c,0x00000074,
- 0x00070005,0x000002d1,0x61685367,0x694c7072,0x5374696d,0x656c6163,0x00000000,0x00060005,
- 0x000002d4,0x61685367,0x694c7072,0x4d74696d,0x00006e69,0x00040005,0x000002e3,0x61726170,
- 0x0000006d,0x00040005,0x000002e6,0x61726170,0x0000006d,0x00040005,0x000002e9,0x61726170,
- 0x0000006d,0x00040005,0x000002ec,0x61726170,0x0000006d,0x00040005,0x000002ef,0x61726170,
- 0x0000006d,0x00040005,0x000002f2,0x61726170,0x0000006d,0x00040005,0x000002f5,0x61726170,
- 0x0000006d,0x00040005,0x00000303,0x63615f68,0x00000063,0x00030005,0x00000304,0x0000006a,
- 0x00040005,0x0000030c,0x63615f76,0x00000063,0x00030005,0x0000030d,0x00000069,0x00050005,
- 0x0000031d,0x65646e69,0x6c626178,0x00000065,0x00050005,0x0000032a,0x65646e69,0x6c626178,
- 0x00000065,0x00030005,0x00000335,0x00000066,0x00030005,0x0000033b,0x00000069,0x00050005,
- 0x00000343,0x65746e69,0x44307072,0x00006765,0x00040005,0x00000350,0x61726170,0x0000006d,
- 0x00040005,0x00000352,0x61726170,0x0000006d,0x00030005,0x0000035f,0x00000069,0x00050005,
- 0x00000367,0x65746e69,0x30397072,0x00676544,0x00040005,0x00000374,0x61726170,0x0000006d,
- 0x00040005,0x00000376,0x61726170,0x0000006d,0x00050005,0x00000383,0x61687070,0x625f6573,
- 0x00003534,0x00070005,0x0000038d,0x706d6574,0x746e695f,0x34707265,0x67654435,0x00000000,
- 0x00030005,0x000003a5,0x00000061,0x00030005,0x000003b1,0x00000062,0x00030005,0x000003bd,
- 0x00000063,0x00030005,0x000003c9,0x00000064,0x00050005,0x000003f1,0x61687070,0x705f6573,
- 0x00003534,0x00030005,0x000003f9,0x00000069,0x00050005,0x00000401,0x65746e69,0x35347072,
- 0x00676544,0x00030005,0x0000040d,0x00000069,0x00040005,0x00000420,0x61726170,0x0000006d,
- 0x00040005,0x00000422,0x61726170,0x0000006d,0x00050005,0x0000042f,0x61687070,0x625f6573,
- 0x00353331,0x00070005,0x00000434,0x706d6574,0x746e695f,0x31707265,0x65443533,0x00000067,
- 0x00030005,0x0000044c,0x00000061,0x00030005,0x00000458,0x00000062,0x00030005,0x00000464,
- 0x00000063,0x00030005,0x00000470,0x00000064,0x00050005,0x00000498,0x61687070,0x705f6573,
- 0x00353331,0x00030005,0x000004a1,0x00000069,0x00060005,0x000004a9,0x65746e69,0x33317072,
- 0x67654435,0x00000000,0x00030005,0x000004b5,0x00000069,0x00040005,0x000004c7,0x61726170,
- 0x0000006d,0x00040005,0x000004c9,0x61726170,0x0000006d,0x00050005,0x000004d3,0x72616873,
- 0x73656e70,0x00000073,0x00030005,0x000004d4,0x00004350,0x00040006,0x000004d4,0x00000000,
- 0x0063646e,0x00070006,0x000004d4,0x00000001,0x77656956,0x74726f70,0x6f666e49,0x00000000,
- 0x00060006,0x000004d4,0x00000002,0x72616873,0x73656e70,0x00000073,0x00030005,0x000004d6,
- 0x00006370,0x00060005,0x000004db,0x72616873,0x5f6e6570,0x64696c73,0x00007265,0x00050005,
- 0x000004de,0x5378614d,0x656c6163,0x00000000,0x00050005,0x000004e4,0x536e694d,0x656c6163,
- 0x00000000,0x00050005,0x000004e8,0x696d694c,0x61635374,0x0000656c,0x00070005,0x000004f4,
- 0x72616873,0x72745370,0x74676e65,0x78614d68,0x00000000,0x00060005,0x00000508,0x72616873,
- 0x6d694c70,0x614d7469,0x00000078,0x00040005,0x00000514,0x69536e69,0x0000657a,0x00040005,
- 0x00000519,0x49766e69,0x0000006e,0x00040005,0x0000051d,0x58637273,0x00000000,0x00060005,
- 0x0000051f,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00040005,0x00000527,0x59637273,
- 0x00000000,0x00030005,0x0000052e,0x00787366,0x00030005,0x00000531,0x00797366,0x00030005,
- 0x00000534,0x00007866,0x00030005,0x00000538,0x00007966,0x00040005,0x0000053c,0x695f7866,
- 0x0000746e,0x00040005,0x00000540,0x695f7966,0x0000746e,0x00030005,0x00000544,0x00000069,
- 0x00030005,0x0000054c,0x0000006a,0x00030005,0x00000554,0x00006374,0x00030005,0x00000564,
- 0x00000070,0x00060005,0x0000056a,0x75706e49,0x78655474,0x65727574,0x00000000,0x00040005,
- 0x0000056e,0x61726170,0x0000006d,0x00030005,0x00000576,0x00303065,0x00040005,0x00000577,
- 0x61726170,0x0000006d,0x00040005,0x0000057a,0x61726170,0x0000006d,0x00040005,0x0000057d,
- 0x61726170,0x0000006d,0x00040005,0x00000580,0x61726170,0x0000006d,0x00040005,0x00000583,
- 0x61726170,0x0000006d,0x00040005,0x00000586,0x61726170,0x0000006d,0x00040005,0x00000589,
- 0x61726170,0x0000006d,0x00040005,0x0000058c,0x61726170,0x0000006d,0x00040005,0x0000058f,
- 0x61726170,0x0000006d,0x00030005,0x00000593,0x00313065,0x00040005,0x00000594,0x61726170,
- 0x0000006d,0x00040005,0x00000597,0x61726170,0x0000006d,0x00040005,0x0000059a,0x61726170,
- 0x0000006d,0x00040005,0x0000059d,0x61726170,0x0000006d,0x00040005,0x000005a0,0x61726170,
- 0x0000006d,0x00040005,0x000005a3,0x61726170,0x0000006d,0x00040005,0x000005a6,0x61726170,
- 0x0000006d,0x00040005,0x000005a9,0x61726170,0x0000006d,0x00040005,0x000005ac,0x61726170,
- 0x0000006d,0x00030005,0x000005b0,0x00303165,0x00040005,0x000005b1,0x61726170,0x0000006d,
- 0x00040005,0x000005b4,0x61726170,0x0000006d,0x00040005,0x000005b7,0x61726170,0x0000006d,
- 0x00040005,0x000005ba,0x61726170,0x0000006d,0x00040005,0x000005bd,0x61726170,0x0000006d,
- 0x00040005,0x000005c0,0x61726170,0x0000006d,0x00040005,0x000005c3,0x61726170,0x0000006d,
- 0x00040005,0x000005c6,0x61726170,0x0000006d,0x00040005,0x000005c9,0x61726170,0x0000006d,
- 0x00030005,0x000005cd,0x00313165,0x00040005,0x000005ce,0x61726170,0x0000006d,0x00040005,
- 0x000005d1,0x61726170,0x0000006d,0x00040005,0x000005d4,0x61726170,0x0000006d,0x00040005,
- 0x000005d7,0x61726170,0x0000006d,0x00040005,0x000005da,0x61726170,0x0000006d,0x00040005,
- 0x000005dd,0x61726170,0x0000006d,0x00040005,0x000005e0,0x61726170,0x0000006d,0x00040005,
- 0x000005e3,0x61726170,0x0000006d,0x00040005,0x000005e6,0x61726170,0x0000006d,0x00030005,
- 0x000005ea,0x00000077,0x00040005,0x000005eb,0x61726170,0x0000006d,0x00040005,0x000005ed,
- 0x61726170,0x0000006d,0x00040005,0x000005ef,0x61726170,0x0000006d,0x00040005,0x000005f1,
- 0x61726170,0x0000006d,0x00040005,0x000005f3,0x61726170,0x0000006d,0x00040005,0x000005f5,
- 0x61726170,0x0000006d,0x00050005,0x000005f8,0x65736162,0x67696557,0x00007468,0x00030005,
- 0x00000605,0x0059706f,0x00040005,0x00000606,0x61726170,0x0000006d,0x00040005,0x00000608,
- 0x61726170,0x0000006d,0x00040005,0x0000060a,0x61726170,0x0000006d,0x00040005,0x0000060f,
- 0x61726170,0x0000006d,0x00040005,0x00000611,0x61726170,0x0000006d,0x00040005,0x00000613,
- 0x61726170,0x0000006d,0x00040005,0x00000615,0x61726170,0x0000006d,0x00040005,0x00000617,
- 0x61726170,0x0000006d,0x00040005,0x00000619,0x61726170,0x0000006d,0x00030005,0x0000061e,
- 0x0000706f,0x00030005,0x00000622,0x00000079,0x00040005,0x00000623,0x61726170,0x0000006d,
- 0x00040005,0x00000627,0x72726f63,0x00000000,0x00050005,0x00000637,0x4374756f,0x726f6c6f,
- 0x00000000,0x00030047,0x000004d4,0x00000002,0x00050048,0x000004d4,0x00000000,0x00000023,
- 0x00000000,0x00050048,0x000004d4,0x00000001,0x00000023,0x00000010,0x00050048,0x000004d4,
- 0x00000002,0x00000023,0x00000020,0x00040047,0x0000051f,0x0000001e,0x00000000,0x00040047,
- 0x0000056a,0x00000021,0x00000000,0x00040047,0x0000056a,0x00000022,0x00000000,0x00040047,
- 0x00000637,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,
- 0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,0x00000006,0x00000003,0x00040020,
- 0x00000008,0x00000007,0x00000007,0x00040021,0x00000009,0x00000006,0x00000008,0x00040020,
- 0x0000000d,0x00000007,0x00000006,0x00040017,0x0000000e,0x00000006,0x00000004,0x000c0021,
- 0x0000000f,0x0000000e,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,
- 0x0000000d,0x0000000d,0x0000000d,0x00040020,0x0000001b,0x00000007,0x0000000e,0x00090021,
- 0x0000001c,0x0000000e,0x0000001b,0x0000001b,0x0000001b,0x0000001b,0x0000000d,0x0000000d,
- 0x00040015,0x00000025,0x00000020,0x00000001,0x00040020,0x00000026,0x00000007,0x00000025,
- 0x000a0021,0x00000027,0x00000006,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,
- 0x0000000d,0x00000026,0x00040015,0x00000031,0x00000020,0x00000000,0x0004002b,0x00000031,
- 0x00000032,0x00000006,0x0004001c,0x00000033,0x00000006,0x00000032,0x00040020,0x00000034,
- 0x00000007,0x00000033,0x00050021,0x00000035,0x00000006,0x00000034,0x00000026,0x0004001c,
- 0x0000003a,0x00000033,0x00000032,0x00040020,0x0000003b,0x00000007,0x0000003a,0x00060021,
- 0x0000003c,0x00000006,0x0000003b,0x00000026,0x00000026,0x00090021,0x00000042,0x00000006,
- 0x0000003b,0x0000000d,0x0000000d,0x00000026,0x00000026,0x0000001b,0x0004002b,0x00000006,
- 0x0000004b,0x3e59b3d0,0x0004002b,0x00000031,0x0000004c,0x00000000,0x0004002b,0x00000006,
- 0x00000050,0x3f371759,0x0004002b,0x00000031,0x00000051,0x00000001,0x0004002b,0x00000006,
- 0x00000056,0x3d93dd98,0x0004002b,0x00000031,0x00000057,0x00000002,0x0004002b,0x00000006,
- 0x000000a5,0x00000000,0x00020014,0x000000a6,0x0007002c,0x0000000e,0x000000aa,0x000000a5,
- 0x000000a5,0x000000a5,0x000000a5,0x0004002b,0x00000006,0x000000b2,0x3f800000,0x00040020,
- 0x000000b7,0x00000007,0x000000a6,0x0004002b,0x00000006,0x000000bb,0x400ce000,0x0004002b,
- 0x00000006,0x000000bf,0x3d800000,0x0004002b,0x00000025,0x0000011c,0x00000020,0x0004002b,
- 0x00000006,0x0000014e,0x3b808081,0x0004002b,0x00000006,0x00000152,0x40000000,0x0004002b,
- 0x00000006,0x00000154,0x3e000000,0x0004002b,0x00000025,0x0000015c,0x00000000,0x0004002b,
- 0x00000025,0x0000015d,0x0000003f,0x0004002b,0x00000025,0x00000167,0x00000006,0x0004002b,
- 0x00000031,0x00000169,0x00000180,0x0004001c,0x0000016a,0x00000006,0x00000169,0x0004002b,
- 0x00000006,0x0000016b,0x3b3e0ded,0x0004002b,0x00000006,0x0000016c,0xbc5013a9,0x0004002b,
- 0x00000006,0x0000016d,0x3c5844d0,0x0004002b,0x00000006,0x0000016e,0xbb5ed289,0x0004002b,
- 0x00000006,0x0000016f,0x3bce703b,0x0004002b,0x00000006,0x00000170,0xbccbfb16,0x0004002b,
- 0x00000006,0x00000171,0x3f7f9db2,0x0004002b,0x00000006,0x00000172,0x3cdc5d64,0x0004002b,
- 0x00000006,0x00000173,0xbbded289,0x0004002b,0x00000006,0x00000174,0x3c102de0,0x0004002b,
- 0x00000006,0x00000175,0xbd13dd98,0x0004002b,0x00000006,0x00000176,0x3f7edfa4,0x0004002b,
- 0x00000006,0x00000177,0x3d29fbe7,0x0004002b,0x00000006,0x00000178,0xbc28c155,0x0004002b,
- 0x00000006,0x00000179,0x3a03126f,0x0004002b,0x00000006,0x0000017a,0x3c3fb15b,0x0004002b,
- 0x00000006,0x0000017b,0xbd422681,0x0004002b,0x00000006,0x0000017c,0x3f7e425b,0x0004002b,
- 0x00000006,0x0000017d,0x3d6631f9,0x0004002b,0x00000006,0x0000017e,0xbc68a71e,0x0004002b,
- 0x00000006,0x0000017f,0x3c68a71e,0x0004002b,0x00000006,0x00000180,0xbd6bedfa,0x0004002b,
- 0x00000006,0x00000181,0x3f7d5cfb,0x0004002b,0x00000006,0x00000182,0x3d9205bc,0x0004002b,
- 0x00000006,0x00000183,0xbc944674,0x0004002b,0x00000006,0x00000184,0x3c87fcb9,0x0004002b,
- 0x00000006,0x00000185,0xbd8a0903,0x0004002b,0x00000006,0x00000186,0x3f7c01a3,0x0004002b,
- 0x00000006,0x00000187,0x3db2fec5,0x0004002b,0x00000006,0x00000188,0xbcb43958,0x0004002b,
- 0x00000006,0x00000189,0x3a83126f,0x0004002b,0x00000006,0x0000018a,0x3c985f07,0x0004002b,
- 0x00000006,0x0000018b,0xbd9c0ebf,0x0004002b,0x00000006,0x0000018c,0x3f7a7efa,0x0004002b,
- 0x00000006,0x0000018d,0x3dd4fdf4,0x0004002b,0x00000006,0x0000018e,0xbcd844d0,0x0004002b,
- 0x00000006,0x0000018f,0x3ac49ba6,0x0004002b,0x00000006,0x00000190,0x3ca7ef9e,0x0004002b,
- 0x00000006,0x00000191,0xbdae147b,0x0004002b,0x00000006,0x00000192,0x3f7902de,0x0004002b,
- 0x00000006,0x00000193,0x3df6fd22,0x0004002b,0x00000006,0x00000194,0xbcfc5048,0x0004002b,
- 0x00000006,0x00000195,0x3b03126f,0x0004002b,0x00000006,0x00000196,0x3cb851ec,0x0004002b,
- 0x00000006,0x00000197,0xbdbe0ded,0x0004002b,0x00000006,0x00000198,0x3f76fd22,0x0004002b,
- 0x00000006,0x00000199,0x3e0d844d,0x0004002b,0x00000006,0x0000019a,0xbd102de0,0x0004002b,
- 0x00000006,0x0000019b,0x3b1d4952,0x0004002b,0x00000006,0x0000019c,0x3cc3c9ef,0x0004002b,
- 0x00000006,0x0000019d,0xbdce075f,0x0004002b,0x00000006,0x0000019e,0x3f751eb8,0x0004002b,
- 0x00000006,0x0000019f,0x3e1f8a09,0x0004002b,0x00000006,0x000001a0,0xbd22339c,0x0004002b,
- 0x00000006,0x000001a1,0x3cd013a9,0x0004002b,0x00000006,0x000001a2,0xbddbf488,0x0004002b,
- 0x00000006,0x000001a3,0x3f72de01,0x0004002b,0x00000006,0x000001a4,0x3e31f8a1,0x0004002b,
- 0x00000006,0x000001a5,0xbd33d07d,0x0004002b,0x00000006,0x000001a6,0x3b5ed289,0x0004002b,
- 0x00000006,0x000001a7,0x3cd844d0,0x0004002b,0x00000006,0x000001a8,0xbde90ff9,0x0004002b,
- 0x00000006,0x000001a9,0x3f70624e,0x0004002b,0x00000006,0x000001aa,0x3e458794,0x0004002b,
- 0x00000006,0x000001ab,0xbd47e282,0x0004002b,0x00000006,0x000001ac,0x3b902de0,0x0004002b,
- 0x00000006,0x000001ad,0x3ce3bcd3,0x0004002b,0x00000006,0x000001ae,0xbdf3eab3,0x0004002b,
- 0x00000006,0x000001af,0x3f6d9e84,0x0004002b,0x00000006,0x000001b0,0x3e58fc50,0x0004002b,
- 0x00000006,0x000001b1,0xbd5bf488,0x0004002b,0x00000006,0x000001b2,0x3ba0902e,0x0004002b,
- 0x00000006,0x000001b3,0x3cebedfa,0x0004002b,0x00000006,0x000001b4,0xbdfef9db,0x0004002b,
- 0x00000006,0x000001b5,0x3f6ac083,0x0004002b,0x00000006,0x000001b6,0x3e6c8b44,0x0004002b,
- 0x00000006,0x000001b7,0xbd6dfa44,0x0004002b,0x00000006,0x000001b8,0x3bc154ca,0x0004002b,
- 0x00000006,0x000001b9,0x3cf0068e,0x0004002b,0x00000006,0x000001ba,0xbe04816f,0x0004002b,
- 0x00000006,0x000001bb,0x3f67e282,0x0004002b,0x00000006,0x000001bc,0x3e808312,0x0004002b,
- 0x00000006,0x000001bd,0xbd810625,0x0004002b,0x00000006,0x000001be,0x3cf837b5,0x0004002b,
- 0x00000006,0x000001bf,0xbe087fcc,0x0004002b,0x00000006,0x000001c0,0x3f64816f,0x0004002b,
- 0x00000006,0x000001c1,0x3e8ac083,0x0004002b,0x00000006,0x000001c2,0xbd8b0f28,0x0004002b,
- 0x00000006,0x000001c3,0x3bef34d7,0x0004002b,0x00000006,0x000001c4,0x3cfc5048,0x0004002b,
- 0x00000006,0x000001c5,0xbe0bfb16,0x0004002b,0x00000006,0x000001c6,0x3f60ff97,0x0004002b,
- 0x00000006,0x000001c7,0x3e953f7d,0x0004002b,0x00000006,0x000001c8,0xbd95182b,0x0004002b,
- 0x00000006,0x000001c9,0x3c07fcb9,0x0004002b,0x00000006,0x000001ca,0xbe0f7660,0x0004002b,
- 0x00000006,0x000001cb,0x3f5d9e84,0x0004002b,0x00000006,0x000001cc,0x3e9fbe77,0x0004002b,
- 0x00000006,0x000001cd,0xbd9eecc0,0x0004002b,0x00000006,0x000001ce,0x3c185f07,0x0004002b,
- 0x00000006,0x000001cf,0x3d00346e,0x0004002b,0x00000006,0x000001d0,0xbe1205bc,0x0004002b,
- 0x00000006,0x000001d1,0x3f59c0ec,0x0004002b,0x00000006,0x000001d2,0x3eaa7efa,0x0004002b,
- 0x00000006,0x000001d3,0xbda8f5c3,0x0004002b,0x00000006,0x000001d4,0x3c28c155,0x0004002b,
- 0x00000006,0x000001d5,0xbe13f7cf,0x0004002b,0x00000006,0x000001d6,0x3f55dcc6,0x0004002b,
- 0x00000006,0x000001d7,0x3eb53f7d,0x0004002b,0x00000006,0x000001d8,0xbdb2fec5,0x0004002b,
- 0x00000006,0x000001d9,0x3c378034,0x0004002b,0x00000006,0x000001da,0xbe158106,0x0004002b,
- 0x00000006,0x000001db,0x3f51bda5,0x0004002b,0x00000006,0x000001dc,0x3ec04189,0x0004002b,
- 0x00000006,0x000001dd,0xbdbd07c8,0x0004002b,0x00000006,0x000001de,0x3c47e282,0x0004002b,
- 0x00000006,0x000001df,0xbe16872b,0x0004002b,0x00000006,0x000001e0,0x3f4d5cfb,0x0004002b,
- 0x00000006,0x000001e1,0x3ecb020c,0x0004002b,0x00000006,0x000001e2,0xbdc60aa6,0x0004002b,
- 0x00000006,0x000001e3,0x3c6075f7,0x0004002b,0x00000006,0x000001e4,0xbe177319,0x0004002b,
- 0x00000006,0x000001e5,0x3f491d15,0x0004002b,0x00000006,0x000001e6,0x3ed645a2,0x0004002b,
- 0x00000006,0x000001e7,0xbdd013a9,0x0004002b,0x00000006,0x000001e8,0x3c6f34d7,0x0004002b,
- 0x00000006,0x000001e9,0x3f44a234,0x0004002b,0x00000006,0x000001ea,0x3ee13a93,0x0004002b,
- 0x00000006,0x000001eb,0xbdd91687,0x0004002b,0x00000006,0x000001ec,0x3c7f9724,0x0004002b,
- 0x00000006,0x000001ed,0x3cf41f21,0x0004002b,0x00000006,0x000001ee,0x3f4020c5,0x0004002b,
- 0x00000006,0x000001ef,0x3eec3c9f,0x0004002b,0x00000006,0x000001f0,0xbde21965,0x0004002b,
- 0x00000006,0x000001f1,0x3f3b3d08,0x0004002b,0x00000006,0x000001f2,0x3ef73eab,0x0004002b,
- 0x00000006,0x000001f3,0xbdeae7d5,0x0004002b,0x00000006,0x000001f4,0x3c944674,0x0004002b,
- 0x00000006,0x000001f5,0x3f363f14,0x0004002b,0x00000006,0x000001f6,0x3f014120,0x0004002b,
- 0x00000006,0x000001f7,0xbdf318fc,0x0004002b,0x00000006,0x000001f8,0x3c9ba5e3,0x0004002b,
- 0x00000006,0x000001f9,0x3f3161e5,0x0004002b,0x00000006,0x000001fa,0x3f06c227,0x0004002b,
- 0x00000006,0x000001fb,0xbdfb15b5,0x0004002b,0x00000006,0x000001fc,0x3ca3d70a,0x0004002b,
- 0x00000006,0x000001fd,0x3cdfa440,0x0004002b,0x00000006,0x000001fe,0xbe1288ce,0x0004002b,
- 0x00000006,0x000001ff,0x3f2c2268,0x0004002b,0x00000006,0x00000200,0x3f0c432d,0x0004002b,
- 0x00000006,0x00000201,0xbe010625,0x0004002b,0x00000006,0x00000202,0x3cb020c5,0x0004002b,
- 0x00000006,0x00000203,0xbe107c85,0x0004002b,0x00000006,0x00000204,0x3f271de7,0x0004002b,
- 0x00000006,0x00000205,0x3f11bda5,0x0004002b,0x00000006,0x00000206,0xbe050481,0x0004002b,
- 0x00000006,0x00000207,0xbe0e075f,0x0004002b,0x00000006,0x00000208,0x3f21de6a,0x0004002b,
- 0x00000006,0x00000209,0x3f171de7,0x0004002b,0x00000006,0x0000020a,0xbe07fcb9,0x0004002b,
- 0x00000006,0x0000020b,0x3cbfb15b,0x0004002b,0x00000006,0x0000020c,0x3cc7e282,0x0004002b,
- 0x00000006,0x0000020d,0xbe0af4f1,0x0004002b,0x00000006,0x0000020e,0x3f1c7e28,0x0183002c,
- 0x0000016a,0x0000020f,0x000000a5,0x000000a5,0x000000b2,0x000000a5,0x000000a5,0x000000a5,
- 0x0000016b,0x0000016c,0x000000b2,0x0000016d,0x0000016e,0x000000a5,0x0000016f,0x00000170,
- 0x00000171,0x00000172,0x00000173,0x000000a5,0x00000174,0x00000175,0x00000176,0x00000177,
- 0x00000178,0x00000179,0x0000017a,0x0000017b,0x0000017c,0x0000017d,0x0000017e,0x00000179,
- 0x0000017f,0x00000180,0x00000181,0x00000182,0x00000183,0x00000179,0x00000184,0x00000185,
- 0x00000186,0x00000187,0x00000188,0x00000189,0x0000018a,0x0000018b,0x0000018c,0x0000018d,
- 0x0000018e,0x0000018f,0x00000190,0x00000191,0x00000192,0x00000193,0x00000194,0x00000195,
- 0x00000196,0x00000197,0x00000198,0x00000199,0x0000019a,0x0000019b,0x0000019c,0x0000019d,
- 0x0000019e,0x0000019f,0x000001a0,0x0000016b,0x000001a1,0x000001a2,0x000001a3,0x000001a4,
- 0x000001a5,0x000001a6,0x000001a7,0x000001a8,0x000001a9,0x000001aa,0x000001ab,0x000001ac,
- 0x000001ad,0x000001ae,0x000001af,0x000001b0,0x000001b1,0x000001b2,0x000001b3,0x000001b4,
- 0x000001b5,0x000001b6,0x000001b7,0x000001b8,0x000001b9,0x000001ba,0x000001bb,0x000001bc,
- 0x000001bd,0x0000016f,0x000001be,0x000001bf,0x000001c0,0x000001c1,0x000001c2,0x000001c3,
- 0x000001c4,0x000001c5,0x000001c6,0x000001c7,0x000001c8,0x000001c9,0x000001c4,0x000001ca,
- 0x000001cb,0x000001cc,0x000001cd,0x000001ce,0x000001cf,0x000001d0,0x000001d1,0x000001d2,
- 0x000001d3,0x000001d4,0x000001cf,0x000001d5,0x000001d6,0x000001d7,0x000001d8,0x000001d9,
- 0x000001cf,0x000001da,0x000001db,0x000001dc,0x000001dd,0x000001de,0x000001cf,0x000001df,
- 0x000001e0,0x000001e1,0x000001e2,0x000001e3,0x000001c4,0x000001e4,0x000001e5,0x000001e6,
- 0x000001e7,0x000001e8,0x000001be,0x000001e4,0x000001e9,0x000001ea,0x000001eb,0x000001ec,
- 0x000001ed,0x000001e4,0x000001ee,0x000001ef,0x000001f0,0x00000184,0x000001b9,0x000001df,
- 0x000001f1,0x000001f2,0x000001f3,0x000001f4,0x000001b3,0x000001da,0x000001f5,0x000001f6,
- 0x000001f7,0x000001f8,0x000001ad,0x000001d5,0x000001f9,0x000001fa,0x000001fb,0x000001fc,
- 0x000001fd,0x000001fe,0x000001ff,0x00000200,0x00000201,0x00000202,0x000001a7,0x00000203,
- 0x00000204,0x00000205,0x00000206,0x00000196,0x000001a1,0x00000207,0x00000208,0x00000209,
- 0x0000020a,0x0000020b,0x0000020c,0x0000020d,0x0000020e,0x0000020e,0x0000020d,0x0000020c,
- 0x0000020b,0x0000020a,0x00000209,0x00000208,0x00000207,0x000001a1,0x00000196,0x00000206,
- 0x00000205,0x00000204,0x00000203,0x000001a7,0x00000202,0x00000201,0x00000200,0x000001ff,
- 0x000001fe,0x000001fd,0x000001fc,0x000001fb,0x000001fa,0x000001f9,0x000001d5,0x000001ad,
- 0x000001f8,0x000001f7,0x000001f6,0x000001f5,0x000001da,0x000001b3,0x000001f4,0x000001f3,
- 0x000001f2,0x000001f1,0x000001df,0x000001b9,0x00000184,0x000001f0,0x000001ef,0x000001ee,
- 0x000001e4,0x000001ed,0x000001ec,0x000001eb,0x000001ea,0x000001e9,0x000001e4,0x000001be,
- 0x000001e8,0x000001e7,0x000001e6,0x000001e5,0x000001e4,0x000001c4,0x000001e3,0x000001e2,
- 0x000001e1,0x000001e0,0x000001df,0x000001cf,0x000001de,0x000001dd,0x000001dc,0x000001db,
- 0x000001da,0x000001cf,0x000001d9,0x000001d8,0x000001d7,0x000001d6,0x000001d5,0x000001cf,
- 0x000001d4,0x000001d3,0x000001d2,0x000001d1,0x000001d0,0x000001cf,0x000001ce,0x000001cd,
- 0x000001cc,0x000001cb,0x000001ca,0x000001c4,0x000001c9,0x000001c8,0x000001c7,0x000001c6,
- 0x000001c5,0x000001c4,0x000001c3,0x000001c2,0x000001c1,0x000001c0,0x000001bf,0x000001be,
- 0x0000016f,0x000001bd,0x000001bc,0x000001bb,0x000001ba,0x000001b9,0x000001b8,0x000001b7,
- 0x000001b6,0x000001b5,0x000001b4,0x000001b3,0x000001b2,0x000001b1,0x000001b0,0x000001af,
- 0x000001ae,0x000001ad,0x000001ac,0x000001ab,0x000001aa,0x000001a9,0x000001a8,0x000001a7,
- 0x000001a6,0x000001a5,0x000001a4,0x000001a3,0x000001a2,0x000001a1,0x0000016b,0x000001a0,
- 0x0000019f,0x0000019e,0x0000019d,0x0000019c,0x0000019b,0x0000019a,0x00000199,0x00000198,
- 0x00000197,0x00000196,0x00000195,0x00000194,0x00000193,0x00000192,0x00000191,0x00000190,
- 0x0000018f,0x0000018e,0x0000018d,0x0000018c,0x0000018b,0x0000018a,0x00000189,0x00000188,
- 0x00000187,0x00000186,0x00000185,0x00000184,0x00000179,0x00000183,0x00000182,0x00000181,
- 0x00000180,0x0000017f,0x00000179,0x0000017e,0x0000017d,0x0000017c,0x0000017b,0x0000017a,
- 0x00000179,0x00000178,0x00000177,0x00000176,0x00000175,0x00000174,0x000000a5,0x00000173,
- 0x00000172,0x00000171,0x00000170,0x0000016f,0x000000a5,0x0000016e,0x0000016d,0x000000b2,
- 0x0000016c,0x0000016b,0x00040020,0x00000214,0x00000007,0x0000016a,0x0004002b,0x00000025,
- 0x0000021f,0x00000001,0x0004002b,0x00000006,0x0000022a,0xbf19a027,0x0004002b,0x00000006,
- 0x0000022b,0x3f99a027,0x0004002b,0x00000006,0x0000022c,0xbf1bc01a,0x0004002b,0x00000006,
- 0x0000022d,0x3f996f00,0x0004002b,0x00000006,0x0000022e,0xbf171de7,0x0004002b,0x00000006,
- 0x0000022f,0xbb3e0ded,0x0004002b,0x00000006,0x00000230,0xbf1d5cfb,0x0004002b,0x00000006,
- 0x00000231,0x3f990ff9,0x0004002b,0x00000006,0x00000232,0xbf143fe6,0x0004002b,0x00000006,
- 0x00000233,0xbf1e9e1b,0x0004002b,0x00000006,0x00000234,0x3f983127,0x0004002b,0x00000006,
- 0x00000235,0xbf10ded3,0x0004002b,0x00000006,0x00000236,0xbf1f9db2,0x0004002b,0x00000006,
- 0x00000237,0x3f9710cb,0x0004002b,0x00000006,0x00000238,0xbf0d21ff,0x0004002b,0x00000006,
- 0x00000239,0xbc7765fe,0x0004002b,0x00000006,0x0000023a,0xbf20624e,0x0004002b,0x00000006,
- 0x0000023b,0x3f95bf48,0x0004002b,0x00000006,0x0000023c,0xbf0902de,0x0004002b,0x00000006,
- 0x0000023d,0xbc9fbe77,0x0004002b,0x00000006,0x0000023e,0xbf208312,0x0004002b,0x00000006,
- 0x0000023f,0x3f943fe6,0x0004002b,0x00000006,0x00000240,0xbf04a234,0x0004002b,0x00000006,
- 0x00000241,0xbcd42c3d,0x0004002b,0x00000006,0x00000242,0xbf20ded3,0x0004002b,0x00000006,
- 0x00000243,0x3f929fbe,0x0004002b,0x00000006,0x00000244,0xbf0020c5,0x0004002b,0x00000006,
- 0x00000245,0xbd01d7dc,0x0004002b,0x00000006,0x00000246,0x3f904ea5,0x0004002b,0x00000006,
- 0x00000247,0xbef53f7d,0x0004002b,0x00000006,0x00000248,0xbd1e1b09,0x0004002b,0x00000006,
- 0x00000249,0x3f8df06f,0x0004002b,0x00000006,0x0000024a,0xbee9fbe7,0x0004002b,0x00000006,
- 0x0000024b,0xbd39f55a,0x0004002b,0x00000006,0x0000024c,0x3c902de0,0x0004002b,0x00000006,
- 0x0000024d,0xbf1e6320,0x0004002b,0x00000006,0x0000024e,0x3f8b404f,0x0004002b,0x00000006,
- 0x0000024f,0xbede83e4,0x0004002b,0x00000006,0x00000250,0xbd59e83e,0x0004002b,0x00000006,
- 0x00000251,0xbf1d21ff,0x0004002b,0x00000006,0x00000252,0x3f886f69,0x0004002b,0x00000006,
- 0x00000253,0xbed205bc,0x0004002b,0x00000006,0x00000254,0xbd7be76d,0x0004002b,0x00000006,
- 0x00000255,0xbf1b5dcc,0x0004002b,0x00000006,0x00000256,0x3f852f1b,0x0004002b,0x00000006,
- 0x00000257,0xbec4c2f8,0x0004002b,0x00000006,0x00000258,0xbd8ef34d,0x0004002b,0x00000006,
- 0x00000259,0x3c9fbe77,0x0004002b,0x00000006,0x0000025a,0xbf19c0ec,0x0004002b,0x00000006,
- 0x0000025b,0x3f820f91,0x0004002b,0x00000006,0x0000025c,0xbeb6fd22,0x0004002b,0x00000006,
- 0x0000025d,0xbda30553,0x0004002b,0x00000006,0x0000025e,0xbf17c1be,0x0004002b,0x00000006,
- 0x0000025f,0x3f7d42c4,0x0004002b,0x00000006,0x00000260,0xbea83e42,0x0004002b,0x00000006,
- 0x00000261,0xbdb7e910,0x0004002b,0x00000006,0x00000262,0xbf14fdf4,0x0004002b,0x00000006,
- 0x00000263,0x3f753f7d,0x0004002b,0x00000006,0x00000264,0xbe98fc50,0x0004002b,0x00000006,
- 0x00000265,0xbdcd013b,0x0004002b,0x00000006,0x00000266,0xbf12a305,0x0004002b,0x00000006,
- 0x00000267,0x3f6de00d,0x0004002b,0x00000006,0x00000268,0xbe89ba5e,0x0004002b,0x00000006,
- 0x00000269,0xbf0fdf3b,0x0004002b,0x00000006,0x0000026a,0x3f65c28f,0x0004002b,0x00000006,
- 0x0000026b,0xbe727bb3,0x0004002b,0x00000006,0x0000026c,0x3b7f9724,0x0004002b,0x00000006,
- 0x0000026d,0xbf0cbfb1,0x0004002b,0x00000006,0x0000026e,0x3f5d42c4,0x0004002b,0x00000006,
- 0x0000026f,0xbe5182aa,0x0004002b,0x00000006,0x00000270,0xbe0985f0,0x0004002b,0x00000006,
- 0x00000271,0xbf097f63,0x0004002b,0x00000006,0x00000272,0x3f54816f,0x0004002b,0x00000006,
- 0x00000273,0xbe2f0069,0x0004002b,0x00000006,0x00000274,0xbe160419,0x0004002b,0x00000006,
- 0x00000275,0xbf061e4f,0x0004002b,0x00000006,0x00000276,0x3f4b5dcc,0x0004002b,0x00000006,
- 0x00000277,0xbe228241,0x0004002b,0x00000006,0x00000278,0x3bb0f27c,0x0004002b,0x00000006,
- 0x00000279,0xbf02bd3c,0x0004002b,0x00000006,0x0000027a,0x3f428241,0x0004002b,0x00000006,
- 0x0000027b,0xbdd119ce,0x0004002b,0x00000006,0x0000027c,0xbe3089a0,0x0004002b,0x00000006,
- 0x0000027d,0xbefe425b,0x0004002b,0x00000006,0x0000027e,0x3f391d15,0x0004002b,0x00000006,
- 0x0000027f,0xbd84ea4b,0x0004002b,0x00000006,0x00000280,0xbe3ef9db,0x0004002b,0x00000006,
- 0x00000281,0xbef6bb99,0x0004002b,0x00000006,0x00000282,0x3f2f41f2,0x0004002b,0x00000006,
- 0x00000283,0xbcebedfa,0x0004002b,0x00000006,0x00000284,0xbe4c7e28,0x0004002b,0x00000006,
- 0x00000285,0x3bded289,0x0004002b,0x00000006,0x00000286,0xbeef0069,0x0004002b,0x00000006,
- 0x00000287,0x3f256042,0x0004002b,0x00000006,0x00000288,0xbe5b8bac,0x0004002b,0x00000006,
- 0x00000289,0xbee6c227,0x0004002b,0x00000006,0x0000028a,0x3f1b020c,0x0004002b,0x00000006,
- 0x0000028b,0x3d4432ca,0x0004002b,0x00000006,0x0000028c,0xbe6a7efa,0x0004002b,0x00000006,
- 0x0000028d,0x3c8c154d,0x0004002b,0x00000006,0x0000028e,0xbedfbe77,0x0004002b,0x00000006,
- 0x0000028f,0x3dafec57,0x0004002b,0x00000006,0x00000290,0xbe7a786c,0x0004002b,0x00000006,
- 0x00000291,0x3c83e426,0x0004002b,0x00000006,0x00000292,0xbed6fd22,0x0004002b,0x00000006,
- 0x00000293,0x3f073eab,0x0004002b,0x00000006,0x00000294,0x3e008312,0x0004002b,0x00000006,
- 0x00000295,0xbe850481,0x0004002b,0x00000006,0x00000296,0x3c20902e,0x0004002b,0x00000006,
- 0x00000297,0xbecf41f2,0x0004002b,0x00000006,0x00000298,0x3efa0275,0x0004002b,0x00000006,
- 0x00000299,0x3e2978d5,0x0004002b,0x00000006,0x0000029a,0xbe8d013b,0x0004002b,0x00000006,
- 0x0000029b,0x3c7765fe,0x0004002b,0x00000006,0x0000029c,0xbec703b0,0x0004002b,0x00000006,
- 0x0000029d,0x3ee63f14,0x0004002b,0x00000006,0x0000029e,0x3e50ff97,0x0004002b,0x00000006,
- 0x0000029f,0xbe94fdf4,0x0004002b,0x00000006,0x000002a0,0x3c2f4f0e,0x0004002b,0x00000006,
- 0x000002a1,0xbebe00d2,0x0004002b,0x00000006,0x000002a2,0x3ed07c85,0x0004002b,0x00000006,
- 0x000002a3,0x3e7a786c,0x0004002b,0x00000006,0x000002a4,0xbe9cfaad,0x0004002b,0x00000006,
- 0x000002a5,0xbeb60419,0x0004002b,0x00000006,0x000002a6,0x3ebc01a3,0x0004002b,0x00000006,
- 0x000002a7,0x3e9205bc,0x0004002b,0x00000006,0x000002a8,0xbea5460b,0x0004002b,0x00000006,
- 0x000002a9,0xbeadc5d6,0x0004002b,0x00000006,0x000002aa,0x3ea703b0,0x0183002c,0x0000016a,
- 0x000002ab,0x000000a5,0x0000022a,0x0000022b,0x0000022a,0x000000a5,0x000000a5,0x0000016b,
- 0x0000022c,0x0000022d,0x0000022e,0x0000022f,0x000000a5,0x000001b2,0x00000230,0x00000231,
- 0x00000232,0x00000173,0x00000179,0x000001c3,0x00000233,0x00000234,0x00000235,0x00000178,
- 0x000000a5,0x000001ce,0x00000236,0x00000237,0x00000238,0x00000239,0x000000a5,0x000001d9,
- 0x0000023a,0x0000023b,0x0000023c,0x0000023d,0x00000179,0x000001de,0x0000023e,0x0000023f,
- 0x00000240,0x00000241,0x00000179,0x0000017f,0x00000242,0x00000243,0x00000244,0x00000245,
- 0x00000179,0x000001ec,0x0000023a,0x00000246,0x00000247,0x00000248,0x00000179,0x00000184,
- 0x00000236,0x00000249,0x0000024a,0x0000024b,0x00000189,0x0000024c,0x0000024d,0x0000024e,
- 0x0000024f,0x00000250,0x00000189,0x000001f4,0x00000251,0x00000252,0x00000253,0x00000254,
- 0x0000018f,0x000001f8,0x00000255,0x00000256,0x00000257,0x00000258,0x0000018f,0x00000259,
- 0x0000025a,0x0000025b,0x0000025c,0x0000025d,0x00000195,0x000001fc,0x0000025e,0x0000025f,
- 0x00000260,0x00000261,0x0000019b,0x000001fc,0x00000262,0x00000263,0x00000264,0x00000265,
- 0x0000016b,0x000001fc,0x00000266,0x00000267,0x00000268,0x000001f0,0x000001a6,0x000001fc,
- 0x00000269,0x0000026a,0x0000026b,0x000001fb,0x0000026c,0x00000190,0x0000026d,0x0000026e,
- 0x0000026f,0x00000270,0x000001ac,0x000001fc,0x00000271,0x00000272,0x00000273,0x00000274,
- 0x000001b2,0x00000259,0x00000275,0x00000276,0x000001c5,0x00000277,0x00000278,0x00000259,
- 0x00000279,0x0000027a,0x0000027b,0x0000027c,0x000001b8,0x000001f8,0x0000027d,0x0000027e,
- 0x0000027f,0x00000280,0x0000016f,0x0000018a,0x00000281,0x00000282,0x00000283,0x00000284,
- 0x00000285,0x0000018a,0x00000286,0x00000287,0x000001ce,0x00000288,0x000001c3,0x0000024c,
- 0x00000289,0x0000028a,0x0000028b,0x0000028c,0x000001c9,0x0000028d,0x0000028e,0x00000205,
- 0x0000028f,0x00000290,0x00000174,0x00000291,0x00000292,0x00000293,0x00000294,0x00000295,
- 0x00000296,0x00000291,0x00000297,0x00000298,0x00000299,0x0000029a,0x000001d4,0x0000029b,
- 0x0000029c,0x0000029d,0x0000029e,0x0000029f,0x000002a0,0x0000017f,0x000002a1,0x000002a2,
- 0x000002a3,0x000002a4,0x0000017a,0x000001e3,0x000002a5,0x000002a6,0x000002a7,0x000002a8,
- 0x000001de,0x0000016d,0x000002a9,0x000002aa,0x000002aa,0x000002a9,0x0000016d,0x000001de,
- 0x000002a8,0x000002a7,0x000002a6,0x000002a5,0x000001e3,0x0000017a,0x000002a4,0x000002a3,
- 0x000002a2,0x000002a1,0x0000017f,0x000002a0,0x0000029f,0x0000029e,0x0000029d,0x0000029c,
- 0x0000029b,0x000001d4,0x0000029a,0x00000299,0x00000298,0x00000297,0x00000291,0x00000296,
- 0x00000295,0x00000294,0x00000293,0x00000292,0x00000291,0x00000174,0x00000290,0x0000028f,
- 0x00000205,0x0000028e,0x0000028d,0x000001c9,0x0000028c,0x0000028b,0x0000028a,0x00000289,
- 0x0000024c,0x000001c3,0x00000288,0x000001ce,0x00000287,0x00000286,0x0000018a,0x00000285,
- 0x00000284,0x00000283,0x00000282,0x00000281,0x0000018a,0x0000016f,0x00000280,0x0000027f,
- 0x0000027e,0x0000027d,0x000001f8,0x000001b8,0x0000027c,0x0000027b,0x0000027a,0x00000279,
- 0x00000259,0x00000278,0x00000277,0x000001c5,0x00000276,0x00000275,0x00000259,0x000001b2,
- 0x00000274,0x00000273,0x00000272,0x00000271,0x000001fc,0x000001ac,0x00000270,0x0000026f,
- 0x0000026e,0x0000026d,0x00000190,0x0000026c,0x000001fb,0x0000026b,0x0000026a,0x00000269,
- 0x000001fc,0x000001a6,0x000001f0,0x00000268,0x00000267,0x00000266,0x000001fc,0x0000016b,
- 0x00000265,0x00000264,0x00000263,0x00000262,0x000001fc,0x0000019b,0x00000261,0x00000260,
- 0x0000025f,0x0000025e,0x000001fc,0x00000195,0x0000025d,0x0000025c,0x0000025b,0x0000025a,
- 0x00000259,0x0000018f,0x00000258,0x00000257,0x00000256,0x00000255,0x000001f8,0x0000018f,
- 0x00000254,0x00000253,0x00000252,0x00000251,0x000001f4,0x00000189,0x00000250,0x0000024f,
- 0x0000024e,0x0000024d,0x0000024c,0x00000189,0x0000024b,0x0000024a,0x00000249,0x00000236,
- 0x00000184,0x00000179,0x00000248,0x00000247,0x00000246,0x0000023a,0x000001ec,0x00000179,
- 0x00000245,0x00000244,0x00000243,0x00000242,0x0000017f,0x00000179,0x00000241,0x00000240,
- 0x0000023f,0x0000023e,0x000001de,0x00000179,0x0000023d,0x0000023c,0x0000023b,0x0000023a,
- 0x000001d9,0x000000a5,0x00000239,0x00000238,0x00000237,0x00000236,0x000001ce,0x000000a5,
- 0x00000178,0x00000235,0x00000234,0x00000233,0x000001c3,0x00000179,0x00000173,0x00000232,
- 0x00000231,0x00000230,0x000001b2,0x000000a5,0x0000022f,0x0000022e,0x0000022d,0x0000022c,
- 0x0000016b,0x0004002b,0x00000006,0x000002bd,0x3ee66666,0x0004002b,0x00000006,0x000002bf,
- 0x400e38e4,0x00040020,0x000002c5,0x00000006,0x00000006,0x0004003b,0x000002c5,0x000002c6,
- 0x00000006,0x0004003b,0x000002c5,0x000002c9,0x00000006,0x0004003b,0x000002c5,0x000002d1,
- 0x00000006,0x0004003b,0x000002c5,0x000002d4,0x00000006,0x0004002b,0x00000025,0x000002df,
- 0x00000002,0x0004002b,0x00000025,0x000002e0,0x00000003,0x0004002b,0x00000025,0x000002e1,
- 0x00000004,0x0004002b,0x00000025,0x000002e2,0x00000005,0x0004002b,0x00000006,0x00000384,
- 0x3f000000,0x0004002b,0x00000031,0x0000038a,0x00000007,0x0004001c,0x0000038b,0x00000006,
- 0x0000038a,0x00040020,0x0000038c,0x00000007,0x0000038b,0x0004002b,0x00000006,0x0000041d,
- 0x42800000,0x0004002b,0x00000031,0x00000429,0x00000003,0x0005001e,0x000004d4,0x0000000e,
- 0x0000000e,0x00000006,0x00040020,0x000004d5,0x00000009,0x000004d4,0x0004003b,0x000004d5,
- 0x000004d6,0x00000009,0x00040020,0x000004d7,0x00000009,0x00000006,0x0004002b,0x00000006,
- 0x000004e1,0x3fa00000,0x0004002b,0x00000006,0x000004e2,0x3fe00000,0x0004002b,0x00000006,
- 0x000004ec,0x3ecccccd,0x0004002b,0x00000006,0x000004f0,0x3f99999a,0x0004002b,0x00000006,
- 0x000004f5,0x3fcccccd,0x0004002b,0x00000006,0x000004f9,0x3fe66666,0x0004002b,0x00000006,
- 0x000004ff,0x3dcccccd,0x0004002b,0x00000006,0x00000500,0x3e0f5c29,0x0004002b,0x00000006,
- 0x00000504,0x3ea3d70a,0x0004002b,0x00000006,0x0000050c,0x3f19999a,0x00040017,0x00000512,
- 0x00000006,0x00000002,0x00040020,0x00000513,0x00000007,0x00000512,0x00040020,0x00000515,
- 0x00000009,0x0000000e,0x00040020,0x0000051e,0x00000001,0x00000512,0x0004003b,0x0000051e,
- 0x0000051f,0x00000001,0x00040020,0x00000520,0x00000001,0x00000006,0x00090019,0x00000567,
- 0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,
- 0x00000568,0x00000567,0x00040020,0x00000569,0x00000000,0x00000568,0x0004003b,0x00000569,
- 0x0000056a,0x00000000,0x00040020,0x00000636,0x00000003,0x0000000e,0x0004003b,0x00000636,
- 0x00000637,0x00000003,0x0004002b,0x00000006,0x00000641,0x41200000,0x0004002b,0x00000006,
- 0x00000642,0x3f666666,0x0004002b,0x00000025,0x00000643,0x00000040,0x00050036,0x00000002,
- 0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x0000000d,0x000004d3,
- 0x00000007,0x0004003b,0x0000000d,0x000004db,0x00000007,0x0004003b,0x0000000d,0x000004de,
- 0x00000007,0x0004003b,0x0000000d,0x000004e4,0x00000007,0x0004003b,0x0000000d,0x000004e8,
- 0x00000007,0x0004003b,0x0000000d,0x000004f4,0x00000007,0x0004003b,0x0000000d,0x00000508,
- 0x00000007,0x0004003b,0x00000513,0x00000514,0x00000007,0x0004003b,0x00000513,0x00000519,
- 0x00000007,0x0004003b,0x0000000d,0x0000051d,0x00000007,0x0004003b,0x0000000d,0x00000527,
- 0x00000007,0x0004003b,0x0000000d,0x0000052e,0x00000007,0x0004003b,0x0000000d,0x00000531,
- 0x00000007,0x0004003b,0x0000000d,0x00000534,0x00000007,0x0004003b,0x0000000d,0x00000538,
- 0x00000007,0x0004003b,0x00000026,0x0000053c,0x00000007,0x0004003b,0x00000026,0x00000540,
- 0x00000007,0x0004003b,0x00000026,0x00000544,0x00000007,0x0004003b,0x00000026,0x0000054c,
- 0x00000007,0x0004003b,0x00000513,0x00000554,0x00000007,0x0004003b,0x0000003b,0x00000564,
- 0x00000007,0x0004003b,0x00000008,0x0000056e,0x00000007,0x0004003b,0x0000001b,0x00000576,
- 0x00000007,0x0004003b,0x0000000d,0x00000577,0x00000007,0x0004003b,0x0000000d,0x0000057a,
- 0x00000007,0x0004003b,0x0000000d,0x0000057d,0x00000007,0x0004003b,0x0000000d,0x00000580,
- 0x00000007,0x0004003b,0x0000000d,0x00000583,0x00000007,0x0004003b,0x0000000d,0x00000586,
- 0x00000007,0x0004003b,0x0000000d,0x00000589,0x00000007,0x0004003b,0x0000000d,0x0000058c,
- 0x00000007,0x0004003b,0x0000000d,0x0000058f,0x00000007,0x0004003b,0x0000001b,0x00000593,
- 0x00000007,0x0004003b,0x0000000d,0x00000594,0x00000007,0x0004003b,0x0000000d,0x00000597,
- 0x00000007,0x0004003b,0x0000000d,0x0000059a,0x00000007,0x0004003b,0x0000000d,0x0000059d,
- 0x00000007,0x0004003b,0x0000000d,0x000005a0,0x00000007,0x0004003b,0x0000000d,0x000005a3,
- 0x00000007,0x0004003b,0x0000000d,0x000005a6,0x00000007,0x0004003b,0x0000000d,0x000005a9,
- 0x00000007,0x0004003b,0x0000000d,0x000005ac,0x00000007,0x0004003b,0x0000001b,0x000005b0,
- 0x00000007,0x0004003b,0x0000000d,0x000005b1,0x00000007,0x0004003b,0x0000000d,0x000005b4,
- 0x00000007,0x0004003b,0x0000000d,0x000005b7,0x00000007,0x0004003b,0x0000000d,0x000005ba,
- 0x00000007,0x0004003b,0x0000000d,0x000005bd,0x00000007,0x0004003b,0x0000000d,0x000005c0,
- 0x00000007,0x0004003b,0x0000000d,0x000005c3,0x00000007,0x0004003b,0x0000000d,0x000005c6,
- 0x00000007,0x0004003b,0x0000000d,0x000005c9,0x00000007,0x0004003b,0x0000001b,0x000005cd,
- 0x00000007,0x0004003b,0x0000000d,0x000005ce,0x00000007,0x0004003b,0x0000000d,0x000005d1,
- 0x00000007,0x0004003b,0x0000000d,0x000005d4,0x00000007,0x0004003b,0x0000000d,0x000005d7,
- 0x00000007,0x0004003b,0x0000000d,0x000005da,0x00000007,0x0004003b,0x0000000d,0x000005dd,
- 0x00000007,0x0004003b,0x0000000d,0x000005e0,0x00000007,0x0004003b,0x0000000d,0x000005e3,
- 0x00000007,0x0004003b,0x0000000d,0x000005e6,0x00000007,0x0004003b,0x0000001b,0x000005ea,
- 0x00000007,0x0004003b,0x0000001b,0x000005eb,0x00000007,0x0004003b,0x0000001b,0x000005ed,
- 0x00000007,0x0004003b,0x0000001b,0x000005ef,0x00000007,0x0004003b,0x0000001b,0x000005f1,
- 0x00000007,0x0004003b,0x0000000d,0x000005f3,0x00000007,0x0004003b,0x0000000d,0x000005f5,
- 0x00000007,0x0004003b,0x0000000d,0x000005f8,0x00000007,0x0004003b,0x0000000d,0x00000605,
- 0x00000007,0x0004003b,0x0000003b,0x00000606,0x00000007,0x0004003b,0x00000026,0x00000608,
- 0x00000007,0x0004003b,0x00000026,0x0000060a,0x00000007,0x0004003b,0x0000003b,0x0000060f,
- 0x00000007,0x0004003b,0x0000000d,0x00000611,0x00000007,0x0004003b,0x0000000d,0x00000613,
- 0x00000007,0x0004003b,0x00000026,0x00000615,0x00000007,0x0004003b,0x00000026,0x00000617,
- 0x00000007,0x0004003b,0x0000001b,0x00000619,0x00000007,0x0004003b,0x0000001b,0x0000061e,
- 0x00000007,0x0004003b,0x0000000d,0x00000622,0x00000007,0x0004003b,0x00000008,0x00000623,
- 0x00000007,0x0004003b,0x0000000d,0x00000627,0x00000007,0x00050041,0x000004d7,0x000004d8,
- 0x000004d6,0x000002df,0x0004003d,0x00000006,0x000004d9,0x000004d8,0x0008000c,0x00000006,
- 0x000004da,0x00000001,0x0000002b,0x000004d9,0x000000a5,0x000000b2,0x0003003e,0x000004d3,
- 0x000004da,0x0004003d,0x00000006,0x000004dc,0x000004d3,0x00050083,0x00000006,0x000004dd,
- 0x000004dc,0x00000384,0x0003003e,0x000004db,0x000004dd,0x0004003d,0x00000006,0x000004df,
- 0x000004db,0x000500be,0x000000a6,0x000004e0,0x000004df,0x000000a5,0x000600a9,0x00000006,
- 0x000004e3,0x000004e0,0x000004e1,0x000004e2,0x0003003e,0x000004de,0x000004e3,0x0004003d,
- 0x00000006,0x000004e5,0x000004db,0x000500be,0x000000a6,0x000004e6,0x000004e5,0x000000a5,
- 0x000600a9,0x00000006,0x000004e7,0x000004e6,0x000004e1,0x000000b2,0x0003003e,0x000004e4,
- 0x000004e7,0x0004003d,0x00000006,0x000004e9,0x000004db,0x000500be,0x000000a6,0x000004ea,
- 0x000004e9,0x000000a5,0x000600a9,0x00000006,0x000004eb,0x000004ea,0x000004e1,0x000000b2,
- 0x0003003e,0x000004e8,0x000004eb,0x0004003d,0x00000006,0x000004ed,0x000004db,0x0004003d,
- 0x00000006,0x000004ee,0x000004e4,0x00050085,0x00000006,0x000004ef,0x000004ed,0x000004ee,
- 0x00050085,0x00000006,0x000004f1,0x000004ef,0x000004f0,0x00050081,0x00000006,0x000004f2,
- 0x000004ec,0x000004f1,0x0007000c,0x00000006,0x000004f3,0x00000001,0x00000028,0x000000a5,
- 0x000004f2,0x0003003e,0x000002c9,0x000004f3,0x0004003d,0x00000006,0x000004f6,0x000004db,
- 0x0004003d,0x00000006,0x000004f7,0x000004de,0x00050085,0x00000006,0x000004f8,0x000004f6,
- 0x000004f7,0x00050085,0x00000006,0x000004fa,0x000004f8,0x000004f9,0x00050081,0x00000006,
- 0x000004fb,0x000004f5,0x000004fa,0x0003003e,0x000004f4,0x000004fb,0x0004003d,0x00000006,
- 0x000004fc,0x000004f4,0x0004003d,0x00000006,0x000004fd,0x000002c9,0x00050083,0x00000006,
- 0x000004fe,0x000004fc,0x000004fd,0x0003003e,0x000002c6,0x000004fe,0x0004003d,0x00000006,
- 0x00000501,0x000004db,0x0004003d,0x00000006,0x00000502,0x000004e8,0x00050085,0x00000006,
- 0x00000503,0x00000501,0x00000502,0x00050085,0x00000006,0x00000505,0x00000503,0x00000504,
- 0x00050081,0x00000006,0x00000506,0x00000500,0x00000505,0x0007000c,0x00000006,0x00000507,
- 0x00000001,0x00000028,0x000004ff,0x00000506,0x0003003e,0x000002d4,0x00000507,0x0004003d,
- 0x00000006,0x00000509,0x000004db,0x0004003d,0x00000006,0x0000050a,0x000004e8,0x00050085,
- 0x00000006,0x0000050b,0x00000509,0x0000050a,0x00050085,0x00000006,0x0000050d,0x0000050b,
- 0x0000050c,0x00050081,0x00000006,0x0000050e,0x00000384,0x0000050d,0x0003003e,0x00000508,
- 0x0000050e,0x0004003d,0x00000006,0x0000050f,0x00000508,0x0004003d,0x00000006,0x00000510,
- 0x000002d4,0x00050083,0x00000006,0x00000511,0x0000050f,0x00000510,0x0003003e,0x000002d1,
- 0x00000511,0x00050041,0x00000515,0x00000516,0x000004d6,0x0000021f,0x0004003d,0x0000000e,
- 0x00000517,0x00000516,0x0007004f,0x00000512,0x00000518,0x00000517,0x00000517,0x00000002,
- 0x00000003,0x0003003e,0x00000514,0x00000518,0x00050041,0x00000515,0x0000051a,0x000004d6,
- 0x0000021f,0x0004003d,0x0000000e,0x0000051b,0x0000051a,0x0007004f,0x00000512,0x0000051c,
- 0x0000051b,0x0000051b,0x00000000,0x00000001,0x0003003e,0x00000519,0x0000051c,0x00050041,
- 0x00000520,0x00000521,0x0000051f,0x0000004c,0x0004003d,0x00000006,0x00000522,0x00000521,
- 0x00050041,0x0000000d,0x00000523,0x00000514,0x0000004c,0x0004003d,0x00000006,0x00000524,
- 0x00000523,0x00050085,0x00000006,0x00000525,0x00000522,0x00000524,0x00050083,0x00000006,
- 0x00000526,0x00000525,0x00000384,0x0003003e,0x0000051d,0x00000526,0x00050041,0x00000520,
- 0x00000528,0x0000051f,0x00000051,0x0004003d,0x00000006,0x00000529,0x00000528,0x00050041,
- 0x0000000d,0x0000052a,0x00000514,0x00000051,0x0004003d,0x00000006,0x0000052b,0x0000052a,
- 0x00050085,0x00000006,0x0000052c,0x00000529,0x0000052b,0x00050083,0x00000006,0x0000052d,
- 0x0000052c,0x00000384,0x0003003e,0x00000527,0x0000052d,0x0004003d,0x00000006,0x0000052f,
- 0x0000051d,0x0006000c,0x00000006,0x00000530,0x00000001,0x00000008,0x0000052f,0x0003003e,
- 0x0000052e,0x00000530,0x0004003d,0x00000006,0x00000532,0x00000527,0x0006000c,0x00000006,
- 0x00000533,0x00000001,0x00000008,0x00000532,0x0003003e,0x00000531,0x00000533,0x0004003d,
- 0x00000006,0x00000535,0x0000051d,0x0004003d,0x00000006,0x00000536,0x0000052e,0x00050083,
- 0x00000006,0x00000537,0x00000535,0x00000536,0x0003003e,0x00000534,0x00000537,0x0004003d,
- 0x00000006,0x00000539,0x00000527,0x0004003d,0x00000006,0x0000053a,0x00000531,0x00050083,
- 0x00000006,0x0000053b,0x00000539,0x0000053a,0x0003003e,0x00000538,0x0000053b,0x0004003d,
- 0x00000006,0x0000053d,0x00000534,0x00050085,0x00000006,0x0000053e,0x0000053d,0x0000041d,
- 0x0004006e,0x00000025,0x0000053f,0x0000053e,0x0003003e,0x0000053c,0x0000053f,0x0004003d,
- 0x00000006,0x00000541,0x00000538,0x00050085,0x00000006,0x00000542,0x00000541,0x0000041d,
- 0x0004006e,0x00000025,0x00000543,0x00000542,0x0003003e,0x00000540,0x00000543,0x0003003e,
- 0x00000544,0x0000015c,0x000200f9,0x00000545,0x000200f8,0x00000545,0x000400f6,0x00000547,
- 0x00000548,0x00000000,0x000200f9,0x00000549,0x000200f8,0x00000549,0x0004003d,0x00000025,
- 0x0000054a,0x00000544,0x000500b1,0x000000a6,0x0000054b,0x0000054a,0x00000167,0x000400fa,
- 0x0000054b,0x00000546,0x00000547,0x000200f8,0x00000546,0x0003003e,0x0000054c,0x0000015c,
- 0x000200f9,0x0000054d,0x000200f8,0x0000054d,0x000400f6,0x0000054f,0x00000550,0x00000000,
- 0x000200f9,0x00000551,0x000200f8,0x00000551,0x0004003d,0x00000025,0x00000552,0x0000054c,
- 0x000500b1,0x000000a6,0x00000553,0x00000552,0x00000167,0x000400fa,0x00000553,0x0000054e,
- 0x0000054f,0x000200f8,0x0000054e,0x0004003d,0x00000006,0x00000555,0x0000052e,0x0004003d,
- 0x00000025,0x00000556,0x0000054c,0x0004006f,0x00000006,0x00000557,0x00000556,0x00050081,
- 0x00000006,0x00000558,0x00000555,0x00000557,0x00050083,0x00000006,0x00000559,0x00000558,
- 0x00000152,0x0004003d,0x00000006,0x0000055a,0x00000531,0x0004003d,0x00000025,0x0000055b,
- 0x00000544,0x0004006f,0x00000006,0x0000055c,0x0000055b,0x00050081,0x00000006,0x0000055d,
- 0x0000055a,0x0000055c,0x00050083,0x00000006,0x0000055e,0x0000055d,0x00000152,0x00050050,
- 0x00000512,0x0000055f,0x00000559,0x0000055e,0x00050050,0x00000512,0x00000560,0x00000384,
- 0x00000384,0x00050081,0x00000512,0x00000561,0x0000055f,0x00000560,0x0004003d,0x00000512,
- 0x00000562,0x00000519,0x00050085,0x00000512,0x00000563,0x00000561,0x00000562,0x0003003e,
- 0x00000554,0x00000563,0x0004003d,0x00000025,0x00000565,0x00000544,0x0004003d,0x00000025,
- 0x00000566,0x0000054c,0x0004003d,0x00000568,0x0000056b,0x0000056a,0x0004003d,0x00000512,
- 0x0000056c,0x00000554,0x00070058,0x0000000e,0x0000056d,0x0000056b,0x0000056c,0x00000002,
- 0x000000a5,0x0008004f,0x00000007,0x0000056f,0x0000056d,0x0000056d,0x00000000,0x00000001,
- 0x00000002,0x0003003e,0x0000056e,0x0000056f,0x00050039,0x00000006,0x00000570,0x0000000b,
- 0x0000056e,0x00060041,0x0000000d,0x00000571,0x00000564,0x00000565,0x00000566,0x0003003e,
- 0x00000571,0x00000570,0x000200f9,0x00000550,0x000200f8,0x00000550,0x0004003d,0x00000025,
- 0x00000572,0x0000054c,0x00050080,0x00000025,0x00000573,0x00000572,0x0000021f,0x0003003e,
- 0x0000054c,0x00000573,0x000200f9,0x0000054d,0x000200f8,0x0000054f,0x000200f9,0x00000548,
- 0x000200f8,0x00000548,0x0004003d,0x00000025,0x00000574,0x00000544,0x00050080,0x00000025,
- 0x00000575,0x00000574,0x0000021f,0x0003003e,0x00000544,0x00000575,0x000200f9,0x00000545,
- 0x000200f8,0x00000547,0x00060041,0x0000000d,0x00000578,0x00000564,0x0000021f,0x0000021f,
- 0x0004003d,0x00000006,0x00000579,0x00000578,0x0003003e,0x00000577,0x00000579,0x00060041,
- 0x0000000d,0x0000057b,0x00000564,0x0000021f,0x000002df,0x0004003d,0x00000006,0x0000057c,
- 0x0000057b,0x0003003e,0x0000057a,0x0000057c,0x00060041,0x0000000d,0x0000057e,0x00000564,
- 0x0000021f,0x000002e0,0x0004003d,0x00000006,0x0000057f,0x0000057e,0x0003003e,0x0000057d,
- 0x0000057f,0x00060041,0x0000000d,0x00000581,0x00000564,0x000002df,0x0000021f,0x0004003d,
- 0x00000006,0x00000582,0x00000581,0x0003003e,0x00000580,0x00000582,0x00060041,0x0000000d,
- 0x00000584,0x00000564,0x000002df,0x000002df,0x0004003d,0x00000006,0x00000585,0x00000584,
- 0x0003003e,0x00000583,0x00000585,0x00060041,0x0000000d,0x00000587,0x00000564,0x000002df,
- 0x000002e0,0x0004003d,0x00000006,0x00000588,0x00000587,0x0003003e,0x00000586,0x00000588,
- 0x00060041,0x0000000d,0x0000058a,0x00000564,0x000002e0,0x0000021f,0x0004003d,0x00000006,
- 0x0000058b,0x0000058a,0x0003003e,0x00000589,0x0000058b,0x00060041,0x0000000d,0x0000058d,
- 0x00000564,0x000002e0,0x000002df,0x0004003d,0x00000006,0x0000058e,0x0000058d,0x0003003e,
- 0x0000058c,0x0000058e,0x00060041,0x0000000d,0x00000590,0x00000564,0x000002e0,0x000002e0,
- 0x0004003d,0x00000006,0x00000591,0x00000590,0x0003003e,0x0000058f,0x00000591,0x000d0039,
- 0x0000000e,0x00000592,0x00000019,0x00000577,0x0000057a,0x0000057d,0x00000580,0x00000583,
- 0x00000586,0x00000589,0x0000058c,0x0000058f,0x0003003e,0x00000576,0x00000592,0x00060041,
- 0x0000000d,0x00000595,0x00000564,0x0000021f,0x000002df,0x0004003d,0x00000006,0x00000596,
- 0x00000595,0x0003003e,0x00000594,0x00000596,0x00060041,0x0000000d,0x00000598,0x00000564,
- 0x0000021f,0x000002e0,0x0004003d,0x00000006,0x00000599,0x00000598,0x0003003e,0x00000597,
- 0x00000599,0x00060041,0x0000000d,0x0000059b,0x00000564,0x0000021f,0x000002e1,0x0004003d,
- 0x00000006,0x0000059c,0x0000059b,0x0003003e,0x0000059a,0x0000059c,0x00060041,0x0000000d,
- 0x0000059e,0x00000564,0x000002df,0x000002df,0x0004003d,0x00000006,0x0000059f,0x0000059e,
- 0x0003003e,0x0000059d,0x0000059f,0x00060041,0x0000000d,0x000005a1,0x00000564,0x000002df,
- 0x000002e0,0x0004003d,0x00000006,0x000005a2,0x000005a1,0x0003003e,0x000005a0,0x000005a2,
- 0x00060041,0x0000000d,0x000005a4,0x00000564,0x000002df,0x000002e1,0x0004003d,0x00000006,
- 0x000005a5,0x000005a4,0x0003003e,0x000005a3,0x000005a5,0x00060041,0x0000000d,0x000005a7,
- 0x00000564,0x000002e0,0x000002df,0x0004003d,0x00000006,0x000005a8,0x000005a7,0x0003003e,
- 0x000005a6,0x000005a8,0x00060041,0x0000000d,0x000005aa,0x00000564,0x000002e0,0x000002e0,
- 0x0004003d,0x00000006,0x000005ab,0x000005aa,0x0003003e,0x000005a9,0x000005ab,0x00060041,
- 0x0000000d,0x000005ad,0x00000564,0x000002e0,0x000002e1,0x0004003d,0x00000006,0x000005ae,
- 0x000005ad,0x0003003e,0x000005ac,0x000005ae,0x000d0039,0x0000000e,0x000005af,0x00000019,
- 0x00000594,0x00000597,0x0000059a,0x0000059d,0x000005a0,0x000005a3,0x000005a6,0x000005a9,
- 0x000005ac,0x0003003e,0x00000593,0x000005af,0x00060041,0x0000000d,0x000005b2,0x00000564,
- 0x000002df,0x0000021f,0x0004003d,0x00000006,0x000005b3,0x000005b2,0x0003003e,0x000005b1,
- 0x000005b3,0x00060041,0x0000000d,0x000005b5,0x00000564,0x000002df,0x000002df,0x0004003d,
- 0x00000006,0x000005b6,0x000005b5,0x0003003e,0x000005b4,0x000005b6,0x00060041,0x0000000d,
- 0x000005b8,0x00000564,0x000002df,0x000002e0,0x0004003d,0x00000006,0x000005b9,0x000005b8,
- 0x0003003e,0x000005b7,0x000005b9,0x00060041,0x0000000d,0x000005bb,0x00000564,0x000002e0,
- 0x0000021f,0x0004003d,0x00000006,0x000005bc,0x000005bb,0x0003003e,0x000005ba,0x000005bc,
- 0x00060041,0x0000000d,0x000005be,0x00000564,0x000002e0,0x000002df,0x0004003d,0x00000006,
- 0x000005bf,0x000005be,0x0003003e,0x000005bd,0x000005bf,0x00060041,0x0000000d,0x000005c1,
- 0x00000564,0x000002e0,0x000002e0,0x0004003d,0x00000006,0x000005c2,0x000005c1,0x0003003e,
- 0x000005c0,0x000005c2,0x00060041,0x0000000d,0x000005c4,0x00000564,0x000002e1,0x0000021f,
- 0x0004003d,0x00000006,0x000005c5,0x000005c4,0x0003003e,0x000005c3,0x000005c5,0x00060041,
- 0x0000000d,0x000005c7,0x00000564,0x000002e1,0x000002df,0x0004003d,0x00000006,0x000005c8,
- 0x000005c7,0x0003003e,0x000005c6,0x000005c8,0x00060041,0x0000000d,0x000005ca,0x00000564,
- 0x000002e1,0x000002e0,0x0004003d,0x00000006,0x000005cb,0x000005ca,0x0003003e,0x000005c9,
- 0x000005cb,0x000d0039,0x0000000e,0x000005cc,0x00000019,0x000005b1,0x000005b4,0x000005b7,
- 0x000005ba,0x000005bd,0x000005c0,0x000005c3,0x000005c6,0x000005c9,0x0003003e,0x000005b0,
- 0x000005cc,0x00060041,0x0000000d,0x000005cf,0x00000564,0x000002df,0x000002df,0x0004003d,
- 0x00000006,0x000005d0,0x000005cf,0x0003003e,0x000005ce,0x000005d0,0x00060041,0x0000000d,
- 0x000005d2,0x00000564,0x000002df,0x000002e0,0x0004003d,0x00000006,0x000005d3,0x000005d2,
- 0x0003003e,0x000005d1,0x000005d3,0x00060041,0x0000000d,0x000005d5,0x00000564,0x000002df,
- 0x000002e1,0x0004003d,0x00000006,0x000005d6,0x000005d5,0x0003003e,0x000005d4,0x000005d6,
- 0x00060041,0x0000000d,0x000005d8,0x00000564,0x000002e0,0x000002df,0x0004003d,0x00000006,
- 0x000005d9,0x000005d8,0x0003003e,0x000005d7,0x000005d9,0x00060041,0x0000000d,0x000005db,
- 0x00000564,0x000002e0,0x000002e0,0x0004003d,0x00000006,0x000005dc,0x000005db,0x0003003e,
- 0x000005da,0x000005dc,0x00060041,0x0000000d,0x000005de,0x00000564,0x000002e0,0x000002e1,
- 0x0004003d,0x00000006,0x000005df,0x000005de,0x0003003e,0x000005dd,0x000005df,0x00060041,
- 0x0000000d,0x000005e1,0x00000564,0x000002e1,0x000002df,0x0004003d,0x00000006,0x000005e2,
- 0x000005e1,0x0003003e,0x000005e0,0x000005e2,0x00060041,0x0000000d,0x000005e4,0x00000564,
- 0x000002e1,0x000002e0,0x0004003d,0x00000006,0x000005e5,0x000005e4,0x0003003e,0x000005e3,
- 0x000005e5,0x00060041,0x0000000d,0x000005e7,0x00000564,0x000002e1,0x000002e1,0x0004003d,
- 0x00000006,0x000005e8,0x000005e7,0x0003003e,0x000005e6,0x000005e8,0x000d0039,0x0000000e,
- 0x000005e9,0x00000019,0x000005ce,0x000005d1,0x000005d4,0x000005d7,0x000005da,0x000005dd,
- 0x000005e0,0x000005e3,0x000005e6,0x0003003e,0x000005cd,0x000005e9,0x0004003d,0x0000000e,
- 0x000005ec,0x00000576,0x0003003e,0x000005eb,0x000005ec,0x0004003d,0x0000000e,0x000005ee,
- 0x00000593,0x0003003e,0x000005ed,0x000005ee,0x0004003d,0x0000000e,0x000005f0,0x000005b0,
- 0x0003003e,0x000005ef,0x000005f0,0x0004003d,0x0000000e,0x000005f2,0x000005cd,0x0003003e,
- 0x000005f1,0x000005f2,0x0004003d,0x00000006,0x000005f4,0x00000534,0x0003003e,0x000005f3,
- 0x000005f4,0x0004003d,0x00000006,0x000005f6,0x00000538,0x0003003e,0x000005f5,0x000005f6,
- 0x000a0039,0x0000000e,0x000005f7,0x00000023,0x000005eb,0x000005ed,0x000005ef,0x000005f1,
- 0x000005f3,0x000005f5,0x0003003e,0x000005ea,0x000005f7,0x00050041,0x0000000d,0x000005f9,
- 0x000005ea,0x0000004c,0x0004003d,0x00000006,0x000005fa,0x000005f9,0x00050083,0x00000006,
- 0x000005fb,0x000000b2,0x000005fa,0x00050041,0x0000000d,0x000005fc,0x000005ea,0x00000051,
- 0x0004003d,0x00000006,0x000005fd,0x000005fc,0x00050083,0x00000006,0x000005fe,0x000005fb,
- 0x000005fd,0x00050041,0x0000000d,0x000005ff,0x000005ea,0x00000057,0x0004003d,0x00000006,
- 0x00000600,0x000005ff,0x00050083,0x00000006,0x00000601,0x000005fe,0x00000600,0x00050041,
- 0x0000000d,0x00000602,0x000005ea,0x00000429,0x0004003d,0x00000006,0x00000603,0x00000602,
- 0x00050083,0x00000006,0x00000604,0x00000601,0x00000603,0x0003003e,0x000005f8,0x00000604,
- 0x0004003d,0x0000003a,0x00000607,0x00000564,0x0003003e,0x00000606,0x00000607,0x0004003d,
- 0x00000025,0x00000609,0x0000053c,0x0003003e,0x00000608,0x00000609,0x0004003d,0x00000025,
- 0x0000060b,0x00000540,0x0003003e,0x0000060a,0x0000060b,0x00070039,0x00000006,0x0000060c,
- 0x00000040,0x00000606,0x00000608,0x0000060a,0x0004003d,0x00000006,0x0000060d,0x000005f8,
- 0x00050085,0x00000006,0x0000060e,0x0000060c,0x0000060d,0x0003003e,0x00000605,0x0000060e,
- 0x0004003d,0x0000003a,0x00000610,0x00000564,0x0003003e,0x0000060f,0x00000610,0x0004003d,
- 0x00000006,0x00000612,0x00000534,0x0003003e,0x00000611,0x00000612,0x0004003d,0x00000006,
- 0x00000614,0x00000538,0x0003003e,0x00000613,0x00000614,0x0004003d,0x00000025,0x00000616,
- 0x0000053c,0x0003003e,0x00000615,0x00000616,0x0004003d,0x00000025,0x00000618,0x00000540,
- 0x0003003e,0x00000617,0x00000618,0x0004003d,0x0000000e,0x0000061a,0x000005ea,0x0003003e,
- 0x00000619,0x0000061a,0x000a0039,0x00000006,0x0000061b,0x00000049,0x0000060f,0x00000611,
- 0x00000613,0x00000615,0x00000617,0x00000619,0x0004003d,0x00000006,0x0000061c,0x00000605,
- 0x00050081,0x00000006,0x0000061d,0x0000061c,0x0000061b,0x0003003e,0x00000605,0x0000061d,
- 0x0004003d,0x00000568,0x0000061f,0x0000056a,0x0004003d,0x00000512,0x00000620,0x0000051f,
- 0x00050057,0x0000000e,0x00000621,0x0000061f,0x00000620,0x0003003e,0x0000061e,0x00000621,
- 0x0004003d,0x0000000e,0x00000624,0x0000061e,0x0008004f,0x00000007,0x00000625,0x00000624,
- 0x00000624,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000623,0x00000625,0x00050039,
- 0x00000006,0x00000626,0x0000000b,0x00000623,0x0003003e,0x00000622,0x00000626,0x0004003d,
- 0x00000006,0x00000628,0x00000605,0x0004003d,0x00000006,0x00000629,0x00000622,0x00050083,
- 0x00000006,0x0000062a,0x00000628,0x00000629,0x0003003e,0x00000627,0x0000062a,0x0004003d,
- 0x00000006,0x0000062b,0x00000627,0x00060050,0x00000007,0x0000062c,0x0000062b,0x0000062b,
- 0x0000062b,0x0004003d,0x0000000e,0x0000062d,0x0000061e,0x0008004f,0x00000007,0x0000062e,
- 0x0000062d,0x0000062d,0x00000000,0x00000001,0x00000002,0x00050081,0x00000007,0x0000062f,
- 0x0000062e,0x0000062c,0x00050041,0x0000000d,0x00000630,0x0000061e,0x0000004c,0x00050051,
- 0x00000006,0x00000631,0x0000062f,0x00000000,0x0003003e,0x00000630,0x00000631,0x00050041,
- 0x0000000d,0x00000632,0x0000061e,0x00000051,0x00050051,0x00000006,0x00000633,0x0000062f,
- 0x00000001,0x0003003e,0x00000632,0x00000633,0x00050041,0x0000000d,0x00000634,0x0000061e,
- 0x00000057,0x00050051,0x00000006,0x00000635,0x0000062f,0x00000002,0x0003003e,0x00000634,
- 0x00000635,0x0004003d,0x0000000e,0x00000638,0x0000061e,0x0008004f,0x00000007,0x00000639,
- 0x00000638,0x00000638,0x00000000,0x00000001,0x00000002,0x00060050,0x00000007,0x0000063a,
- 0x000000a5,0x000000a5,0x000000a5,0x00060050,0x00000007,0x0000063b,0x000000b2,0x000000b2,
- 0x000000b2,0x0008000c,0x00000007,0x0000063c,0x00000001,0x0000002b,0x00000639,0x0000063a,
- 0x0000063b,0x00050051,0x00000006,0x0000063d,0x0000063c,0x00000000,0x00050051,0x00000006,
- 0x0000063e,0x0000063c,0x00000001,0x00050051,0x00000006,0x0000063f,0x0000063c,0x00000002,
- 0x00070050,0x0000000e,0x00000640,0x0000063d,0x0000063e,0x0000063f,0x000000b2,0x0003003e,
- 0x00000637,0x00000640,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000b,0x00000000,
- 0x00000009,0x00030037,0x00000008,0x0000000a,0x000200f8,0x0000000c,0x00050041,0x0000000d,
- 0x0000004d,0x0000000a,0x0000004c,0x0004003d,0x00000006,0x0000004e,0x0000004d,0x00050085,
- 0x00000006,0x0000004f,0x0000004b,0x0000004e,0x00050041,0x0000000d,0x00000052,0x0000000a,
- 0x00000051,0x0004003d,0x00000006,0x00000053,0x00000052,0x00050085,0x00000006,0x00000054,
- 0x00000050,0x00000053,0x00050081,0x00000006,0x00000055,0x0000004f,0x00000054,0x00050041,
- 0x0000000d,0x00000058,0x0000000a,0x00000057,0x0004003d,0x00000006,0x00000059,0x00000058,
- 0x00050085,0x00000006,0x0000005a,0x00000056,0x00000059,0x00050081,0x00000006,0x0000005b,
- 0x00000055,0x0000005a,0x000200fe,0x0000005b,0x00010038,0x00050036,0x0000000e,0x00000019,
- 0x00000000,0x0000000f,0x00030037,0x0000000d,0x00000010,0x00030037,0x0000000d,0x00000011,
- 0x00030037,0x0000000d,0x00000012,0x00030037,0x0000000d,0x00000013,0x00030037,0x0000000d,
- 0x00000014,0x00030037,0x0000000d,0x00000015,0x00030037,0x0000000d,0x00000016,0x00030037,
- 0x0000000d,0x00000017,0x00030037,0x0000000d,0x00000018,0x000200f8,0x0000001a,0x0004003b,
- 0x0000000d,0x0000005e,0x00000007,0x0004003b,0x0000000d,0x0000006b,0x00000007,0x0004003b,
- 0x0000000d,0x00000078,0x00000007,0x0004003b,0x0000000d,0x00000085,0x00000007,0x0004003b,
- 0x0000000d,0x00000092,0x00000007,0x0004003b,0x0000000d,0x00000096,0x00000007,0x0004003b,
- 0x0000000d,0x0000009a,0x00000007,0x0004003b,0x0000000d,0x0000009e,0x00000007,0x0004003b,
- 0x0000000d,0x000000ac,0x00000007,0x0004003b,0x0000000d,0x000000b4,0x00000007,0x0004003b,
- 0x000000b7,0x000000b8,0x00000007,0x0004003b,0x000000b7,0x000000c6,0x00000007,0x0004003b,
- 0x000000b7,0x000000d2,0x00000007,0x0004003b,0x000000b7,0x000000d6,0x00000007,0x0004003b,
- 0x0000000d,0x000000da,0x00000007,0x0004003b,0x0000000d,0x000000e0,0x00000007,0x0004003b,
- 0x0000000d,0x000000e6,0x00000007,0x0004003b,0x0000000d,0x000000ec,0x00000007,0x0004003b,
- 0x0000000d,0x000000f3,0x00000007,0x0004003b,0x0000000d,0x000000f9,0x00000007,0x0004003d,
- 0x00000006,0x0000005f,0x00000010,0x0004003d,0x00000006,0x00000060,0x00000011,0x00050081,
- 0x00000006,0x00000061,0x0000005f,0x00000060,0x0004003d,0x00000006,0x00000062,0x00000012,
- 0x00050081,0x00000006,0x00000063,0x00000061,0x00000062,0x0004003d,0x00000006,0x00000064,
- 0x00000016,0x00050083,0x00000006,0x00000065,0x00000063,0x00000064,0x0004003d,0x00000006,
- 0x00000066,0x00000017,0x00050083,0x00000006,0x00000067,0x00000065,0x00000066,0x0004003d,
- 0x00000006,0x00000068,0x00000018,0x00050083,0x00000006,0x00000069,0x00000067,0x00000068,
- 0x0006000c,0x00000006,0x0000006a,0x00000001,0x00000004,0x00000069,0x0003003e,0x0000005e,
- 0x0000006a,0x0004003d,0x00000006,0x0000006c,0x00000013,0x0004003d,0x00000006,0x0000006d,
- 0x00000010,0x00050081,0x00000006,0x0000006e,0x0000006c,0x0000006d,0x0004003d,0x00000006,
- 0x0000006f,0x00000011,0x00050081,0x00000006,0x00000070,0x0000006e,0x0000006f,0x0004003d,
- 0x00000006,0x00000071,0x00000017,0x00050083,0x00000006,0x00000072,0x00000070,0x00000071,
- 0x0004003d,0x00000006,0x00000073,0x00000018,0x00050083,0x00000006,0x00000074,0x00000072,
- 0x00000073,0x0004003d,0x00000006,0x00000075,0x00000015,0x00050083,0x00000006,0x00000076,
- 0x00000074,0x00000075,0x0006000c,0x00000006,0x00000077,0x00000001,0x00000004,0x00000076,
- 0x0003003e,0x0000006b,0x00000077,0x0004003d,0x00000006,0x00000079,0x00000010,0x0004003d,
- 0x00000006,0x0000007a,0x00000013,0x00050081,0x00000006,0x0000007b,0x00000079,0x0000007a,
- 0x0004003d,0x00000006,0x0000007c,0x00000016,0x00050081,0x00000006,0x0000007d,0x0000007b,
- 0x0000007c,0x0004003d,0x00000006,0x0000007e,0x00000012,0x00050083,0x00000006,0x0000007f,
- 0x0000007d,0x0000007e,0x0004003d,0x00000006,0x00000080,0x00000015,0x00050083,0x00000006,
- 0x00000081,0x0000007f,0x00000080,0x0004003d,0x00000006,0x00000082,0x00000018,0x00050083,
- 0x00000006,0x00000083,0x00000081,0x00000082,0x0006000c,0x00000006,0x00000084,0x00000001,
- 0x00000004,0x00000083,0x0003003e,0x00000078,0x00000084,0x0004003d,0x00000006,0x00000086,
- 0x00000013,0x0004003d,0x00000006,0x00000087,0x00000016,0x00050081,0x00000006,0x00000088,
- 0x00000086,0x00000087,0x0004003d,0x00000006,0x00000089,0x00000017,0x00050081,0x00000006,
- 0x0000008a,0x00000088,0x00000089,0x0004003d,0x00000006,0x0000008b,0x00000011,0x00050083,
- 0x00000006,0x0000008c,0x0000008a,0x0000008b,0x0004003d,0x00000006,0x0000008d,0x00000012,
- 0x00050083,0x00000006,0x0000008e,0x0000008c,0x0000008d,0x0004003d,0x00000006,0x0000008f,
- 0x00000015,0x00050083,0x00000006,0x00000090,0x0000008e,0x0000008f,0x0006000c,0x00000006,
- 0x00000091,0x00000001,0x00000004,0x00000090,0x0003003e,0x00000085,0x00000091,0x0004003d,
- 0x00000006,0x00000093,0x0000005e,0x0004003d,0x00000006,0x00000094,0x00000078,0x0007000c,
- 0x00000006,0x00000095,0x00000001,0x00000028,0x00000093,0x00000094,0x0003003e,0x00000092,
- 0x00000095,0x0004003d,0x00000006,0x00000097,0x0000005e,0x0004003d,0x00000006,0x00000098,
- 0x00000078,0x0007000c,0x00000006,0x00000099,0x00000001,0x00000025,0x00000097,0x00000098,
- 0x0003003e,0x00000096,0x00000099,0x0004003d,0x00000006,0x0000009b,0x0000006b,0x0004003d,
- 0x00000006,0x0000009c,0x00000085,0x0007000c,0x00000006,0x0000009d,0x00000001,0x00000028,
- 0x0000009b,0x0000009c,0x0003003e,0x0000009a,0x0000009d,0x0004003d,0x00000006,0x0000009f,
- 0x0000006b,0x0004003d,0x00000006,0x000000a0,0x00000085,0x0007000c,0x00000006,0x000000a1,
- 0x00000001,0x00000025,0x0000009f,0x000000a0,0x0003003e,0x0000009e,0x000000a1,0x0004003d,
- 0x00000006,0x000000a2,0x00000092,0x0004003d,0x00000006,0x000000a3,0x0000009a,0x00050081,
- 0x00000006,0x000000a4,0x000000a2,0x000000a3,0x000500b4,0x000000a6,0x000000a7,0x000000a4,
- 0x000000a5,0x000300f7,0x000000a9,0x00000000,0x000400fa,0x000000a7,0x000000a8,0x000000a9,
- 0x000200f8,0x000000a8,0x000200fe,0x000000aa,0x000200f8,0x000000a9,0x0004003d,0x00000006,
- 0x000000ad,0x00000092,0x0004003d,0x00000006,0x000000ae,0x00000092,0x0004003d,0x00000006,
- 0x000000af,0x0000009a,0x00050081,0x00000006,0x000000b0,0x000000ae,0x000000af,0x00050088,
- 0x00000006,0x000000b1,0x000000ad,0x000000b0,0x0007000c,0x00000006,0x000000b3,0x00000001,
- 0x00000025,0x000000b1,0x000000b2,0x0003003e,0x000000ac,0x000000b3,0x0004003d,0x00000006,
- 0x000000b5,0x000000ac,0x00050083,0x00000006,0x000000b6,0x000000b2,0x000000b5,0x0003003e,
- 0x000000b4,0x000000b6,0x0004003d,0x00000006,0x000000b9,0x00000092,0x0004003d,0x00000006,
- 0x000000ba,0x00000096,0x00050085,0x00000006,0x000000bc,0x000000ba,0x000000bb,0x000500ba,
- 0x000000a6,0x000000bd,0x000000b9,0x000000bc,0x0004003d,0x00000006,0x000000be,0x00000092,
- 0x000500ba,0x000000a6,0x000000c0,0x000000be,0x000000bf,0x000500a7,0x000000a6,0x000000c1,
- 0x000000bd,0x000000c0,0x0004003d,0x00000006,0x000000c2,0x00000092,0x0004003d,0x00000006,
- 0x000000c3,0x0000009e,0x000500ba,0x000000a6,0x000000c4,0x000000c2,0x000000c3,0x000500a7,
- 0x000000a6,0x000000c5,0x000000c1,0x000000c4,0x0003003e,0x000000b8,0x000000c5,0x0004003d,
- 0x00000006,0x000000c7,0x0000009a,0x0004003d,0x00000006,0x000000c8,0x0000009e,0x00050085,
- 0x00000006,0x000000c9,0x000000c8,0x000000bb,0x000500ba,0x000000a6,0x000000ca,0x000000c7,
- 0x000000c9,0x0004003d,0x00000006,0x000000cb,0x0000009a,0x000500ba,0x000000a6,0x000000cc,
- 0x000000cb,0x000000bf,0x000500a7,0x000000a6,0x000000cd,0x000000ca,0x000000cc,0x0004003d,
- 0x00000006,0x000000ce,0x0000009a,0x0004003d,0x00000006,0x000000cf,0x00000096,0x000500ba,
- 0x000000a6,0x000000d0,0x000000ce,0x000000cf,0x000500a7,0x000000a6,0x000000d1,0x000000cd,
- 0x000000d0,0x0003003e,0x000000c6,0x000000d1,0x0004003d,0x00000006,0x000000d3,0x00000092,
- 0x0004003d,0x00000006,0x000000d4,0x0000005e,0x000500b4,0x000000a6,0x000000d5,0x000000d3,
- 0x000000d4,0x0003003e,0x000000d2,0x000000d5,0x0004003d,0x00000006,0x000000d7,0x0000009a,
- 0x0004003d,0x00000006,0x000000d8,0x0000006b,0x000500b4,0x000000a6,0x000000d9,0x000000d7,
- 0x000000d8,0x0003003e,0x000000d6,0x000000d9,0x0004003d,0x000000a6,0x000000db,0x000000b8,
- 0x0004003d,0x000000a6,0x000000dc,0x000000c6,0x000500a7,0x000000a6,0x000000dd,0x000000db,
- 0x000000dc,0x0004003d,0x00000006,0x000000de,0x000000ac,0x000600a9,0x00000006,0x000000df,
- 0x000000dd,0x000000de,0x000000b2,0x0003003e,0x000000da,0x000000df,0x0004003d,0x000000a6,
- 0x000000e1,0x000000b8,0x0004003d,0x000000a6,0x000000e2,0x000000c6,0x000500a7,0x000000a6,
- 0x000000e3,0x000000e1,0x000000e2,0x0004003d,0x00000006,0x000000e4,0x000000b4,0x000600a9,
- 0x00000006,0x000000e5,0x000000e3,0x000000e4,0x000000b2,0x0003003e,0x000000e0,0x000000e5,
- 0x0004003d,0x000000a6,0x000000e7,0x000000b8,0x0004003d,0x000000a6,0x000000e8,0x000000d2,
- 0x000500a7,0x000000a6,0x000000e9,0x000000e7,0x000000e8,0x0004003d,0x00000006,0x000000ea,
- 0x000000da,0x000600a9,0x00000006,0x000000eb,0x000000e9,0x000000ea,0x000000a5,0x0003003e,
- 0x000000e6,0x000000eb,0x0004003d,0x000000a6,0x000000ed,0x000000b8,0x0004003d,0x000000a6,
- 0x000000ee,0x000000d2,0x000400a8,0x000000a6,0x000000ef,0x000000ee,0x000500a7,0x000000a6,
- 0x000000f0,0x000000ed,0x000000ef,0x0004003d,0x00000006,0x000000f1,0x000000da,0x000600a9,
- 0x00000006,0x000000f2,0x000000f0,0x000000f1,0x000000a5,0x0003003e,0x000000ec,0x000000f2,
- 0x0004003d,0x000000a6,0x000000f4,0x000000c6,0x0004003d,0x000000a6,0x000000f5,0x000000d6,
- 0x000500a7,0x000000a6,0x000000f6,0x000000f4,0x000000f5,0x0004003d,0x00000006,0x000000f7,
- 0x000000e0,0x000600a9,0x00000006,0x000000f8,0x000000f6,0x000000f7,0x000000a5,0x0003003e,
- 0x000000f3,0x000000f8,0x0004003d,0x000000a6,0x000000fa,0x000000c6,0x0004003d,0x000000a6,
- 0x000000fb,0x000000d6,0x000400a8,0x000000a6,0x000000fc,0x000000fb,0x000500a7,0x000000a6,
- 0x000000fd,0x000000fa,0x000000fc,0x0004003d,0x00000006,0x000000fe,0x000000e0,0x000600a9,
- 0x00000006,0x000000ff,0x000000fd,0x000000fe,0x000000a5,0x0003003e,0x000000f9,0x000000ff,
- 0x0004003d,0x00000006,0x00000100,0x000000e6,0x0004003d,0x00000006,0x00000101,0x000000ec,
- 0x0004003d,0x00000006,0x00000102,0x000000f3,0x0004003d,0x00000006,0x00000103,0x000000f9,
- 0x00070050,0x0000000e,0x00000104,0x00000100,0x00000101,0x00000102,0x00000103,0x000200fe,
- 0x00000104,0x00010038,0x00050036,0x0000000e,0x00000023,0x00000000,0x0000001c,0x00030037,
- 0x0000001b,0x0000001d,0x00030037,0x0000001b,0x0000001e,0x00030037,0x0000001b,0x0000001f,
- 0x00030037,0x0000001b,0x00000020,0x00030037,0x0000000d,0x00000021,0x00030037,0x0000000d,
- 0x00000022,0x000200f8,0x00000024,0x0004003b,0x0000001b,0x00000107,0x00000007,0x0004003b,
- 0x0000001b,0x0000010d,0x00000007,0x0004003d,0x0000000e,0x00000108,0x0000001d,0x0004003d,
- 0x0000000e,0x00000109,0x0000001e,0x0004003d,0x00000006,0x0000010a,0x00000021,0x00070050,
- 0x0000000e,0x0000010b,0x0000010a,0x0000010a,0x0000010a,0x0000010a,0x0008000c,0x0000000e,
- 0x0000010c,0x00000001,0x0000002e,0x00000108,0x00000109,0x0000010b,0x0003003e,0x00000107,
- 0x0000010c,0x0004003d,0x0000000e,0x0000010e,0x0000001f,0x0004003d,0x0000000e,0x0000010f,
- 0x00000020,0x0004003d,0x00000006,0x00000110,0x00000021,0x00070050,0x0000000e,0x00000111,
- 0x00000110,0x00000110,0x00000110,0x00000110,0x0008000c,0x0000000e,0x00000112,0x00000001,
- 0x0000002e,0x0000010e,0x0000010f,0x00000111,0x0003003e,0x0000010d,0x00000112,0x0004003d,
- 0x0000000e,0x00000113,0x00000107,0x0004003d,0x0000000e,0x00000114,0x0000010d,0x0004003d,
- 0x00000006,0x00000115,0x00000022,0x00070050,0x0000000e,0x00000116,0x00000115,0x00000115,
- 0x00000115,0x00000115,0x0008000c,0x0000000e,0x00000117,0x00000001,0x0000002e,0x00000113,
- 0x00000114,0x00000116,0x000200fe,0x00000117,0x00010038,0x00050036,0x00000006,0x0000002f,
- 0x00000000,0x00000027,0x00030037,0x0000000d,0x00000028,0x00030037,0x0000000d,0x00000029,
- 0x00030037,0x0000000d,0x0000002a,0x00030037,0x0000000d,0x0000002b,0x00030037,0x0000000d,
- 0x0000002c,0x00030037,0x0000000d,0x0000002d,0x00030037,0x00000026,0x0000002e,0x000200f8,
- 0x00000030,0x0004003b,0x000000b7,0x0000011a,0x00000007,0x0004003b,0x0000000d,0x0000011e,
- 0x00000007,0x0004003b,0x0000000d,0x00000123,0x00000007,0x0004003b,0x0000000d,0x00000129,
- 0x00000007,0x0004003b,0x0000000d,0x00000133,0x00000007,0x0004003b,0x0000000d,0x00000139,
- 0x00000007,0x0004003b,0x0000000d,0x0000013f,0x00000007,0x0004003b,0x0000000d,0x00000143,
- 0x00000007,0x0004003b,0x0000000d,0x00000147,0x00000007,0x0004003d,0x00000025,0x0000011b,
- 0x0000002e,0x000500b3,0x000000a6,0x0000011d,0x0000011b,0x0000011c,0x0003003e,0x0000011a,
- 0x0000011d,0x0004003d,0x000000a6,0x0000011f,0x0000011a,0x0004003d,0x00000006,0x00000120,
- 0x00000028,0x0004003d,0x00000006,0x00000121,0x0000002b,0x000600a9,0x00000006,0x00000122,
- 0x0000011f,0x00000120,0x00000121,0x0003003e,0x0000011e,0x00000122,0x0004003d,0x00000006,
- 0x00000124,0x00000029,0x0004003d,0x00000006,0x00000125,0x0000002a,0x0007000c,0x00000006,
- 0x00000126,0x00000001,0x00000025,0x00000124,0x00000125,0x0004003d,0x00000006,0x00000127,
- 0x0000011e,0x0007000c,0x00000006,0x00000128,0x00000001,0x00000025,0x00000126,0x00000127,
- 0x0003003e,0x00000123,0x00000128,0x0004003d,0x00000006,0x0000012a,0x00000029,0x0004003d,
- 0x00000006,0x0000012b,0x0000002a,0x0007000c,0x00000006,0x0000012c,0x00000001,0x00000028,
- 0x0000012a,0x0000012b,0x0004003d,0x00000006,0x0000012d,0x0000011e,0x0007000c,0x00000006,
- 0x0000012e,0x00000001,0x00000028,0x0000012c,0x0000012d,0x0003003e,0x00000129,0x0000012e,
- 0x0004003d,0x000000a6,0x0000012f,0x0000011a,0x0004003d,0x00000006,0x00000130,0x0000002a,
- 0x0004003d,0x00000006,0x00000131,0x0000002d,0x000600a9,0x00000006,0x00000132,0x0000012f,
- 0x00000130,0x00000131,0x0003003e,0x0000011e,0x00000132,0x0004003d,0x00000006,0x00000134,
- 0x0000002b,0x0004003d,0x00000006,0x00000135,0x0000002c,0x0007000c,0x00000006,0x00000136,
- 0x00000001,0x00000025,0x00000134,0x00000135,0x0004003d,0x00000006,0x00000137,0x0000011e,
- 0x0007000c,0x00000006,0x00000138,0x00000001,0x00000025,0x00000136,0x00000137,0x0003003e,
- 0x00000133,0x00000138,0x0004003d,0x00000006,0x0000013a,0x0000002b,0x0004003d,0x00000006,
- 0x0000013b,0x0000002c,0x0007000c,0x00000006,0x0000013c,0x00000001,0x00000028,0x0000013a,
- 0x0000013b,0x0004003d,0x00000006,0x0000013d,0x0000011e,0x0007000c,0x00000006,0x0000013e,
- 0x00000001,0x00000028,0x0000013c,0x0000013d,0x0003003e,0x00000139,0x0000013e,0x0004003d,
- 0x00000006,0x00000140,0x00000129,0x0004003d,0x00000006,0x00000141,0x00000123,0x00050083,
- 0x00000006,0x00000142,0x00000140,0x00000141,0x0003003e,0x0000013f,0x00000142,0x0004003d,
- 0x00000006,0x00000144,0x00000139,0x0004003d,0x00000006,0x00000145,0x00000133,0x00050083,
- 0x00000006,0x00000146,0x00000144,0x00000145,0x0003003e,0x00000143,0x00000146,0x0004003d,
- 0x00000006,0x00000148,0x0000013f,0x0004003d,0x00000006,0x00000149,0x00000143,0x0007000c,
- 0x00000006,0x0000014a,0x00000001,0x00000028,0x00000148,0x00000149,0x0004003d,0x00000006,
- 0x0000014b,0x0000013f,0x0004003d,0x00000006,0x0000014c,0x00000143,0x0007000c,0x00000006,
- 0x0000014d,0x00000001,0x00000025,0x0000014b,0x0000014c,0x00050081,0x00000006,0x0000014f,
- 0x0000014d,0x0000014e,0x00050088,0x00000006,0x00000150,0x0000014a,0x0000014f,0x0003003e,
- 0x00000147,0x00000150,0x0004003d,0x00000006,0x00000151,0x00000147,0x00050083,0x00000006,
- 0x00000153,0x00000151,0x00000152,0x00050085,0x00000006,0x00000155,0x00000153,0x00000154,
- 0x0008000c,0x00000006,0x00000156,0x00000001,0x0000002b,0x00000155,0x000000a5,0x000000b2,
- 0x00050083,0x00000006,0x00000157,0x000000b2,0x00000156,0x00050085,0x00000006,0x00000158,
- 0x00000157,0x000000b2,0x000200fe,0x00000158,0x00010038,0x00050036,0x00000006,0x00000038,
- 0x00000000,0x00000035,0x00030037,0x00000034,0x00000036,0x00030037,0x00000026,0x00000037,
- 0x000200f8,0x00000039,0x0004003b,0x0000000d,0x0000015f,0x00000007,0x0004003b,0x00000026,
- 0x00000160,0x00000007,0x0004003b,0x00000214,0x00000215,0x00000007,0x0004003b,0x0000000d,
- 0x00000221,0x00000007,0x0004003b,0x00000026,0x00000222,0x00000007,0x0004003b,0x00000214,
- 0x000002b0,0x00000007,0x0004003b,0x0000000d,0x000002bb,0x00000007,0x0004003b,0x0000000d,
- 0x000002c3,0x00000007,0x0004003b,0x0000000d,0x000002cf,0x00000007,0x0004003b,0x0000000d,
- 0x000002e3,0x00000007,0x0004003b,0x0000000d,0x000002e6,0x00000007,0x0004003b,0x0000000d,
- 0x000002e9,0x00000007,0x0004003b,0x0000000d,0x000002ec,0x00000007,0x0004003b,0x0000000d,
- 0x000002ef,0x00000007,0x0004003b,0x0000000d,0x000002f2,0x00000007,0x0004003b,0x00000026,
- 0x000002f5,0x00000007,0x0004003d,0x00000025,0x0000015b,0x00000037,0x0008000c,0x00000025,
- 0x0000015e,0x00000001,0x0000002d,0x0000015b,0x0000015c,0x0000015d,0x0003003e,0x00000037,
- 0x0000015e,0x0003003e,0x0000015f,0x000000a5,0x0003003e,0x00000160,0x0000015c,0x000200f9,
- 0x00000161,0x000200f8,0x00000161,0x000400f6,0x00000163,0x00000164,0x00000000,0x000200f9,
- 0x00000165,0x000200f8,0x00000165,0x0004003d,0x00000025,0x00000166,0x00000160,0x000500b1,
- 0x000000a6,0x00000168,0x00000166,0x00000167,0x000400fa,0x00000168,0x00000162,0x00000163,
- 0x000200f8,0x00000162,0x0004003d,0x00000025,0x00000210,0x00000037,0x00050084,0x00000025,
- 0x00000211,0x00000210,0x00000167,0x0004003d,0x00000025,0x00000212,0x00000160,0x00050080,
- 0x00000025,0x00000213,0x00000211,0x00000212,0x0003003e,0x00000215,0x0000020f,0x00050041,
- 0x0000000d,0x00000216,0x00000215,0x00000213,0x0004003d,0x00000006,0x00000217,0x00000216,
- 0x0004003d,0x00000025,0x00000218,0x00000160,0x00050041,0x0000000d,0x00000219,0x00000036,
- 0x00000218,0x0004003d,0x00000006,0x0000021a,0x00000219,0x00050085,0x00000006,0x0000021b,
- 0x00000217,0x0000021a,0x0004003d,0x00000006,0x0000021c,0x0000015f,0x00050081,0x00000006,
- 0x0000021d,0x0000021c,0x0000021b,0x0003003e,0x0000015f,0x0000021d,0x000200f9,0x00000164,
- 0x000200f8,0x00000164,0x0004003d,0x00000025,0x0000021e,0x00000160,0x00050080,0x00000025,
- 0x00000220,0x0000021e,0x0000021f,0x0003003e,0x00000160,0x00000220,0x000200f9,0x00000161,
- 0x000200f8,0x00000163,0x0003003e,0x00000221,0x000000a5,0x0003003e,0x00000222,0x0000015c,
- 0x000200f9,0x00000223,0x000200f8,0x00000223,0x000400f6,0x00000225,0x00000226,0x00000000,
- 0x000200f9,0x00000227,0x000200f8,0x00000227,0x0004003d,0x00000025,0x00000228,0x00000222,
- 0x000500b1,0x000000a6,0x00000229,0x00000228,0x00000167,0x000400fa,0x00000229,0x00000224,
- 0x00000225,0x000200f8,0x00000224,0x0004003d,0x00000025,0x000002ac,0x00000037,0x00050084,
- 0x00000025,0x000002ad,0x000002ac,0x00000167,0x0004003d,0x00000025,0x000002ae,0x00000222,
- 0x00050080,0x00000025,0x000002af,0x000002ad,0x000002ae,0x0003003e,0x000002b0,0x000002ab,
- 0x00050041,0x0000000d,0x000002b1,0x000002b0,0x000002af,0x0004003d,0x00000006,0x000002b2,
- 0x000002b1,0x0004003d,0x00000025,0x000002b3,0x00000222,0x00050041,0x0000000d,0x000002b4,
- 0x00000036,0x000002b3,0x0004003d,0x00000006,0x000002b5,0x000002b4,0x00050085,0x00000006,
- 0x000002b6,0x000002b2,0x000002b5,0x0004003d,0x00000006,0x000002b7,0x00000221,0x00050081,
- 0x00000006,0x000002b8,0x000002b7,0x000002b6,0x0003003e,0x00000221,0x000002b8,0x000200f9,
- 0x00000226,0x000200f8,0x00000226,0x0004003d,0x00000025,0x000002b9,0x00000222,0x00050080,
- 0x00000025,0x000002ba,0x000002b9,0x0000021f,0x0003003e,0x00000222,0x000002ba,0x000200f9,
- 0x00000223,0x000200f8,0x00000225,0x0004003d,0x00000006,0x000002bc,0x0000015f,0x00050083,
- 0x00000006,0x000002be,0x000002bc,0x000002bd,0x00050085,0x00000006,0x000002c0,0x000002be,
- 0x000002bf,0x0008000c,0x00000006,0x000002c1,0x00000001,0x0000002b,0x000002c0,0x000000a5,
- 0x000000b2,0x00050083,0x00000006,0x000002c2,0x000000b2,0x000002c1,0x0003003e,0x000002bb,
- 0x000002c2,0x0004003d,0x00000006,0x000002c4,0x000002bb,0x0004003d,0x00000006,0x000002c7,
- 0x000002c6,0x00050085,0x00000006,0x000002c8,0x000002c4,0x000002c7,0x0004003d,0x00000006,
- 0x000002ca,0x000002c9,0x00050081,0x00000006,0x000002cb,0x000002c8,0x000002ca,0x0003003e,
- 0x000002c3,0x000002cb,0x0004003d,0x00000006,0x000002cc,0x000002c3,0x0004003d,0x00000006,
- 0x000002cd,0x00000221,0x00050085,0x00000006,0x000002ce,0x000002cd,0x000002cc,0x0003003e,
- 0x00000221,0x000002ce,0x0004003d,0x00000006,0x000002d0,0x000002bb,0x0004003d,0x00000006,
- 0x000002d2,0x000002d1,0x00050085,0x00000006,0x000002d3,0x000002d0,0x000002d2,0x0004003d,
- 0x00000006,0x000002d5,0x000002d4,0x00050081,0x00000006,0x000002d6,0x000002d3,0x000002d5,
- 0x0004003d,0x00000006,0x000002d7,0x0000015f,0x00050085,0x00000006,0x000002d8,0x000002d6,
- 0x000002d7,0x0003003e,0x000002cf,0x000002d8,0x0004003d,0x00000006,0x000002d9,0x000002cf,
- 0x0004003d,0x00000006,0x000002da,0x000002cf,0x0004007f,0x00000006,0x000002db,0x000002da,
- 0x0004003d,0x00000006,0x000002dc,0x00000221,0x0007000c,0x00000006,0x000002dd,0x00000001,
- 0x00000028,0x000002db,0x000002dc,0x0007000c,0x00000006,0x000002de,0x00000001,0x00000025,
- 0x000002d9,0x000002dd,0x0003003e,0x00000221,0x000002de,0x00050041,0x0000000d,0x000002e4,
- 0x00000036,0x0000015c,0x0004003d,0x00000006,0x000002e5,0x000002e4,0x0003003e,0x000002e3,
- 0x000002e5,0x00050041,0x0000000d,0x000002e7,0x00000036,0x0000021f,0x0004003d,0x00000006,
- 0x000002e8,0x000002e7,0x0003003e,0x000002e6,0x000002e8,0x00050041,0x0000000d,0x000002ea,
- 0x00000036,0x000002df,0x0004003d,0x00000006,0x000002eb,0x000002ea,0x0003003e,0x000002e9,
- 0x000002eb,0x00050041,0x0000000d,0x000002ed,0x00000036,0x000002e0,0x0004003d,0x00000006,
- 0x000002ee,0x000002ed,0x0003003e,0x000002ec,0x000002ee,0x00050041,0x0000000d,0x000002f0,
- 0x00000036,0x000002e1,0x0004003d,0x00000006,0x000002f1,0x000002f0,0x0003003e,0x000002ef,
- 0x000002f1,0x00050041,0x0000000d,0x000002f3,0x00000036,0x000002e2,0x0004003d,0x00000006,
- 0x000002f4,0x000002f3,0x0003003e,0x000002f2,0x000002f4,0x0004003d,0x00000025,0x000002f6,
- 0x00000037,0x0003003e,0x000002f5,0x000002f6,0x000b0039,0x00000006,0x000002f7,0x0000002f,
- 0x000002e3,0x000002e6,0x000002e9,0x000002ec,0x000002ef,0x000002f2,0x000002f5,0x0004003d,
- 0x00000006,0x000002f8,0x00000221,0x00050085,0x00000006,0x000002f9,0x000002f8,0x000002f7,
- 0x0003003e,0x00000221,0x000002f9,0x0004003d,0x00000006,0x000002fa,0x0000015f,0x0004003d,
- 0x00000006,0x000002fb,0x00000221,0x00050081,0x00000006,0x000002fc,0x000002fa,0x000002fb,
- 0x000200fe,0x000002fc,0x00010038,0x00050036,0x00000006,0x00000040,0x00000000,0x0000003c,
+ 0x00030005,0x00000053,0x00305f67,0x00040005,0x00000060,0x35345f67,0x00000000,0x00040005,
+ 0x0000006d,0x30395f67,0x00000000,0x00040005,0x0000007a,0x33315f67,0x00000035,0x00050005,
+ 0x00000087,0x5f305f67,0x6d5f3039,0x00007861,0x00050005,0x0000008b,0x5f305f67,0x6d5f3039,
+ 0x00006e69,0x00060005,0x0000008f,0x35345f67,0x3533315f,0x78616d5f,0x00000000,0x00060005,
+ 0x00000093,0x35345f67,0x3533315f,0x6e696d5f,0x00000000,0x00040005,0x000000a1,0x5f305f65,
+ 0x00003039,0x00050005,0x000000a7,0x35345f65,0x3533315f,0x00000000,0x00040005,0x000000ac,
+ 0x5f305f63,0x00003039,0x00050005,0x000000ba,0x35345f63,0x3533315f,0x00000000,0x00050005,
+ 0x000000c6,0x5f675f63,0x30395f30,0x00000000,0x00050005,0x000000ca,0x5f675f63,0x315f3534,
+ 0x00003533,0x00050005,0x000000ce,0x5f655f66,0x30395f30,0x00000000,0x00050005,0x000000d4,
+ 0x5f655f66,0x315f3534,0x00003533,0x00030005,0x000000da,0x00003077,0x00030005,0x000000e0,
+ 0x00303977,0x00030005,0x000000e7,0x00353477,0x00040005,0x000000ed,0x35333177,0x00000000,
+ 0x00030005,0x000000fb,0x00003068,0x00030005,0x00000101,0x00003168,0x00050005,0x0000010e,
+ 0x656c6573,0x726f7463,0x00000000,0x00030005,0x00000112,0x006c6573,0x00040005,0x00000117,
+ 0x696d5f61,0x0000006e,0x00040005,0x0000011d,0x616d5f61,0x00000078,0x00040005,0x00000127,
+ 0x696d5f62,0x0000006e,0x00040005,0x0000012d,0x616d5f62,0x00000078,0x00040005,0x00000133,
+ 0x6f635f61,0x0000746e,0x00040005,0x00000137,0x6f635f62,0x0000746e,0x00050005,0x0000013b,
+ 0x746e6f63,0x7461725f,0x00006f69,0x00030005,0x00000153,0x00000079,0x00040005,0x00000154,
+ 0x73755f79,0x0000006d,0x00030005,0x00000155,0x00000069,0x00050005,0x0000020a,0x65646e69,
+ 0x6c626178,0x00000065,0x00050005,0x00000299,0x65646e69,0x6c626178,0x00000065,0x00040005,
+ 0x000002a5,0x63735f79,0x00656c61,0x00050005,0x000002ad,0x68735f79,0x6e707261,0x00737365,
+ 0x00070005,0x000002b0,0x61685367,0x74537072,0x676e6572,0x63536874,0x00656c61,0x00070005,
+ 0x000002b3,0x61685367,0x74537072,0x676e6572,0x694d6874,0x0000006e,0x00070005,0x000002b9,
+ 0x68735f79,0x6e707261,0x5f737365,0x696d696c,0x00000074,0x00070005,0x000002bb,0x61685367,
+ 0x694c7072,0x5374696d,0x656c6163,0x00000000,0x00060005,0x000002be,0x61685367,0x694c7072,
+ 0x4d74696d,0x00006e69,0x00040005,0x000002cd,0x61726170,0x0000006d,0x00040005,0x000002d0,
+ 0x61726170,0x0000006d,0x00040005,0x000002d3,0x61726170,0x0000006d,0x00040005,0x000002d6,
+ 0x61726170,0x0000006d,0x00040005,0x000002d9,0x61726170,0x0000006d,0x00040005,0x000002dc,
+ 0x61726170,0x0000006d,0x00040005,0x000002df,0x61726170,0x0000006d,0x00040005,0x000002ed,
+ 0x63615f68,0x00000063,0x00030005,0x000002ee,0x0000006a,0x00040005,0x000002f6,0x63615f76,
+ 0x00000063,0x00030005,0x000002f7,0x00000069,0x00050005,0x00000307,0x65646e69,0x6c626178,
+ 0x00000065,0x00050005,0x00000314,0x65646e69,0x6c626178,0x00000065,0x00030005,0x0000031f,
+ 0x00000066,0x00030005,0x00000326,0x00000069,0x00050005,0x0000032e,0x65746e69,0x44307072,
+ 0x00006765,0x00040005,0x0000033b,0x61726170,0x0000006d,0x00040005,0x0000033d,0x61726170,
+ 0x0000006d,0x00030005,0x0000034b,0x00000069,0x00050005,0x00000353,0x65746e69,0x30397072,
+ 0x00676544,0x00040005,0x00000360,0x61726170,0x0000006d,0x00040005,0x00000362,0x61726170,
+ 0x0000006d,0x00050005,0x00000370,0x61687070,0x625f6573,0x00003534,0x00070005,0x0000037a,
+ 0x706d6574,0x746e695f,0x34707265,0x67654435,0x00000000,0x00030005,0x00000392,0x00000061,
+ 0x00030005,0x0000039e,0x00000062,0x00030005,0x000003aa,0x00000063,0x00030005,0x000003b6,
+ 0x00000064,0x00050005,0x000003de,0x61687070,0x705f6573,0x00003534,0x00030005,0x000003e6,
+ 0x00000069,0x00050005,0x000003ee,0x65746e69,0x35347072,0x00676544,0x00030005,0x000003fa,
+ 0x00000069,0x00040005,0x0000040d,0x61726170,0x0000006d,0x00040005,0x0000040f,0x61726170,
+ 0x0000006d,0x00050005,0x0000041c,0x61687070,0x625f6573,0x00353331,0x00070005,0x00000421,
+ 0x706d6574,0x746e695f,0x31707265,0x65443533,0x00000067,0x00030005,0x00000439,0x00000061,
+ 0x00030005,0x00000445,0x00000062,0x00030005,0x00000451,0x00000063,0x00030005,0x0000045d,
+ 0x00000064,0x00050005,0x00000485,0x61687070,0x705f6573,0x00353331,0x00030005,0x0000048e,
+ 0x00000069,0x00060005,0x00000496,0x65746e69,0x33317072,0x67654435,0x00000000,0x00030005,
+ 0x000004a2,0x00000069,0x00040005,0x000004b4,0x61726170,0x0000006d,0x00040005,0x000004b6,
+ 0x61726170,0x0000006d,0x00050005,0x000004c0,0x72616873,0x73656e70,0x00000073,0x00030005,
+ 0x000004c1,0x00004350,0x00040006,0x000004c1,0x00000000,0x0063646e,0x00070006,0x000004c1,
+ 0x00000001,0x77656956,0x74726f70,0x6f666e49,0x00000000,0x00060006,0x000004c1,0x00000002,
+ 0x72616873,0x73656e70,0x00000073,0x00030005,0x000004c3,0x00006370,0x00060005,0x000004c8,
+ 0x72616873,0x5f6e6570,0x64696c73,0x00007265,0x00050005,0x000004cb,0x5378614d,0x656c6163,
+ 0x00000000,0x00050005,0x000004d1,0x536e694d,0x656c6163,0x00000000,0x00050005,0x000004d5,
+ 0x696d694c,0x61635374,0x0000656c,0x00070005,0x000004df,0x72616873,0x72745370,0x74676e65,
+ 0x78614d68,0x00000000,0x00060005,0x000004f3,0x72616873,0x6d694c70,0x614d7469,0x00000078,
+ 0x00040005,0x000004ff,0x69536e69,0x0000657a,0x00040005,0x00000504,0x49766e69,0x0000006e,
+ 0x00040005,0x00000508,0x58637273,0x00000000,0x00060005,0x0000050a,0x67617266,0x43786554,
+ 0x64726f6f,0x00000000,0x00040005,0x00000512,0x59637273,0x00000000,0x00030005,0x00000519,
+ 0x00787366,0x00030005,0x0000051c,0x00797366,0x00030005,0x0000051f,0x00007866,0x00030005,
+ 0x00000523,0x00007966,0x00040005,0x00000527,0x695f7866,0x0000746e,0x00040005,0x0000052b,
+ 0x695f7966,0x0000746e,0x00030005,0x0000052f,0x00000069,0x00030005,0x00000537,0x0000006a,
+ 0x00030005,0x0000053f,0x00006374,0x00030005,0x0000054f,0x00000070,0x00060005,0x00000555,
+ 0x75706e49,0x78655474,0x65727574,0x00000000,0x00040005,0x00000559,0x61726170,0x0000006d,
+ 0x00030005,0x00000561,0x00303065,0x00040005,0x00000562,0x61726170,0x0000006d,0x00040005,
+ 0x00000565,0x61726170,0x0000006d,0x00040005,0x00000568,0x61726170,0x0000006d,0x00040005,
+ 0x0000056b,0x61726170,0x0000006d,0x00040005,0x0000056e,0x61726170,0x0000006d,0x00040005,
+ 0x00000571,0x61726170,0x0000006d,0x00040005,0x00000574,0x61726170,0x0000006d,0x00040005,
+ 0x00000577,0x61726170,0x0000006d,0x00040005,0x0000057a,0x61726170,0x0000006d,0x00030005,
+ 0x0000057e,0x00313065,0x00040005,0x0000057f,0x61726170,0x0000006d,0x00040005,0x00000582,
+ 0x61726170,0x0000006d,0x00040005,0x00000585,0x61726170,0x0000006d,0x00040005,0x00000588,
+ 0x61726170,0x0000006d,0x00040005,0x0000058b,0x61726170,0x0000006d,0x00040005,0x0000058e,
+ 0x61726170,0x0000006d,0x00040005,0x00000591,0x61726170,0x0000006d,0x00040005,0x00000594,
+ 0x61726170,0x0000006d,0x00040005,0x00000597,0x61726170,0x0000006d,0x00030005,0x0000059b,
+ 0x00303165,0x00040005,0x0000059c,0x61726170,0x0000006d,0x00040005,0x0000059f,0x61726170,
+ 0x0000006d,0x00040005,0x000005a2,0x61726170,0x0000006d,0x00040005,0x000005a5,0x61726170,
+ 0x0000006d,0x00040005,0x000005a8,0x61726170,0x0000006d,0x00040005,0x000005ab,0x61726170,
+ 0x0000006d,0x00040005,0x000005ae,0x61726170,0x0000006d,0x00040005,0x000005b1,0x61726170,
+ 0x0000006d,0x00040005,0x000005b4,0x61726170,0x0000006d,0x00030005,0x000005b8,0x00313165,
+ 0x00040005,0x000005b9,0x61726170,0x0000006d,0x00040005,0x000005bc,0x61726170,0x0000006d,
+ 0x00040005,0x000005bf,0x61726170,0x0000006d,0x00040005,0x000005c2,0x61726170,0x0000006d,
+ 0x00040005,0x000005c5,0x61726170,0x0000006d,0x00040005,0x000005c8,0x61726170,0x0000006d,
+ 0x00040005,0x000005cb,0x61726170,0x0000006d,0x00040005,0x000005ce,0x61726170,0x0000006d,
+ 0x00040005,0x000005d1,0x61726170,0x0000006d,0x00030005,0x000005d5,0x00000077,0x00040005,
+ 0x000005d6,0x61726170,0x0000006d,0x00040005,0x000005d8,0x61726170,0x0000006d,0x00040005,
+ 0x000005da,0x61726170,0x0000006d,0x00040005,0x000005dc,0x61726170,0x0000006d,0x00040005,
+ 0x000005de,0x61726170,0x0000006d,0x00040005,0x000005e0,0x61726170,0x0000006d,0x00050005,
+ 0x000005e3,0x65736162,0x67696557,0x00007468,0x00030005,0x000005f0,0x0059706f,0x00040005,
+ 0x000005f1,0x61726170,0x0000006d,0x00040005,0x000005f3,0x61726170,0x0000006d,0x00040005,
+ 0x000005f5,0x61726170,0x0000006d,0x00040005,0x000005fa,0x61726170,0x0000006d,0x00040005,
+ 0x000005fc,0x61726170,0x0000006d,0x00040005,0x000005fe,0x61726170,0x0000006d,0x00040005,
+ 0x00000600,0x61726170,0x0000006d,0x00040005,0x00000602,0x61726170,0x0000006d,0x00040005,
+ 0x00000604,0x61726170,0x0000006d,0x00030005,0x00000609,0x0000706f,0x00030005,0x0000060d,
+ 0x00000079,0x00040005,0x0000060e,0x61726170,0x0000006d,0x00040005,0x00000612,0x72726f63,
+ 0x00000000,0x00050005,0x00000622,0x4374756f,0x726f6c6f,0x00000000,0x00030047,0x000004c1,
+ 0x00000002,0x00050048,0x000004c1,0x00000000,0x00000023,0x00000000,0x00050048,0x000004c1,
+ 0x00000001,0x00000023,0x00000010,0x00050048,0x000004c1,0x00000002,0x00000023,0x00000020,
+ 0x00040047,0x0000050a,0x0000001e,0x00000000,0x00040047,0x00000555,0x00000021,0x00000000,
+ 0x00040047,0x00000555,0x00000022,0x00000000,0x00040047,0x00000622,0x0000001e,0x00000000,
+ 0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,
+ 0x00040017,0x00000007,0x00000006,0x00000003,0x00040020,0x00000008,0x00000007,0x00000007,
+ 0x00040021,0x00000009,0x00000006,0x00000008,0x00040020,0x0000000d,0x00000007,0x00000006,
+ 0x00040017,0x0000000e,0x00000006,0x00000004,0x000c0021,0x0000000f,0x0000000e,0x0000000d,
+ 0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,
+ 0x00040020,0x0000001b,0x00000007,0x0000000e,0x00090021,0x0000001c,0x0000000e,0x0000001b,
+ 0x0000001b,0x0000001b,0x0000001b,0x0000000d,0x0000000d,0x00040015,0x00000025,0x00000020,
+ 0x00000001,0x00040020,0x00000026,0x00000007,0x00000025,0x000a0021,0x00000027,0x00000006,
+ 0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x0000000d,0x00000026,0x00040015,
+ 0x00000031,0x00000020,0x00000000,0x0004002b,0x00000031,0x00000032,0x00000006,0x0004001c,
+ 0x00000033,0x00000006,0x00000032,0x00040020,0x00000034,0x00000007,0x00000033,0x00050021,
+ 0x00000035,0x00000006,0x00000034,0x00000026,0x0004001c,0x0000003a,0x00000033,0x00000032,
+ 0x00040020,0x0000003b,0x00000007,0x0000003a,0x00060021,0x0000003c,0x00000006,0x0000003b,
+ 0x00000026,0x00000026,0x00090021,0x00000042,0x00000006,0x0000003b,0x0000000d,0x0000000d,
+ 0x00000026,0x00000026,0x0000001b,0x0004002b,0x00000006,0x0000004c,0x3e59b3d0,0x0004002b,
+ 0x00000006,0x0000004d,0x3f371759,0x0004002b,0x00000006,0x0000004e,0x3d93dd98,0x0006002c,
+ 0x00000007,0x0000004f,0x0000004c,0x0000004d,0x0000004e,0x0004002b,0x00000006,0x0000009a,
+ 0x00000000,0x00020014,0x0000009b,0x0007002c,0x0000000e,0x0000009f,0x0000009a,0x0000009a,
+ 0x0000009a,0x0000009a,0x0004002b,0x00000006,0x000000a8,0x3f800000,0x00040020,0x000000ab,
+ 0x00000007,0x0000009b,0x0004002b,0x00000006,0x000000af,0x400ce000,0x0004002b,0x00000006,
+ 0x000000b3,0x3d800000,0x0004002b,0x00000025,0x00000110,0x00000020,0x0004002b,0x00000006,
+ 0x00000142,0x3b808081,0x0004002b,0x00000006,0x00000146,0x40000000,0x0004002b,0x00000006,
+ 0x00000148,0x3e000000,0x0004002b,0x00000025,0x00000150,0x00000000,0x0004002b,0x00000025,
+ 0x00000151,0x0000003f,0x0004002b,0x00000025,0x0000015c,0x00000006,0x0004002b,0x00000031,
+ 0x0000015e,0x00000180,0x0004001c,0x0000015f,0x00000006,0x0000015e,0x0004002b,0x00000006,
+ 0x00000160,0x3b3e0ded,0x0004002b,0x00000006,0x00000161,0xbc5013a9,0x0004002b,0x00000006,
+ 0x00000162,0x3c5844d0,0x0004002b,0x00000006,0x00000163,0xbb5ed289,0x0004002b,0x00000006,
+ 0x00000164,0x3bce703b,0x0004002b,0x00000006,0x00000165,0xbccbfb16,0x0004002b,0x00000006,
+ 0x00000166,0x3f7f9db2,0x0004002b,0x00000006,0x00000167,0x3cdc5d64,0x0004002b,0x00000006,
+ 0x00000168,0xbbded289,0x0004002b,0x00000006,0x00000169,0x3c102de0,0x0004002b,0x00000006,
+ 0x0000016a,0xbd13dd98,0x0004002b,0x00000006,0x0000016b,0x3f7edfa4,0x0004002b,0x00000006,
+ 0x0000016c,0x3d29fbe7,0x0004002b,0x00000006,0x0000016d,0xbc28c155,0x0004002b,0x00000006,
+ 0x0000016e,0x3a03126f,0x0004002b,0x00000006,0x0000016f,0x3c3fb15b,0x0004002b,0x00000006,
+ 0x00000170,0xbd422681,0x0004002b,0x00000006,0x00000171,0x3f7e425b,0x0004002b,0x00000006,
+ 0x00000172,0x3d6631f9,0x0004002b,0x00000006,0x00000173,0xbc68a71e,0x0004002b,0x00000006,
+ 0x00000174,0x3c68a71e,0x0004002b,0x00000006,0x00000175,0xbd6bedfa,0x0004002b,0x00000006,
+ 0x00000176,0x3f7d5cfb,0x0004002b,0x00000006,0x00000177,0x3d9205bc,0x0004002b,0x00000006,
+ 0x00000178,0xbc944674,0x0004002b,0x00000006,0x00000179,0x3c87fcb9,0x0004002b,0x00000006,
+ 0x0000017a,0xbd8a0903,0x0004002b,0x00000006,0x0000017b,0x3f7c01a3,0x0004002b,0x00000006,
+ 0x0000017c,0x3db2fec5,0x0004002b,0x00000006,0x0000017d,0xbcb43958,0x0004002b,0x00000006,
+ 0x0000017e,0x3a83126f,0x0004002b,0x00000006,0x0000017f,0x3c985f07,0x0004002b,0x00000006,
+ 0x00000180,0xbd9c0ebf,0x0004002b,0x00000006,0x00000181,0x3f7a7efa,0x0004002b,0x00000006,
+ 0x00000182,0x3dd4fdf4,0x0004002b,0x00000006,0x00000183,0xbcd844d0,0x0004002b,0x00000006,
+ 0x00000184,0x3ac49ba6,0x0004002b,0x00000006,0x00000185,0x3ca7ef9e,0x0004002b,0x00000006,
+ 0x00000186,0xbdae147b,0x0004002b,0x00000006,0x00000187,0x3f7902de,0x0004002b,0x00000006,
+ 0x00000188,0x3df6fd22,0x0004002b,0x00000006,0x00000189,0xbcfc5048,0x0004002b,0x00000006,
+ 0x0000018a,0x3b03126f,0x0004002b,0x00000006,0x0000018b,0x3cb851ec,0x0004002b,0x00000006,
+ 0x0000018c,0xbdbe0ded,0x0004002b,0x00000006,0x0000018d,0x3f76fd22,0x0004002b,0x00000006,
+ 0x0000018e,0x3e0d844d,0x0004002b,0x00000006,0x0000018f,0xbd102de0,0x0004002b,0x00000006,
+ 0x00000190,0x3b1d4952,0x0004002b,0x00000006,0x00000191,0x3cc3c9ef,0x0004002b,0x00000006,
+ 0x00000192,0xbdce075f,0x0004002b,0x00000006,0x00000193,0x3f751eb8,0x0004002b,0x00000006,
+ 0x00000194,0x3e1f8a09,0x0004002b,0x00000006,0x00000195,0xbd22339c,0x0004002b,0x00000006,
+ 0x00000196,0x3cd013a9,0x0004002b,0x00000006,0x00000197,0xbddbf488,0x0004002b,0x00000006,
+ 0x00000198,0x3f72de01,0x0004002b,0x00000006,0x00000199,0x3e31f8a1,0x0004002b,0x00000006,
+ 0x0000019a,0xbd33d07d,0x0004002b,0x00000006,0x0000019b,0x3b5ed289,0x0004002b,0x00000006,
+ 0x0000019c,0x3cd844d0,0x0004002b,0x00000006,0x0000019d,0xbde90ff9,0x0004002b,0x00000006,
+ 0x0000019e,0x3f70624e,0x0004002b,0x00000006,0x0000019f,0x3e458794,0x0004002b,0x00000006,
+ 0x000001a0,0xbd47e282,0x0004002b,0x00000006,0x000001a1,0x3b902de0,0x0004002b,0x00000006,
+ 0x000001a2,0x3ce3bcd3,0x0004002b,0x00000006,0x000001a3,0xbdf3eab3,0x0004002b,0x00000006,
+ 0x000001a4,0x3f6d9e84,0x0004002b,0x00000006,0x000001a5,0x3e58fc50,0x0004002b,0x00000006,
+ 0x000001a6,0xbd5bf488,0x0004002b,0x00000006,0x000001a7,0x3ba0902e,0x0004002b,0x00000006,
+ 0x000001a8,0x3cebedfa,0x0004002b,0x00000006,0x000001a9,0xbdfef9db,0x0004002b,0x00000006,
+ 0x000001aa,0x3f6ac083,0x0004002b,0x00000006,0x000001ab,0x3e6c8b44,0x0004002b,0x00000006,
+ 0x000001ac,0xbd6dfa44,0x0004002b,0x00000006,0x000001ad,0x3bc154ca,0x0004002b,0x00000006,
+ 0x000001ae,0x3cf0068e,0x0004002b,0x00000006,0x000001af,0xbe04816f,0x0004002b,0x00000006,
+ 0x000001b0,0x3f67e282,0x0004002b,0x00000006,0x000001b1,0x3e808312,0x0004002b,0x00000006,
+ 0x000001b2,0xbd810625,0x0004002b,0x00000006,0x000001b3,0x3cf837b5,0x0004002b,0x00000006,
+ 0x000001b4,0xbe087fcc,0x0004002b,0x00000006,0x000001b5,0x3f64816f,0x0004002b,0x00000006,
+ 0x000001b6,0x3e8ac083,0x0004002b,0x00000006,0x000001b7,0xbd8b0f28,0x0004002b,0x00000006,
+ 0x000001b8,0x3bef34d7,0x0004002b,0x00000006,0x000001b9,0x3cfc5048,0x0004002b,0x00000006,
+ 0x000001ba,0xbe0bfb16,0x0004002b,0x00000006,0x000001bb,0x3f60ff97,0x0004002b,0x00000006,
+ 0x000001bc,0x3e953f7d,0x0004002b,0x00000006,0x000001bd,0xbd95182b,0x0004002b,0x00000006,
+ 0x000001be,0x3c07fcb9,0x0004002b,0x00000006,0x000001bf,0xbe0f7660,0x0004002b,0x00000006,
+ 0x000001c0,0x3f5d9e84,0x0004002b,0x00000006,0x000001c1,0x3e9fbe77,0x0004002b,0x00000006,
+ 0x000001c2,0xbd9eecc0,0x0004002b,0x00000006,0x000001c3,0x3c185f07,0x0004002b,0x00000006,
+ 0x000001c4,0x3d00346e,0x0004002b,0x00000006,0x000001c5,0xbe1205bc,0x0004002b,0x00000006,
+ 0x000001c6,0x3f59c0ec,0x0004002b,0x00000006,0x000001c7,0x3eaa7efa,0x0004002b,0x00000006,
+ 0x000001c8,0xbda8f5c3,0x0004002b,0x00000006,0x000001c9,0x3c28c155,0x0004002b,0x00000006,
+ 0x000001ca,0xbe13f7cf,0x0004002b,0x00000006,0x000001cb,0x3f55dcc6,0x0004002b,0x00000006,
+ 0x000001cc,0x3eb53f7d,0x0004002b,0x00000006,0x000001cd,0xbdb2fec5,0x0004002b,0x00000006,
+ 0x000001ce,0x3c378034,0x0004002b,0x00000006,0x000001cf,0xbe158106,0x0004002b,0x00000006,
+ 0x000001d0,0x3f51bda5,0x0004002b,0x00000006,0x000001d1,0x3ec04189,0x0004002b,0x00000006,
+ 0x000001d2,0xbdbd07c8,0x0004002b,0x00000006,0x000001d3,0x3c47e282,0x0004002b,0x00000006,
+ 0x000001d4,0xbe16872b,0x0004002b,0x00000006,0x000001d5,0x3f4d5cfb,0x0004002b,0x00000006,
+ 0x000001d6,0x3ecb020c,0x0004002b,0x00000006,0x000001d7,0xbdc60aa6,0x0004002b,0x00000006,
+ 0x000001d8,0x3c6075f7,0x0004002b,0x00000006,0x000001d9,0xbe177319,0x0004002b,0x00000006,
+ 0x000001da,0x3f491d15,0x0004002b,0x00000006,0x000001db,0x3ed645a2,0x0004002b,0x00000006,
+ 0x000001dc,0xbdd013a9,0x0004002b,0x00000006,0x000001dd,0x3c6f34d7,0x0004002b,0x00000006,
+ 0x000001de,0x3f44a234,0x0004002b,0x00000006,0x000001df,0x3ee13a93,0x0004002b,0x00000006,
+ 0x000001e0,0xbdd91687,0x0004002b,0x00000006,0x000001e1,0x3c7f9724,0x0004002b,0x00000006,
+ 0x000001e2,0x3cf41f21,0x0004002b,0x00000006,0x000001e3,0x3f4020c5,0x0004002b,0x00000006,
+ 0x000001e4,0x3eec3c9f,0x0004002b,0x00000006,0x000001e5,0xbde21965,0x0004002b,0x00000006,
+ 0x000001e6,0x3f3b3d08,0x0004002b,0x00000006,0x000001e7,0x3ef73eab,0x0004002b,0x00000006,
+ 0x000001e8,0xbdeae7d5,0x0004002b,0x00000006,0x000001e9,0x3c944674,0x0004002b,0x00000006,
+ 0x000001ea,0x3f363f14,0x0004002b,0x00000006,0x000001eb,0x3f014120,0x0004002b,0x00000006,
+ 0x000001ec,0xbdf318fc,0x0004002b,0x00000006,0x000001ed,0x3c9ba5e3,0x0004002b,0x00000006,
+ 0x000001ee,0x3f3161e5,0x0004002b,0x00000006,0x000001ef,0x3f06c227,0x0004002b,0x00000006,
+ 0x000001f0,0xbdfb15b5,0x0004002b,0x00000006,0x000001f1,0x3ca3d70a,0x0004002b,0x00000006,
+ 0x000001f2,0x3cdfa440,0x0004002b,0x00000006,0x000001f3,0xbe1288ce,0x0004002b,0x00000006,
+ 0x000001f4,0x3f2c2268,0x0004002b,0x00000006,0x000001f5,0x3f0c432d,0x0004002b,0x00000006,
+ 0x000001f6,0xbe010625,0x0004002b,0x00000006,0x000001f7,0x3cb020c5,0x0004002b,0x00000006,
+ 0x000001f8,0xbe107c85,0x0004002b,0x00000006,0x000001f9,0x3f271de7,0x0004002b,0x00000006,
+ 0x000001fa,0x3f11bda5,0x0004002b,0x00000006,0x000001fb,0xbe050481,0x0004002b,0x00000006,
+ 0x000001fc,0xbe0e075f,0x0004002b,0x00000006,0x000001fd,0x3f21de6a,0x0004002b,0x00000006,
+ 0x000001fe,0x3f171de7,0x0004002b,0x00000006,0x000001ff,0xbe07fcb9,0x0004002b,0x00000006,
+ 0x00000200,0x3cbfb15b,0x0004002b,0x00000006,0x00000201,0x3cc7e282,0x0004002b,0x00000006,
+ 0x00000202,0xbe0af4f1,0x0004002b,0x00000006,0x00000203,0x3f1c7e28,0x0183002c,0x0000015f,
+ 0x00000204,0x0000009a,0x0000009a,0x000000a8,0x0000009a,0x0000009a,0x0000009a,0x00000160,
+ 0x00000161,0x000000a8,0x00000162,0x00000163,0x0000009a,0x00000164,0x00000165,0x00000166,
+ 0x00000167,0x00000168,0x0000009a,0x00000169,0x0000016a,0x0000016b,0x0000016c,0x0000016d,
+ 0x0000016e,0x0000016f,0x00000170,0x00000171,0x00000172,0x00000173,0x0000016e,0x00000174,
+ 0x00000175,0x00000176,0x00000177,0x00000178,0x0000016e,0x00000179,0x0000017a,0x0000017b,
+ 0x0000017c,0x0000017d,0x0000017e,0x0000017f,0x00000180,0x00000181,0x00000182,0x00000183,
+ 0x00000184,0x00000185,0x00000186,0x00000187,0x00000188,0x00000189,0x0000018a,0x0000018b,
+ 0x0000018c,0x0000018d,0x0000018e,0x0000018f,0x00000190,0x00000191,0x00000192,0x00000193,
+ 0x00000194,0x00000195,0x00000160,0x00000196,0x00000197,0x00000198,0x00000199,0x0000019a,
+ 0x0000019b,0x0000019c,0x0000019d,0x0000019e,0x0000019f,0x000001a0,0x000001a1,0x000001a2,
+ 0x000001a3,0x000001a4,0x000001a5,0x000001a6,0x000001a7,0x000001a8,0x000001a9,0x000001aa,
+ 0x000001ab,0x000001ac,0x000001ad,0x000001ae,0x000001af,0x000001b0,0x000001b1,0x000001b2,
+ 0x00000164,0x000001b3,0x000001b4,0x000001b5,0x000001b6,0x000001b7,0x000001b8,0x000001b9,
+ 0x000001ba,0x000001bb,0x000001bc,0x000001bd,0x000001be,0x000001b9,0x000001bf,0x000001c0,
+ 0x000001c1,0x000001c2,0x000001c3,0x000001c4,0x000001c5,0x000001c6,0x000001c7,0x000001c8,
+ 0x000001c9,0x000001c4,0x000001ca,0x000001cb,0x000001cc,0x000001cd,0x000001ce,0x000001c4,
+ 0x000001cf,0x000001d0,0x000001d1,0x000001d2,0x000001d3,0x000001c4,0x000001d4,0x000001d5,
+ 0x000001d6,0x000001d7,0x000001d8,0x000001b9,0x000001d9,0x000001da,0x000001db,0x000001dc,
+ 0x000001dd,0x000001b3,0x000001d9,0x000001de,0x000001df,0x000001e0,0x000001e1,0x000001e2,
+ 0x000001d9,0x000001e3,0x000001e4,0x000001e5,0x00000179,0x000001ae,0x000001d4,0x000001e6,
+ 0x000001e7,0x000001e8,0x000001e9,0x000001a8,0x000001cf,0x000001ea,0x000001eb,0x000001ec,
+ 0x000001ed,0x000001a2,0x000001ca,0x000001ee,0x000001ef,0x000001f0,0x000001f1,0x000001f2,
+ 0x000001f3,0x000001f4,0x000001f5,0x000001f6,0x000001f7,0x0000019c,0x000001f8,0x000001f9,
+ 0x000001fa,0x000001fb,0x0000018b,0x00000196,0x000001fc,0x000001fd,0x000001fe,0x000001ff,
+ 0x00000200,0x00000201,0x00000202,0x00000203,0x00000203,0x00000202,0x00000201,0x00000200,
+ 0x000001ff,0x000001fe,0x000001fd,0x000001fc,0x00000196,0x0000018b,0x000001fb,0x000001fa,
+ 0x000001f9,0x000001f8,0x0000019c,0x000001f7,0x000001f6,0x000001f5,0x000001f4,0x000001f3,
+ 0x000001f2,0x000001f1,0x000001f0,0x000001ef,0x000001ee,0x000001ca,0x000001a2,0x000001ed,
+ 0x000001ec,0x000001eb,0x000001ea,0x000001cf,0x000001a8,0x000001e9,0x000001e8,0x000001e7,
+ 0x000001e6,0x000001d4,0x000001ae,0x00000179,0x000001e5,0x000001e4,0x000001e3,0x000001d9,
+ 0x000001e2,0x000001e1,0x000001e0,0x000001df,0x000001de,0x000001d9,0x000001b3,0x000001dd,
+ 0x000001dc,0x000001db,0x000001da,0x000001d9,0x000001b9,0x000001d8,0x000001d7,0x000001d6,
+ 0x000001d5,0x000001d4,0x000001c4,0x000001d3,0x000001d2,0x000001d1,0x000001d0,0x000001cf,
+ 0x000001c4,0x000001ce,0x000001cd,0x000001cc,0x000001cb,0x000001ca,0x000001c4,0x000001c9,
+ 0x000001c8,0x000001c7,0x000001c6,0x000001c5,0x000001c4,0x000001c3,0x000001c2,0x000001c1,
+ 0x000001c0,0x000001bf,0x000001b9,0x000001be,0x000001bd,0x000001bc,0x000001bb,0x000001ba,
+ 0x000001b9,0x000001b8,0x000001b7,0x000001b6,0x000001b5,0x000001b4,0x000001b3,0x00000164,
+ 0x000001b2,0x000001b1,0x000001b0,0x000001af,0x000001ae,0x000001ad,0x000001ac,0x000001ab,
+ 0x000001aa,0x000001a9,0x000001a8,0x000001a7,0x000001a6,0x000001a5,0x000001a4,0x000001a3,
+ 0x000001a2,0x000001a1,0x000001a0,0x0000019f,0x0000019e,0x0000019d,0x0000019c,0x0000019b,
+ 0x0000019a,0x00000199,0x00000198,0x00000197,0x00000196,0x00000160,0x00000195,0x00000194,
+ 0x00000193,0x00000192,0x00000191,0x00000190,0x0000018f,0x0000018e,0x0000018d,0x0000018c,
+ 0x0000018b,0x0000018a,0x00000189,0x00000188,0x00000187,0x00000186,0x00000185,0x00000184,
+ 0x00000183,0x00000182,0x00000181,0x00000180,0x0000017f,0x0000017e,0x0000017d,0x0000017c,
+ 0x0000017b,0x0000017a,0x00000179,0x0000016e,0x00000178,0x00000177,0x00000176,0x00000175,
+ 0x00000174,0x0000016e,0x00000173,0x00000172,0x00000171,0x00000170,0x0000016f,0x0000016e,
+ 0x0000016d,0x0000016c,0x0000016b,0x0000016a,0x00000169,0x0000009a,0x00000168,0x00000167,
+ 0x00000166,0x00000165,0x00000164,0x0000009a,0x00000163,0x00000162,0x000000a8,0x00000161,
+ 0x00000160,0x00040020,0x00000209,0x00000007,0x0000015f,0x0004002b,0x00000006,0x00000213,
+ 0xbf19a027,0x0004002b,0x00000006,0x00000214,0x3f99a027,0x0004002b,0x00000006,0x00000215,
+ 0xbf1bc01a,0x0004002b,0x00000006,0x00000216,0x3f996f00,0x0004002b,0x00000006,0x00000217,
+ 0xbf171de7,0x0004002b,0x00000006,0x00000218,0xbb3e0ded,0x0004002b,0x00000006,0x00000219,
+ 0xbf1d5cfb,0x0004002b,0x00000006,0x0000021a,0x3f990ff9,0x0004002b,0x00000006,0x0000021b,
+ 0xbf143fe6,0x0004002b,0x00000006,0x0000021c,0xbf1e9e1b,0x0004002b,0x00000006,0x0000021d,
+ 0x3f983127,0x0004002b,0x00000006,0x0000021e,0xbf10ded3,0x0004002b,0x00000006,0x0000021f,
+ 0xbf1f9db2,0x0004002b,0x00000006,0x00000220,0x3f9710cb,0x0004002b,0x00000006,0x00000221,
+ 0xbf0d21ff,0x0004002b,0x00000006,0x00000222,0xbc7765fe,0x0004002b,0x00000006,0x00000223,
+ 0xbf20624e,0x0004002b,0x00000006,0x00000224,0x3f95bf48,0x0004002b,0x00000006,0x00000225,
+ 0xbf0902de,0x0004002b,0x00000006,0x00000226,0xbc9fbe77,0x0004002b,0x00000006,0x00000227,
+ 0xbf208312,0x0004002b,0x00000006,0x00000228,0x3f943fe6,0x0004002b,0x00000006,0x00000229,
+ 0xbf04a234,0x0004002b,0x00000006,0x0000022a,0xbcd42c3d,0x0004002b,0x00000006,0x0000022b,
+ 0xbf20ded3,0x0004002b,0x00000006,0x0000022c,0x3f929fbe,0x0004002b,0x00000006,0x0000022d,
+ 0xbf0020c5,0x0004002b,0x00000006,0x0000022e,0xbd01d7dc,0x0004002b,0x00000006,0x0000022f,
+ 0x3f904ea5,0x0004002b,0x00000006,0x00000230,0xbef53f7d,0x0004002b,0x00000006,0x00000231,
+ 0xbd1e1b09,0x0004002b,0x00000006,0x00000232,0x3f8df06f,0x0004002b,0x00000006,0x00000233,
+ 0xbee9fbe7,0x0004002b,0x00000006,0x00000234,0xbd39f55a,0x0004002b,0x00000006,0x00000235,
+ 0x3c902de0,0x0004002b,0x00000006,0x00000236,0xbf1e6320,0x0004002b,0x00000006,0x00000237,
+ 0x3f8b404f,0x0004002b,0x00000006,0x00000238,0xbede83e4,0x0004002b,0x00000006,0x00000239,
+ 0xbd59e83e,0x0004002b,0x00000006,0x0000023a,0xbf1d21ff,0x0004002b,0x00000006,0x0000023b,
+ 0x3f886f69,0x0004002b,0x00000006,0x0000023c,0xbed205bc,0x0004002b,0x00000006,0x0000023d,
+ 0xbd7be76d,0x0004002b,0x00000006,0x0000023e,0xbf1b5dcc,0x0004002b,0x00000006,0x0000023f,
+ 0x3f852f1b,0x0004002b,0x00000006,0x00000240,0xbec4c2f8,0x0004002b,0x00000006,0x00000241,
+ 0xbd8ef34d,0x0004002b,0x00000006,0x00000242,0x3c9fbe77,0x0004002b,0x00000006,0x00000243,
+ 0xbf19c0ec,0x0004002b,0x00000006,0x00000244,0x3f820f91,0x0004002b,0x00000006,0x00000245,
+ 0xbeb6fd22,0x0004002b,0x00000006,0x00000246,0xbda30553,0x0004002b,0x00000006,0x00000247,
+ 0xbf17c1be,0x0004002b,0x00000006,0x00000248,0x3f7d42c4,0x0004002b,0x00000006,0x00000249,
+ 0xbea83e42,0x0004002b,0x00000006,0x0000024a,0xbdb7e910,0x0004002b,0x00000006,0x0000024b,
+ 0xbf14fdf4,0x0004002b,0x00000006,0x0000024c,0x3f753f7d,0x0004002b,0x00000006,0x0000024d,
+ 0xbe98fc50,0x0004002b,0x00000006,0x0000024e,0xbdcd013b,0x0004002b,0x00000006,0x0000024f,
+ 0xbf12a305,0x0004002b,0x00000006,0x00000250,0x3f6de00d,0x0004002b,0x00000006,0x00000251,
+ 0xbe89ba5e,0x0004002b,0x00000006,0x00000252,0xbf0fdf3b,0x0004002b,0x00000006,0x00000253,
+ 0x3f65c28f,0x0004002b,0x00000006,0x00000254,0xbe727bb3,0x0004002b,0x00000006,0x00000255,
+ 0x3b7f9724,0x0004002b,0x00000006,0x00000256,0xbf0cbfb1,0x0004002b,0x00000006,0x00000257,
+ 0x3f5d42c4,0x0004002b,0x00000006,0x00000258,0xbe5182aa,0x0004002b,0x00000006,0x00000259,
+ 0xbe0985f0,0x0004002b,0x00000006,0x0000025a,0xbf097f63,0x0004002b,0x00000006,0x0000025b,
+ 0x3f54816f,0x0004002b,0x00000006,0x0000025c,0xbe2f0069,0x0004002b,0x00000006,0x0000025d,
+ 0xbe160419,0x0004002b,0x00000006,0x0000025e,0xbf061e4f,0x0004002b,0x00000006,0x0000025f,
+ 0x3f4b5dcc,0x0004002b,0x00000006,0x00000260,0xbe228241,0x0004002b,0x00000006,0x00000261,
+ 0x3bb0f27c,0x0004002b,0x00000006,0x00000262,0xbf02bd3c,0x0004002b,0x00000006,0x00000263,
+ 0x3f428241,0x0004002b,0x00000006,0x00000264,0xbdd119ce,0x0004002b,0x00000006,0x00000265,
+ 0xbe3089a0,0x0004002b,0x00000006,0x00000266,0xbefe425b,0x0004002b,0x00000006,0x00000267,
+ 0x3f391d15,0x0004002b,0x00000006,0x00000268,0xbd84ea4b,0x0004002b,0x00000006,0x00000269,
+ 0xbe3ef9db,0x0004002b,0x00000006,0x0000026a,0xbef6bb99,0x0004002b,0x00000006,0x0000026b,
+ 0x3f2f41f2,0x0004002b,0x00000006,0x0000026c,0xbcebedfa,0x0004002b,0x00000006,0x0000026d,
+ 0xbe4c7e28,0x0004002b,0x00000006,0x0000026e,0x3bded289,0x0004002b,0x00000006,0x0000026f,
+ 0xbeef0069,0x0004002b,0x00000006,0x00000270,0x3f256042,0x0004002b,0x00000006,0x00000271,
+ 0xbe5b8bac,0x0004002b,0x00000006,0x00000272,0xbee6c227,0x0004002b,0x00000006,0x00000273,
+ 0x3f1b020c,0x0004002b,0x00000006,0x00000274,0x3d4432ca,0x0004002b,0x00000006,0x00000275,
+ 0xbe6a7efa,0x0004002b,0x00000006,0x00000276,0x3c8c154d,0x0004002b,0x00000006,0x00000277,
+ 0xbedfbe77,0x0004002b,0x00000006,0x00000278,0x3dafec57,0x0004002b,0x00000006,0x00000279,
+ 0xbe7a786c,0x0004002b,0x00000006,0x0000027a,0x3c83e426,0x0004002b,0x00000006,0x0000027b,
+ 0xbed6fd22,0x0004002b,0x00000006,0x0000027c,0x3f073eab,0x0004002b,0x00000006,0x0000027d,
+ 0x3e008312,0x0004002b,0x00000006,0x0000027e,0xbe850481,0x0004002b,0x00000006,0x0000027f,
+ 0x3c20902e,0x0004002b,0x00000006,0x00000280,0xbecf41f2,0x0004002b,0x00000006,0x00000281,
+ 0x3efa0275,0x0004002b,0x00000006,0x00000282,0x3e2978d5,0x0004002b,0x00000006,0x00000283,
+ 0xbe8d013b,0x0004002b,0x00000006,0x00000284,0x3c7765fe,0x0004002b,0x00000006,0x00000285,
+ 0xbec703b0,0x0004002b,0x00000006,0x00000286,0x3ee63f14,0x0004002b,0x00000006,0x00000287,
+ 0x3e50ff97,0x0004002b,0x00000006,0x00000288,0xbe94fdf4,0x0004002b,0x00000006,0x00000289,
+ 0x3c2f4f0e,0x0004002b,0x00000006,0x0000028a,0xbebe00d2,0x0004002b,0x00000006,0x0000028b,
+ 0x3ed07c85,0x0004002b,0x00000006,0x0000028c,0x3e7a786c,0x0004002b,0x00000006,0x0000028d,
+ 0xbe9cfaad,0x0004002b,0x00000006,0x0000028e,0xbeb60419,0x0004002b,0x00000006,0x0000028f,
+ 0x3ebc01a3,0x0004002b,0x00000006,0x00000290,0x3e9205bc,0x0004002b,0x00000006,0x00000291,
+ 0xbea5460b,0x0004002b,0x00000006,0x00000292,0xbeadc5d6,0x0004002b,0x00000006,0x00000293,
+ 0x3ea703b0,0x0183002c,0x0000015f,0x00000294,0x0000009a,0x00000213,0x00000214,0x00000213,
+ 0x0000009a,0x0000009a,0x00000160,0x00000215,0x00000216,0x00000217,0x00000218,0x0000009a,
+ 0x000001a7,0x00000219,0x0000021a,0x0000021b,0x00000168,0x0000016e,0x000001b8,0x0000021c,
+ 0x0000021d,0x0000021e,0x0000016d,0x0000009a,0x000001c3,0x0000021f,0x00000220,0x00000221,
+ 0x00000222,0x0000009a,0x000001ce,0x00000223,0x00000224,0x00000225,0x00000226,0x0000016e,
+ 0x000001d3,0x00000227,0x00000228,0x00000229,0x0000022a,0x0000016e,0x00000174,0x0000022b,
+ 0x0000022c,0x0000022d,0x0000022e,0x0000016e,0x000001e1,0x00000223,0x0000022f,0x00000230,
+ 0x00000231,0x0000016e,0x00000179,0x0000021f,0x00000232,0x00000233,0x00000234,0x0000017e,
+ 0x00000235,0x00000236,0x00000237,0x00000238,0x00000239,0x0000017e,0x000001e9,0x0000023a,
+ 0x0000023b,0x0000023c,0x0000023d,0x00000184,0x000001ed,0x0000023e,0x0000023f,0x00000240,
+ 0x00000241,0x00000184,0x00000242,0x00000243,0x00000244,0x00000245,0x00000246,0x0000018a,
+ 0x000001f1,0x00000247,0x00000248,0x00000249,0x0000024a,0x00000190,0x000001f1,0x0000024b,
+ 0x0000024c,0x0000024d,0x0000024e,0x00000160,0x000001f1,0x0000024f,0x00000250,0x00000251,
+ 0x000001e5,0x0000019b,0x000001f1,0x00000252,0x00000253,0x00000254,0x000001f0,0x00000255,
+ 0x00000185,0x00000256,0x00000257,0x00000258,0x00000259,0x000001a1,0x000001f1,0x0000025a,
+ 0x0000025b,0x0000025c,0x0000025d,0x000001a7,0x00000242,0x0000025e,0x0000025f,0x000001ba,
+ 0x00000260,0x00000261,0x00000242,0x00000262,0x00000263,0x00000264,0x00000265,0x000001ad,
+ 0x000001ed,0x00000266,0x00000267,0x00000268,0x00000269,0x00000164,0x0000017f,0x0000026a,
+ 0x0000026b,0x0000026c,0x0000026d,0x0000026e,0x0000017f,0x0000026f,0x00000270,0x000001c3,
+ 0x00000271,0x000001b8,0x00000235,0x00000272,0x00000273,0x00000274,0x00000275,0x000001be,
+ 0x00000276,0x00000277,0x000001fa,0x00000278,0x00000279,0x00000169,0x0000027a,0x0000027b,
+ 0x0000027c,0x0000027d,0x0000027e,0x0000027f,0x0000027a,0x00000280,0x00000281,0x00000282,
+ 0x00000283,0x000001c9,0x00000284,0x00000285,0x00000286,0x00000287,0x00000288,0x00000289,
+ 0x00000174,0x0000028a,0x0000028b,0x0000028c,0x0000028d,0x0000016f,0x000001d8,0x0000028e,
+ 0x0000028f,0x00000290,0x00000291,0x000001d3,0x00000162,0x00000292,0x00000293,0x00000293,
+ 0x00000292,0x00000162,0x000001d3,0x00000291,0x00000290,0x0000028f,0x0000028e,0x000001d8,
+ 0x0000016f,0x0000028d,0x0000028c,0x0000028b,0x0000028a,0x00000174,0x00000289,0x00000288,
+ 0x00000287,0x00000286,0x00000285,0x00000284,0x000001c9,0x00000283,0x00000282,0x00000281,
+ 0x00000280,0x0000027a,0x0000027f,0x0000027e,0x0000027d,0x0000027c,0x0000027b,0x0000027a,
+ 0x00000169,0x00000279,0x00000278,0x000001fa,0x00000277,0x00000276,0x000001be,0x00000275,
+ 0x00000274,0x00000273,0x00000272,0x00000235,0x000001b8,0x00000271,0x000001c3,0x00000270,
+ 0x0000026f,0x0000017f,0x0000026e,0x0000026d,0x0000026c,0x0000026b,0x0000026a,0x0000017f,
+ 0x00000164,0x00000269,0x00000268,0x00000267,0x00000266,0x000001ed,0x000001ad,0x00000265,
+ 0x00000264,0x00000263,0x00000262,0x00000242,0x00000261,0x00000260,0x000001ba,0x0000025f,
+ 0x0000025e,0x00000242,0x000001a7,0x0000025d,0x0000025c,0x0000025b,0x0000025a,0x000001f1,
+ 0x000001a1,0x00000259,0x00000258,0x00000257,0x00000256,0x00000185,0x00000255,0x000001f0,
+ 0x00000254,0x00000253,0x00000252,0x000001f1,0x0000019b,0x000001e5,0x00000251,0x00000250,
+ 0x0000024f,0x000001f1,0x00000160,0x0000024e,0x0000024d,0x0000024c,0x0000024b,0x000001f1,
+ 0x00000190,0x0000024a,0x00000249,0x00000248,0x00000247,0x000001f1,0x0000018a,0x00000246,
+ 0x00000245,0x00000244,0x00000243,0x00000242,0x00000184,0x00000241,0x00000240,0x0000023f,
+ 0x0000023e,0x000001ed,0x00000184,0x0000023d,0x0000023c,0x0000023b,0x0000023a,0x000001e9,
+ 0x0000017e,0x00000239,0x00000238,0x00000237,0x00000236,0x00000235,0x0000017e,0x00000234,
+ 0x00000233,0x00000232,0x0000021f,0x00000179,0x0000016e,0x00000231,0x00000230,0x0000022f,
+ 0x00000223,0x000001e1,0x0000016e,0x0000022e,0x0000022d,0x0000022c,0x0000022b,0x00000174,
+ 0x0000016e,0x0000022a,0x00000229,0x00000228,0x00000227,0x000001d3,0x0000016e,0x00000226,
+ 0x00000225,0x00000224,0x00000223,0x000001ce,0x0000009a,0x00000222,0x00000221,0x00000220,
+ 0x0000021f,0x000001c3,0x0000009a,0x0000016d,0x0000021e,0x0000021d,0x0000021c,0x000001b8,
+ 0x0000016e,0x00000168,0x0000021b,0x0000021a,0x00000219,0x000001a7,0x0000009a,0x00000218,
+ 0x00000217,0x00000216,0x00000215,0x00000160,0x0004002b,0x00000025,0x000002a3,0x00000001,
+ 0x0004002b,0x00000006,0x000002a7,0x3ee66666,0x0004002b,0x00000006,0x000002a9,0x400e38e4,
+ 0x00040020,0x000002af,0x00000006,0x00000006,0x0004003b,0x000002af,0x000002b0,0x00000006,
+ 0x0004003b,0x000002af,0x000002b3,0x00000006,0x0004003b,0x000002af,0x000002bb,0x00000006,
+ 0x0004003b,0x000002af,0x000002be,0x00000006,0x0004002b,0x00000025,0x000002c9,0x00000002,
+ 0x0004002b,0x00000025,0x000002ca,0x00000003,0x0004002b,0x00000025,0x000002cb,0x00000004,
+ 0x0004002b,0x00000025,0x000002cc,0x00000005,0x0004002b,0x00000031,0x00000320,0x00000000,
+ 0x0004002b,0x00000031,0x00000345,0x00000001,0x0004002b,0x00000031,0x0000036a,0x00000002,
+ 0x0004002b,0x00000006,0x00000371,0x3f000000,0x0004002b,0x00000031,0x00000377,0x00000007,
+ 0x0004001c,0x00000378,0x00000006,0x00000377,0x00040020,0x00000379,0x00000007,0x00000378,
+ 0x0004002b,0x00000006,0x0000040a,0x42800000,0x0004002b,0x00000031,0x00000416,0x00000003,
+ 0x0005001e,0x000004c1,0x0000000e,0x0000000e,0x00000006,0x00040020,0x000004c2,0x00000009,
+ 0x000004c1,0x0004003b,0x000004c2,0x000004c3,0x00000009,0x00040020,0x000004c4,0x00000009,
+ 0x00000006,0x0004002b,0x00000006,0x000004ce,0x3fa00000,0x0004002b,0x00000006,0x000004cf,
+ 0x3fe00000,0x0004002b,0x00000006,0x000004d7,0x3ecccccd,0x0004002b,0x00000006,0x000004db,
+ 0x3f99999a,0x0004002b,0x00000006,0x000004e0,0x3fcccccd,0x0004002b,0x00000006,0x000004e4,
+ 0x3fe66666,0x0004002b,0x00000006,0x000004ea,0x3dcccccd,0x0004002b,0x00000006,0x000004eb,
+ 0x3e0f5c29,0x0004002b,0x00000006,0x000004ef,0x3ea3d70a,0x0004002b,0x00000006,0x000004f7,
+ 0x3f19999a,0x00040017,0x000004fd,0x00000006,0x00000002,0x00040020,0x000004fe,0x00000007,
+ 0x000004fd,0x00040020,0x00000500,0x00000009,0x0000000e,0x00040020,0x00000509,0x00000001,
+ 0x000004fd,0x0004003b,0x00000509,0x0000050a,0x00000001,0x00040020,0x0000050b,0x00000001,
+ 0x00000006,0x00090019,0x00000552,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,
+ 0x00000001,0x00000000,0x0003001b,0x00000553,0x00000552,0x00040020,0x00000554,0x00000000,
+ 0x00000553,0x0004003b,0x00000554,0x00000555,0x00000000,0x00040020,0x00000621,0x00000003,
+ 0x0000000e,0x0004003b,0x00000621,0x00000622,0x00000003,0x0004002b,0x00000006,0x0000062c,
+ 0x41200000,0x0004002b,0x00000006,0x0000062d,0x3f666666,0x0004002b,0x00000025,0x0000062e,
+ 0x00000040,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,
+ 0x0004003b,0x0000000d,0x000004c0,0x00000007,0x0004003b,0x0000000d,0x000004c8,0x00000007,
+ 0x0004003b,0x0000000d,0x000004cb,0x00000007,0x0004003b,0x0000000d,0x000004d1,0x00000007,
+ 0x0004003b,0x0000000d,0x000004d5,0x00000007,0x0004003b,0x0000000d,0x000004df,0x00000007,
+ 0x0004003b,0x0000000d,0x000004f3,0x00000007,0x0004003b,0x000004fe,0x000004ff,0x00000007,
+ 0x0004003b,0x000004fe,0x00000504,0x00000007,0x0004003b,0x0000000d,0x00000508,0x00000007,
+ 0x0004003b,0x0000000d,0x00000512,0x00000007,0x0004003b,0x0000000d,0x00000519,0x00000007,
+ 0x0004003b,0x0000000d,0x0000051c,0x00000007,0x0004003b,0x0000000d,0x0000051f,0x00000007,
+ 0x0004003b,0x0000000d,0x00000523,0x00000007,0x0004003b,0x00000026,0x00000527,0x00000007,
+ 0x0004003b,0x00000026,0x0000052b,0x00000007,0x0004003b,0x00000026,0x0000052f,0x00000007,
+ 0x0004003b,0x00000026,0x00000537,0x00000007,0x0004003b,0x000004fe,0x0000053f,0x00000007,
+ 0x0004003b,0x0000003b,0x0000054f,0x00000007,0x0004003b,0x00000008,0x00000559,0x00000007,
+ 0x0004003b,0x0000001b,0x00000561,0x00000007,0x0004003b,0x0000000d,0x00000562,0x00000007,
+ 0x0004003b,0x0000000d,0x00000565,0x00000007,0x0004003b,0x0000000d,0x00000568,0x00000007,
+ 0x0004003b,0x0000000d,0x0000056b,0x00000007,0x0004003b,0x0000000d,0x0000056e,0x00000007,
+ 0x0004003b,0x0000000d,0x00000571,0x00000007,0x0004003b,0x0000000d,0x00000574,0x00000007,
+ 0x0004003b,0x0000000d,0x00000577,0x00000007,0x0004003b,0x0000000d,0x0000057a,0x00000007,
+ 0x0004003b,0x0000001b,0x0000057e,0x00000007,0x0004003b,0x0000000d,0x0000057f,0x00000007,
+ 0x0004003b,0x0000000d,0x00000582,0x00000007,0x0004003b,0x0000000d,0x00000585,0x00000007,
+ 0x0004003b,0x0000000d,0x00000588,0x00000007,0x0004003b,0x0000000d,0x0000058b,0x00000007,
+ 0x0004003b,0x0000000d,0x0000058e,0x00000007,0x0004003b,0x0000000d,0x00000591,0x00000007,
+ 0x0004003b,0x0000000d,0x00000594,0x00000007,0x0004003b,0x0000000d,0x00000597,0x00000007,
+ 0x0004003b,0x0000001b,0x0000059b,0x00000007,0x0004003b,0x0000000d,0x0000059c,0x00000007,
+ 0x0004003b,0x0000000d,0x0000059f,0x00000007,0x0004003b,0x0000000d,0x000005a2,0x00000007,
+ 0x0004003b,0x0000000d,0x000005a5,0x00000007,0x0004003b,0x0000000d,0x000005a8,0x00000007,
+ 0x0004003b,0x0000000d,0x000005ab,0x00000007,0x0004003b,0x0000000d,0x000005ae,0x00000007,
+ 0x0004003b,0x0000000d,0x000005b1,0x00000007,0x0004003b,0x0000000d,0x000005b4,0x00000007,
+ 0x0004003b,0x0000001b,0x000005b8,0x00000007,0x0004003b,0x0000000d,0x000005b9,0x00000007,
+ 0x0004003b,0x0000000d,0x000005bc,0x00000007,0x0004003b,0x0000000d,0x000005bf,0x00000007,
+ 0x0004003b,0x0000000d,0x000005c2,0x00000007,0x0004003b,0x0000000d,0x000005c5,0x00000007,
+ 0x0004003b,0x0000000d,0x000005c8,0x00000007,0x0004003b,0x0000000d,0x000005cb,0x00000007,
+ 0x0004003b,0x0000000d,0x000005ce,0x00000007,0x0004003b,0x0000000d,0x000005d1,0x00000007,
+ 0x0004003b,0x0000001b,0x000005d5,0x00000007,0x0004003b,0x0000001b,0x000005d6,0x00000007,
+ 0x0004003b,0x0000001b,0x000005d8,0x00000007,0x0004003b,0x0000001b,0x000005da,0x00000007,
+ 0x0004003b,0x0000001b,0x000005dc,0x00000007,0x0004003b,0x0000000d,0x000005de,0x00000007,
+ 0x0004003b,0x0000000d,0x000005e0,0x00000007,0x0004003b,0x0000000d,0x000005e3,0x00000007,
+ 0x0004003b,0x0000000d,0x000005f0,0x00000007,0x0004003b,0x0000003b,0x000005f1,0x00000007,
+ 0x0004003b,0x00000026,0x000005f3,0x00000007,0x0004003b,0x00000026,0x000005f5,0x00000007,
+ 0x0004003b,0x0000003b,0x000005fa,0x00000007,0x0004003b,0x0000000d,0x000005fc,0x00000007,
+ 0x0004003b,0x0000000d,0x000005fe,0x00000007,0x0004003b,0x00000026,0x00000600,0x00000007,
+ 0x0004003b,0x00000026,0x00000602,0x00000007,0x0004003b,0x0000001b,0x00000604,0x00000007,
+ 0x0004003b,0x0000001b,0x00000609,0x00000007,0x0004003b,0x0000000d,0x0000060d,0x00000007,
+ 0x0004003b,0x00000008,0x0000060e,0x00000007,0x0004003b,0x0000000d,0x00000612,0x00000007,
+ 0x00050041,0x000004c4,0x000004c5,0x000004c3,0x000002c9,0x0004003d,0x00000006,0x000004c6,
+ 0x000004c5,0x0008000c,0x00000006,0x000004c7,0x00000001,0x0000002b,0x000004c6,0x0000009a,
+ 0x000000a8,0x0003003e,0x000004c0,0x000004c7,0x0004003d,0x00000006,0x000004c9,0x000004c0,
+ 0x00050083,0x00000006,0x000004ca,0x000004c9,0x00000371,0x0003003e,0x000004c8,0x000004ca,
+ 0x0004003d,0x00000006,0x000004cc,0x000004c8,0x000500be,0x0000009b,0x000004cd,0x000004cc,
+ 0x0000009a,0x000600a9,0x00000006,0x000004d0,0x000004cd,0x000004ce,0x000004cf,0x0003003e,
+ 0x000004cb,0x000004d0,0x0004003d,0x00000006,0x000004d2,0x000004c8,0x000500be,0x0000009b,
+ 0x000004d3,0x000004d2,0x0000009a,0x000600a9,0x00000006,0x000004d4,0x000004d3,0x000004ce,
+ 0x000000a8,0x0003003e,0x000004d1,0x000004d4,0x0004003d,0x00000006,0x000004d6,0x000004d1,
+ 0x0003003e,0x000004d5,0x000004d6,0x0004003d,0x00000006,0x000004d8,0x000004c8,0x0004003d,
+ 0x00000006,0x000004d9,0x000004d1,0x00050085,0x00000006,0x000004da,0x000004d8,0x000004d9,
+ 0x00050085,0x00000006,0x000004dc,0x000004da,0x000004db,0x00050081,0x00000006,0x000004dd,
+ 0x000004d7,0x000004dc,0x0007000c,0x00000006,0x000004de,0x00000001,0x00000028,0x0000009a,
+ 0x000004dd,0x0003003e,0x000002b3,0x000004de,0x0004003d,0x00000006,0x000004e1,0x000004c8,
+ 0x0004003d,0x00000006,0x000004e2,0x000004cb,0x00050085,0x00000006,0x000004e3,0x000004e1,
+ 0x000004e2,0x00050085,0x00000006,0x000004e5,0x000004e3,0x000004e4,0x00050081,0x00000006,
+ 0x000004e6,0x000004e0,0x000004e5,0x0003003e,0x000004df,0x000004e6,0x0004003d,0x00000006,
+ 0x000004e7,0x000004df,0x0004003d,0x00000006,0x000004e8,0x000002b3,0x00050083,0x00000006,
+ 0x000004e9,0x000004e7,0x000004e8,0x0003003e,0x000002b0,0x000004e9,0x0004003d,0x00000006,
+ 0x000004ec,0x000004c8,0x0004003d,0x00000006,0x000004ed,0x000004d5,0x00050085,0x00000006,
+ 0x000004ee,0x000004ec,0x000004ed,0x00050085,0x00000006,0x000004f0,0x000004ee,0x000004ef,
+ 0x00050081,0x00000006,0x000004f1,0x000004eb,0x000004f0,0x0007000c,0x00000006,0x000004f2,
+ 0x00000001,0x00000028,0x000004ea,0x000004f1,0x0003003e,0x000002be,0x000004f2,0x0004003d,
+ 0x00000006,0x000004f4,0x000004c8,0x0004003d,0x00000006,0x000004f5,0x000004d5,0x00050085,
+ 0x00000006,0x000004f6,0x000004f4,0x000004f5,0x00050085,0x00000006,0x000004f8,0x000004f6,
+ 0x000004f7,0x00050081,0x00000006,0x000004f9,0x00000371,0x000004f8,0x0003003e,0x000004f3,
+ 0x000004f9,0x0004003d,0x00000006,0x000004fa,0x000004f3,0x0004003d,0x00000006,0x000004fb,
+ 0x000002be,0x00050083,0x00000006,0x000004fc,0x000004fa,0x000004fb,0x0003003e,0x000002bb,
+ 0x000004fc,0x00050041,0x00000500,0x00000501,0x000004c3,0x000002a3,0x0004003d,0x0000000e,
+ 0x00000502,0x00000501,0x0007004f,0x000004fd,0x00000503,0x00000502,0x00000502,0x00000002,
+ 0x00000003,0x0003003e,0x000004ff,0x00000503,0x00050041,0x00000500,0x00000505,0x000004c3,
+ 0x000002a3,0x0004003d,0x0000000e,0x00000506,0x00000505,0x0007004f,0x000004fd,0x00000507,
+ 0x00000506,0x00000506,0x00000000,0x00000001,0x0003003e,0x00000504,0x00000507,0x00050041,
+ 0x0000050b,0x0000050c,0x0000050a,0x00000320,0x0004003d,0x00000006,0x0000050d,0x0000050c,
+ 0x00050041,0x0000000d,0x0000050e,0x000004ff,0x00000320,0x0004003d,0x00000006,0x0000050f,
+ 0x0000050e,0x00050085,0x00000006,0x00000510,0x0000050d,0x0000050f,0x00050083,0x00000006,
+ 0x00000511,0x00000510,0x00000371,0x0003003e,0x00000508,0x00000511,0x00050041,0x0000050b,
+ 0x00000513,0x0000050a,0x00000345,0x0004003d,0x00000006,0x00000514,0x00000513,0x00050041,
+ 0x0000000d,0x00000515,0x000004ff,0x00000345,0x0004003d,0x00000006,0x00000516,0x00000515,
+ 0x00050085,0x00000006,0x00000517,0x00000514,0x00000516,0x00050083,0x00000006,0x00000518,
+ 0x00000517,0x00000371,0x0003003e,0x00000512,0x00000518,0x0004003d,0x00000006,0x0000051a,
+ 0x00000508,0x0006000c,0x00000006,0x0000051b,0x00000001,0x00000008,0x0000051a,0x0003003e,
+ 0x00000519,0x0000051b,0x0004003d,0x00000006,0x0000051d,0x00000512,0x0006000c,0x00000006,
+ 0x0000051e,0x00000001,0x00000008,0x0000051d,0x0003003e,0x0000051c,0x0000051e,0x0004003d,
+ 0x00000006,0x00000520,0x00000508,0x0004003d,0x00000006,0x00000521,0x00000519,0x00050083,
+ 0x00000006,0x00000522,0x00000520,0x00000521,0x0003003e,0x0000051f,0x00000522,0x0004003d,
+ 0x00000006,0x00000524,0x00000512,0x0004003d,0x00000006,0x00000525,0x0000051c,0x00050083,
+ 0x00000006,0x00000526,0x00000524,0x00000525,0x0003003e,0x00000523,0x00000526,0x0004003d,
+ 0x00000006,0x00000528,0x0000051f,0x00050085,0x00000006,0x00000529,0x00000528,0x0000040a,
+ 0x0004006e,0x00000025,0x0000052a,0x00000529,0x0003003e,0x00000527,0x0000052a,0x0004003d,
+ 0x00000006,0x0000052c,0x00000523,0x00050085,0x00000006,0x0000052d,0x0000052c,0x0000040a,
+ 0x0004006e,0x00000025,0x0000052e,0x0000052d,0x0003003e,0x0000052b,0x0000052e,0x0003003e,
+ 0x0000052f,0x00000150,0x000200f9,0x00000530,0x000200f8,0x00000530,0x000400f6,0x00000532,
+ 0x00000533,0x00000000,0x000200f9,0x00000534,0x000200f8,0x00000534,0x0004003d,0x00000025,
+ 0x00000535,0x0000052f,0x000500b1,0x0000009b,0x00000536,0x00000535,0x0000015c,0x000400fa,
+ 0x00000536,0x00000531,0x00000532,0x000200f8,0x00000531,0x0003003e,0x00000537,0x00000150,
+ 0x000200f9,0x00000538,0x000200f8,0x00000538,0x000400f6,0x0000053a,0x0000053b,0x00000000,
+ 0x000200f9,0x0000053c,0x000200f8,0x0000053c,0x0004003d,0x00000025,0x0000053d,0x00000537,
+ 0x000500b1,0x0000009b,0x0000053e,0x0000053d,0x0000015c,0x000400fa,0x0000053e,0x00000539,
+ 0x0000053a,0x000200f8,0x00000539,0x0004003d,0x00000006,0x00000540,0x00000519,0x0004003d,
+ 0x00000025,0x00000541,0x00000537,0x0004006f,0x00000006,0x00000542,0x00000541,0x00050081,
+ 0x00000006,0x00000543,0x00000540,0x00000542,0x00050083,0x00000006,0x00000544,0x00000543,
+ 0x00000146,0x0004003d,0x00000006,0x00000545,0x0000051c,0x0004003d,0x00000025,0x00000546,
+ 0x0000052f,0x0004006f,0x00000006,0x00000547,0x00000546,0x00050081,0x00000006,0x00000548,
+ 0x00000545,0x00000547,0x00050083,0x00000006,0x00000549,0x00000548,0x00000146,0x00050050,
+ 0x000004fd,0x0000054a,0x00000544,0x00000549,0x00050050,0x000004fd,0x0000054b,0x00000371,
+ 0x00000371,0x00050081,0x000004fd,0x0000054c,0x0000054a,0x0000054b,0x0004003d,0x000004fd,
+ 0x0000054d,0x00000504,0x00050085,0x000004fd,0x0000054e,0x0000054c,0x0000054d,0x0003003e,
+ 0x0000053f,0x0000054e,0x0004003d,0x00000025,0x00000550,0x0000052f,0x0004003d,0x00000025,
+ 0x00000551,0x00000537,0x0004003d,0x00000553,0x00000556,0x00000555,0x0004003d,0x000004fd,
+ 0x00000557,0x0000053f,0x00070058,0x0000000e,0x00000558,0x00000556,0x00000557,0x00000002,
+ 0x0000009a,0x0008004f,0x00000007,0x0000055a,0x00000558,0x00000558,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x00000559,0x0000055a,0x00050039,0x00000006,0x0000055b,0x0000000b,
+ 0x00000559,0x00060041,0x0000000d,0x0000055c,0x0000054f,0x00000550,0x00000551,0x0003003e,
+ 0x0000055c,0x0000055b,0x000200f9,0x0000053b,0x000200f8,0x0000053b,0x0004003d,0x00000025,
+ 0x0000055d,0x00000537,0x00050080,0x00000025,0x0000055e,0x0000055d,0x000002a3,0x0003003e,
+ 0x00000537,0x0000055e,0x000200f9,0x00000538,0x000200f8,0x0000053a,0x000200f9,0x00000533,
+ 0x000200f8,0x00000533,0x0004003d,0x00000025,0x0000055f,0x0000052f,0x00050080,0x00000025,
+ 0x00000560,0x0000055f,0x000002a3,0x0003003e,0x0000052f,0x00000560,0x000200f9,0x00000530,
+ 0x000200f8,0x00000532,0x00060041,0x0000000d,0x00000563,0x0000054f,0x000002a3,0x000002a3,
+ 0x0004003d,0x00000006,0x00000564,0x00000563,0x0003003e,0x00000562,0x00000564,0x00060041,
+ 0x0000000d,0x00000566,0x0000054f,0x000002a3,0x000002c9,0x0004003d,0x00000006,0x00000567,
+ 0x00000566,0x0003003e,0x00000565,0x00000567,0x00060041,0x0000000d,0x00000569,0x0000054f,
+ 0x000002a3,0x000002ca,0x0004003d,0x00000006,0x0000056a,0x00000569,0x0003003e,0x00000568,
+ 0x0000056a,0x00060041,0x0000000d,0x0000056c,0x0000054f,0x000002c9,0x000002a3,0x0004003d,
+ 0x00000006,0x0000056d,0x0000056c,0x0003003e,0x0000056b,0x0000056d,0x00060041,0x0000000d,
+ 0x0000056f,0x0000054f,0x000002c9,0x000002c9,0x0004003d,0x00000006,0x00000570,0x0000056f,
+ 0x0003003e,0x0000056e,0x00000570,0x00060041,0x0000000d,0x00000572,0x0000054f,0x000002c9,
+ 0x000002ca,0x0004003d,0x00000006,0x00000573,0x00000572,0x0003003e,0x00000571,0x00000573,
+ 0x00060041,0x0000000d,0x00000575,0x0000054f,0x000002ca,0x000002a3,0x0004003d,0x00000006,
+ 0x00000576,0x00000575,0x0003003e,0x00000574,0x00000576,0x00060041,0x0000000d,0x00000578,
+ 0x0000054f,0x000002ca,0x000002c9,0x0004003d,0x00000006,0x00000579,0x00000578,0x0003003e,
+ 0x00000577,0x00000579,0x00060041,0x0000000d,0x0000057b,0x0000054f,0x000002ca,0x000002ca,
+ 0x0004003d,0x00000006,0x0000057c,0x0000057b,0x0003003e,0x0000057a,0x0000057c,0x000d0039,
+ 0x0000000e,0x0000057d,0x00000019,0x00000562,0x00000565,0x00000568,0x0000056b,0x0000056e,
+ 0x00000571,0x00000574,0x00000577,0x0000057a,0x0003003e,0x00000561,0x0000057d,0x00060041,
+ 0x0000000d,0x00000580,0x0000054f,0x000002a3,0x000002c9,0x0004003d,0x00000006,0x00000581,
+ 0x00000580,0x0003003e,0x0000057f,0x00000581,0x00060041,0x0000000d,0x00000583,0x0000054f,
+ 0x000002a3,0x000002ca,0x0004003d,0x00000006,0x00000584,0x00000583,0x0003003e,0x00000582,
+ 0x00000584,0x00060041,0x0000000d,0x00000586,0x0000054f,0x000002a3,0x000002cb,0x0004003d,
+ 0x00000006,0x00000587,0x00000586,0x0003003e,0x00000585,0x00000587,0x00060041,0x0000000d,
+ 0x00000589,0x0000054f,0x000002c9,0x000002c9,0x0004003d,0x00000006,0x0000058a,0x00000589,
+ 0x0003003e,0x00000588,0x0000058a,0x00060041,0x0000000d,0x0000058c,0x0000054f,0x000002c9,
+ 0x000002ca,0x0004003d,0x00000006,0x0000058d,0x0000058c,0x0003003e,0x0000058b,0x0000058d,
+ 0x00060041,0x0000000d,0x0000058f,0x0000054f,0x000002c9,0x000002cb,0x0004003d,0x00000006,
+ 0x00000590,0x0000058f,0x0003003e,0x0000058e,0x00000590,0x00060041,0x0000000d,0x00000592,
+ 0x0000054f,0x000002ca,0x000002c9,0x0004003d,0x00000006,0x00000593,0x00000592,0x0003003e,
+ 0x00000591,0x00000593,0x00060041,0x0000000d,0x00000595,0x0000054f,0x000002ca,0x000002ca,
+ 0x0004003d,0x00000006,0x00000596,0x00000595,0x0003003e,0x00000594,0x00000596,0x00060041,
+ 0x0000000d,0x00000598,0x0000054f,0x000002ca,0x000002cb,0x0004003d,0x00000006,0x00000599,
+ 0x00000598,0x0003003e,0x00000597,0x00000599,0x000d0039,0x0000000e,0x0000059a,0x00000019,
+ 0x0000057f,0x00000582,0x00000585,0x00000588,0x0000058b,0x0000058e,0x00000591,0x00000594,
+ 0x00000597,0x0003003e,0x0000057e,0x0000059a,0x00060041,0x0000000d,0x0000059d,0x0000054f,
+ 0x000002c9,0x000002a3,0x0004003d,0x00000006,0x0000059e,0x0000059d,0x0003003e,0x0000059c,
+ 0x0000059e,0x00060041,0x0000000d,0x000005a0,0x0000054f,0x000002c9,0x000002c9,0x0004003d,
+ 0x00000006,0x000005a1,0x000005a0,0x0003003e,0x0000059f,0x000005a1,0x00060041,0x0000000d,
+ 0x000005a3,0x0000054f,0x000002c9,0x000002ca,0x0004003d,0x00000006,0x000005a4,0x000005a3,
+ 0x0003003e,0x000005a2,0x000005a4,0x00060041,0x0000000d,0x000005a6,0x0000054f,0x000002ca,
+ 0x000002a3,0x0004003d,0x00000006,0x000005a7,0x000005a6,0x0003003e,0x000005a5,0x000005a7,
+ 0x00060041,0x0000000d,0x000005a9,0x0000054f,0x000002ca,0x000002c9,0x0004003d,0x00000006,
+ 0x000005aa,0x000005a9,0x0003003e,0x000005a8,0x000005aa,0x00060041,0x0000000d,0x000005ac,
+ 0x0000054f,0x000002ca,0x000002ca,0x0004003d,0x00000006,0x000005ad,0x000005ac,0x0003003e,
+ 0x000005ab,0x000005ad,0x00060041,0x0000000d,0x000005af,0x0000054f,0x000002cb,0x000002a3,
+ 0x0004003d,0x00000006,0x000005b0,0x000005af,0x0003003e,0x000005ae,0x000005b0,0x00060041,
+ 0x0000000d,0x000005b2,0x0000054f,0x000002cb,0x000002c9,0x0004003d,0x00000006,0x000005b3,
+ 0x000005b2,0x0003003e,0x000005b1,0x000005b3,0x00060041,0x0000000d,0x000005b5,0x0000054f,
+ 0x000002cb,0x000002ca,0x0004003d,0x00000006,0x000005b6,0x000005b5,0x0003003e,0x000005b4,
+ 0x000005b6,0x000d0039,0x0000000e,0x000005b7,0x00000019,0x0000059c,0x0000059f,0x000005a2,
+ 0x000005a5,0x000005a8,0x000005ab,0x000005ae,0x000005b1,0x000005b4,0x0003003e,0x0000059b,
+ 0x000005b7,0x00060041,0x0000000d,0x000005ba,0x0000054f,0x000002c9,0x000002c9,0x0004003d,
+ 0x00000006,0x000005bb,0x000005ba,0x0003003e,0x000005b9,0x000005bb,0x00060041,0x0000000d,
+ 0x000005bd,0x0000054f,0x000002c9,0x000002ca,0x0004003d,0x00000006,0x000005be,0x000005bd,
+ 0x0003003e,0x000005bc,0x000005be,0x00060041,0x0000000d,0x000005c0,0x0000054f,0x000002c9,
+ 0x000002cb,0x0004003d,0x00000006,0x000005c1,0x000005c0,0x0003003e,0x000005bf,0x000005c1,
+ 0x00060041,0x0000000d,0x000005c3,0x0000054f,0x000002ca,0x000002c9,0x0004003d,0x00000006,
+ 0x000005c4,0x000005c3,0x0003003e,0x000005c2,0x000005c4,0x00060041,0x0000000d,0x000005c6,
+ 0x0000054f,0x000002ca,0x000002ca,0x0004003d,0x00000006,0x000005c7,0x000005c6,0x0003003e,
+ 0x000005c5,0x000005c7,0x00060041,0x0000000d,0x000005c9,0x0000054f,0x000002ca,0x000002cb,
+ 0x0004003d,0x00000006,0x000005ca,0x000005c9,0x0003003e,0x000005c8,0x000005ca,0x00060041,
+ 0x0000000d,0x000005cc,0x0000054f,0x000002cb,0x000002c9,0x0004003d,0x00000006,0x000005cd,
+ 0x000005cc,0x0003003e,0x000005cb,0x000005cd,0x00060041,0x0000000d,0x000005cf,0x0000054f,
+ 0x000002cb,0x000002ca,0x0004003d,0x00000006,0x000005d0,0x000005cf,0x0003003e,0x000005ce,
+ 0x000005d0,0x00060041,0x0000000d,0x000005d2,0x0000054f,0x000002cb,0x000002cb,0x0004003d,
+ 0x00000006,0x000005d3,0x000005d2,0x0003003e,0x000005d1,0x000005d3,0x000d0039,0x0000000e,
+ 0x000005d4,0x00000019,0x000005b9,0x000005bc,0x000005bf,0x000005c2,0x000005c5,0x000005c8,
+ 0x000005cb,0x000005ce,0x000005d1,0x0003003e,0x000005b8,0x000005d4,0x0004003d,0x0000000e,
+ 0x000005d7,0x00000561,0x0003003e,0x000005d6,0x000005d7,0x0004003d,0x0000000e,0x000005d9,
+ 0x0000057e,0x0003003e,0x000005d8,0x000005d9,0x0004003d,0x0000000e,0x000005db,0x0000059b,
+ 0x0003003e,0x000005da,0x000005db,0x0004003d,0x0000000e,0x000005dd,0x000005b8,0x0003003e,
+ 0x000005dc,0x000005dd,0x0004003d,0x00000006,0x000005df,0x0000051f,0x0003003e,0x000005de,
+ 0x000005df,0x0004003d,0x00000006,0x000005e1,0x00000523,0x0003003e,0x000005e0,0x000005e1,
+ 0x000a0039,0x0000000e,0x000005e2,0x00000023,0x000005d6,0x000005d8,0x000005da,0x000005dc,
+ 0x000005de,0x000005e0,0x0003003e,0x000005d5,0x000005e2,0x00050041,0x0000000d,0x000005e4,
+ 0x000005d5,0x00000320,0x0004003d,0x00000006,0x000005e5,0x000005e4,0x00050083,0x00000006,
+ 0x000005e6,0x000000a8,0x000005e5,0x00050041,0x0000000d,0x000005e7,0x000005d5,0x00000345,
+ 0x0004003d,0x00000006,0x000005e8,0x000005e7,0x00050083,0x00000006,0x000005e9,0x000005e6,
+ 0x000005e8,0x00050041,0x0000000d,0x000005ea,0x000005d5,0x0000036a,0x0004003d,0x00000006,
+ 0x000005eb,0x000005ea,0x00050083,0x00000006,0x000005ec,0x000005e9,0x000005eb,0x00050041,
+ 0x0000000d,0x000005ed,0x000005d5,0x00000416,0x0004003d,0x00000006,0x000005ee,0x000005ed,
+ 0x00050083,0x00000006,0x000005ef,0x000005ec,0x000005ee,0x0003003e,0x000005e3,0x000005ef,
+ 0x0004003d,0x0000003a,0x000005f2,0x0000054f,0x0003003e,0x000005f1,0x000005f2,0x0004003d,
+ 0x00000025,0x000005f4,0x00000527,0x0003003e,0x000005f3,0x000005f4,0x0004003d,0x00000025,
+ 0x000005f6,0x0000052b,0x0003003e,0x000005f5,0x000005f6,0x00070039,0x00000006,0x000005f7,
+ 0x00000040,0x000005f1,0x000005f3,0x000005f5,0x0004003d,0x00000006,0x000005f8,0x000005e3,
+ 0x00050085,0x00000006,0x000005f9,0x000005f7,0x000005f8,0x0003003e,0x000005f0,0x000005f9,
+ 0x0004003d,0x0000003a,0x000005fb,0x0000054f,0x0003003e,0x000005fa,0x000005fb,0x0004003d,
+ 0x00000006,0x000005fd,0x0000051f,0x0003003e,0x000005fc,0x000005fd,0x0004003d,0x00000006,
+ 0x000005ff,0x00000523,0x0003003e,0x000005fe,0x000005ff,0x0004003d,0x00000025,0x00000601,
+ 0x00000527,0x0003003e,0x00000600,0x00000601,0x0004003d,0x00000025,0x00000603,0x0000052b,
+ 0x0003003e,0x00000602,0x00000603,0x0004003d,0x0000000e,0x00000605,0x000005d5,0x0003003e,
+ 0x00000604,0x00000605,0x000a0039,0x00000006,0x00000606,0x00000049,0x000005fa,0x000005fc,
+ 0x000005fe,0x00000600,0x00000602,0x00000604,0x0004003d,0x00000006,0x00000607,0x000005f0,
+ 0x00050081,0x00000006,0x00000608,0x00000607,0x00000606,0x0003003e,0x000005f0,0x00000608,
+ 0x0004003d,0x00000553,0x0000060a,0x00000555,0x0004003d,0x000004fd,0x0000060b,0x0000050a,
+ 0x00050057,0x0000000e,0x0000060c,0x0000060a,0x0000060b,0x0003003e,0x00000609,0x0000060c,
+ 0x0004003d,0x0000000e,0x0000060f,0x00000609,0x0008004f,0x00000007,0x00000610,0x0000060f,
+ 0x0000060f,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000060e,0x00000610,0x00050039,
+ 0x00000006,0x00000611,0x0000000b,0x0000060e,0x0003003e,0x0000060d,0x00000611,0x0004003d,
+ 0x00000006,0x00000613,0x000005f0,0x0004003d,0x00000006,0x00000614,0x0000060d,0x00050083,
+ 0x00000006,0x00000615,0x00000613,0x00000614,0x0003003e,0x00000612,0x00000615,0x0004003d,
+ 0x00000006,0x00000616,0x00000612,0x00060050,0x00000007,0x00000617,0x00000616,0x00000616,
+ 0x00000616,0x0004003d,0x0000000e,0x00000618,0x00000609,0x0008004f,0x00000007,0x00000619,
+ 0x00000618,0x00000618,0x00000000,0x00000001,0x00000002,0x00050081,0x00000007,0x0000061a,
+ 0x00000619,0x00000617,0x00050041,0x0000000d,0x0000061b,0x00000609,0x00000320,0x00050051,
+ 0x00000006,0x0000061c,0x0000061a,0x00000000,0x0003003e,0x0000061b,0x0000061c,0x00050041,
+ 0x0000000d,0x0000061d,0x00000609,0x00000345,0x00050051,0x00000006,0x0000061e,0x0000061a,
+ 0x00000001,0x0003003e,0x0000061d,0x0000061e,0x00050041,0x0000000d,0x0000061f,0x00000609,
+ 0x0000036a,0x00050051,0x00000006,0x00000620,0x0000061a,0x00000002,0x0003003e,0x0000061f,
+ 0x00000620,0x0004003d,0x0000000e,0x00000623,0x00000609,0x0008004f,0x00000007,0x00000624,
+ 0x00000623,0x00000623,0x00000000,0x00000001,0x00000002,0x00060050,0x00000007,0x00000625,
+ 0x0000009a,0x0000009a,0x0000009a,0x00060050,0x00000007,0x00000626,0x000000a8,0x000000a8,
+ 0x000000a8,0x0008000c,0x00000007,0x00000627,0x00000001,0x0000002b,0x00000624,0x00000625,
+ 0x00000626,0x00050051,0x00000006,0x00000628,0x00000627,0x00000000,0x00050051,0x00000006,
+ 0x00000629,0x00000627,0x00000001,0x00050051,0x00000006,0x0000062a,0x00000627,0x00000002,
+ 0x00070050,0x0000000e,0x0000062b,0x00000628,0x00000629,0x0000062a,0x000000a8,0x0003003e,
+ 0x00000622,0x0000062b,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000b,0x00000000,
+ 0x00000009,0x00030037,0x00000008,0x0000000a,0x000200f8,0x0000000c,0x0004003d,0x00000007,
+ 0x0000004b,0x0000000a,0x00050094,0x00000006,0x00000050,0x0000004b,0x0000004f,0x000200fe,
+ 0x00000050,0x00010038,0x00050036,0x0000000e,0x00000019,0x00000000,0x0000000f,0x00030037,
+ 0x0000000d,0x00000010,0x00030037,0x0000000d,0x00000011,0x00030037,0x0000000d,0x00000012,
+ 0x00030037,0x0000000d,0x00000013,0x00030037,0x0000000d,0x00000014,0x00030037,0x0000000d,
+ 0x00000015,0x00030037,0x0000000d,0x00000016,0x00030037,0x0000000d,0x00000017,0x00030037,
+ 0x0000000d,0x00000018,0x000200f8,0x0000001a,0x0004003b,0x0000000d,0x00000053,0x00000007,
+ 0x0004003b,0x0000000d,0x00000060,0x00000007,0x0004003b,0x0000000d,0x0000006d,0x00000007,
+ 0x0004003b,0x0000000d,0x0000007a,0x00000007,0x0004003b,0x0000000d,0x00000087,0x00000007,
+ 0x0004003b,0x0000000d,0x0000008b,0x00000007,0x0004003b,0x0000000d,0x0000008f,0x00000007,
+ 0x0004003b,0x0000000d,0x00000093,0x00000007,0x0004003b,0x0000000d,0x000000a1,0x00000007,
+ 0x0004003b,0x0000000d,0x000000a7,0x00000007,0x0004003b,0x000000ab,0x000000ac,0x00000007,
+ 0x0004003b,0x000000ab,0x000000ba,0x00000007,0x0004003b,0x000000ab,0x000000c6,0x00000007,
+ 0x0004003b,0x000000ab,0x000000ca,0x00000007,0x0004003b,0x0000000d,0x000000ce,0x00000007,
+ 0x0004003b,0x0000000d,0x000000d4,0x00000007,0x0004003b,0x0000000d,0x000000da,0x00000007,
+ 0x0004003b,0x0000000d,0x000000e0,0x00000007,0x0004003b,0x0000000d,0x000000e7,0x00000007,
+ 0x0004003b,0x0000000d,0x000000ed,0x00000007,0x0004003d,0x00000006,0x00000054,0x00000010,
+ 0x0004003d,0x00000006,0x00000055,0x00000011,0x00050081,0x00000006,0x00000056,0x00000054,
+ 0x00000055,0x0004003d,0x00000006,0x00000057,0x00000012,0x00050081,0x00000006,0x00000058,
+ 0x00000056,0x00000057,0x0004003d,0x00000006,0x00000059,0x00000016,0x00050083,0x00000006,
+ 0x0000005a,0x00000058,0x00000059,0x0004003d,0x00000006,0x0000005b,0x00000017,0x00050083,
+ 0x00000006,0x0000005c,0x0000005a,0x0000005b,0x0004003d,0x00000006,0x0000005d,0x00000018,
+ 0x00050083,0x00000006,0x0000005e,0x0000005c,0x0000005d,0x0006000c,0x00000006,0x0000005f,
+ 0x00000001,0x00000004,0x0000005e,0x0003003e,0x00000053,0x0000005f,0x0004003d,0x00000006,
+ 0x00000061,0x00000013,0x0004003d,0x00000006,0x00000062,0x00000010,0x00050081,0x00000006,
+ 0x00000063,0x00000061,0x00000062,0x0004003d,0x00000006,0x00000064,0x00000011,0x00050081,
+ 0x00000006,0x00000065,0x00000063,0x00000064,0x0004003d,0x00000006,0x00000066,0x00000017,
+ 0x00050083,0x00000006,0x00000067,0x00000065,0x00000066,0x0004003d,0x00000006,0x00000068,
+ 0x00000018,0x00050083,0x00000006,0x00000069,0x00000067,0x00000068,0x0004003d,0x00000006,
+ 0x0000006a,0x00000015,0x00050083,0x00000006,0x0000006b,0x00000069,0x0000006a,0x0006000c,
+ 0x00000006,0x0000006c,0x00000001,0x00000004,0x0000006b,0x0003003e,0x00000060,0x0000006c,
+ 0x0004003d,0x00000006,0x0000006e,0x00000010,0x0004003d,0x00000006,0x0000006f,0x00000013,
+ 0x00050081,0x00000006,0x00000070,0x0000006e,0x0000006f,0x0004003d,0x00000006,0x00000071,
+ 0x00000016,0x00050081,0x00000006,0x00000072,0x00000070,0x00000071,0x0004003d,0x00000006,
+ 0x00000073,0x00000012,0x00050083,0x00000006,0x00000074,0x00000072,0x00000073,0x0004003d,
+ 0x00000006,0x00000075,0x00000015,0x00050083,0x00000006,0x00000076,0x00000074,0x00000075,
+ 0x0004003d,0x00000006,0x00000077,0x00000018,0x00050083,0x00000006,0x00000078,0x00000076,
+ 0x00000077,0x0006000c,0x00000006,0x00000079,0x00000001,0x00000004,0x00000078,0x0003003e,
+ 0x0000006d,0x00000079,0x0004003d,0x00000006,0x0000007b,0x00000013,0x0004003d,0x00000006,
+ 0x0000007c,0x00000016,0x00050081,0x00000006,0x0000007d,0x0000007b,0x0000007c,0x0004003d,
+ 0x00000006,0x0000007e,0x00000017,0x00050081,0x00000006,0x0000007f,0x0000007d,0x0000007e,
+ 0x0004003d,0x00000006,0x00000080,0x00000011,0x00050083,0x00000006,0x00000081,0x0000007f,
+ 0x00000080,0x0004003d,0x00000006,0x00000082,0x00000012,0x00050083,0x00000006,0x00000083,
+ 0x00000081,0x00000082,0x0004003d,0x00000006,0x00000084,0x00000015,0x00050083,0x00000006,
+ 0x00000085,0x00000083,0x00000084,0x0006000c,0x00000006,0x00000086,0x00000001,0x00000004,
+ 0x00000085,0x0003003e,0x0000007a,0x00000086,0x0004003d,0x00000006,0x00000088,0x00000053,
+ 0x0004003d,0x00000006,0x00000089,0x0000006d,0x0007000c,0x00000006,0x0000008a,0x00000001,
+ 0x00000028,0x00000088,0x00000089,0x0003003e,0x00000087,0x0000008a,0x0004003d,0x00000006,
+ 0x0000008c,0x00000053,0x0004003d,0x00000006,0x0000008d,0x0000006d,0x0007000c,0x00000006,
+ 0x0000008e,0x00000001,0x00000025,0x0000008c,0x0000008d,0x0003003e,0x0000008b,0x0000008e,
+ 0x0004003d,0x00000006,0x00000090,0x00000060,0x0004003d,0x00000006,0x00000091,0x0000007a,
+ 0x0007000c,0x00000006,0x00000092,0x00000001,0x00000028,0x00000090,0x00000091,0x0003003e,
+ 0x0000008f,0x00000092,0x0004003d,0x00000006,0x00000094,0x00000060,0x0004003d,0x00000006,
+ 0x00000095,0x0000007a,0x0007000c,0x00000006,0x00000096,0x00000001,0x00000025,0x00000094,
+ 0x00000095,0x0003003e,0x00000093,0x00000096,0x0004003d,0x00000006,0x00000097,0x00000087,
+ 0x0004003d,0x00000006,0x00000098,0x0000008f,0x00050081,0x00000006,0x00000099,0x00000097,
+ 0x00000098,0x000500b4,0x0000009b,0x0000009c,0x00000099,0x0000009a,0x000300f7,0x0000009e,
+ 0x00000000,0x000400fa,0x0000009c,0x0000009d,0x0000009e,0x000200f8,0x0000009d,0x000200fe,
+ 0x0000009f,0x000200f8,0x0000009e,0x0004003d,0x00000006,0x000000a2,0x00000087,0x0004003d,
+ 0x00000006,0x000000a3,0x00000087,0x0004003d,0x00000006,0x000000a4,0x0000008f,0x00050081,
+ 0x00000006,0x000000a5,0x000000a3,0x000000a4,0x00050088,0x00000006,0x000000a6,0x000000a2,
+ 0x000000a5,0x0003003e,0x000000a1,0x000000a6,0x0004003d,0x00000006,0x000000a9,0x000000a1,
+ 0x00050083,0x00000006,0x000000aa,0x000000a8,0x000000a9,0x0003003e,0x000000a7,0x000000aa,
+ 0x0004003d,0x00000006,0x000000ad,0x00000087,0x0004003d,0x00000006,0x000000ae,0x0000008b,
+ 0x00050085,0x00000006,0x000000b0,0x000000ae,0x000000af,0x000500ba,0x0000009b,0x000000b1,
+ 0x000000ad,0x000000b0,0x0004003d,0x00000006,0x000000b2,0x00000087,0x000500ba,0x0000009b,
+ 0x000000b4,0x000000b2,0x000000b3,0x000500a7,0x0000009b,0x000000b5,0x000000b1,0x000000b4,
+ 0x0004003d,0x00000006,0x000000b6,0x00000087,0x0004003d,0x00000006,0x000000b7,0x00000093,
+ 0x000500ba,0x0000009b,0x000000b8,0x000000b6,0x000000b7,0x000500a7,0x0000009b,0x000000b9,
+ 0x000000b5,0x000000b8,0x0003003e,0x000000ac,0x000000b9,0x0004003d,0x00000006,0x000000bb,
+ 0x0000008f,0x0004003d,0x00000006,0x000000bc,0x00000093,0x00050085,0x00000006,0x000000bd,
+ 0x000000bc,0x000000af,0x000500ba,0x0000009b,0x000000be,0x000000bb,0x000000bd,0x0004003d,
+ 0x00000006,0x000000bf,0x0000008f,0x000500ba,0x0000009b,0x000000c0,0x000000bf,0x000000b3,
+ 0x000500a7,0x0000009b,0x000000c1,0x000000be,0x000000c0,0x0004003d,0x00000006,0x000000c2,
+ 0x0000008f,0x0004003d,0x00000006,0x000000c3,0x0000008b,0x000500ba,0x0000009b,0x000000c4,
+ 0x000000c2,0x000000c3,0x000500a7,0x0000009b,0x000000c5,0x000000c1,0x000000c4,0x0003003e,
+ 0x000000ba,0x000000c5,0x0004003d,0x00000006,0x000000c7,0x00000087,0x0004003d,0x00000006,
+ 0x000000c8,0x00000053,0x000500b4,0x0000009b,0x000000c9,0x000000c7,0x000000c8,0x0003003e,
+ 0x000000c6,0x000000c9,0x0004003d,0x00000006,0x000000cb,0x0000008f,0x0004003d,0x00000006,
+ 0x000000cc,0x00000060,0x000500b4,0x0000009b,0x000000cd,0x000000cb,0x000000cc,0x0003003e,
+ 0x000000ca,0x000000cd,0x0004003d,0x0000009b,0x000000cf,0x000000ac,0x0004003d,0x0000009b,
+ 0x000000d0,0x000000ba,0x000500a7,0x0000009b,0x000000d1,0x000000cf,0x000000d0,0x0004003d,
+ 0x00000006,0x000000d2,0x000000a1,0x000600a9,0x00000006,0x000000d3,0x000000d1,0x000000d2,
+ 0x000000a8,0x0003003e,0x000000ce,0x000000d3,0x0004003d,0x0000009b,0x000000d5,0x000000ac,
+ 0x0004003d,0x0000009b,0x000000d6,0x000000ba,0x000500a7,0x0000009b,0x000000d7,0x000000d5,
+ 0x000000d6,0x0004003d,0x00000006,0x000000d8,0x000000a7,0x000600a9,0x00000006,0x000000d9,
+ 0x000000d7,0x000000d8,0x000000a8,0x0003003e,0x000000d4,0x000000d9,0x0004003d,0x0000009b,
+ 0x000000db,0x000000ac,0x0004003d,0x0000009b,0x000000dc,0x000000c6,0x000500a7,0x0000009b,
+ 0x000000dd,0x000000db,0x000000dc,0x0004003d,0x00000006,0x000000de,0x000000ce,0x000600a9,
+ 0x00000006,0x000000df,0x000000dd,0x000000de,0x0000009a,0x0003003e,0x000000da,0x000000df,
+ 0x0004003d,0x0000009b,0x000000e1,0x000000ac,0x0004003d,0x0000009b,0x000000e2,0x000000c6,
+ 0x000400a8,0x0000009b,0x000000e3,0x000000e2,0x000500a7,0x0000009b,0x000000e4,0x000000e1,
+ 0x000000e3,0x0004003d,0x00000006,0x000000e5,0x000000ce,0x000600a9,0x00000006,0x000000e6,
+ 0x000000e4,0x000000e5,0x0000009a,0x0003003e,0x000000e0,0x000000e6,0x0004003d,0x0000009b,
+ 0x000000e8,0x000000ba,0x0004003d,0x0000009b,0x000000e9,0x000000ca,0x000500a7,0x0000009b,
+ 0x000000ea,0x000000e8,0x000000e9,0x0004003d,0x00000006,0x000000eb,0x000000d4,0x000600a9,
+ 0x00000006,0x000000ec,0x000000ea,0x000000eb,0x0000009a,0x0003003e,0x000000e7,0x000000ec,
+ 0x0004003d,0x0000009b,0x000000ee,0x000000ba,0x0004003d,0x0000009b,0x000000ef,0x000000ca,
+ 0x000400a8,0x0000009b,0x000000f0,0x000000ef,0x000500a7,0x0000009b,0x000000f1,0x000000ee,
+ 0x000000f0,0x0004003d,0x00000006,0x000000f2,0x000000d4,0x000600a9,0x00000006,0x000000f3,
+ 0x000000f1,0x000000f2,0x0000009a,0x0003003e,0x000000ed,0x000000f3,0x0004003d,0x00000006,
+ 0x000000f4,0x000000da,0x0004003d,0x00000006,0x000000f5,0x000000e0,0x0004003d,0x00000006,
+ 0x000000f6,0x000000e7,0x0004003d,0x00000006,0x000000f7,0x000000ed,0x00070050,0x0000000e,
+ 0x000000f8,0x000000f4,0x000000f5,0x000000f6,0x000000f7,0x000200fe,0x000000f8,0x00010038,
+ 0x00050036,0x0000000e,0x00000023,0x00000000,0x0000001c,0x00030037,0x0000001b,0x0000001d,
+ 0x00030037,0x0000001b,0x0000001e,0x00030037,0x0000001b,0x0000001f,0x00030037,0x0000001b,
+ 0x00000020,0x00030037,0x0000000d,0x00000021,0x00030037,0x0000000d,0x00000022,0x000200f8,
+ 0x00000024,0x0004003b,0x0000001b,0x000000fb,0x00000007,0x0004003b,0x0000001b,0x00000101,
+ 0x00000007,0x0004003d,0x0000000e,0x000000fc,0x0000001d,0x0004003d,0x0000000e,0x000000fd,
+ 0x0000001e,0x0004003d,0x00000006,0x000000fe,0x00000021,0x00070050,0x0000000e,0x000000ff,
+ 0x000000fe,0x000000fe,0x000000fe,0x000000fe,0x0008000c,0x0000000e,0x00000100,0x00000001,
+ 0x0000002e,0x000000fc,0x000000fd,0x000000ff,0x0003003e,0x000000fb,0x00000100,0x0004003d,
+ 0x0000000e,0x00000102,0x0000001f,0x0004003d,0x0000000e,0x00000103,0x00000020,0x0004003d,
+ 0x00000006,0x00000104,0x00000021,0x00070050,0x0000000e,0x00000105,0x00000104,0x00000104,
+ 0x00000104,0x00000104,0x0008000c,0x0000000e,0x00000106,0x00000001,0x0000002e,0x00000102,
+ 0x00000103,0x00000105,0x0003003e,0x00000101,0x00000106,0x0004003d,0x0000000e,0x00000107,
+ 0x000000fb,0x0004003d,0x0000000e,0x00000108,0x00000101,0x0004003d,0x00000006,0x00000109,
+ 0x00000022,0x00070050,0x0000000e,0x0000010a,0x00000109,0x00000109,0x00000109,0x00000109,
+ 0x0008000c,0x0000000e,0x0000010b,0x00000001,0x0000002e,0x00000107,0x00000108,0x0000010a,
+ 0x000200fe,0x0000010b,0x00010038,0x00050036,0x00000006,0x0000002f,0x00000000,0x00000027,
+ 0x00030037,0x0000000d,0x00000028,0x00030037,0x0000000d,0x00000029,0x00030037,0x0000000d,
+ 0x0000002a,0x00030037,0x0000000d,0x0000002b,0x00030037,0x0000000d,0x0000002c,0x00030037,
+ 0x0000000d,0x0000002d,0x00030037,0x00000026,0x0000002e,0x000200f8,0x00000030,0x0004003b,
+ 0x000000ab,0x0000010e,0x00000007,0x0004003b,0x0000000d,0x00000112,0x00000007,0x0004003b,
+ 0x0000000d,0x00000117,0x00000007,0x0004003b,0x0000000d,0x0000011d,0x00000007,0x0004003b,
+ 0x0000000d,0x00000127,0x00000007,0x0004003b,0x0000000d,0x0000012d,0x00000007,0x0004003b,
+ 0x0000000d,0x00000133,0x00000007,0x0004003b,0x0000000d,0x00000137,0x00000007,0x0004003b,
+ 0x0000000d,0x0000013b,0x00000007,0x0004003d,0x00000025,0x0000010f,0x0000002e,0x000500b3,
+ 0x0000009b,0x00000111,0x0000010f,0x00000110,0x0003003e,0x0000010e,0x00000111,0x0004003d,
+ 0x0000009b,0x00000113,0x0000010e,0x0004003d,0x00000006,0x00000114,0x00000028,0x0004003d,
+ 0x00000006,0x00000115,0x0000002b,0x000600a9,0x00000006,0x00000116,0x00000113,0x00000114,
+ 0x00000115,0x0003003e,0x00000112,0x00000116,0x0004003d,0x00000006,0x00000118,0x00000029,
+ 0x0004003d,0x00000006,0x00000119,0x0000002a,0x0007000c,0x00000006,0x0000011a,0x00000001,
+ 0x00000025,0x00000118,0x00000119,0x0004003d,0x00000006,0x0000011b,0x00000112,0x0007000c,
+ 0x00000006,0x0000011c,0x00000001,0x00000025,0x0000011a,0x0000011b,0x0003003e,0x00000117,
+ 0x0000011c,0x0004003d,0x00000006,0x0000011e,0x00000029,0x0004003d,0x00000006,0x0000011f,
+ 0x0000002a,0x0007000c,0x00000006,0x00000120,0x00000001,0x00000028,0x0000011e,0x0000011f,
+ 0x0004003d,0x00000006,0x00000121,0x00000112,0x0007000c,0x00000006,0x00000122,0x00000001,
+ 0x00000028,0x00000120,0x00000121,0x0003003e,0x0000011d,0x00000122,0x0004003d,0x0000009b,
+ 0x00000123,0x0000010e,0x0004003d,0x00000006,0x00000124,0x0000002a,0x0004003d,0x00000006,
+ 0x00000125,0x0000002d,0x000600a9,0x00000006,0x00000126,0x00000123,0x00000124,0x00000125,
+ 0x0003003e,0x00000112,0x00000126,0x0004003d,0x00000006,0x00000128,0x0000002b,0x0004003d,
+ 0x00000006,0x00000129,0x0000002c,0x0007000c,0x00000006,0x0000012a,0x00000001,0x00000025,
+ 0x00000128,0x00000129,0x0004003d,0x00000006,0x0000012b,0x00000112,0x0007000c,0x00000006,
+ 0x0000012c,0x00000001,0x00000025,0x0000012a,0x0000012b,0x0003003e,0x00000127,0x0000012c,
+ 0x0004003d,0x00000006,0x0000012e,0x0000002b,0x0004003d,0x00000006,0x0000012f,0x0000002c,
+ 0x0007000c,0x00000006,0x00000130,0x00000001,0x00000028,0x0000012e,0x0000012f,0x0004003d,
+ 0x00000006,0x00000131,0x00000112,0x0007000c,0x00000006,0x00000132,0x00000001,0x00000028,
+ 0x00000130,0x00000131,0x0003003e,0x0000012d,0x00000132,0x0004003d,0x00000006,0x00000134,
+ 0x0000011d,0x0004003d,0x00000006,0x00000135,0x00000117,0x00050083,0x00000006,0x00000136,
+ 0x00000134,0x00000135,0x0003003e,0x00000133,0x00000136,0x0004003d,0x00000006,0x00000138,
+ 0x0000012d,0x0004003d,0x00000006,0x00000139,0x00000127,0x00050083,0x00000006,0x0000013a,
+ 0x00000138,0x00000139,0x0003003e,0x00000137,0x0000013a,0x0004003d,0x00000006,0x0000013c,
+ 0x00000133,0x0004003d,0x00000006,0x0000013d,0x00000137,0x0007000c,0x00000006,0x0000013e,
+ 0x00000001,0x00000028,0x0000013c,0x0000013d,0x0004003d,0x00000006,0x0000013f,0x00000133,
+ 0x0004003d,0x00000006,0x00000140,0x00000137,0x0007000c,0x00000006,0x00000141,0x00000001,
+ 0x00000025,0x0000013f,0x00000140,0x00050081,0x00000006,0x00000143,0x00000141,0x00000142,
+ 0x00050088,0x00000006,0x00000144,0x0000013e,0x00000143,0x0003003e,0x0000013b,0x00000144,
+ 0x0004003d,0x00000006,0x00000145,0x0000013b,0x00050083,0x00000006,0x00000147,0x00000145,
+ 0x00000146,0x00050085,0x00000006,0x00000149,0x00000147,0x00000148,0x0008000c,0x00000006,
+ 0x0000014a,0x00000001,0x0000002b,0x00000149,0x0000009a,0x000000a8,0x00050083,0x00000006,
+ 0x0000014b,0x000000a8,0x0000014a,0x00050085,0x00000006,0x0000014c,0x0000014b,0x000000a8,
+ 0x000200fe,0x0000014c,0x00010038,0x00050036,0x00000006,0x00000038,0x00000000,0x00000035,
+ 0x00030037,0x00000034,0x00000036,0x00030037,0x00000026,0x00000037,0x000200f8,0x00000039,
+ 0x0004003b,0x0000000d,0x00000153,0x00000007,0x0004003b,0x0000000d,0x00000154,0x00000007,
+ 0x0004003b,0x00000026,0x00000155,0x00000007,0x0004003b,0x00000209,0x0000020a,0x00000007,
+ 0x0004003b,0x00000209,0x00000299,0x00000007,0x0004003b,0x0000000d,0x000002a5,0x00000007,
+ 0x0004003b,0x0000000d,0x000002ad,0x00000007,0x0004003b,0x0000000d,0x000002b9,0x00000007,
+ 0x0004003b,0x0000000d,0x000002cd,0x00000007,0x0004003b,0x0000000d,0x000002d0,0x00000007,
+ 0x0004003b,0x0000000d,0x000002d3,0x00000007,0x0004003b,0x0000000d,0x000002d6,0x00000007,
+ 0x0004003b,0x0000000d,0x000002d9,0x00000007,0x0004003b,0x0000000d,0x000002dc,0x00000007,
+ 0x0004003b,0x00000026,0x000002df,0x00000007,0x0004003d,0x00000025,0x0000014f,0x00000037,
+ 0x0008000c,0x00000025,0x00000152,0x00000001,0x0000002d,0x0000014f,0x00000150,0x00000151,
+ 0x0003003e,0x00000037,0x00000152,0x0003003e,0x00000153,0x0000009a,0x0003003e,0x00000154,
+ 0x0000009a,0x0003003e,0x00000155,0x00000150,0x000200f9,0x00000156,0x000200f8,0x00000156,
+ 0x000400f6,0x00000158,0x00000159,0x00000000,0x000200f9,0x0000015a,0x000200f8,0x0000015a,
+ 0x0004003d,0x00000025,0x0000015b,0x00000155,0x000500b1,0x0000009b,0x0000015d,0x0000015b,
+ 0x0000015c,0x000400fa,0x0000015d,0x00000157,0x00000158,0x000200f8,0x00000157,0x0004003d,
+ 0x00000025,0x00000205,0x00000037,0x00050084,0x00000025,0x00000206,0x00000205,0x0000015c,
+ 0x0004003d,0x00000025,0x00000207,0x00000155,0x00050080,0x00000025,0x00000208,0x00000206,
+ 0x00000207,0x0003003e,0x0000020a,0x00000204,0x00050041,0x0000000d,0x0000020b,0x0000020a,
+ 0x00000208,0x0004003d,0x00000006,0x0000020c,0x0000020b,0x0004003d,0x00000025,0x0000020d,
+ 0x00000155,0x00050041,0x0000000d,0x0000020e,0x00000036,0x0000020d,0x0004003d,0x00000006,
+ 0x0000020f,0x0000020e,0x00050085,0x00000006,0x00000210,0x0000020c,0x0000020f,0x0004003d,
+ 0x00000006,0x00000211,0x00000153,0x00050081,0x00000006,0x00000212,0x00000211,0x00000210,
+ 0x0003003e,0x00000153,0x00000212,0x0004003d,0x00000025,0x00000295,0x00000037,0x00050084,
+ 0x00000025,0x00000296,0x00000295,0x0000015c,0x0004003d,0x00000025,0x00000297,0x00000155,
+ 0x00050080,0x00000025,0x00000298,0x00000296,0x00000297,0x0003003e,0x00000299,0x00000294,
+ 0x00050041,0x0000000d,0x0000029a,0x00000299,0x00000298,0x0004003d,0x00000006,0x0000029b,
+ 0x0000029a,0x0004003d,0x00000025,0x0000029c,0x00000155,0x00050041,0x0000000d,0x0000029d,
+ 0x00000036,0x0000029c,0x0004003d,0x00000006,0x0000029e,0x0000029d,0x00050085,0x00000006,
+ 0x0000029f,0x0000029b,0x0000029e,0x0004003d,0x00000006,0x000002a0,0x00000154,0x00050081,
+ 0x00000006,0x000002a1,0x000002a0,0x0000029f,0x0003003e,0x00000154,0x000002a1,0x000200f9,
+ 0x00000159,0x000200f8,0x00000159,0x0004003d,0x00000025,0x000002a2,0x00000155,0x00050080,
+ 0x00000025,0x000002a4,0x000002a2,0x000002a3,0x0003003e,0x00000155,0x000002a4,0x000200f9,
+ 0x00000156,0x000200f8,0x00000158,0x0004003d,0x00000006,0x000002a6,0x00000153,0x00050083,
+ 0x00000006,0x000002a8,0x000002a6,0x000002a7,0x00050085,0x00000006,0x000002aa,0x000002a8,
+ 0x000002a9,0x0008000c,0x00000006,0x000002ab,0x00000001,0x0000002b,0x000002aa,0x0000009a,
+ 0x000000a8,0x00050083,0x00000006,0x000002ac,0x000000a8,0x000002ab,0x0003003e,0x000002a5,
+ 0x000002ac,0x0004003d,0x00000006,0x000002ae,0x000002a5,0x0004003d,0x00000006,0x000002b1,
+ 0x000002b0,0x00050085,0x00000006,0x000002b2,0x000002ae,0x000002b1,0x0004003d,0x00000006,
+ 0x000002b4,0x000002b3,0x00050081,0x00000006,0x000002b5,0x000002b2,0x000002b4,0x0003003e,
+ 0x000002ad,0x000002b5,0x0004003d,0x00000006,0x000002b6,0x000002ad,0x0004003d,0x00000006,
+ 0x000002b7,0x00000154,0x00050085,0x00000006,0x000002b8,0x000002b7,0x000002b6,0x0003003e,
+ 0x00000154,0x000002b8,0x0004003d,0x00000006,0x000002ba,0x000002a5,0x0004003d,0x00000006,
+ 0x000002bc,0x000002bb,0x00050085,0x00000006,0x000002bd,0x000002ba,0x000002bc,0x0004003d,
+ 0x00000006,0x000002bf,0x000002be,0x00050081,0x00000006,0x000002c0,0x000002bd,0x000002bf,
+ 0x0004003d,0x00000006,0x000002c1,0x00000153,0x00050085,0x00000006,0x000002c2,0x000002c0,
+ 0x000002c1,0x0003003e,0x000002b9,0x000002c2,0x0004003d,0x00000006,0x000002c3,0x000002b9,
+ 0x0004003d,0x00000006,0x000002c4,0x000002b9,0x0004007f,0x00000006,0x000002c5,0x000002c4,
+ 0x0004003d,0x00000006,0x000002c6,0x00000154,0x0007000c,0x00000006,0x000002c7,0x00000001,
+ 0x00000028,0x000002c5,0x000002c6,0x0007000c,0x00000006,0x000002c8,0x00000001,0x00000025,
+ 0x000002c3,0x000002c7,0x0003003e,0x00000154,0x000002c8,0x00050041,0x0000000d,0x000002ce,
+ 0x00000036,0x00000150,0x0004003d,0x00000006,0x000002cf,0x000002ce,0x0003003e,0x000002cd,
+ 0x000002cf,0x00050041,0x0000000d,0x000002d1,0x00000036,0x000002a3,0x0004003d,0x00000006,
+ 0x000002d2,0x000002d1,0x0003003e,0x000002d0,0x000002d2,0x00050041,0x0000000d,0x000002d4,
+ 0x00000036,0x000002c9,0x0004003d,0x00000006,0x000002d5,0x000002d4,0x0003003e,0x000002d3,
+ 0x000002d5,0x00050041,0x0000000d,0x000002d7,0x00000036,0x000002ca,0x0004003d,0x00000006,
+ 0x000002d8,0x000002d7,0x0003003e,0x000002d6,0x000002d8,0x00050041,0x0000000d,0x000002da,
+ 0x00000036,0x000002cb,0x0004003d,0x00000006,0x000002db,0x000002da,0x0003003e,0x000002d9,
+ 0x000002db,0x00050041,0x0000000d,0x000002dd,0x00000036,0x000002cc,0x0004003d,0x00000006,
+ 0x000002de,0x000002dd,0x0003003e,0x000002dc,0x000002de,0x0004003d,0x00000025,0x000002e0,
+ 0x00000037,0x0003003e,0x000002df,0x000002e0,0x000b0039,0x00000006,0x000002e1,0x0000002f,
+ 0x000002cd,0x000002d0,0x000002d3,0x000002d6,0x000002d9,0x000002dc,0x000002df,0x0004003d,
+ 0x00000006,0x000002e2,0x00000154,0x00050085,0x00000006,0x000002e3,0x000002e2,0x000002e1,
+ 0x0003003e,0x00000154,0x000002e3,0x0004003d,0x00000006,0x000002e4,0x00000153,0x0004003d,
+ 0x00000006,0x000002e5,0x00000154,0x00050081,0x00000006,0x000002e6,0x000002e4,0x000002e5,
+ 0x000200fe,0x000002e6,0x00010038,0x00050036,0x00000006,0x00000040,0x00000000,0x0000003c,
0x00030037,0x0000003b,0x0000003d,0x00030037,0x00000026,0x0000003e,0x00030037,0x00000026,
- 0x0000003f,0x000200f8,0x00000041,0x0004003b,0x0000000d,0x00000303,0x00000007,0x0004003b,
- 0x00000026,0x00000304,0x00000007,0x0004003b,0x0000000d,0x0000030c,0x00000007,0x0004003b,
- 0x00000026,0x0000030d,0x00000007,0x0004003b,0x00000214,0x0000031d,0x00000007,0x0004003b,
- 0x00000214,0x0000032a,0x00000007,0x0004003d,0x00000025,0x000002ff,0x0000003e,0x0008000c,
- 0x00000025,0x00000300,0x00000001,0x0000002d,0x000002ff,0x0000015c,0x0000015d,0x0003003e,
- 0x0000003e,0x00000300,0x0004003d,0x00000025,0x00000301,0x0000003f,0x0008000c,0x00000025,
- 0x00000302,0x00000001,0x0000002d,0x00000301,0x0000015c,0x0000015d,0x0003003e,0x0000003f,
- 0x00000302,0x0003003e,0x00000303,0x000000a5,0x0003003e,0x00000304,0x0000015c,0x000200f9,
- 0x00000305,0x000200f8,0x00000305,0x000400f6,0x00000307,0x00000308,0x00000000,0x000200f9,
- 0x00000309,0x000200f8,0x00000309,0x0004003d,0x00000025,0x0000030a,0x00000304,0x000500b1,
- 0x000000a6,0x0000030b,0x0000030a,0x00000167,0x000400fa,0x0000030b,0x00000306,0x00000307,
- 0x000200f8,0x00000306,0x0003003e,0x0000030c,0x000000a5,0x0003003e,0x0000030d,0x0000015c,
- 0x000200f9,0x0000030e,0x000200f8,0x0000030e,0x000400f6,0x00000310,0x00000311,0x00000000,
- 0x000200f9,0x00000312,0x000200f8,0x00000312,0x0004003d,0x00000025,0x00000313,0x0000030d,
- 0x000500b1,0x000000a6,0x00000314,0x00000313,0x00000167,0x000400fa,0x00000314,0x0000030f,
- 0x00000310,0x000200f8,0x0000030f,0x0004003d,0x00000025,0x00000315,0x0000030d,0x0004003d,
- 0x00000025,0x00000316,0x00000304,0x00060041,0x0000000d,0x00000317,0x0000003d,0x00000315,
- 0x00000316,0x0004003d,0x00000006,0x00000318,0x00000317,0x0004003d,0x00000025,0x00000319,
- 0x0000003f,0x00050084,0x00000025,0x0000031a,0x00000319,0x00000167,0x0004003d,0x00000025,
- 0x0000031b,0x0000030d,0x00050080,0x00000025,0x0000031c,0x0000031a,0x0000031b,0x0003003e,
- 0x0000031d,0x0000020f,0x00050041,0x0000000d,0x0000031e,0x0000031d,0x0000031c,0x0004003d,
- 0x00000006,0x0000031f,0x0000031e,0x00050085,0x00000006,0x00000320,0x00000318,0x0000031f,
- 0x0004003d,0x00000006,0x00000321,0x0000030c,0x00050081,0x00000006,0x00000322,0x00000321,
- 0x00000320,0x0003003e,0x0000030c,0x00000322,0x000200f9,0x00000311,0x000200f8,0x00000311,
- 0x0004003d,0x00000025,0x00000323,0x0000030d,0x00050080,0x00000025,0x00000324,0x00000323,
- 0x0000021f,0x0003003e,0x0000030d,0x00000324,0x000200f9,0x0000030e,0x000200f8,0x00000310,
- 0x0004003d,0x00000006,0x00000325,0x0000030c,0x0004003d,0x00000025,0x00000326,0x0000003e,
- 0x00050084,0x00000025,0x00000327,0x00000326,0x00000167,0x0004003d,0x00000025,0x00000328,
- 0x00000304,0x00050080,0x00000025,0x00000329,0x00000327,0x00000328,0x0003003e,0x0000032a,
- 0x0000020f,0x00050041,0x0000000d,0x0000032b,0x0000032a,0x00000329,0x0004003d,0x00000006,
- 0x0000032c,0x0000032b,0x00050085,0x00000006,0x0000032d,0x00000325,0x0000032c,0x0004003d,
- 0x00000006,0x0000032e,0x00000303,0x00050081,0x00000006,0x0000032f,0x0000032e,0x0000032d,
- 0x0003003e,0x00000303,0x0000032f,0x000200f9,0x00000308,0x000200f8,0x00000308,0x0004003d,
- 0x00000025,0x00000330,0x00000304,0x00050080,0x00000025,0x00000331,0x00000330,0x0000021f,
- 0x0003003e,0x00000304,0x00000331,0x000200f9,0x00000305,0x000200f8,0x00000307,0x0004003d,
- 0x00000006,0x00000332,0x00000303,0x000200fe,0x00000332,0x00010038,0x00050036,0x00000006,
+ 0x0000003f,0x000200f8,0x00000041,0x0004003b,0x0000000d,0x000002ed,0x00000007,0x0004003b,
+ 0x00000026,0x000002ee,0x00000007,0x0004003b,0x0000000d,0x000002f6,0x00000007,0x0004003b,
+ 0x00000026,0x000002f7,0x00000007,0x0004003b,0x00000209,0x00000307,0x00000007,0x0004003b,
+ 0x00000209,0x00000314,0x00000007,0x0004003d,0x00000025,0x000002e9,0x0000003e,0x0008000c,
+ 0x00000025,0x000002ea,0x00000001,0x0000002d,0x000002e9,0x00000150,0x00000151,0x0003003e,
+ 0x0000003e,0x000002ea,0x0004003d,0x00000025,0x000002eb,0x0000003f,0x0008000c,0x00000025,
+ 0x000002ec,0x00000001,0x0000002d,0x000002eb,0x00000150,0x00000151,0x0003003e,0x0000003f,
+ 0x000002ec,0x0003003e,0x000002ed,0x0000009a,0x0003003e,0x000002ee,0x00000150,0x000200f9,
+ 0x000002ef,0x000200f8,0x000002ef,0x000400f6,0x000002f1,0x000002f2,0x00000000,0x000200f9,
+ 0x000002f3,0x000200f8,0x000002f3,0x0004003d,0x00000025,0x000002f4,0x000002ee,0x000500b1,
+ 0x0000009b,0x000002f5,0x000002f4,0x0000015c,0x000400fa,0x000002f5,0x000002f0,0x000002f1,
+ 0x000200f8,0x000002f0,0x0003003e,0x000002f6,0x0000009a,0x0003003e,0x000002f7,0x00000150,
+ 0x000200f9,0x000002f8,0x000200f8,0x000002f8,0x000400f6,0x000002fa,0x000002fb,0x00000000,
+ 0x000200f9,0x000002fc,0x000200f8,0x000002fc,0x0004003d,0x00000025,0x000002fd,0x000002f7,
+ 0x000500b1,0x0000009b,0x000002fe,0x000002fd,0x0000015c,0x000400fa,0x000002fe,0x000002f9,
+ 0x000002fa,0x000200f8,0x000002f9,0x0004003d,0x00000025,0x000002ff,0x000002f7,0x0004003d,
+ 0x00000025,0x00000300,0x000002ee,0x00060041,0x0000000d,0x00000301,0x0000003d,0x000002ff,
+ 0x00000300,0x0004003d,0x00000006,0x00000302,0x00000301,0x0004003d,0x00000025,0x00000303,
+ 0x0000003f,0x00050084,0x00000025,0x00000304,0x00000303,0x0000015c,0x0004003d,0x00000025,
+ 0x00000305,0x000002f7,0x00050080,0x00000025,0x00000306,0x00000304,0x00000305,0x0003003e,
+ 0x00000307,0x00000204,0x00050041,0x0000000d,0x00000308,0x00000307,0x00000306,0x0004003d,
+ 0x00000006,0x00000309,0x00000308,0x00050085,0x00000006,0x0000030a,0x00000302,0x00000309,
+ 0x0004003d,0x00000006,0x0000030b,0x000002f6,0x00050081,0x00000006,0x0000030c,0x0000030b,
+ 0x0000030a,0x0003003e,0x000002f6,0x0000030c,0x000200f9,0x000002fb,0x000200f8,0x000002fb,
+ 0x0004003d,0x00000025,0x0000030d,0x000002f7,0x00050080,0x00000025,0x0000030e,0x0000030d,
+ 0x000002a3,0x0003003e,0x000002f7,0x0000030e,0x000200f9,0x000002f8,0x000200f8,0x000002fa,
+ 0x0004003d,0x00000006,0x0000030f,0x000002f6,0x0004003d,0x00000025,0x00000310,0x0000003e,
+ 0x00050084,0x00000025,0x00000311,0x00000310,0x0000015c,0x0004003d,0x00000025,0x00000312,
+ 0x000002ee,0x00050080,0x00000025,0x00000313,0x00000311,0x00000312,0x0003003e,0x00000314,
+ 0x00000204,0x00050041,0x0000000d,0x00000315,0x00000314,0x00000313,0x0004003d,0x00000006,
+ 0x00000316,0x00000315,0x00050085,0x00000006,0x00000317,0x0000030f,0x00000316,0x0004003d,
+ 0x00000006,0x00000318,0x000002ed,0x00050081,0x00000006,0x00000319,0x00000318,0x00000317,
+ 0x0003003e,0x000002ed,0x00000319,0x000200f9,0x000002f2,0x000200f8,0x000002f2,0x0004003d,
+ 0x00000025,0x0000031a,0x000002ee,0x00050080,0x00000025,0x0000031b,0x0000031a,0x000002a3,
+ 0x0003003e,0x000002ee,0x0000031b,0x000200f9,0x000002ef,0x000200f8,0x000002f1,0x0004003d,
+ 0x00000006,0x0000031c,0x000002ed,0x000200fe,0x0000031c,0x00010038,0x00050036,0x00000006,
0x00000049,0x00000000,0x00000042,0x00030037,0x0000003b,0x00000043,0x00030037,0x0000000d,
0x00000044,0x00030037,0x0000000d,0x00000045,0x00030037,0x00000026,0x00000046,0x00030037,
0x00000026,0x00000047,0x00030037,0x0000001b,0x00000048,0x000200f8,0x0000004a,0x0004003b,
- 0x0000000d,0x00000335,0x00000007,0x0004003b,0x00000026,0x0000033b,0x00000007,0x0004003b,
- 0x00000034,0x00000343,0x00000007,0x0004003b,0x00000034,0x00000350,0x00000007,0x0004003b,
- 0x00000026,0x00000352,0x00000007,0x0004003b,0x00000026,0x0000035f,0x00000007,0x0004003b,
- 0x00000034,0x00000367,0x00000007,0x0004003b,0x00000034,0x00000374,0x00000007,0x0004003b,
- 0x00000026,0x00000376,0x00000007,0x0004003b,0x0000000d,0x00000383,0x00000007,0x0004003b,
- 0x0000038c,0x0000038d,0x00000007,0x0004003b,0x0000000d,0x000003a5,0x00000007,0x0004003b,
- 0x0000000d,0x000003a8,0x00000007,0x0004003b,0x0000000d,0x000003b1,0x00000007,0x0004003b,
- 0x0000000d,0x000003b4,0x00000007,0x0004003b,0x0000000d,0x000003bd,0x00000007,0x0004003b,
- 0x0000000d,0x000003c0,0x00000007,0x0004003b,0x0000000d,0x000003c9,0x00000007,0x0004003b,
- 0x0000000d,0x000003cc,0x00000007,0x0004003b,0x0000000d,0x000003f1,0x00000007,0x0004003b,
- 0x00000026,0x000003f9,0x00000007,0x0004003b,0x00000034,0x00000401,0x00000007,0x0004003b,
- 0x00000026,0x0000040d,0x00000007,0x0004003b,0x00000034,0x00000420,0x00000007,0x0004003b,
- 0x00000026,0x00000422,0x00000007,0x0004003b,0x0000000d,0x0000042f,0x00000007,0x0004003b,
- 0x0000038c,0x00000434,0x00000007,0x0004003b,0x0000000d,0x0000044c,0x00000007,0x0004003b,
- 0x0000000d,0x0000044f,0x00000007,0x0004003b,0x0000000d,0x00000458,0x00000007,0x0004003b,
- 0x0000000d,0x0000045b,0x00000007,0x0004003b,0x0000000d,0x00000464,0x00000007,0x0004003b,
- 0x0000000d,0x00000467,0x00000007,0x0004003b,0x0000000d,0x00000470,0x00000007,0x0004003b,
- 0x0000000d,0x00000473,0x00000007,0x0004003b,0x0000000d,0x00000498,0x00000007,0x0004003b,
- 0x00000026,0x000004a1,0x00000007,0x0004003b,0x00000034,0x000004a9,0x00000007,0x0004003b,
- 0x00000026,0x000004b5,0x00000007,0x0004003b,0x00000034,0x000004c7,0x00000007,0x0004003b,
- 0x00000026,0x000004c9,0x00000007,0x0003003e,0x00000335,0x000000a5,0x00050041,0x0000000d,
- 0x00000336,0x00000048,0x0000004c,0x0004003d,0x00000006,0x00000337,0x00000336,0x000500ba,
- 0x000000a6,0x00000338,0x00000337,0x000000a5,0x000300f7,0x0000033a,0x00000000,0x000400fa,
- 0x00000338,0x00000339,0x0000033a,0x000200f8,0x00000339,0x0003003e,0x0000033b,0x0000015c,
- 0x000200f9,0x0000033c,0x000200f8,0x0000033c,0x000400f6,0x0000033e,0x0000033f,0x00000000,
- 0x000200f9,0x00000340,0x000200f8,0x00000340,0x0004003d,0x00000025,0x00000341,0x0000033b,
- 0x000500b1,0x000000a6,0x00000342,0x00000341,0x00000167,0x000400fa,0x00000342,0x0000033d,
- 0x0000033e,0x000200f8,0x0000033d,0x0004003d,0x00000025,0x00000344,0x0000033b,0x0004003d,
- 0x00000025,0x00000345,0x0000033b,0x00060041,0x0000000d,0x00000346,0x00000043,0x00000345,
- 0x000002df,0x0004003d,0x00000006,0x00000347,0x00000346,0x0004003d,0x00000025,0x00000348,
- 0x0000033b,0x00060041,0x0000000d,0x00000349,0x00000043,0x00000348,0x000002e0,0x0004003d,
- 0x00000006,0x0000034a,0x00000349,0x0004003d,0x00000006,0x0000034b,0x00000044,0x0008000c,
- 0x00000006,0x0000034c,0x00000001,0x0000002e,0x00000347,0x0000034a,0x0000034b,0x00050041,
- 0x0000000d,0x0000034d,0x00000343,0x00000344,0x0003003e,0x0000034d,0x0000034c,0x000200f9,
- 0x0000033f,0x000200f8,0x0000033f,0x0004003d,0x00000025,0x0000034e,0x0000033b,0x00050080,
- 0x00000025,0x0000034f,0x0000034e,0x0000021f,0x0003003e,0x0000033b,0x0000034f,0x000200f9,
- 0x0000033c,0x000200f8,0x0000033e,0x0004003d,0x00000033,0x00000351,0x00000343,0x0003003e,
- 0x00000350,0x00000351,0x0004003d,0x00000025,0x00000353,0x00000047,0x0003003e,0x00000352,
- 0x00000353,0x00060039,0x00000006,0x00000354,0x00000038,0x00000350,0x00000352,0x00050041,
- 0x0000000d,0x00000355,0x00000048,0x0000004c,0x0004003d,0x00000006,0x00000356,0x00000355,
- 0x00050085,0x00000006,0x00000357,0x00000354,0x00000356,0x0004003d,0x00000006,0x00000358,
- 0x00000335,0x00050081,0x00000006,0x00000359,0x00000358,0x00000357,0x0003003e,0x00000335,
- 0x00000359,0x000200f9,0x0000033a,0x000200f8,0x0000033a,0x00050041,0x0000000d,0x0000035a,
- 0x00000048,0x00000051,0x0004003d,0x00000006,0x0000035b,0x0000035a,0x000500ba,0x000000a6,
- 0x0000035c,0x0000035b,0x000000a5,0x000300f7,0x0000035e,0x00000000,0x000400fa,0x0000035c,
- 0x0000035d,0x0000035e,0x000200f8,0x0000035d,0x0003003e,0x0000035f,0x0000015c,0x000200f9,
- 0x00000360,0x000200f8,0x00000360,0x000400f6,0x00000362,0x00000363,0x00000000,0x000200f9,
- 0x00000364,0x000200f8,0x00000364,0x0004003d,0x00000025,0x00000365,0x0000035f,0x000500b1,
- 0x000000a6,0x00000366,0x00000365,0x00000167,0x000400fa,0x00000366,0x00000361,0x00000362,
- 0x000200f8,0x00000361,0x0004003d,0x00000025,0x00000368,0x0000035f,0x0004003d,0x00000025,
- 0x00000369,0x0000035f,0x00060041,0x0000000d,0x0000036a,0x00000043,0x000002df,0x00000369,
- 0x0004003d,0x00000006,0x0000036b,0x0000036a,0x0004003d,0x00000025,0x0000036c,0x0000035f,
- 0x00060041,0x0000000d,0x0000036d,0x00000043,0x000002e0,0x0000036c,0x0004003d,0x00000006,
- 0x0000036e,0x0000036d,0x0004003d,0x00000006,0x0000036f,0x00000045,0x0008000c,0x00000006,
- 0x00000370,0x00000001,0x0000002e,0x0000036b,0x0000036e,0x0000036f,0x00050041,0x0000000d,
- 0x00000371,0x00000367,0x00000368,0x0003003e,0x00000371,0x00000370,0x000200f9,0x00000363,
- 0x000200f8,0x00000363,0x0004003d,0x00000025,0x00000372,0x0000035f,0x00050080,0x00000025,
- 0x00000373,0x00000372,0x0000021f,0x0003003e,0x0000035f,0x00000373,0x000200f9,0x00000360,
- 0x000200f8,0x00000362,0x0004003d,0x00000033,0x00000375,0x00000367,0x0003003e,0x00000374,
- 0x00000375,0x0004003d,0x00000025,0x00000377,0x00000046,0x0003003e,0x00000376,0x00000377,
- 0x00060039,0x00000006,0x00000378,0x00000038,0x00000374,0x00000376,0x00050041,0x0000000d,
- 0x00000379,0x00000048,0x00000051,0x0004003d,0x00000006,0x0000037a,0x00000379,0x00050085,
- 0x00000006,0x0000037b,0x00000378,0x0000037a,0x0004003d,0x00000006,0x0000037c,0x00000335,
- 0x00050081,0x00000006,0x0000037d,0x0000037c,0x0000037b,0x0003003e,0x00000335,0x0000037d,
- 0x000200f9,0x0000035e,0x000200f8,0x0000035e,0x00050041,0x0000000d,0x0000037e,0x00000048,
- 0x00000057,0x0004003d,0x00000006,0x0000037f,0x0000037e,0x000500ba,0x000000a6,0x00000380,
- 0x0000037f,0x000000a5,0x000300f7,0x00000382,0x00000000,0x000400fa,0x00000380,0x00000381,
- 0x00000382,0x000200f8,0x00000381,0x0004003d,0x00000006,0x00000385,0x00000044,0x0004003d,
- 0x00000006,0x00000386,0x00000045,0x00050083,0x00000006,0x00000387,0x00000385,0x00000386,
- 0x00050085,0x00000006,0x00000388,0x00000384,0x00000387,0x00050081,0x00000006,0x00000389,
- 0x00000384,0x00000388,0x0003003e,0x00000383,0x00000389,0x00060041,0x0000000d,0x0000038e,
- 0x00000043,0x000002df,0x0000021f,0x0004003d,0x00000006,0x0000038f,0x0000038e,0x00060041,
- 0x0000000d,0x00000390,0x00000043,0x0000021f,0x000002df,0x0004003d,0x00000006,0x00000391,
- 0x00000390,0x0004003d,0x00000006,0x00000392,0x00000383,0x0008000c,0x00000006,0x00000393,
- 0x00000001,0x0000002e,0x0000038f,0x00000391,0x00000392,0x00050041,0x0000000d,0x00000394,
- 0x0000038d,0x0000021f,0x0003003e,0x00000394,0x00000393,0x00060041,0x0000000d,0x00000395,
- 0x00000043,0x000002e0,0x000002df,0x0004003d,0x00000006,0x00000396,0x00000395,0x00060041,
- 0x0000000d,0x00000397,0x00000043,0x000002df,0x000002e0,0x0004003d,0x00000006,0x00000398,
- 0x00000397,0x0004003d,0x00000006,0x00000399,0x00000383,0x0008000c,0x00000006,0x0000039a,
- 0x00000001,0x0000002e,0x00000396,0x00000398,0x00000399,0x00050041,0x0000000d,0x0000039b,
- 0x0000038d,0x000002e0,0x0003003e,0x0000039b,0x0000039a,0x00060041,0x0000000d,0x0000039c,
- 0x00000043,0x000002e1,0x000002e0,0x0004003d,0x00000006,0x0000039d,0x0000039c,0x00060041,
- 0x0000000d,0x0000039e,0x00000043,0x000002e0,0x000002e1,0x0004003d,0x00000006,0x0000039f,
- 0x0000039e,0x0004003d,0x00000006,0x000003a0,0x00000383,0x0008000c,0x00000006,0x000003a1,
- 0x00000001,0x0000002e,0x0000039d,0x0000039f,0x000003a0,0x00050041,0x0000000d,0x000003a2,
- 0x0000038d,0x000002e2,0x0003003e,0x000003a2,0x000003a1,0x0004003d,0x00000006,0x000003a3,
- 0x00000383,0x00050083,0x00000006,0x000003a4,0x000003a3,0x00000384,0x0003003e,0x00000383,
- 0x000003a4,0x0004003d,0x00000006,0x000003a6,0x00000383,0x000500be,0x000000a6,0x000003a7,
- 0x000003a6,0x000000a5,0x000300f7,0x000003aa,0x00000000,0x000400fa,0x000003a7,0x000003a9,
- 0x000003ad,0x000200f8,0x000003a9,0x00060041,0x0000000d,0x000003ab,0x00000043,0x0000015c,
- 0x000002df,0x0004003d,0x00000006,0x000003ac,0x000003ab,0x0003003e,0x000003a8,0x000003ac,
- 0x000200f9,0x000003aa,0x000200f8,0x000003ad,0x00060041,0x0000000d,0x000003ae,0x00000043,
- 0x000002df,0x0000015c,0x0004003d,0x00000006,0x000003af,0x000003ae,0x0003003e,0x000003a8,
- 0x000003af,0x000200f9,0x000003aa,0x000200f8,0x000003aa,0x0004003d,0x00000006,0x000003b0,
- 0x000003a8,0x0003003e,0x000003a5,0x000003b0,0x0004003d,0x00000006,0x000003b2,0x00000383,
- 0x000500be,0x000000a6,0x000003b3,0x000003b2,0x000000a5,0x000300f7,0x000003b6,0x00000000,
- 0x000400fa,0x000003b3,0x000003b5,0x000003b9,0x000200f8,0x000003b5,0x00060041,0x0000000d,
- 0x000003b7,0x00000043,0x0000021f,0x000002e0,0x0004003d,0x00000006,0x000003b8,0x000003b7,
- 0x0003003e,0x000003b4,0x000003b8,0x000200f9,0x000003b6,0x000200f8,0x000003b9,0x00060041,
- 0x0000000d,0x000003ba,0x00000043,0x000002e0,0x0000021f,0x0004003d,0x00000006,0x000003bb,
- 0x000003ba,0x0003003e,0x000003b4,0x000003bb,0x000200f9,0x000003b6,0x000200f8,0x000003b6,
- 0x0004003d,0x00000006,0x000003bc,0x000003b4,0x0003003e,0x000003b1,0x000003bc,0x0004003d,
- 0x00000006,0x000003be,0x00000383,0x000500be,0x000000a6,0x000003bf,0x000003be,0x000000a5,
- 0x000300f7,0x000003c2,0x00000000,0x000400fa,0x000003bf,0x000003c1,0x000003c5,0x000200f8,
- 0x000003c1,0x00060041,0x0000000d,0x000003c3,0x00000043,0x000002df,0x000002e1,0x0004003d,
- 0x00000006,0x000003c4,0x000003c3,0x0003003e,0x000003c0,0x000003c4,0x000200f9,0x000003c2,
- 0x000200f8,0x000003c5,0x00060041,0x0000000d,0x000003c6,0x00000043,0x000002e1,0x000002df,
- 0x0004003d,0x00000006,0x000003c7,0x000003c6,0x0003003e,0x000003c0,0x000003c7,0x000200f9,
- 0x000003c2,0x000200f8,0x000003c2,0x0004003d,0x00000006,0x000003c8,0x000003c0,0x0003003e,
- 0x000003bd,0x000003c8,0x0004003d,0x00000006,0x000003ca,0x00000383,0x000500be,0x000000a6,
- 0x000003cb,0x000003ca,0x000000a5,0x000300f7,0x000003ce,0x00000000,0x000400fa,0x000003cb,
- 0x000003cd,0x000003d1,0x000200f8,0x000003cd,0x00060041,0x0000000d,0x000003cf,0x00000043,
- 0x000002e0,0x000002e2,0x0004003d,0x00000006,0x000003d0,0x000003cf,0x0003003e,0x000003cc,
- 0x000003d0,0x000200f9,0x000003ce,0x000200f8,0x000003d1,0x00060041,0x0000000d,0x000003d2,
- 0x00000043,0x000002e2,0x000002e0,0x0004003d,0x00000006,0x000003d3,0x000003d2,0x0003003e,
- 0x000003cc,0x000003d3,0x000200f9,0x000003ce,0x000200f8,0x000003ce,0x0004003d,0x00000006,
- 0x000003d4,0x000003cc,0x0003003e,0x000003c9,0x000003d4,0x00060041,0x0000000d,0x000003d5,
- 0x00000043,0x0000021f,0x0000021f,0x0004003d,0x00000006,0x000003d6,0x000003d5,0x0004003d,
- 0x00000006,0x000003d7,0x000003a5,0x0004003d,0x00000006,0x000003d8,0x00000383,0x0006000c,
- 0x00000006,0x000003d9,0x00000001,0x00000004,0x000003d8,0x0008000c,0x00000006,0x000003da,
- 0x00000001,0x0000002e,0x000003d6,0x000003d7,0x000003d9,0x00050041,0x0000000d,0x000003db,
- 0x0000038d,0x0000015c,0x0003003e,0x000003db,0x000003da,0x00060041,0x0000000d,0x000003dc,
- 0x00000043,0x000002df,0x000002df,0x0004003d,0x00000006,0x000003dd,0x000003dc,0x0004003d,
- 0x00000006,0x000003de,0x000003b1,0x0004003d,0x00000006,0x000003df,0x00000383,0x0006000c,
- 0x00000006,0x000003e0,0x00000001,0x00000004,0x000003df,0x0008000c,0x00000006,0x000003e1,
- 0x00000001,0x0000002e,0x000003dd,0x000003de,0x000003e0,0x00050041,0x0000000d,0x000003e2,
- 0x0000038d,0x000002df,0x0003003e,0x000003e2,0x000003e1,0x00060041,0x0000000d,0x000003e3,
- 0x00000043,0x000002e0,0x000002e0,0x0004003d,0x00000006,0x000003e4,0x000003e3,0x0004003d,
- 0x00000006,0x000003e5,0x000003bd,0x0004003d,0x00000006,0x000003e6,0x00000383,0x0006000c,
- 0x00000006,0x000003e7,0x00000001,0x00000004,0x000003e6,0x0008000c,0x00000006,0x000003e8,
- 0x00000001,0x0000002e,0x000003e4,0x000003e5,0x000003e7,0x00050041,0x0000000d,0x000003e9,
- 0x0000038d,0x000002e1,0x0003003e,0x000003e9,0x000003e8,0x00060041,0x0000000d,0x000003ea,
- 0x00000043,0x000002e1,0x000002e1,0x0004003d,0x00000006,0x000003eb,0x000003ea,0x0004003d,
- 0x00000006,0x000003ec,0x000003c9,0x0004003d,0x00000006,0x000003ed,0x00000383,0x0006000c,
- 0x00000006,0x000003ee,0x00000001,0x00000004,0x000003ed,0x0008000c,0x00000006,0x000003ef,
- 0x00000001,0x0000002e,0x000003eb,0x000003ec,0x000003ee,0x00050041,0x0000000d,0x000003f0,
- 0x0000038d,0x00000167,0x0003003e,0x000003f0,0x000003ef,0x0004003d,0x00000006,0x000003f2,
- 0x00000044,0x0004003d,0x00000006,0x000003f3,0x00000045,0x00050081,0x00000006,0x000003f4,
- 0x000003f2,0x000003f3,0x0003003e,0x000003f1,0x000003f4,0x0004003d,0x00000006,0x000003f5,
- 0x000003f1,0x000500be,0x000000a6,0x000003f6,0x000003f5,0x000000b2,0x000300f7,0x000003f8,
- 0x00000000,0x000400fa,0x000003f6,0x000003f7,0x0000040c,0x000200f8,0x000003f7,0x0003003e,
- 0x000003f9,0x0000015c,0x000200f9,0x000003fa,0x000200f8,0x000003fa,0x000400f6,0x000003fc,
- 0x000003fd,0x00000000,0x000200f9,0x000003fe,0x000200f8,0x000003fe,0x0004003d,0x00000025,
- 0x000003ff,0x000003f9,0x000500b1,0x000000a6,0x00000400,0x000003ff,0x00000167,0x000400fa,
- 0x00000400,0x000003fb,0x000003fc,0x000200f8,0x000003fb,0x0004003d,0x00000025,0x00000402,
- 0x000003f9,0x0004003d,0x00000025,0x00000403,0x000003f9,0x00050080,0x00000025,0x00000404,
- 0x00000403,0x0000021f,0x00050041,0x0000000d,0x00000405,0x0000038d,0x00000404,0x0004003d,
- 0x00000006,0x00000406,0x00000405,0x00050041,0x0000000d,0x00000407,0x00000401,0x00000402,
- 0x0003003e,0x00000407,0x00000406,0x000200f9,0x000003fd,0x000200f8,0x000003fd,0x0004003d,
- 0x00000025,0x00000408,0x000003f9,0x00050080,0x00000025,0x00000409,0x00000408,0x0000021f,
- 0x0003003e,0x000003f9,0x00000409,0x000200f9,0x000003fa,0x000200f8,0x000003fc,0x0004003d,
- 0x00000006,0x0000040a,0x000003f1,0x00050083,0x00000006,0x0000040b,0x0000040a,0x000000b2,
- 0x0003003e,0x000003f1,0x0000040b,0x000200f9,0x000003f8,0x000200f8,0x0000040c,0x0003003e,
- 0x0000040d,0x0000015c,0x000200f9,0x0000040e,0x000200f8,0x0000040e,0x000400f6,0x00000410,
- 0x00000411,0x00000000,0x000200f9,0x00000412,0x000200f8,0x00000412,0x0004003d,0x00000025,
- 0x00000413,0x0000040d,0x000500b1,0x000000a6,0x00000414,0x00000413,0x00000167,0x000400fa,
- 0x00000414,0x0000040f,0x00000410,0x000200f8,0x0000040f,0x0004003d,0x00000025,0x00000415,
- 0x0000040d,0x0004003d,0x00000025,0x00000416,0x0000040d,0x00050041,0x0000000d,0x00000417,
- 0x0000038d,0x00000416,0x0004003d,0x00000006,0x00000418,0x00000417,0x00050041,0x0000000d,
- 0x00000419,0x00000401,0x00000415,0x0003003e,0x00000419,0x00000418,0x000200f9,0x00000411,
- 0x000200f8,0x00000411,0x0004003d,0x00000025,0x0000041a,0x0000040d,0x00050080,0x00000025,
- 0x0000041b,0x0000041a,0x0000021f,0x0003003e,0x0000040d,0x0000041b,0x000200f9,0x0000040e,
- 0x000200f8,0x00000410,0x000200f9,0x000003f8,0x000200f8,0x000003f8,0x0004003d,0x00000006,
- 0x0000041c,0x000003f1,0x00050085,0x00000006,0x0000041e,0x0000041c,0x0000041d,0x0004006e,
- 0x00000025,0x0000041f,0x0000041e,0x0004003d,0x00000033,0x00000421,0x00000401,0x0003003e,
- 0x00000420,0x00000421,0x0003003e,0x00000422,0x0000041f,0x00060039,0x00000006,0x00000423,
- 0x00000038,0x00000420,0x00000422,0x00050041,0x0000000d,0x00000424,0x00000048,0x00000057,
- 0x0004003d,0x00000006,0x00000425,0x00000424,0x00050085,0x00000006,0x00000426,0x00000423,
- 0x00000425,0x0004003d,0x00000006,0x00000427,0x00000335,0x00050081,0x00000006,0x00000428,
- 0x00000427,0x00000426,0x0003003e,0x00000335,0x00000428,0x000200f9,0x00000382,0x000200f8,
- 0x00000382,0x00050041,0x0000000d,0x0000042a,0x00000048,0x00000429,0x0004003d,0x00000006,
- 0x0000042b,0x0000042a,0x000500ba,0x000000a6,0x0000042c,0x0000042b,0x000000a5,0x000300f7,
- 0x0000042e,0x00000000,0x000400fa,0x0000042c,0x0000042d,0x0000042e,0x000200f8,0x0000042d,
- 0x0004003d,0x00000006,0x00000430,0x00000044,0x0004003d,0x00000006,0x00000431,0x00000045,
- 0x00050081,0x00000006,0x00000432,0x00000430,0x00000431,0x00050085,0x00000006,0x00000433,
- 0x00000384,0x00000432,0x0003003e,0x0000042f,0x00000433,0x00060041,0x0000000d,0x00000435,
- 0x00000043,0x000002e0,0x0000021f,0x0004003d,0x00000006,0x00000436,0x00000435,0x00060041,
- 0x0000000d,0x00000437,0x00000043,0x000002e1,0x000002df,0x0004003d,0x00000006,0x00000438,
- 0x00000437,0x0004003d,0x00000006,0x00000439,0x0000042f,0x0008000c,0x00000006,0x0000043a,
- 0x00000001,0x0000002e,0x00000436,0x00000438,0x00000439,0x00050041,0x0000000d,0x0000043b,
- 0x00000434,0x0000021f,0x0003003e,0x0000043b,0x0000043a,0x00060041,0x0000000d,0x0000043c,
- 0x00000043,0x000002df,0x000002df,0x0004003d,0x00000006,0x0000043d,0x0000043c,0x00060041,
- 0x0000000d,0x0000043e,0x00000043,0x000002e0,0x000002e0,0x0004003d,0x00000006,0x0000043f,
- 0x0000043e,0x0004003d,0x00000006,0x00000440,0x0000042f,0x0008000c,0x00000006,0x00000441,
- 0x00000001,0x0000002e,0x0000043d,0x0000043f,0x00000440,0x00050041,0x0000000d,0x00000442,
- 0x00000434,0x000002e0,0x0003003e,0x00000442,0x00000441,0x00060041,0x0000000d,0x00000443,
- 0x00000043,0x0000021f,0x000002e0,0x0004003d,0x00000006,0x00000444,0x00000443,0x00060041,
- 0x0000000d,0x00000445,0x00000043,0x000002df,0x000002e1,0x0004003d,0x00000006,0x00000446,
- 0x00000445,0x0004003d,0x00000006,0x00000447,0x0000042f,0x0008000c,0x00000006,0x00000448,
- 0x00000001,0x0000002e,0x00000444,0x00000446,0x00000447,0x00050041,0x0000000d,0x00000449,
- 0x00000434,0x000002e2,0x0003003e,0x00000449,0x00000448,0x0004003d,0x00000006,0x0000044a,
- 0x0000042f,0x00050083,0x00000006,0x0000044b,0x0000044a,0x00000384,0x0003003e,0x0000042f,
- 0x0000044b,0x0004003d,0x00000006,0x0000044d,0x0000042f,0x000500be,0x000000a6,0x0000044e,
- 0x0000044d,0x000000a5,0x000300f7,0x00000451,0x00000000,0x000400fa,0x0000044e,0x00000450,
- 0x00000454,0x000200f8,0x00000450,0x00060041,0x0000000d,0x00000452,0x00000043,0x000002e2,
- 0x000002df,0x0004003d,0x00000006,0x00000453,0x00000452,0x0003003e,0x0000044f,0x00000453,
- 0x000200f9,0x00000451,0x000200f8,0x00000454,0x00060041,0x0000000d,0x00000455,0x00000043,
- 0x000002e0,0x0000015c,0x0004003d,0x00000006,0x00000456,0x00000455,0x0003003e,0x0000044f,
- 0x00000456,0x000200f9,0x00000451,0x000200f8,0x00000451,0x0004003d,0x00000006,0x00000457,
- 0x0000044f,0x0003003e,0x0000044c,0x00000457,0x0004003d,0x00000006,0x00000459,0x0000042f,
- 0x000500be,0x000000a6,0x0000045a,0x00000459,0x000000a5,0x000300f7,0x0000045d,0x00000000,
- 0x000400fa,0x0000045a,0x0000045c,0x00000460,0x000200f8,0x0000045c,0x00060041,0x0000000d,
- 0x0000045e,0x00000043,0x000002e1,0x000002e0,0x0004003d,0x00000006,0x0000045f,0x0000045e,
- 0x0003003e,0x0000045b,0x0000045f,0x000200f9,0x0000045d,0x000200f8,0x00000460,0x00060041,
- 0x0000000d,0x00000461,0x00000043,0x000002df,0x0000021f,0x0004003d,0x00000006,0x00000462,
- 0x00000461,0x0003003e,0x0000045b,0x00000462,0x000200f9,0x0000045d,0x000200f8,0x0000045d,
- 0x0004003d,0x00000006,0x00000463,0x0000045b,0x0003003e,0x00000458,0x00000463,0x0004003d,
- 0x00000006,0x00000465,0x0000042f,0x000500be,0x000000a6,0x00000466,0x00000465,0x000000a5,
- 0x000300f7,0x00000469,0x00000000,0x000400fa,0x00000466,0x00000468,0x0000046c,0x000200f8,
- 0x00000468,0x00060041,0x0000000d,0x0000046a,0x00000043,0x000002e0,0x000002e1,0x0004003d,
- 0x00000006,0x0000046b,0x0000046a,0x0003003e,0x00000467,0x0000046b,0x000200f9,0x00000469,
- 0x000200f8,0x0000046c,0x00060041,0x0000000d,0x0000046d,0x00000043,0x0000021f,0x000002df,
- 0x0004003d,0x00000006,0x0000046e,0x0000046d,0x0003003e,0x00000467,0x0000046e,0x000200f9,
- 0x00000469,0x000200f8,0x00000469,0x0004003d,0x00000006,0x0000046f,0x00000467,0x0003003e,
- 0x00000464,0x0000046f,0x0004003d,0x00000006,0x00000471,0x0000042f,0x000500be,0x000000a6,
- 0x00000472,0x00000471,0x000000a5,0x000300f7,0x00000475,0x00000000,0x000400fa,0x00000472,
- 0x00000474,0x00000478,0x000200f8,0x00000474,0x00060041,0x0000000d,0x00000476,0x00000043,
- 0x000002df,0x000002e2,0x0004003d,0x00000006,0x00000477,0x00000476,0x0003003e,0x00000473,
- 0x00000477,0x000200f9,0x00000475,0x000200f8,0x00000478,0x00060041,0x0000000d,0x00000479,
- 0x00000043,0x0000015c,0x000002e0,0x0004003d,0x00000006,0x0000047a,0x00000479,0x0003003e,
- 0x00000473,0x0000047a,0x000200f9,0x00000475,0x000200f8,0x00000475,0x0004003d,0x00000006,
- 0x0000047b,0x00000473,0x0003003e,0x00000470,0x0000047b,0x00060041,0x0000000d,0x0000047c,
- 0x00000043,0x000002e1,0x0000021f,0x0004003d,0x00000006,0x0000047d,0x0000047c,0x0004003d,
- 0x00000006,0x0000047e,0x0000044c,0x0004003d,0x00000006,0x0000047f,0x0000042f,0x0006000c,
- 0x00000006,0x00000480,0x00000001,0x00000004,0x0000047f,0x0008000c,0x00000006,0x00000481,
- 0x00000001,0x0000002e,0x0000047d,0x0000047e,0x00000480,0x00050041,0x0000000d,0x00000482,
- 0x00000434,0x0000015c,0x0003003e,0x00000482,0x00000481,0x00060041,0x0000000d,0x00000483,
- 0x00000043,0x000002e0,0x000002df,0x0004003d,0x00000006,0x00000484,0x00000483,0x0004003d,
- 0x00000006,0x00000485,0x00000458,0x0004003d,0x00000006,0x00000486,0x0000042f,0x0006000c,
- 0x00000006,0x00000487,0x00000001,0x00000004,0x00000486,0x0008000c,0x00000006,0x00000488,
- 0x00000001,0x0000002e,0x00000484,0x00000485,0x00000487,0x00050041,0x0000000d,0x00000489,
- 0x00000434,0x000002df,0x0003003e,0x00000489,0x00000488,0x00060041,0x0000000d,0x0000048a,
- 0x00000043,0x000002df,0x000002e0,0x0004003d,0x00000006,0x0000048b,0x0000048a,0x0004003d,
- 0x00000006,0x0000048c,0x00000464,0x0004003d,0x00000006,0x0000048d,0x0000042f,0x0006000c,
- 0x00000006,0x0000048e,0x00000001,0x00000004,0x0000048d,0x0008000c,0x00000006,0x0000048f,
- 0x00000001,0x0000002e,0x0000048b,0x0000048c,0x0000048e,0x00050041,0x0000000d,0x00000490,
- 0x00000434,0x000002e1,0x0003003e,0x00000490,0x0000048f,0x00060041,0x0000000d,0x00000491,
- 0x00000043,0x0000021f,0x000002e1,0x0004003d,0x00000006,0x00000492,0x00000491,0x0004003d,
- 0x00000006,0x00000493,0x00000470,0x0004003d,0x00000006,0x00000494,0x0000042f,0x0006000c,
- 0x00000006,0x00000495,0x00000001,0x00000004,0x00000494,0x0008000c,0x00000006,0x00000496,
- 0x00000001,0x0000002e,0x00000492,0x00000493,0x00000495,0x00050041,0x0000000d,0x00000497,
- 0x00000434,0x00000167,0x0003003e,0x00000497,0x00000496,0x0004003d,0x00000006,0x00000499,
- 0x00000044,0x0004003d,0x00000006,0x0000049a,0x00000045,0x00050083,0x00000006,0x0000049b,
- 0x00000499,0x0000049a,0x00050081,0x00000006,0x0000049c,0x000000b2,0x0000049b,0x0003003e,
- 0x00000498,0x0000049c,0x0004003d,0x00000006,0x0000049d,0x00000498,0x000500be,0x000000a6,
- 0x0000049e,0x0000049d,0x000000b2,0x000300f7,0x000004a0,0x00000000,0x000400fa,0x0000049e,
- 0x0000049f,0x000004b4,0x000200f8,0x0000049f,0x0003003e,0x000004a1,0x0000015c,0x000200f9,
- 0x000004a2,0x000200f8,0x000004a2,0x000400f6,0x000004a4,0x000004a5,0x00000000,0x000200f9,
- 0x000004a6,0x000200f8,0x000004a6,0x0004003d,0x00000025,0x000004a7,0x000004a1,0x000500b1,
- 0x000000a6,0x000004a8,0x000004a7,0x00000167,0x000400fa,0x000004a8,0x000004a3,0x000004a4,
- 0x000200f8,0x000004a3,0x0004003d,0x00000025,0x000004aa,0x000004a1,0x0004003d,0x00000025,
- 0x000004ab,0x000004a1,0x00050080,0x00000025,0x000004ac,0x000004ab,0x0000021f,0x00050041,
- 0x0000000d,0x000004ad,0x00000434,0x000004ac,0x0004003d,0x00000006,0x000004ae,0x000004ad,
- 0x00050041,0x0000000d,0x000004af,0x000004a9,0x000004aa,0x0003003e,0x000004af,0x000004ae,
- 0x000200f9,0x000004a5,0x000200f8,0x000004a5,0x0004003d,0x00000025,0x000004b0,0x000004a1,
- 0x00050080,0x00000025,0x000004b1,0x000004b0,0x0000021f,0x0003003e,0x000004a1,0x000004b1,
- 0x000200f9,0x000004a2,0x000200f8,0x000004a4,0x0004003d,0x00000006,0x000004b2,0x00000498,
- 0x00050083,0x00000006,0x000004b3,0x000004b2,0x000000b2,0x0003003e,0x00000498,0x000004b3,
- 0x000200f9,0x000004a0,0x000200f8,0x000004b4,0x0003003e,0x000004b5,0x0000015c,0x000200f9,
- 0x000004b6,0x000200f8,0x000004b6,0x000400f6,0x000004b8,0x000004b9,0x00000000,0x000200f9,
- 0x000004ba,0x000200f8,0x000004ba,0x0004003d,0x00000025,0x000004bb,0x000004b5,0x000500b1,
- 0x000000a6,0x000004bc,0x000004bb,0x00000167,0x000400fa,0x000004bc,0x000004b7,0x000004b8,
- 0x000200f8,0x000004b7,0x0004003d,0x00000025,0x000004bd,0x000004b5,0x0004003d,0x00000025,
- 0x000004be,0x000004b5,0x00050041,0x0000000d,0x000004bf,0x00000434,0x000004be,0x0004003d,
- 0x00000006,0x000004c0,0x000004bf,0x00050041,0x0000000d,0x000004c1,0x000004a9,0x000004bd,
- 0x0003003e,0x000004c1,0x000004c0,0x000200f9,0x000004b9,0x000200f8,0x000004b9,0x0004003d,
- 0x00000025,0x000004c2,0x000004b5,0x00050080,0x00000025,0x000004c3,0x000004c2,0x0000021f,
- 0x0003003e,0x000004b5,0x000004c3,0x000200f9,0x000004b6,0x000200f8,0x000004b8,0x000200f9,
- 0x000004a0,0x000200f8,0x000004a0,0x0004003d,0x00000006,0x000004c4,0x00000498,0x00050085,
- 0x00000006,0x000004c5,0x000004c4,0x0000041d,0x0004006e,0x00000025,0x000004c6,0x000004c5,
- 0x0004003d,0x00000033,0x000004c8,0x000004a9,0x0003003e,0x000004c7,0x000004c8,0x0003003e,
- 0x000004c9,0x000004c6,0x00060039,0x00000006,0x000004ca,0x00000038,0x000004c7,0x000004c9,
- 0x00050041,0x0000000d,0x000004cb,0x00000048,0x00000429,0x0004003d,0x00000006,0x000004cc,
- 0x000004cb,0x00050085,0x00000006,0x000004cd,0x000004ca,0x000004cc,0x0004003d,0x00000006,
- 0x000004ce,0x00000335,0x00050081,0x00000006,0x000004cf,0x000004ce,0x000004cd,0x0003003e,
- 0x00000335,0x000004cf,0x000200f9,0x0000042e,0x000200f8,0x0000042e,0x0004003d,0x00000006,
- 0x000004d0,0x00000335,0x000200fe,0x000004d0,0x00010038
+ 0x0000000d,0x0000031f,0x00000007,0x0004003b,0x00000026,0x00000326,0x00000007,0x0004003b,
+ 0x00000034,0x0000032e,0x00000007,0x0004003b,0x00000034,0x0000033b,0x00000007,0x0004003b,
+ 0x00000026,0x0000033d,0x00000007,0x0004003b,0x00000026,0x0000034b,0x00000007,0x0004003b,
+ 0x00000034,0x00000353,0x00000007,0x0004003b,0x00000034,0x00000360,0x00000007,0x0004003b,
+ 0x00000026,0x00000362,0x00000007,0x0004003b,0x0000000d,0x00000370,0x00000007,0x0004003b,
+ 0x00000379,0x0000037a,0x00000007,0x0004003b,0x0000000d,0x00000392,0x00000007,0x0004003b,
+ 0x0000000d,0x00000395,0x00000007,0x0004003b,0x0000000d,0x0000039e,0x00000007,0x0004003b,
+ 0x0000000d,0x000003a1,0x00000007,0x0004003b,0x0000000d,0x000003aa,0x00000007,0x0004003b,
+ 0x0000000d,0x000003ad,0x00000007,0x0004003b,0x0000000d,0x000003b6,0x00000007,0x0004003b,
+ 0x0000000d,0x000003b9,0x00000007,0x0004003b,0x0000000d,0x000003de,0x00000007,0x0004003b,
+ 0x00000026,0x000003e6,0x00000007,0x0004003b,0x00000034,0x000003ee,0x00000007,0x0004003b,
+ 0x00000026,0x000003fa,0x00000007,0x0004003b,0x00000034,0x0000040d,0x00000007,0x0004003b,
+ 0x00000026,0x0000040f,0x00000007,0x0004003b,0x0000000d,0x0000041c,0x00000007,0x0004003b,
+ 0x00000379,0x00000421,0x00000007,0x0004003b,0x0000000d,0x00000439,0x00000007,0x0004003b,
+ 0x0000000d,0x0000043c,0x00000007,0x0004003b,0x0000000d,0x00000445,0x00000007,0x0004003b,
+ 0x0000000d,0x00000448,0x00000007,0x0004003b,0x0000000d,0x00000451,0x00000007,0x0004003b,
+ 0x0000000d,0x00000454,0x00000007,0x0004003b,0x0000000d,0x0000045d,0x00000007,0x0004003b,
+ 0x0000000d,0x00000460,0x00000007,0x0004003b,0x0000000d,0x00000485,0x00000007,0x0004003b,
+ 0x00000026,0x0000048e,0x00000007,0x0004003b,0x00000034,0x00000496,0x00000007,0x0004003b,
+ 0x00000026,0x000004a2,0x00000007,0x0004003b,0x00000034,0x000004b4,0x00000007,0x0004003b,
+ 0x00000026,0x000004b6,0x00000007,0x0003003e,0x0000031f,0x0000009a,0x00050041,0x0000000d,
+ 0x00000321,0x00000048,0x00000320,0x0004003d,0x00000006,0x00000322,0x00000321,0x000500ba,
+ 0x0000009b,0x00000323,0x00000322,0x0000009a,0x000300f7,0x00000325,0x00000000,0x000400fa,
+ 0x00000323,0x00000324,0x00000325,0x000200f8,0x00000324,0x0003003e,0x00000326,0x00000150,
+ 0x000200f9,0x00000327,0x000200f8,0x00000327,0x000400f6,0x00000329,0x0000032a,0x00000000,
+ 0x000200f9,0x0000032b,0x000200f8,0x0000032b,0x0004003d,0x00000025,0x0000032c,0x00000326,
+ 0x000500b1,0x0000009b,0x0000032d,0x0000032c,0x0000015c,0x000400fa,0x0000032d,0x00000328,
+ 0x00000329,0x000200f8,0x00000328,0x0004003d,0x00000025,0x0000032f,0x00000326,0x0004003d,
+ 0x00000025,0x00000330,0x00000326,0x00060041,0x0000000d,0x00000331,0x00000043,0x00000330,
+ 0x000002c9,0x0004003d,0x00000006,0x00000332,0x00000331,0x0004003d,0x00000025,0x00000333,
+ 0x00000326,0x00060041,0x0000000d,0x00000334,0x00000043,0x00000333,0x000002ca,0x0004003d,
+ 0x00000006,0x00000335,0x00000334,0x0004003d,0x00000006,0x00000336,0x00000044,0x0008000c,
+ 0x00000006,0x00000337,0x00000001,0x0000002e,0x00000332,0x00000335,0x00000336,0x00050041,
+ 0x0000000d,0x00000338,0x0000032e,0x0000032f,0x0003003e,0x00000338,0x00000337,0x000200f9,
+ 0x0000032a,0x000200f8,0x0000032a,0x0004003d,0x00000025,0x00000339,0x00000326,0x00050080,
+ 0x00000025,0x0000033a,0x00000339,0x000002a3,0x0003003e,0x00000326,0x0000033a,0x000200f9,
+ 0x00000327,0x000200f8,0x00000329,0x0004003d,0x00000033,0x0000033c,0x0000032e,0x0003003e,
+ 0x0000033b,0x0000033c,0x0004003d,0x00000025,0x0000033e,0x00000047,0x0003003e,0x0000033d,
+ 0x0000033e,0x00060039,0x00000006,0x0000033f,0x00000038,0x0000033b,0x0000033d,0x00050041,
+ 0x0000000d,0x00000340,0x00000048,0x00000320,0x0004003d,0x00000006,0x00000341,0x00000340,
+ 0x00050085,0x00000006,0x00000342,0x0000033f,0x00000341,0x0004003d,0x00000006,0x00000343,
+ 0x0000031f,0x00050081,0x00000006,0x00000344,0x00000343,0x00000342,0x0003003e,0x0000031f,
+ 0x00000344,0x000200f9,0x00000325,0x000200f8,0x00000325,0x00050041,0x0000000d,0x00000346,
+ 0x00000048,0x00000345,0x0004003d,0x00000006,0x00000347,0x00000346,0x000500ba,0x0000009b,
+ 0x00000348,0x00000347,0x0000009a,0x000300f7,0x0000034a,0x00000000,0x000400fa,0x00000348,
+ 0x00000349,0x0000034a,0x000200f8,0x00000349,0x0003003e,0x0000034b,0x00000150,0x000200f9,
+ 0x0000034c,0x000200f8,0x0000034c,0x000400f6,0x0000034e,0x0000034f,0x00000000,0x000200f9,
+ 0x00000350,0x000200f8,0x00000350,0x0004003d,0x00000025,0x00000351,0x0000034b,0x000500b1,
+ 0x0000009b,0x00000352,0x00000351,0x0000015c,0x000400fa,0x00000352,0x0000034d,0x0000034e,
+ 0x000200f8,0x0000034d,0x0004003d,0x00000025,0x00000354,0x0000034b,0x0004003d,0x00000025,
+ 0x00000355,0x0000034b,0x00060041,0x0000000d,0x00000356,0x00000043,0x000002c9,0x00000355,
+ 0x0004003d,0x00000006,0x00000357,0x00000356,0x0004003d,0x00000025,0x00000358,0x0000034b,
+ 0x00060041,0x0000000d,0x00000359,0x00000043,0x000002ca,0x00000358,0x0004003d,0x00000006,
+ 0x0000035a,0x00000359,0x0004003d,0x00000006,0x0000035b,0x00000045,0x0008000c,0x00000006,
+ 0x0000035c,0x00000001,0x0000002e,0x00000357,0x0000035a,0x0000035b,0x00050041,0x0000000d,
+ 0x0000035d,0x00000353,0x00000354,0x0003003e,0x0000035d,0x0000035c,0x000200f9,0x0000034f,
+ 0x000200f8,0x0000034f,0x0004003d,0x00000025,0x0000035e,0x0000034b,0x00050080,0x00000025,
+ 0x0000035f,0x0000035e,0x000002a3,0x0003003e,0x0000034b,0x0000035f,0x000200f9,0x0000034c,
+ 0x000200f8,0x0000034e,0x0004003d,0x00000033,0x00000361,0x00000353,0x0003003e,0x00000360,
+ 0x00000361,0x0004003d,0x00000025,0x00000363,0x00000046,0x0003003e,0x00000362,0x00000363,
+ 0x00060039,0x00000006,0x00000364,0x00000038,0x00000360,0x00000362,0x00050041,0x0000000d,
+ 0x00000365,0x00000048,0x00000345,0x0004003d,0x00000006,0x00000366,0x00000365,0x00050085,
+ 0x00000006,0x00000367,0x00000364,0x00000366,0x0004003d,0x00000006,0x00000368,0x0000031f,
+ 0x00050081,0x00000006,0x00000369,0x00000368,0x00000367,0x0003003e,0x0000031f,0x00000369,
+ 0x000200f9,0x0000034a,0x000200f8,0x0000034a,0x00050041,0x0000000d,0x0000036b,0x00000048,
+ 0x0000036a,0x0004003d,0x00000006,0x0000036c,0x0000036b,0x000500ba,0x0000009b,0x0000036d,
+ 0x0000036c,0x0000009a,0x000300f7,0x0000036f,0x00000000,0x000400fa,0x0000036d,0x0000036e,
+ 0x0000036f,0x000200f8,0x0000036e,0x0004003d,0x00000006,0x00000372,0x00000044,0x0004003d,
+ 0x00000006,0x00000373,0x00000045,0x00050083,0x00000006,0x00000374,0x00000372,0x00000373,
+ 0x00050085,0x00000006,0x00000375,0x00000371,0x00000374,0x00050081,0x00000006,0x00000376,
+ 0x00000371,0x00000375,0x0003003e,0x00000370,0x00000376,0x00060041,0x0000000d,0x0000037b,
+ 0x00000043,0x000002c9,0x000002a3,0x0004003d,0x00000006,0x0000037c,0x0000037b,0x00060041,
+ 0x0000000d,0x0000037d,0x00000043,0x000002a3,0x000002c9,0x0004003d,0x00000006,0x0000037e,
+ 0x0000037d,0x0004003d,0x00000006,0x0000037f,0x00000370,0x0008000c,0x00000006,0x00000380,
+ 0x00000001,0x0000002e,0x0000037c,0x0000037e,0x0000037f,0x00050041,0x0000000d,0x00000381,
+ 0x0000037a,0x000002a3,0x0003003e,0x00000381,0x00000380,0x00060041,0x0000000d,0x00000382,
+ 0x00000043,0x000002ca,0x000002c9,0x0004003d,0x00000006,0x00000383,0x00000382,0x00060041,
+ 0x0000000d,0x00000384,0x00000043,0x000002c9,0x000002ca,0x0004003d,0x00000006,0x00000385,
+ 0x00000384,0x0004003d,0x00000006,0x00000386,0x00000370,0x0008000c,0x00000006,0x00000387,
+ 0x00000001,0x0000002e,0x00000383,0x00000385,0x00000386,0x00050041,0x0000000d,0x00000388,
+ 0x0000037a,0x000002ca,0x0003003e,0x00000388,0x00000387,0x00060041,0x0000000d,0x00000389,
+ 0x00000043,0x000002cb,0x000002ca,0x0004003d,0x00000006,0x0000038a,0x00000389,0x00060041,
+ 0x0000000d,0x0000038b,0x00000043,0x000002ca,0x000002cb,0x0004003d,0x00000006,0x0000038c,
+ 0x0000038b,0x0004003d,0x00000006,0x0000038d,0x00000370,0x0008000c,0x00000006,0x0000038e,
+ 0x00000001,0x0000002e,0x0000038a,0x0000038c,0x0000038d,0x00050041,0x0000000d,0x0000038f,
+ 0x0000037a,0x000002cc,0x0003003e,0x0000038f,0x0000038e,0x0004003d,0x00000006,0x00000390,
+ 0x00000370,0x00050083,0x00000006,0x00000391,0x00000390,0x00000371,0x0003003e,0x00000370,
+ 0x00000391,0x0004003d,0x00000006,0x00000393,0x00000370,0x000500be,0x0000009b,0x00000394,
+ 0x00000393,0x0000009a,0x000300f7,0x00000397,0x00000000,0x000400fa,0x00000394,0x00000396,
+ 0x0000039a,0x000200f8,0x00000396,0x00060041,0x0000000d,0x00000398,0x00000043,0x00000150,
+ 0x000002c9,0x0004003d,0x00000006,0x00000399,0x00000398,0x0003003e,0x00000395,0x00000399,
+ 0x000200f9,0x00000397,0x000200f8,0x0000039a,0x00060041,0x0000000d,0x0000039b,0x00000043,
+ 0x000002c9,0x00000150,0x0004003d,0x00000006,0x0000039c,0x0000039b,0x0003003e,0x00000395,
+ 0x0000039c,0x000200f9,0x00000397,0x000200f8,0x00000397,0x0004003d,0x00000006,0x0000039d,
+ 0x00000395,0x0003003e,0x00000392,0x0000039d,0x0004003d,0x00000006,0x0000039f,0x00000370,
+ 0x000500be,0x0000009b,0x000003a0,0x0000039f,0x0000009a,0x000300f7,0x000003a3,0x00000000,
+ 0x000400fa,0x000003a0,0x000003a2,0x000003a6,0x000200f8,0x000003a2,0x00060041,0x0000000d,
+ 0x000003a4,0x00000043,0x000002a3,0x000002ca,0x0004003d,0x00000006,0x000003a5,0x000003a4,
+ 0x0003003e,0x000003a1,0x000003a5,0x000200f9,0x000003a3,0x000200f8,0x000003a6,0x00060041,
+ 0x0000000d,0x000003a7,0x00000043,0x000002ca,0x000002a3,0x0004003d,0x00000006,0x000003a8,
+ 0x000003a7,0x0003003e,0x000003a1,0x000003a8,0x000200f9,0x000003a3,0x000200f8,0x000003a3,
+ 0x0004003d,0x00000006,0x000003a9,0x000003a1,0x0003003e,0x0000039e,0x000003a9,0x0004003d,
+ 0x00000006,0x000003ab,0x00000370,0x000500be,0x0000009b,0x000003ac,0x000003ab,0x0000009a,
+ 0x000300f7,0x000003af,0x00000000,0x000400fa,0x000003ac,0x000003ae,0x000003b2,0x000200f8,
+ 0x000003ae,0x00060041,0x0000000d,0x000003b0,0x00000043,0x000002c9,0x000002cb,0x0004003d,
+ 0x00000006,0x000003b1,0x000003b0,0x0003003e,0x000003ad,0x000003b1,0x000200f9,0x000003af,
+ 0x000200f8,0x000003b2,0x00060041,0x0000000d,0x000003b3,0x00000043,0x000002cb,0x000002c9,
+ 0x0004003d,0x00000006,0x000003b4,0x000003b3,0x0003003e,0x000003ad,0x000003b4,0x000200f9,
+ 0x000003af,0x000200f8,0x000003af,0x0004003d,0x00000006,0x000003b5,0x000003ad,0x0003003e,
+ 0x000003aa,0x000003b5,0x0004003d,0x00000006,0x000003b7,0x00000370,0x000500be,0x0000009b,
+ 0x000003b8,0x000003b7,0x0000009a,0x000300f7,0x000003bb,0x00000000,0x000400fa,0x000003b8,
+ 0x000003ba,0x000003be,0x000200f8,0x000003ba,0x00060041,0x0000000d,0x000003bc,0x00000043,
+ 0x000002ca,0x000002cc,0x0004003d,0x00000006,0x000003bd,0x000003bc,0x0003003e,0x000003b9,
+ 0x000003bd,0x000200f9,0x000003bb,0x000200f8,0x000003be,0x00060041,0x0000000d,0x000003bf,
+ 0x00000043,0x000002cc,0x000002ca,0x0004003d,0x00000006,0x000003c0,0x000003bf,0x0003003e,
+ 0x000003b9,0x000003c0,0x000200f9,0x000003bb,0x000200f8,0x000003bb,0x0004003d,0x00000006,
+ 0x000003c1,0x000003b9,0x0003003e,0x000003b6,0x000003c1,0x00060041,0x0000000d,0x000003c2,
+ 0x00000043,0x000002a3,0x000002a3,0x0004003d,0x00000006,0x000003c3,0x000003c2,0x0004003d,
+ 0x00000006,0x000003c4,0x00000392,0x0004003d,0x00000006,0x000003c5,0x00000370,0x0006000c,
+ 0x00000006,0x000003c6,0x00000001,0x00000004,0x000003c5,0x0008000c,0x00000006,0x000003c7,
+ 0x00000001,0x0000002e,0x000003c3,0x000003c4,0x000003c6,0x00050041,0x0000000d,0x000003c8,
+ 0x0000037a,0x00000150,0x0003003e,0x000003c8,0x000003c7,0x00060041,0x0000000d,0x000003c9,
+ 0x00000043,0x000002c9,0x000002c9,0x0004003d,0x00000006,0x000003ca,0x000003c9,0x0004003d,
+ 0x00000006,0x000003cb,0x0000039e,0x0004003d,0x00000006,0x000003cc,0x00000370,0x0006000c,
+ 0x00000006,0x000003cd,0x00000001,0x00000004,0x000003cc,0x0008000c,0x00000006,0x000003ce,
+ 0x00000001,0x0000002e,0x000003ca,0x000003cb,0x000003cd,0x00050041,0x0000000d,0x000003cf,
+ 0x0000037a,0x000002c9,0x0003003e,0x000003cf,0x000003ce,0x00060041,0x0000000d,0x000003d0,
+ 0x00000043,0x000002ca,0x000002ca,0x0004003d,0x00000006,0x000003d1,0x000003d0,0x0004003d,
+ 0x00000006,0x000003d2,0x000003aa,0x0004003d,0x00000006,0x000003d3,0x00000370,0x0006000c,
+ 0x00000006,0x000003d4,0x00000001,0x00000004,0x000003d3,0x0008000c,0x00000006,0x000003d5,
+ 0x00000001,0x0000002e,0x000003d1,0x000003d2,0x000003d4,0x00050041,0x0000000d,0x000003d6,
+ 0x0000037a,0x000002cb,0x0003003e,0x000003d6,0x000003d5,0x00060041,0x0000000d,0x000003d7,
+ 0x00000043,0x000002cb,0x000002cb,0x0004003d,0x00000006,0x000003d8,0x000003d7,0x0004003d,
+ 0x00000006,0x000003d9,0x000003b6,0x0004003d,0x00000006,0x000003da,0x00000370,0x0006000c,
+ 0x00000006,0x000003db,0x00000001,0x00000004,0x000003da,0x0008000c,0x00000006,0x000003dc,
+ 0x00000001,0x0000002e,0x000003d8,0x000003d9,0x000003db,0x00050041,0x0000000d,0x000003dd,
+ 0x0000037a,0x0000015c,0x0003003e,0x000003dd,0x000003dc,0x0004003d,0x00000006,0x000003df,
+ 0x00000044,0x0004003d,0x00000006,0x000003e0,0x00000045,0x00050081,0x00000006,0x000003e1,
+ 0x000003df,0x000003e0,0x0003003e,0x000003de,0x000003e1,0x0004003d,0x00000006,0x000003e2,
+ 0x000003de,0x000500be,0x0000009b,0x000003e3,0x000003e2,0x000000a8,0x000300f7,0x000003e5,
+ 0x00000000,0x000400fa,0x000003e3,0x000003e4,0x000003f9,0x000200f8,0x000003e4,0x0003003e,
+ 0x000003e6,0x00000150,0x000200f9,0x000003e7,0x000200f8,0x000003e7,0x000400f6,0x000003e9,
+ 0x000003ea,0x00000000,0x000200f9,0x000003eb,0x000200f8,0x000003eb,0x0004003d,0x00000025,
+ 0x000003ec,0x000003e6,0x000500b1,0x0000009b,0x000003ed,0x000003ec,0x0000015c,0x000400fa,
+ 0x000003ed,0x000003e8,0x000003e9,0x000200f8,0x000003e8,0x0004003d,0x00000025,0x000003ef,
+ 0x000003e6,0x0004003d,0x00000025,0x000003f0,0x000003e6,0x00050080,0x00000025,0x000003f1,
+ 0x000003f0,0x000002a3,0x00050041,0x0000000d,0x000003f2,0x0000037a,0x000003f1,0x0004003d,
+ 0x00000006,0x000003f3,0x000003f2,0x00050041,0x0000000d,0x000003f4,0x000003ee,0x000003ef,
+ 0x0003003e,0x000003f4,0x000003f3,0x000200f9,0x000003ea,0x000200f8,0x000003ea,0x0004003d,
+ 0x00000025,0x000003f5,0x000003e6,0x00050080,0x00000025,0x000003f6,0x000003f5,0x000002a3,
+ 0x0003003e,0x000003e6,0x000003f6,0x000200f9,0x000003e7,0x000200f8,0x000003e9,0x0004003d,
+ 0x00000006,0x000003f7,0x000003de,0x00050083,0x00000006,0x000003f8,0x000003f7,0x000000a8,
+ 0x0003003e,0x000003de,0x000003f8,0x000200f9,0x000003e5,0x000200f8,0x000003f9,0x0003003e,
+ 0x000003fa,0x00000150,0x000200f9,0x000003fb,0x000200f8,0x000003fb,0x000400f6,0x000003fd,
+ 0x000003fe,0x00000000,0x000200f9,0x000003ff,0x000200f8,0x000003ff,0x0004003d,0x00000025,
+ 0x00000400,0x000003fa,0x000500b1,0x0000009b,0x00000401,0x00000400,0x0000015c,0x000400fa,
+ 0x00000401,0x000003fc,0x000003fd,0x000200f8,0x000003fc,0x0004003d,0x00000025,0x00000402,
+ 0x000003fa,0x0004003d,0x00000025,0x00000403,0x000003fa,0x00050041,0x0000000d,0x00000404,
+ 0x0000037a,0x00000403,0x0004003d,0x00000006,0x00000405,0x00000404,0x00050041,0x0000000d,
+ 0x00000406,0x000003ee,0x00000402,0x0003003e,0x00000406,0x00000405,0x000200f9,0x000003fe,
+ 0x000200f8,0x000003fe,0x0004003d,0x00000025,0x00000407,0x000003fa,0x00050080,0x00000025,
+ 0x00000408,0x00000407,0x000002a3,0x0003003e,0x000003fa,0x00000408,0x000200f9,0x000003fb,
+ 0x000200f8,0x000003fd,0x000200f9,0x000003e5,0x000200f8,0x000003e5,0x0004003d,0x00000006,
+ 0x00000409,0x000003de,0x00050085,0x00000006,0x0000040b,0x00000409,0x0000040a,0x0004006e,
+ 0x00000025,0x0000040c,0x0000040b,0x0004003d,0x00000033,0x0000040e,0x000003ee,0x0003003e,
+ 0x0000040d,0x0000040e,0x0003003e,0x0000040f,0x0000040c,0x00060039,0x00000006,0x00000410,
+ 0x00000038,0x0000040d,0x0000040f,0x00050041,0x0000000d,0x00000411,0x00000048,0x0000036a,
+ 0x0004003d,0x00000006,0x00000412,0x00000411,0x00050085,0x00000006,0x00000413,0x00000410,
+ 0x00000412,0x0004003d,0x00000006,0x00000414,0x0000031f,0x00050081,0x00000006,0x00000415,
+ 0x00000414,0x00000413,0x0003003e,0x0000031f,0x00000415,0x000200f9,0x0000036f,0x000200f8,
+ 0x0000036f,0x00050041,0x0000000d,0x00000417,0x00000048,0x00000416,0x0004003d,0x00000006,
+ 0x00000418,0x00000417,0x000500ba,0x0000009b,0x00000419,0x00000418,0x0000009a,0x000300f7,
+ 0x0000041b,0x00000000,0x000400fa,0x00000419,0x0000041a,0x0000041b,0x000200f8,0x0000041a,
+ 0x0004003d,0x00000006,0x0000041d,0x00000044,0x0004003d,0x00000006,0x0000041e,0x00000045,
+ 0x00050081,0x00000006,0x0000041f,0x0000041d,0x0000041e,0x00050085,0x00000006,0x00000420,
+ 0x00000371,0x0000041f,0x0003003e,0x0000041c,0x00000420,0x00060041,0x0000000d,0x00000422,
+ 0x00000043,0x000002ca,0x000002a3,0x0004003d,0x00000006,0x00000423,0x00000422,0x00060041,
+ 0x0000000d,0x00000424,0x00000043,0x000002cb,0x000002c9,0x0004003d,0x00000006,0x00000425,
+ 0x00000424,0x0004003d,0x00000006,0x00000426,0x0000041c,0x0008000c,0x00000006,0x00000427,
+ 0x00000001,0x0000002e,0x00000423,0x00000425,0x00000426,0x00050041,0x0000000d,0x00000428,
+ 0x00000421,0x000002a3,0x0003003e,0x00000428,0x00000427,0x00060041,0x0000000d,0x00000429,
+ 0x00000043,0x000002c9,0x000002c9,0x0004003d,0x00000006,0x0000042a,0x00000429,0x00060041,
+ 0x0000000d,0x0000042b,0x00000043,0x000002ca,0x000002ca,0x0004003d,0x00000006,0x0000042c,
+ 0x0000042b,0x0004003d,0x00000006,0x0000042d,0x0000041c,0x0008000c,0x00000006,0x0000042e,
+ 0x00000001,0x0000002e,0x0000042a,0x0000042c,0x0000042d,0x00050041,0x0000000d,0x0000042f,
+ 0x00000421,0x000002ca,0x0003003e,0x0000042f,0x0000042e,0x00060041,0x0000000d,0x00000430,
+ 0x00000043,0x000002a3,0x000002ca,0x0004003d,0x00000006,0x00000431,0x00000430,0x00060041,
+ 0x0000000d,0x00000432,0x00000043,0x000002c9,0x000002cb,0x0004003d,0x00000006,0x00000433,
+ 0x00000432,0x0004003d,0x00000006,0x00000434,0x0000041c,0x0008000c,0x00000006,0x00000435,
+ 0x00000001,0x0000002e,0x00000431,0x00000433,0x00000434,0x00050041,0x0000000d,0x00000436,
+ 0x00000421,0x000002cc,0x0003003e,0x00000436,0x00000435,0x0004003d,0x00000006,0x00000437,
+ 0x0000041c,0x00050083,0x00000006,0x00000438,0x00000437,0x00000371,0x0003003e,0x0000041c,
+ 0x00000438,0x0004003d,0x00000006,0x0000043a,0x0000041c,0x000500be,0x0000009b,0x0000043b,
+ 0x0000043a,0x0000009a,0x000300f7,0x0000043e,0x00000000,0x000400fa,0x0000043b,0x0000043d,
+ 0x00000441,0x000200f8,0x0000043d,0x00060041,0x0000000d,0x0000043f,0x00000043,0x000002cc,
+ 0x000002c9,0x0004003d,0x00000006,0x00000440,0x0000043f,0x0003003e,0x0000043c,0x00000440,
+ 0x000200f9,0x0000043e,0x000200f8,0x00000441,0x00060041,0x0000000d,0x00000442,0x00000043,
+ 0x000002ca,0x00000150,0x0004003d,0x00000006,0x00000443,0x00000442,0x0003003e,0x0000043c,
+ 0x00000443,0x000200f9,0x0000043e,0x000200f8,0x0000043e,0x0004003d,0x00000006,0x00000444,
+ 0x0000043c,0x0003003e,0x00000439,0x00000444,0x0004003d,0x00000006,0x00000446,0x0000041c,
+ 0x000500be,0x0000009b,0x00000447,0x00000446,0x0000009a,0x000300f7,0x0000044a,0x00000000,
+ 0x000400fa,0x00000447,0x00000449,0x0000044d,0x000200f8,0x00000449,0x00060041,0x0000000d,
+ 0x0000044b,0x00000043,0x000002cb,0x000002ca,0x0004003d,0x00000006,0x0000044c,0x0000044b,
+ 0x0003003e,0x00000448,0x0000044c,0x000200f9,0x0000044a,0x000200f8,0x0000044d,0x00060041,
+ 0x0000000d,0x0000044e,0x00000043,0x000002c9,0x000002a3,0x0004003d,0x00000006,0x0000044f,
+ 0x0000044e,0x0003003e,0x00000448,0x0000044f,0x000200f9,0x0000044a,0x000200f8,0x0000044a,
+ 0x0004003d,0x00000006,0x00000450,0x00000448,0x0003003e,0x00000445,0x00000450,0x0004003d,
+ 0x00000006,0x00000452,0x0000041c,0x000500be,0x0000009b,0x00000453,0x00000452,0x0000009a,
+ 0x000300f7,0x00000456,0x00000000,0x000400fa,0x00000453,0x00000455,0x00000459,0x000200f8,
+ 0x00000455,0x00060041,0x0000000d,0x00000457,0x00000043,0x000002ca,0x000002cb,0x0004003d,
+ 0x00000006,0x00000458,0x00000457,0x0003003e,0x00000454,0x00000458,0x000200f9,0x00000456,
+ 0x000200f8,0x00000459,0x00060041,0x0000000d,0x0000045a,0x00000043,0x000002a3,0x000002c9,
+ 0x0004003d,0x00000006,0x0000045b,0x0000045a,0x0003003e,0x00000454,0x0000045b,0x000200f9,
+ 0x00000456,0x000200f8,0x00000456,0x0004003d,0x00000006,0x0000045c,0x00000454,0x0003003e,
+ 0x00000451,0x0000045c,0x0004003d,0x00000006,0x0000045e,0x0000041c,0x000500be,0x0000009b,
+ 0x0000045f,0x0000045e,0x0000009a,0x000300f7,0x00000462,0x00000000,0x000400fa,0x0000045f,
+ 0x00000461,0x00000465,0x000200f8,0x00000461,0x00060041,0x0000000d,0x00000463,0x00000043,
+ 0x000002c9,0x000002cc,0x0004003d,0x00000006,0x00000464,0x00000463,0x0003003e,0x00000460,
+ 0x00000464,0x000200f9,0x00000462,0x000200f8,0x00000465,0x00060041,0x0000000d,0x00000466,
+ 0x00000043,0x00000150,0x000002ca,0x0004003d,0x00000006,0x00000467,0x00000466,0x0003003e,
+ 0x00000460,0x00000467,0x000200f9,0x00000462,0x000200f8,0x00000462,0x0004003d,0x00000006,
+ 0x00000468,0x00000460,0x0003003e,0x0000045d,0x00000468,0x00060041,0x0000000d,0x00000469,
+ 0x00000043,0x000002cb,0x000002a3,0x0004003d,0x00000006,0x0000046a,0x00000469,0x0004003d,
+ 0x00000006,0x0000046b,0x00000439,0x0004003d,0x00000006,0x0000046c,0x0000041c,0x0006000c,
+ 0x00000006,0x0000046d,0x00000001,0x00000004,0x0000046c,0x0008000c,0x00000006,0x0000046e,
+ 0x00000001,0x0000002e,0x0000046a,0x0000046b,0x0000046d,0x00050041,0x0000000d,0x0000046f,
+ 0x00000421,0x00000150,0x0003003e,0x0000046f,0x0000046e,0x00060041,0x0000000d,0x00000470,
+ 0x00000043,0x000002ca,0x000002c9,0x0004003d,0x00000006,0x00000471,0x00000470,0x0004003d,
+ 0x00000006,0x00000472,0x00000445,0x0004003d,0x00000006,0x00000473,0x0000041c,0x0006000c,
+ 0x00000006,0x00000474,0x00000001,0x00000004,0x00000473,0x0008000c,0x00000006,0x00000475,
+ 0x00000001,0x0000002e,0x00000471,0x00000472,0x00000474,0x00050041,0x0000000d,0x00000476,
+ 0x00000421,0x000002c9,0x0003003e,0x00000476,0x00000475,0x00060041,0x0000000d,0x00000477,
+ 0x00000043,0x000002c9,0x000002ca,0x0004003d,0x00000006,0x00000478,0x00000477,0x0004003d,
+ 0x00000006,0x00000479,0x00000451,0x0004003d,0x00000006,0x0000047a,0x0000041c,0x0006000c,
+ 0x00000006,0x0000047b,0x00000001,0x00000004,0x0000047a,0x0008000c,0x00000006,0x0000047c,
+ 0x00000001,0x0000002e,0x00000478,0x00000479,0x0000047b,0x00050041,0x0000000d,0x0000047d,
+ 0x00000421,0x000002cb,0x0003003e,0x0000047d,0x0000047c,0x00060041,0x0000000d,0x0000047e,
+ 0x00000043,0x000002a3,0x000002cb,0x0004003d,0x00000006,0x0000047f,0x0000047e,0x0004003d,
+ 0x00000006,0x00000480,0x0000045d,0x0004003d,0x00000006,0x00000481,0x0000041c,0x0006000c,
+ 0x00000006,0x00000482,0x00000001,0x00000004,0x00000481,0x0008000c,0x00000006,0x00000483,
+ 0x00000001,0x0000002e,0x0000047f,0x00000480,0x00000482,0x00050041,0x0000000d,0x00000484,
+ 0x00000421,0x0000015c,0x0003003e,0x00000484,0x00000483,0x0004003d,0x00000006,0x00000486,
+ 0x00000044,0x0004003d,0x00000006,0x00000487,0x00000045,0x00050083,0x00000006,0x00000488,
+ 0x00000486,0x00000487,0x00050081,0x00000006,0x00000489,0x000000a8,0x00000488,0x0003003e,
+ 0x00000485,0x00000489,0x0004003d,0x00000006,0x0000048a,0x00000485,0x000500be,0x0000009b,
+ 0x0000048b,0x0000048a,0x000000a8,0x000300f7,0x0000048d,0x00000000,0x000400fa,0x0000048b,
+ 0x0000048c,0x000004a1,0x000200f8,0x0000048c,0x0003003e,0x0000048e,0x00000150,0x000200f9,
+ 0x0000048f,0x000200f8,0x0000048f,0x000400f6,0x00000491,0x00000492,0x00000000,0x000200f9,
+ 0x00000493,0x000200f8,0x00000493,0x0004003d,0x00000025,0x00000494,0x0000048e,0x000500b1,
+ 0x0000009b,0x00000495,0x00000494,0x0000015c,0x000400fa,0x00000495,0x00000490,0x00000491,
+ 0x000200f8,0x00000490,0x0004003d,0x00000025,0x00000497,0x0000048e,0x0004003d,0x00000025,
+ 0x00000498,0x0000048e,0x00050080,0x00000025,0x00000499,0x00000498,0x000002a3,0x00050041,
+ 0x0000000d,0x0000049a,0x00000421,0x00000499,0x0004003d,0x00000006,0x0000049b,0x0000049a,
+ 0x00050041,0x0000000d,0x0000049c,0x00000496,0x00000497,0x0003003e,0x0000049c,0x0000049b,
+ 0x000200f9,0x00000492,0x000200f8,0x00000492,0x0004003d,0x00000025,0x0000049d,0x0000048e,
+ 0x00050080,0x00000025,0x0000049e,0x0000049d,0x000002a3,0x0003003e,0x0000048e,0x0000049e,
+ 0x000200f9,0x0000048f,0x000200f8,0x00000491,0x0004003d,0x00000006,0x0000049f,0x00000485,
+ 0x00050083,0x00000006,0x000004a0,0x0000049f,0x000000a8,0x0003003e,0x00000485,0x000004a0,
+ 0x000200f9,0x0000048d,0x000200f8,0x000004a1,0x0003003e,0x000004a2,0x00000150,0x000200f9,
+ 0x000004a3,0x000200f8,0x000004a3,0x000400f6,0x000004a5,0x000004a6,0x00000000,0x000200f9,
+ 0x000004a7,0x000200f8,0x000004a7,0x0004003d,0x00000025,0x000004a8,0x000004a2,0x000500b1,
+ 0x0000009b,0x000004a9,0x000004a8,0x0000015c,0x000400fa,0x000004a9,0x000004a4,0x000004a5,
+ 0x000200f8,0x000004a4,0x0004003d,0x00000025,0x000004aa,0x000004a2,0x0004003d,0x00000025,
+ 0x000004ab,0x000004a2,0x00050041,0x0000000d,0x000004ac,0x00000421,0x000004ab,0x0004003d,
+ 0x00000006,0x000004ad,0x000004ac,0x00050041,0x0000000d,0x000004ae,0x00000496,0x000004aa,
+ 0x0003003e,0x000004ae,0x000004ad,0x000200f9,0x000004a6,0x000200f8,0x000004a6,0x0004003d,
+ 0x00000025,0x000004af,0x000004a2,0x00050080,0x00000025,0x000004b0,0x000004af,0x000002a3,
+ 0x0003003e,0x000004a2,0x000004b0,0x000200f9,0x000004a3,0x000200f8,0x000004a5,0x000200f9,
+ 0x0000048d,0x000200f8,0x0000048d,0x0004003d,0x00000006,0x000004b1,0x00000485,0x00050085,
+ 0x00000006,0x000004b2,0x000004b1,0x0000040a,0x0004006e,0x00000025,0x000004b3,0x000004b2,
+ 0x0004003d,0x00000033,0x000004b5,0x00000496,0x0003003e,0x000004b4,0x000004b5,0x0003003e,
+ 0x000004b6,0x000004b3,0x00060039,0x00000006,0x000004b7,0x00000038,0x000004b4,0x000004b6,
+ 0x00050041,0x0000000d,0x000004b8,0x00000048,0x00000416,0x0004003d,0x00000006,0x000004b9,
+ 0x000004b8,0x00050085,0x00000006,0x000004ba,0x000004b7,0x000004b9,0x0004003d,0x00000006,
+ 0x000004bb,0x0000031f,0x00050081,0x00000006,0x000004bc,0x000004bb,0x000004ba,0x0003003e,
+ 0x0000031f,0x000004bc,0x000200f9,0x0000041b,0x000200f8,0x0000041b,0x0004003d,0x00000006,
+ 0x000004bd,0x0000031f,0x000200fe,0x000004bd,0x00010038
};
diff --git a/app/src/main/cpp/shaders/nis_luma.frag b/app/src/main/cpp/shaders/nis_luma.frag
new file mode 100644
index 0000000000..b1bdbebcb7
--- /dev/null
+++ b/app/src/main/cpp/shaders/nis_luma.frag
@@ -0,0 +1,36 @@
+#version 450
+
+// =============================================================================
+// NIS prepass for nis3.frag: the game image copied 1:1 with its NIS luma in
+// alpha (the compositor never uses the alpha of these targets). nis3.frag then
+// reads four luma texels per textureGather instead of computing luma for each
+// of 36 fetches per output pixel.
+//
+// Runs at the game (input) resolution into a target of the same size, so the
+// output pixel reads its input pixel 1:1 (texelFetch at gl_FragCoord).
+// Luma weights = nis.frag getY() (NVIDIA NIS, SDR: BT.709).
+// =============================================================================
+
+// DD_HALF: colour and luma in mediump; the texel address from gl_FragCoord stays highp
+// (no default mediump: a 16-bit gl_FragCoord rounds pixel centres past x = 1024, e.g.
+// 1279.5 -> 1280, and texelFetch then reads the wrong or an outside texel).
+#ifdef DD_HALF
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0); full target
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out BL_MP vec4 outColor;
+
+void main() {
+ highp ivec2 p = ivec2(gl_FragCoord.xy);
+ BL_MP vec3 c = texelFetch(InputTexture, p, 0).rgb;
+ outColor = vec4(c, 0.2126 * c.r + 0.7152 * c.g + 0.0722 * c.b);
+}
diff --git a/app/src/main/cpp/shaders/nis_luma_half_frag.h b/app/src/main/cpp/shaders/nis_luma_half_frag.h
new file mode 100644
index 0000000000..f03f042715
--- /dev/null
+++ b/app/src/main/cpp/shaders/nis_luma_half_frag.h
@@ -0,0 +1,58 @@
+ // 1116.2.0
+ #pragma once
+const uint32_t nis_luma_half_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x0000003e,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000d,0x00000020,0x0000003d,
+ 0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,
+ 0x6e69616d,0x00000000,0x00030005,0x00000009,0x00000070,0x00060005,0x0000000d,0x465f6c67,
+ 0x43676172,0x64726f6f,0x00000000,0x00030005,0x00000014,0x00000063,0x00060005,0x00000018,
+ 0x75706e49,0x78655474,0x65727574,0x00000000,0x00050005,0x00000020,0x4374756f,0x726f6c6f,
+ 0x00000000,0x00030005,0x00000039,0x00004350,0x00040006,0x00000039,0x00000000,0x0063646e,
+ 0x00030005,0x0000003b,0x00006370,0x00060005,0x0000003d,0x67617266,0x43786554,0x64726f6f,
+ 0x00000000,0x00040047,0x0000000d,0x0000000b,0x0000000f,0x00030047,0x00000014,0x00000000,
+ 0x00030047,0x00000018,0x00000000,0x00040047,0x00000018,0x00000021,0x00000000,0x00040047,
+ 0x00000018,0x00000022,0x00000000,0x00030047,0x00000019,0x00000000,0x00030047,0x0000001d,
+ 0x00000000,0x00030047,0x0000001e,0x00000000,0x00030047,0x00000020,0x00000000,0x00040047,
+ 0x00000020,0x0000001e,0x00000000,0x00030047,0x00000021,0x00000000,0x00030047,0x00000027,
+ 0x00000000,0x00030047,0x00000028,0x00000000,0x00030047,0x0000002c,0x00000000,0x00030047,
+ 0x0000002d,0x00000000,0x00030047,0x0000002e,0x00000000,0x00030047,0x00000032,0x00000000,
+ 0x00030047,0x00000033,0x00000000,0x00030047,0x00000034,0x00000000,0x00030047,0x00000035,
+ 0x00000000,0x00030047,0x00000036,0x00000000,0x00030047,0x00000037,0x00000000,0x00030047,
+ 0x00000038,0x00000000,0x00030047,0x00000039,0x00000002,0x00050048,0x00000039,0x00000000,
+ 0x00000023,0x00000000,0x00040047,0x0000003d,0x0000001e,0x00000000,0x00020013,0x00000002,
+ 0x00030021,0x00000003,0x00000002,0x00040015,0x00000006,0x00000020,0x00000001,0x00040017,
+ 0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,0x00000007,0x00030016,
+ 0x0000000a,0x00000020,0x00040017,0x0000000b,0x0000000a,0x00000004,0x00040020,0x0000000c,
+ 0x00000001,0x0000000b,0x0004003b,0x0000000c,0x0000000d,0x00000001,0x00040017,0x0000000e,
+ 0x0000000a,0x00000002,0x00040017,0x00000012,0x0000000a,0x00000003,0x00040020,0x00000013,
+ 0x00000007,0x00000012,0x00090019,0x00000015,0x0000000a,0x00000001,0x00000000,0x00000000,
+ 0x00000000,0x00000001,0x00000000,0x0003001b,0x00000016,0x00000015,0x00040020,0x00000017,
+ 0x00000000,0x00000016,0x0004003b,0x00000017,0x00000018,0x00000000,0x0004002b,0x00000006,
+ 0x0000001b,0x00000000,0x00040020,0x0000001f,0x00000003,0x0000000b,0x0004003b,0x0000001f,
+ 0x00000020,0x00000003,0x0004002b,0x0000000a,0x00000022,0x3e59b3d0,0x00040015,0x00000023,
+ 0x00000020,0x00000000,0x0004002b,0x00000023,0x00000024,0x00000000,0x00040020,0x00000025,
+ 0x00000007,0x0000000a,0x0004002b,0x0000000a,0x00000029,0x3f371759,0x0004002b,0x00000023,
+ 0x0000002a,0x00000001,0x0004002b,0x0000000a,0x0000002f,0x3d93dd98,0x0004002b,0x00000023,
+ 0x00000030,0x00000002,0x0003001e,0x00000039,0x0000000b,0x00040020,0x0000003a,0x00000009,
+ 0x00000039,0x0004003b,0x0000003a,0x0000003b,0x00000009,0x00040020,0x0000003c,0x00000001,
+ 0x0000000e,0x0004003b,0x0000003c,0x0000003d,0x00000001,0x00050036,0x00000002,0x00000004,
+ 0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,
+ 0x0004003b,0x00000013,0x00000014,0x00000007,0x0004003d,0x0000000b,0x0000000f,0x0000000d,
+ 0x0007004f,0x0000000e,0x00000010,0x0000000f,0x0000000f,0x00000000,0x00000001,0x0004006e,
+ 0x00000007,0x00000011,0x00000010,0x0003003e,0x00000009,0x00000011,0x0004003d,0x00000016,
+ 0x00000019,0x00000018,0x0004003d,0x00000007,0x0000001a,0x00000009,0x00040064,0x00000015,
+ 0x0000001c,0x00000019,0x0007005f,0x0000000b,0x0000001d,0x0000001c,0x0000001a,0x00000002,
+ 0x0000001b,0x0008004f,0x00000012,0x0000001e,0x0000001d,0x0000001d,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x00000014,0x0000001e,0x0004003d,0x00000012,0x00000021,0x00000014,
+ 0x00050041,0x00000025,0x00000026,0x00000014,0x00000024,0x0004003d,0x0000000a,0x00000027,
+ 0x00000026,0x00050085,0x0000000a,0x00000028,0x00000022,0x00000027,0x00050041,0x00000025,
+ 0x0000002b,0x00000014,0x0000002a,0x0004003d,0x0000000a,0x0000002c,0x0000002b,0x00050085,
+ 0x0000000a,0x0000002d,0x00000029,0x0000002c,0x00050081,0x0000000a,0x0000002e,0x00000028,
+ 0x0000002d,0x00050041,0x00000025,0x00000031,0x00000014,0x00000030,0x0004003d,0x0000000a,
+ 0x00000032,0x00000031,0x00050085,0x0000000a,0x00000033,0x0000002f,0x00000032,0x00050081,
+ 0x0000000a,0x00000034,0x0000002e,0x00000033,0x00050051,0x0000000a,0x00000035,0x00000021,
+ 0x00000000,0x00050051,0x0000000a,0x00000036,0x00000021,0x00000001,0x00050051,0x0000000a,
+ 0x00000037,0x00000021,0x00000002,0x00070050,0x0000000b,0x00000038,0x00000035,0x00000036,
+ 0x00000037,0x00000034,0x0003003e,0x00000020,0x00000038,0x000100fd,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/ntsc.frag b/app/src/main/cpp/shaders/ntsc.frag
new file mode 100644
index 0000000000..9a57fa230f
--- /dev/null
+++ b/app/src/main/cpp/shaders/ntsc.frag
@@ -0,0 +1,73 @@
+#version 450
+
+// =============================================================================
+// NTSC composite-signal artifacts (YIQ chroma modulation + chromatic
+// aberration + scanlines + subtle barrel warp) post effect.
+//
+// Ported verbatim from the OpenGL NTSCCombinedEffect.java shader. GL sampled
+// with the varying vUV; here fragTexCoord IS that uv. GL's TextureSize and
+// resolution uniforms were both the screen size -> we feed both from pc.resolution.
+// Chroma offsets are fixed; this effect does not animate its color phase.
+//
+// Conventions match upscale.vert: combined-image-sampler at binding 0, the
+// push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+// Runs after HDR, before CRT in the canonical chain (analog signal, then tube).
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ vec2 resolution; // screen size in px (= TextureSize = resolution in GL)
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+#define PI 3.14159265
+#define SCANLINE_INTENSITY 0.35
+#define CHROMA_OFFSET 0.005
+#define BLUR_RADIUS 0.002
+#define WARP_AMOUNT 0.01
+#define SCANLINE_DARKEN 0.5
+
+const mat3 yiq_mat = mat3(
+ 0.299, 0.587, 0.114,
+ 0.596, -0.275, -0.321,
+ 0.212, -0.523, 0.311
+);
+const mat3 yiq2rgb_mat = mat3(
+ 1.0, 0.956, 0.621,
+ 1.0, -0.272, -0.647,
+ 1.0, -1.106, 1.705
+);
+
+vec3 applyNTSC(vec2 uv) {
+ return vec3(
+ texture(InputTexture, uv + vec2(CHROMA_OFFSET, 0.0)).r,
+ texture(InputTexture, uv + vec2(0.0, BLUR_RADIUS)).g,
+ texture(InputTexture, uv - vec2(CHROMA_OFFSET, 0.0)).b
+ );
+}
+
+vec3 applyScanlines(vec2 uv, vec3 col) {
+ float scanline = abs(sin(uv.y * pc.resolution.y * 2.0)) * SCANLINE_INTENSITY;
+ col *= 1.0 - (scanline * SCANLINE_DARKEN);
+ return col;
+}
+
+vec2 applyWarp(vec2 uv) {
+ uv = uv * 2.0 - 1.0;
+ float r = sqrt(uv.x * uv.x + uv.y * uv.y);
+ uv += uv * (r * r) * WARP_AMOUNT;
+ return uv * 0.5 + 0.5;
+}
+
+void main() {
+ vec2 warpedUV = applyWarp(fragTexCoord);
+ vec3 centerColor = texture(InputTexture, warpedUV).rgb;
+ vec3 ntscColor = applyNTSC(warpedUV);
+ vec3 scanlineColor = applyScanlines(warpedUV, centerColor);
+ vec3 finalColor = mix(ntscColor, scanlineColor, 0.7);
+ outColor = vec4(finalColor, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/ntsc_frag.h b/app/src/main/cpp/shaders/ntsc_frag.h
index 409c9d90f0..2b22036f66 100644
--- a/app/src/main/cpp/shaders/ntsc_frag.h
+++ b/app/src/main/cpp/shaders/ntsc_frag.h
@@ -1,153 +1,126 @@
+ // 1116.3.0
#pragma once
const uint32_t ntsc_code[] = {
- 0x07230203,0x00010000,0x0008000b,0x000000d5,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x07230203,0x00010000,0x0008000b,0x000000af,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
- 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x000000bc,0x000000cf,0x00030010,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000077,0x00000091,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00060005,0x0000000c,0x6c707061,0x53544e79,0x66762843,0x00003b32,0x00030005,
- 0x0000000b,0x00007675,0x00070005,0x0000000f,0x6c707061,0x61635379,0x6e696c6e,0x76287365,
- 0x003b3266,0x00030005,0x0000000e,0x00007675,0x00060005,0x00000013,0x6c707061,0x72615779,
- 0x66762870,0x00003b32,0x00030005,0x00000012,0x00007675,0x00030005,0x00000016,0x006c6f63,
- 0x00060005,0x0000001a,0x75706e49,0x78655474,0x65727574,0x00000000,0x00030005,0x00000020,
- 0x00716979,0x00050005,0x00000032,0x6f726863,0x6850616d,0x00657361,0x00030005,0x00000038,
- 0x00004350,0x00040006,0x00000038,0x00000000,0x0063646e,0x00060006,0x00000038,0x00000001,
- 0x6f736572,0x6974756c,0x00006e6f,0x00060006,0x00000038,0x00000002,0x6d617266,0x756f4365,
- 0x0000746e,0x00030005,0x0000003a,0x00006370,0x00030005,0x00000058,0x00626772,0x00050005,
- 0x00000066,0x616e6966,0x6c6f436c,0x0000726f,0x00030005,0x00000082,0x006c6f63,0x00050005,
- 0x00000087,0x6e616373,0x656e696c,0x00000000,0x00030005,0x0000009e,0x00000072,0x00050005,
- 0x000000ba,0x70726177,0x56556465,0x00000000,0x00060005,0x000000bc,0x67617266,0x43786554,
- 0x64726f6f,0x00000000,0x00040005,0x000000bd,0x61726170,0x0000006d,0x00050005,0x000000c0,
- 0x6373746e,0x6f6c6f43,0x00000072,0x00040005,0x000000c1,0x61726170,0x0000006d,0x00060005,
- 0x000000c4,0x6e616373,0x656e696c,0x6f6c6f43,0x00000072,0x00040005,0x000000c5,0x61726170,
- 0x0000006d,0x00050005,0x000000c8,0x616e6966,0x6c6f436c,0x0000726f,0x00050005,0x000000cf,
- 0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000001a,0x00000021,0x00000000,0x00040047,
- 0x0000001a,0x00000022,0x00000000,0x00030047,0x00000038,0x00000002,0x00050048,0x00000038,
- 0x00000000,0x00000023,0x00000000,0x00050048,0x00000038,0x00000001,0x00000023,0x00000010,
- 0x00050048,0x00000038,0x00000002,0x00000023,0x00000018,0x00040047,0x000000bc,0x0000001e,
- 0x00000000,0x00040047,0x000000cf,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,
- 0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,0x00000006,
- 0x00000002,0x00040020,0x00000008,0x00000007,0x00000007,0x00040017,0x00000009,0x00000006,
- 0x00000003,0x00040021,0x0000000a,0x00000009,0x00000008,0x00040021,0x00000011,0x00000007,
- 0x00000008,0x00040020,0x00000015,0x00000007,0x00000009,0x00090019,0x00000017,0x00000006,
- 0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x00000018,
- 0x00000017,0x00040020,0x00000019,0x00000000,0x00000018,0x0004003b,0x00000019,0x0000001a,
- 0x00000000,0x00040017,0x0000001d,0x00000006,0x00000004,0x00040018,0x00000022,0x00000009,
- 0x00000003,0x0004002b,0x00000006,0x00000023,0x3e991687,0x0004002b,0x00000006,0x00000024,
- 0x3f1645a2,0x0004002b,0x00000006,0x00000025,0x3de978d5,0x0006002c,0x00000009,0x00000026,
- 0x00000023,0x00000024,0x00000025,0x0004002b,0x00000006,0x00000027,0x3f189375,0x0004002b,
- 0x00000006,0x00000028,0xbe8ccccd,0x0004002b,0x00000006,0x00000029,0xbea45a1d,0x0006002c,
- 0x00000009,0x0000002a,0x00000027,0x00000028,0x00000029,0x0004002b,0x00000006,0x0000002b,
- 0x3e591687,0x0004002b,0x00000006,0x0000002c,0xbf05e354,0x0004002b,0x00000006,0x0000002d,
- 0x3e9f3b64,0x0006002c,0x00000009,0x0000002e,0x0000002b,0x0000002c,0x0000002d,0x0006002c,
- 0x00000022,0x0000002f,0x00000026,0x0000002a,0x0000002e,0x00040020,0x00000031,0x00000007,
- 0x00000006,0x0004002b,0x00000006,0x00000033,0x40490fdb,0x00040015,0x00000034,0x00000020,
- 0x00000000,0x0004002b,0x00000034,0x00000035,0x00000001,0x0005001e,0x00000038,0x0000001d,
- 0x00000007,0x00000006,0x00040020,0x00000039,0x00000009,0x00000038,0x0004003b,0x00000039,
- 0x0000003a,0x00000009,0x00040015,0x0000003b,0x00000020,0x00000001,0x0004002b,0x0000003b,
- 0x0000003c,0x00000001,0x00040020,0x0000003d,0x00000009,0x00000006,0x0004002b,0x00000006,
- 0x00000041,0x40000000,0x0004002b,0x0000003b,0x00000043,0x00000002,0x0004002b,0x00000006,
- 0x00000049,0x3f000000,0x0004002b,0x00000034,0x00000053,0x00000002,0x0004002b,0x00000006,
- 0x0000005a,0x3f800000,0x0004002b,0x00000006,0x0000005b,0x3f74bc6a,0x0004002b,0x00000006,
- 0x0000005c,0x3f1ef9db,0x0006002c,0x00000009,0x0000005d,0x0000005a,0x0000005b,0x0000005c,
- 0x0004002b,0x00000006,0x0000005e,0xbe8b4396,0x0004002b,0x00000006,0x0000005f,0xbf25a1cb,
- 0x0006002c,0x00000009,0x00000060,0x0000005a,0x0000005e,0x0000005f,0x0004002b,0x00000006,
- 0x00000061,0xbf8d9168,0x0004002b,0x00000006,0x00000062,0x3fda3d71,0x0006002c,0x00000009,
- 0x00000063,0x0000005a,0x00000061,0x00000062,0x0006002c,0x00000022,0x00000064,0x0000005d,
- 0x00000060,0x00000063,0x0004002b,0x00000006,0x00000069,0x3ba3d70a,0x0004002b,0x00000006,
- 0x0000006a,0x00000000,0x0005002c,0x00000007,0x0000006b,0x00000069,0x0000006a,0x0004002b,
- 0x00000034,0x0000006e,0x00000000,0x0004002b,0x00000006,0x00000073,0x3b03126f,0x0005002c,
- 0x00000007,0x00000074,0x0000006a,0x00000073,0x0004002b,0x00000006,0x00000090,0x3eb33333,
- 0x0004002b,0x00000006,0x000000b0,0x3c23d70a,0x00040020,0x000000bb,0x00000001,0x00000007,
- 0x0004003b,0x000000bb,0x000000bc,0x00000001,0x0004002b,0x00000006,0x000000cb,0x3f333333,
- 0x00040020,0x000000ce,0x00000003,0x0000001d,0x0004003b,0x000000ce,0x000000cf,0x00000003,
+ 0x0000000b,0x00007675,0x00080005,0x00000012,0x6c707061,0x61635379,0x6e696c6e,0x76287365,
+ 0x763b3266,0x003b3366,0x00030005,0x00000010,0x00007675,0x00030005,0x00000011,0x006c6f63,
+ 0x00060005,0x00000016,0x6c707061,0x72615779,0x66762870,0x00003b32,0x00030005,0x00000015,
+ 0x00007675,0x00060005,0x0000001b,0x75706e49,0x78655474,0x65727574,0x00000000,0x00050005,
+ 0x00000039,0x6e616373,0x656e696c,0x00000000,0x00030005,0x0000003c,0x00004350,0x00040006,
+ 0x0000003c,0x00000000,0x0063646e,0x00060006,0x0000003c,0x00000001,0x6f736572,0x6974756c,
+ 0x00006e6f,0x00030005,0x0000003e,0x00006370,0x00030005,0x00000059,0x00000072,0x00050005,
+ 0x00000075,0x70726177,0x56556465,0x00000000,0x00060005,0x00000077,0x67617266,0x43786554,
+ 0x64726f6f,0x00000000,0x00040005,0x00000078,0x61726170,0x0000006d,0x00050005,0x0000007b,
+ 0x746e6563,0x6f437265,0x00726f6c,0x00050005,0x00000080,0x6373746e,0x6f6c6f43,0x00000072,
+ 0x00040005,0x00000081,0x61726170,0x0000006d,0x00060005,0x00000084,0x6e616373,0x656e696c,
+ 0x6f6c6f43,0x00000072,0x00040005,0x00000085,0x61726170,0x0000006d,0x00040005,0x00000087,
+ 0x61726170,0x0000006d,0x00050005,0x0000008a,0x616e6966,0x6c6f436c,0x0000726f,0x00050005,
+ 0x00000091,0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000001b,0x00000021,0x00000000,
+ 0x00040047,0x0000001b,0x00000022,0x00000000,0x00030047,0x0000003c,0x00000002,0x00050048,
+ 0x0000003c,0x00000000,0x00000023,0x00000000,0x00050048,0x0000003c,0x00000001,0x00000023,
+ 0x00000010,0x00040047,0x00000077,0x0000001e,0x00000000,0x00040047,0x00000091,0x0000001e,
+ 0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,
+ 0x00000020,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,
+ 0x00000007,0x00040017,0x00000009,0x00000006,0x00000003,0x00040021,0x0000000a,0x00000009,
+ 0x00000008,0x00040020,0x0000000e,0x00000007,0x00000009,0x00050021,0x0000000f,0x00000009,
+ 0x00000008,0x0000000e,0x00040021,0x00000014,0x00000007,0x00000008,0x00090019,0x00000018,
+ 0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,
+ 0x00000019,0x00000018,0x00040020,0x0000001a,0x00000000,0x00000019,0x0004003b,0x0000001a,
+ 0x0000001b,0x00000000,0x0004002b,0x00000006,0x0000001e,0x3ba3d70a,0x0004002b,0x00000006,
+ 0x0000001f,0x00000000,0x0005002c,0x00000007,0x00000020,0x0000001e,0x0000001f,0x00040017,
+ 0x00000022,0x00000006,0x00000004,0x00040015,0x00000024,0x00000020,0x00000000,0x0004002b,
+ 0x00000024,0x00000025,0x00000000,0x0004002b,0x00000006,0x00000029,0x3b03126f,0x0005002c,
+ 0x00000007,0x0000002a,0x0000001f,0x00000029,0x0004002b,0x00000024,0x0000002d,0x00000001,
+ 0x0004002b,0x00000024,0x00000033,0x00000002,0x00040020,0x00000038,0x00000007,0x00000006,
+ 0x0004001e,0x0000003c,0x00000022,0x00000007,0x00040020,0x0000003d,0x00000009,0x0000003c,
+ 0x0004003b,0x0000003d,0x0000003e,0x00000009,0x00040015,0x0000003f,0x00000020,0x00000001,
+ 0x0004002b,0x0000003f,0x00000040,0x00000001,0x00040020,0x00000041,0x00000009,0x00000006,
+ 0x0004002b,0x00000006,0x00000045,0x40000000,0x0004002b,0x00000006,0x00000049,0x3eb33333,
+ 0x0004002b,0x00000006,0x0000004b,0x3f800000,0x0004002b,0x00000006,0x0000004d,0x3f000000,
+ 0x0004002b,0x00000006,0x0000006b,0x3c23d70a,0x00040020,0x00000076,0x00000001,0x00000007,
+ 0x0004003b,0x00000076,0x00000077,0x00000001,0x0004002b,0x00000006,0x0000008d,0x3f333333,
+ 0x00040020,0x00000090,0x00000003,0x00000022,0x0004003b,0x00000090,0x00000091,0x00000003,
+ 0x00040018,0x00000097,0x00000009,0x00000003,0x0004002b,0x00000006,0x00000098,0x3e991687,
+ 0x0004002b,0x00000006,0x00000099,0x3f1645a2,0x0004002b,0x00000006,0x0000009a,0x3de978d5,
+ 0x0006002c,0x00000009,0x0000009b,0x00000098,0x00000099,0x0000009a,0x0004002b,0x00000006,
+ 0x0000009c,0x3f189375,0x0004002b,0x00000006,0x0000009d,0xbe8ccccd,0x0004002b,0x00000006,
+ 0x0000009e,0xbea45a1d,0x0006002c,0x00000009,0x0000009f,0x0000009c,0x0000009d,0x0000009e,
+ 0x0004002b,0x00000006,0x000000a0,0x3e591687,0x0004002b,0x00000006,0x000000a1,0xbf05e354,
+ 0x0004002b,0x00000006,0x000000a2,0x3e9f3b64,0x0006002c,0x00000009,0x000000a3,0x000000a0,
+ 0x000000a1,0x000000a2,0x0006002c,0x00000097,0x000000a4,0x0000009b,0x0000009f,0x000000a3,
+ 0x0004002b,0x00000006,0x000000a5,0x3f74bc6a,0x0004002b,0x00000006,0x000000a6,0x3f1ef9db,
+ 0x0006002c,0x00000009,0x000000a7,0x0000004b,0x000000a5,0x000000a6,0x0004002b,0x00000006,
+ 0x000000a8,0xbe8b4396,0x0004002b,0x00000006,0x000000a9,0xbf25a1cb,0x0006002c,0x00000009,
+ 0x000000aa,0x0000004b,0x000000a8,0x000000a9,0x0004002b,0x00000006,0x000000ab,0xbf8d9168,
+ 0x0004002b,0x00000006,0x000000ac,0x3fda3d71,0x0006002c,0x00000009,0x000000ad,0x0000004b,
+ 0x000000ab,0x000000ac,0x0006002c,0x00000097,0x000000ae,0x000000a7,0x000000aa,0x000000ad,
0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
- 0x00000008,0x000000ba,0x00000007,0x0004003b,0x00000008,0x000000bd,0x00000007,0x0004003b,
- 0x00000015,0x000000c0,0x00000007,0x0004003b,0x00000008,0x000000c1,0x00000007,0x0004003b,
- 0x00000015,0x000000c4,0x00000007,0x0004003b,0x00000008,0x000000c5,0x00000007,0x0004003b,
- 0x00000015,0x000000c8,0x00000007,0x0004003d,0x00000007,0x000000be,0x000000bc,0x0003003e,
- 0x000000bd,0x000000be,0x00050039,0x00000007,0x000000bf,0x00000013,0x000000bd,0x0003003e,
- 0x000000ba,0x000000bf,0x0004003d,0x00000007,0x000000c2,0x000000ba,0x0003003e,0x000000c1,
- 0x000000c2,0x00050039,0x00000009,0x000000c3,0x0000000c,0x000000c1,0x0003003e,0x000000c0,
- 0x000000c3,0x0004003d,0x00000007,0x000000c6,0x000000ba,0x0003003e,0x000000c5,0x000000c6,
- 0x00050039,0x00000009,0x000000c7,0x0000000f,0x000000c5,0x0003003e,0x000000c4,0x000000c7,
- 0x0004003d,0x00000009,0x000000c9,0x000000c0,0x0004003d,0x00000009,0x000000ca,0x000000c4,
- 0x00060050,0x00000009,0x000000cc,0x000000cb,0x000000cb,0x000000cb,0x0008000c,0x00000009,
- 0x000000cd,0x00000001,0x0000002e,0x000000c9,0x000000ca,0x000000cc,0x0003003e,0x000000c8,
- 0x000000cd,0x0004003d,0x00000009,0x000000d0,0x000000c8,0x00050051,0x00000006,0x000000d1,
- 0x000000d0,0x00000000,0x00050051,0x00000006,0x000000d2,0x000000d0,0x00000001,0x00050051,
- 0x00000006,0x000000d3,0x000000d0,0x00000002,0x00070050,0x0000001d,0x000000d4,0x000000d1,
- 0x000000d2,0x000000d3,0x0000005a,0x0003003e,0x000000cf,0x000000d4,0x000100fd,0x00010038,
+ 0x00000008,0x00000075,0x00000007,0x0004003b,0x00000008,0x00000078,0x00000007,0x0004003b,
+ 0x0000000e,0x0000007b,0x00000007,0x0004003b,0x0000000e,0x00000080,0x00000007,0x0004003b,
+ 0x00000008,0x00000081,0x00000007,0x0004003b,0x0000000e,0x00000084,0x00000007,0x0004003b,
+ 0x00000008,0x00000085,0x00000007,0x0004003b,0x0000000e,0x00000087,0x00000007,0x0004003b,
+ 0x0000000e,0x0000008a,0x00000007,0x0004003d,0x00000007,0x00000079,0x00000077,0x0003003e,
+ 0x00000078,0x00000079,0x00050039,0x00000007,0x0000007a,0x00000016,0x00000078,0x0003003e,
+ 0x00000075,0x0000007a,0x0004003d,0x00000019,0x0000007c,0x0000001b,0x0004003d,0x00000007,
+ 0x0000007d,0x00000075,0x00050057,0x00000022,0x0000007e,0x0000007c,0x0000007d,0x0008004f,
+ 0x00000009,0x0000007f,0x0000007e,0x0000007e,0x00000000,0x00000001,0x00000002,0x0003003e,
+ 0x0000007b,0x0000007f,0x0004003d,0x00000007,0x00000082,0x00000075,0x0003003e,0x00000081,
+ 0x00000082,0x00050039,0x00000009,0x00000083,0x0000000c,0x00000081,0x0003003e,0x00000080,
+ 0x00000083,0x0004003d,0x00000007,0x00000086,0x00000075,0x0003003e,0x00000085,0x00000086,
+ 0x0004003d,0x00000009,0x00000088,0x0000007b,0x0003003e,0x00000087,0x00000088,0x00060039,
+ 0x00000009,0x00000089,0x00000012,0x00000085,0x00000087,0x0003003e,0x00000084,0x00000089,
+ 0x0004003d,0x00000009,0x0000008b,0x00000080,0x0004003d,0x00000009,0x0000008c,0x00000084,
+ 0x00060050,0x00000009,0x0000008e,0x0000008d,0x0000008d,0x0000008d,0x0008000c,0x00000009,
+ 0x0000008f,0x00000001,0x0000002e,0x0000008b,0x0000008c,0x0000008e,0x0003003e,0x0000008a,
+ 0x0000008f,0x0004003d,0x00000009,0x00000092,0x0000008a,0x00050051,0x00000006,0x00000093,
+ 0x00000092,0x00000000,0x00050051,0x00000006,0x00000094,0x00000092,0x00000001,0x00050051,
+ 0x00000006,0x00000095,0x00000092,0x00000002,0x00070050,0x00000022,0x00000096,0x00000093,
+ 0x00000094,0x00000095,0x0000004b,0x0003003e,0x00000091,0x00000096,0x000100fd,0x00010038,
0x00050036,0x00000009,0x0000000c,0x00000000,0x0000000a,0x00030037,0x00000008,0x0000000b,
- 0x000200f8,0x0000000d,0x0004003b,0x00000015,0x00000016,0x00000007,0x0004003b,0x00000015,
- 0x00000020,0x00000007,0x0004003b,0x00000031,0x00000032,0x00000007,0x0004003b,0x00000015,
- 0x00000058,0x00000007,0x0004003b,0x00000015,0x00000066,0x00000007,0x0004003d,0x00000018,
- 0x0000001b,0x0000001a,0x0004003d,0x00000007,0x0000001c,0x0000000b,0x00050057,0x0000001d,
- 0x0000001e,0x0000001b,0x0000001c,0x0008004f,0x00000009,0x0000001f,0x0000001e,0x0000001e,
- 0x00000000,0x00000001,0x00000002,0x0003003e,0x00000016,0x0000001f,0x0004003d,0x00000009,
- 0x00000021,0x00000016,0x00050090,0x00000009,0x00000030,0x00000021,0x0000002f,0x0003003e,
- 0x00000020,0x00000030,0x00050041,0x00000031,0x00000036,0x0000000b,0x00000035,0x0004003d,
- 0x00000006,0x00000037,0x00000036,0x00060041,0x0000003d,0x0000003e,0x0000003a,0x0000003c,
- 0x00000035,0x0004003d,0x00000006,0x0000003f,0x0000003e,0x00050085,0x00000006,0x00000040,
- 0x00000037,0x0000003f,0x0005008d,0x00000006,0x00000042,0x00000040,0x00000041,0x00050041,
- 0x0000003d,0x00000044,0x0000003a,0x00000043,0x0004003d,0x00000006,0x00000045,0x00000044,
- 0x00050081,0x00000006,0x00000046,0x00000042,0x00000045,0x00050085,0x00000006,0x00000047,
- 0x00000033,0x00000046,0x0003003e,0x00000032,0x00000047,0x0004003d,0x00000006,0x00000048,
- 0x00000032,0x00050085,0x00000006,0x0000004a,0x00000048,0x00000049,0x0006000c,0x00000006,
- 0x0000004b,0x00000001,0x0000000e,0x0000004a,0x00050041,0x00000031,0x0000004c,0x00000020,
- 0x00000035,0x0004003d,0x00000006,0x0000004d,0x0000004c,0x00050085,0x00000006,0x0000004e,
- 0x0000004d,0x0000004b,0x00050041,0x00000031,0x0000004f,0x00000020,0x00000035,0x0003003e,
- 0x0000004f,0x0000004e,0x0004003d,0x00000006,0x00000050,0x00000032,0x00050085,0x00000006,
- 0x00000051,0x00000050,0x00000049,0x0006000c,0x00000006,0x00000052,0x00000001,0x0000000d,
- 0x00000051,0x00050041,0x00000031,0x00000054,0x00000020,0x00000053,0x0004003d,0x00000006,
- 0x00000055,0x00000054,0x00050085,0x00000006,0x00000056,0x00000055,0x00000052,0x00050041,
- 0x00000031,0x00000057,0x00000020,0x00000053,0x0003003e,0x00000057,0x00000056,0x0004003d,
- 0x00000009,0x00000059,0x00000020,0x00050090,0x00000009,0x00000065,0x00000059,0x00000064,
- 0x0003003e,0x00000058,0x00000065,0x0004003d,0x00000018,0x00000067,0x0000001a,0x0004003d,
- 0x00000007,0x00000068,0x0000000b,0x00050081,0x00000007,0x0000006c,0x00000068,0x0000006b,
- 0x00050057,0x0000001d,0x0000006d,0x00000067,0x0000006c,0x00050051,0x00000006,0x0000006f,
- 0x0000006d,0x00000000,0x00050041,0x00000031,0x00000070,0x00000066,0x0000006e,0x0003003e,
- 0x00000070,0x0000006f,0x0004003d,0x00000018,0x00000071,0x0000001a,0x0004003d,0x00000007,
- 0x00000072,0x0000000b,0x00050081,0x00000007,0x00000075,0x00000072,0x00000074,0x00050057,
- 0x0000001d,0x00000076,0x00000071,0x00000075,0x00050051,0x00000006,0x00000077,0x00000076,
- 0x00000001,0x00050041,0x00000031,0x00000078,0x00000066,0x00000035,0x0003003e,0x00000078,
- 0x00000077,0x0004003d,0x00000018,0x00000079,0x0000001a,0x0004003d,0x00000007,0x0000007a,
- 0x0000000b,0x00050083,0x00000007,0x0000007b,0x0000007a,0x0000006b,0x00050057,0x0000001d,
- 0x0000007c,0x00000079,0x0000007b,0x00050051,0x00000006,0x0000007d,0x0000007c,0x00000002,
- 0x00050041,0x00000031,0x0000007e,0x00000066,0x00000053,0x0003003e,0x0000007e,0x0000007d,
- 0x0004003d,0x00000009,0x0000007f,0x00000066,0x000200fe,0x0000007f,0x00010038,0x00050036,
- 0x00000009,0x0000000f,0x00000000,0x0000000a,0x00030037,0x00000008,0x0000000e,0x000200f8,
- 0x00000010,0x0004003b,0x00000015,0x00000082,0x00000007,0x0004003b,0x00000031,0x00000087,
- 0x00000007,0x0004003d,0x00000018,0x00000083,0x0000001a,0x0004003d,0x00000007,0x00000084,
- 0x0000000e,0x00050057,0x0000001d,0x00000085,0x00000083,0x00000084,0x0008004f,0x00000009,
- 0x00000086,0x00000085,0x00000085,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000082,
- 0x00000086,0x00050041,0x00000031,0x00000088,0x0000000e,0x00000035,0x0004003d,0x00000006,
- 0x00000089,0x00000088,0x00060041,0x0000003d,0x0000008a,0x0000003a,0x0000003c,0x00000035,
- 0x0004003d,0x00000006,0x0000008b,0x0000008a,0x00050085,0x00000006,0x0000008c,0x00000089,
- 0x0000008b,0x00050085,0x00000006,0x0000008d,0x0000008c,0x00000041,0x0006000c,0x00000006,
- 0x0000008e,0x00000001,0x0000000d,0x0000008d,0x0006000c,0x00000006,0x0000008f,0x00000001,
- 0x00000004,0x0000008e,0x00050085,0x00000006,0x00000091,0x0000008f,0x00000090,0x0003003e,
- 0x00000087,0x00000091,0x0004003d,0x00000006,0x00000092,0x00000087,0x00050085,0x00000006,
- 0x00000093,0x00000092,0x00000049,0x00050083,0x00000006,0x00000094,0x0000005a,0x00000093,
- 0x0004003d,0x00000009,0x00000095,0x00000082,0x0005008e,0x00000009,0x00000096,0x00000095,
- 0x00000094,0x0003003e,0x00000082,0x00000096,0x0004003d,0x00000009,0x00000097,0x00000082,
- 0x000200fe,0x00000097,0x00010038,0x00050036,0x00000007,0x00000013,0x00000000,0x00000011,
- 0x00030037,0x00000008,0x00000012,0x000200f8,0x00000014,0x0004003b,0x00000031,0x0000009e,
- 0x00000007,0x0004003d,0x00000007,0x0000009a,0x00000012,0x0005008e,0x00000007,0x0000009b,
- 0x0000009a,0x00000041,0x00050050,0x00000007,0x0000009c,0x0000005a,0x0000005a,0x00050083,
- 0x00000007,0x0000009d,0x0000009b,0x0000009c,0x0003003e,0x00000012,0x0000009d,0x00050041,
- 0x00000031,0x0000009f,0x00000012,0x0000006e,0x0004003d,0x00000006,0x000000a0,0x0000009f,
- 0x00050041,0x00000031,0x000000a1,0x00000012,0x0000006e,0x0004003d,0x00000006,0x000000a2,
- 0x000000a1,0x00050085,0x00000006,0x000000a3,0x000000a0,0x000000a2,0x00050041,0x00000031,
- 0x000000a4,0x00000012,0x00000035,0x0004003d,0x00000006,0x000000a5,0x000000a4,0x00050041,
- 0x00000031,0x000000a6,0x00000012,0x00000035,0x0004003d,0x00000006,0x000000a7,0x000000a6,
- 0x00050085,0x00000006,0x000000a8,0x000000a5,0x000000a7,0x00050081,0x00000006,0x000000a9,
- 0x000000a3,0x000000a8,0x0006000c,0x00000006,0x000000aa,0x00000001,0x0000001f,0x000000a9,
- 0x0003003e,0x0000009e,0x000000aa,0x0004003d,0x00000007,0x000000ab,0x00000012,0x0004003d,
- 0x00000006,0x000000ac,0x0000009e,0x0004003d,0x00000006,0x000000ad,0x0000009e,0x00050085,
- 0x00000006,0x000000ae,0x000000ac,0x000000ad,0x0005008e,0x00000007,0x000000af,0x000000ab,
- 0x000000ae,0x0005008e,0x00000007,0x000000b1,0x000000af,0x000000b0,0x0004003d,0x00000007,
- 0x000000b2,0x00000012,0x00050081,0x00000007,0x000000b3,0x000000b2,0x000000b1,0x0003003e,
- 0x00000012,0x000000b3,0x0004003d,0x00000007,0x000000b4,0x00000012,0x0005008e,0x00000007,
- 0x000000b5,0x000000b4,0x00000049,0x00050050,0x00000007,0x000000b6,0x00000049,0x00000049,
- 0x00050081,0x00000007,0x000000b7,0x000000b5,0x000000b6,0x000200fe,0x000000b7,0x00010038
+ 0x000200f8,0x0000000d,0x0004003d,0x00000019,0x0000001c,0x0000001b,0x0004003d,0x00000007,
+ 0x0000001d,0x0000000b,0x00050081,0x00000007,0x00000021,0x0000001d,0x00000020,0x00050057,
+ 0x00000022,0x00000023,0x0000001c,0x00000021,0x00050051,0x00000006,0x00000026,0x00000023,
+ 0x00000000,0x0004003d,0x00000019,0x00000027,0x0000001b,0x0004003d,0x00000007,0x00000028,
+ 0x0000000b,0x00050081,0x00000007,0x0000002b,0x00000028,0x0000002a,0x00050057,0x00000022,
+ 0x0000002c,0x00000027,0x0000002b,0x00050051,0x00000006,0x0000002e,0x0000002c,0x00000001,
+ 0x0004003d,0x00000019,0x0000002f,0x0000001b,0x0004003d,0x00000007,0x00000030,0x0000000b,
+ 0x00050083,0x00000007,0x00000031,0x00000030,0x00000020,0x00050057,0x00000022,0x00000032,
+ 0x0000002f,0x00000031,0x00050051,0x00000006,0x00000034,0x00000032,0x00000002,0x00060050,
+ 0x00000009,0x00000035,0x00000026,0x0000002e,0x00000034,0x000200fe,0x00000035,0x00010038,
+ 0x00050036,0x00000009,0x00000012,0x00000000,0x0000000f,0x00030037,0x00000008,0x00000010,
+ 0x00030037,0x0000000e,0x00000011,0x000200f8,0x00000013,0x0004003b,0x00000038,0x00000039,
+ 0x00000007,0x00050041,0x00000038,0x0000003a,0x00000010,0x0000002d,0x0004003d,0x00000006,
+ 0x0000003b,0x0000003a,0x00060041,0x00000041,0x00000042,0x0000003e,0x00000040,0x0000002d,
+ 0x0004003d,0x00000006,0x00000043,0x00000042,0x00050085,0x00000006,0x00000044,0x0000003b,
+ 0x00000043,0x00050085,0x00000006,0x00000046,0x00000044,0x00000045,0x0006000c,0x00000006,
+ 0x00000047,0x00000001,0x0000000d,0x00000046,0x0006000c,0x00000006,0x00000048,0x00000001,
+ 0x00000004,0x00000047,0x00050085,0x00000006,0x0000004a,0x00000048,0x00000049,0x0003003e,
+ 0x00000039,0x0000004a,0x0004003d,0x00000006,0x0000004c,0x00000039,0x00050085,0x00000006,
+ 0x0000004e,0x0000004c,0x0000004d,0x00050083,0x00000006,0x0000004f,0x0000004b,0x0000004e,
+ 0x0004003d,0x00000009,0x00000050,0x00000011,0x0005008e,0x00000009,0x00000051,0x00000050,
+ 0x0000004f,0x0003003e,0x00000011,0x00000051,0x0004003d,0x00000009,0x00000052,0x00000011,
+ 0x000200fe,0x00000052,0x00010038,0x00050036,0x00000007,0x00000016,0x00000000,0x00000014,
+ 0x00030037,0x00000008,0x00000015,0x000200f8,0x00000017,0x0004003b,0x00000038,0x00000059,
+ 0x00000007,0x0004003d,0x00000007,0x00000055,0x00000015,0x0005008e,0x00000007,0x00000056,
+ 0x00000055,0x00000045,0x00050050,0x00000007,0x00000057,0x0000004b,0x0000004b,0x00050083,
+ 0x00000007,0x00000058,0x00000056,0x00000057,0x0003003e,0x00000015,0x00000058,0x00050041,
+ 0x00000038,0x0000005a,0x00000015,0x00000025,0x0004003d,0x00000006,0x0000005b,0x0000005a,
+ 0x00050041,0x00000038,0x0000005c,0x00000015,0x00000025,0x0004003d,0x00000006,0x0000005d,
+ 0x0000005c,0x00050085,0x00000006,0x0000005e,0x0000005b,0x0000005d,0x00050041,0x00000038,
+ 0x0000005f,0x00000015,0x0000002d,0x0004003d,0x00000006,0x00000060,0x0000005f,0x00050041,
+ 0x00000038,0x00000061,0x00000015,0x0000002d,0x0004003d,0x00000006,0x00000062,0x00000061,
+ 0x00050085,0x00000006,0x00000063,0x00000060,0x00000062,0x00050081,0x00000006,0x00000064,
+ 0x0000005e,0x00000063,0x0006000c,0x00000006,0x00000065,0x00000001,0x0000001f,0x00000064,
+ 0x0003003e,0x00000059,0x00000065,0x0004003d,0x00000007,0x00000066,0x00000015,0x0004003d,
+ 0x00000006,0x00000067,0x00000059,0x0004003d,0x00000006,0x00000068,0x00000059,0x00050085,
+ 0x00000006,0x00000069,0x00000067,0x00000068,0x0005008e,0x00000007,0x0000006a,0x00000066,
+ 0x00000069,0x0005008e,0x00000007,0x0000006c,0x0000006a,0x0000006b,0x0004003d,0x00000007,
+ 0x0000006d,0x00000015,0x00050081,0x00000007,0x0000006e,0x0000006d,0x0000006c,0x0003003e,
+ 0x00000015,0x0000006e,0x0004003d,0x00000007,0x0000006f,0x00000015,0x0005008e,0x00000007,
+ 0x00000070,0x0000006f,0x0000004d,0x00050050,0x00000007,0x00000071,0x0000004d,0x0000004d,
+ 0x00050081,0x00000007,0x00000072,0x00000070,0x00000071,0x000200fe,0x00000072,0x00010038
};
diff --git a/app/src/main/cpp/shaders/sgsr.frag b/app/src/main/cpp/shaders/sgsr.frag
new file mode 100644
index 0000000000..bd273e9ed7
--- /dev/null
+++ b/app/src/main/cpp/shaders/sgsr.frag
@@ -0,0 +1,118 @@
+#version 450
+
+// =============================================================================
+// Snapdragon Game Super Resolution (SGSR) 1.0 - spatial upscaler, mobile path.
+//
+// Ported from Qualcomm's reference shader:
+// SnapdragonStudios/snapdragon-gsr sgsr/v1/include/glsl/sgsr1_shader_mobile.frag
+//
+// Copyright (c) 2025, Qualcomm Innovation Center, Inc. All rights reserved.
+// SPDX-License-Identifier: BSD-3-Clause
+//
+// Adapted for the Winlator native Vulkan compositor:
+// - #version 450 (Vulkan GLSL)
+// - ViewportInfo passed via push constant instead of a uniform block
+// - specialised to OperationMode == 1 (RGBA); green channel is the edge luma
+// - reuses window.vert (full-screen quad; fragTexCoord in [0,1] over the
+// destination rect = normalised output position = normalised source position)
+// =============================================================================
+
+// DD_HALF is set for the *_half_frag.h build (gen_shaders.sh): colour and
+// weight maths in mediump (RelaxedPrecision, 16-bit on Adreno) as in Qualcomm's
+// reference; positions and texture coordinates stay highp.
+#ifdef DD_HALF
+precision mediump float;
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D ps0;
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by window.vert (offset 0)
+ highp vec4 ViewportInfo; // xy = 1/inputSize (texel size), zw = inputSize in pixels
+ float EdgeSharpness; // driven by the "Sharpness" slider (default 2.0)
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out vec4 out_Target0;
+
+const float EdgeThreshold = 8.0 / 255.0;
+
+float fastLanczos2(float x) {
+ float wA = x - 4.0;
+ float wB = x * wA - wA;
+ wA *= wA;
+ return wB * wA;
+}
+
+vec2 weightY(float dx, float dy, float c, float std) {
+ float x = ((dx * dx) + (dy * dy)) * 0.55 + clamp(abs(c) * std, 0.0, 1.0);
+ float w = fastLanczos2(x);
+ return vec2(w, w * c);
+}
+
+void main() {
+ highp vec4 ViewportInfo = pc.ViewportInfo;
+ highp vec2 uv = fragTexCoord;
+
+ vec4 color;
+ color.xyz = textureLod(ps0, uv, 0.0).xyz;
+
+ highp vec2 imgCoord = ((uv * ViewportInfo.zw) + vec2(-0.5, 0.5));
+ highp vec2 imgCoordPixel = floor(imgCoord);
+ highp vec2 coord = (imgCoordPixel * ViewportInfo.xy);
+ vec2 pl = (imgCoord + (-imgCoordPixel));
+ vec4 left = textureGather(ps0, coord, 1);
+
+ float edgeVote = abs(left.z - left.y) + abs(color.y - left.y) + abs(color.y - left.z);
+ if (edgeVote > EdgeThreshold) {
+ coord.x += ViewportInfo.x;
+
+ vec4 right = textureGather(ps0, coord + vec2(ViewportInfo.x, 0.0), 1);
+ vec4 upDown;
+ upDown.xy = textureGather(ps0, coord + vec2(0.0, -ViewportInfo.y), 1).wz;
+ upDown.zw = textureGather(ps0, coord + vec2(0.0, ViewportInfo.y), 1).yx;
+
+ float mean = (left.y + left.z + right.x + right.w) * 0.25;
+ left = left - vec4(mean);
+ right = right - vec4(mean);
+ upDown = upDown - vec4(mean);
+ color.w = color.y - mean;
+
+ float sum = (((((abs(left.x) + abs(left.y)) + abs(left.z)) + abs(left.w))
+ + (((abs(right.x) + abs(right.y)) + abs(right.z)) + abs(right.w)))
+ + (((abs(upDown.x) + abs(upDown.y)) + abs(upDown.z)) + abs(upDown.w)));
+ float std = 2.181818 / sum;
+
+ vec2 aWY = weightY(pl.x, pl.y + 1.0, upDown.x, std);
+ aWY += weightY(pl.x - 1.0, pl.y + 1.0, upDown.y, std);
+ aWY += weightY(pl.x - 1.0, pl.y - 2.0, upDown.z, std);
+ aWY += weightY(pl.x, pl.y - 2.0, upDown.w, std);
+ aWY += weightY(pl.x + 1.0, pl.y - 1.0, left.x, std);
+ aWY += weightY(pl.x, pl.y - 1.0, left.y, std);
+ aWY += weightY(pl.x, pl.y, left.z, std);
+ aWY += weightY(pl.x + 1.0, pl.y, left.w, std);
+ aWY += weightY(pl.x - 1.0, pl.y - 1.0, right.x, std);
+ aWY += weightY(pl.x - 2.0, pl.y - 1.0, right.y, std);
+ aWY += weightY(pl.x - 2.0, pl.y, right.z, std);
+ aWY += weightY(pl.x - 1.0, pl.y, right.w, std);
+
+ float finalY = aWY.y / aWY.x;
+
+ float maxY = max(max(left.y, left.z), max(right.x, right.w));
+ float minY = min(min(left.y, left.z), min(right.x, right.w));
+ finalY = clamp(pc.EdgeSharpness * finalY, minY, maxY);
+
+ float deltaY = finalY - color.w;
+ deltaY = clamp(deltaY, -23.0 / 255.0, 23.0 / 255.0);
+
+ color.x = clamp((color.x + deltaY), 0.0, 1.0);
+ color.y = clamp((color.y + deltaY), 0.0, 1.0);
+ color.z = clamp((color.z + deltaY), 0.0, 1.0);
+ }
+
+ color.w = 1.0; // alpha channel unused by the compositor blit
+ out_Target0 = color;
+}
diff --git a/app/src/main/cpp/shaders/sgsr_half_frag.h b/app/src/main/cpp/shaders/sgsr_half_frag.h
new file mode 100644
index 0000000000..12438b654b
--- /dev/null
+++ b/app/src/main/cpp/shaders/sgsr_half_frag.h
@@ -0,0 +1,530 @@
+ // 1116.2.0
+ #pragma once
+const uint32_t sgsr_half_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x00000216,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000051,0x00000214,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00070005,0x0000000a,0x74736166,0x636e614c,0x32736f7a,0x3b316628,0x00000000,
+ 0x00030005,0x00000009,0x00000078,0x00080005,0x00000012,0x67696577,0x28597468,0x663b3166,
+ 0x31663b31,0x3b31663b,0x00000000,0x00030005,0x0000000e,0x00007864,0x00030005,0x0000000f,
+ 0x00007964,0x00030005,0x00000010,0x00000063,0x00030005,0x00000011,0x00647473,0x00030005,
+ 0x00000014,0x00004177,0x00030005,0x00000018,0x00004277,0x00030005,0x00000026,0x00000078,
+ 0x00030005,0x00000038,0x00000077,0x00040005,0x00000039,0x61726170,0x0000006d,0x00060005,
+ 0x00000045,0x77656956,0x74726f70,0x6f666e49,0x00000000,0x00030005,0x00000046,0x00004350,
+ 0x00040006,0x00000046,0x00000000,0x0063646e,0x00070006,0x00000046,0x00000001,0x77656956,
+ 0x74726f70,0x6f666e49,0x00000000,0x00070006,0x00000046,0x00000002,0x65676445,0x72616853,
+ 0x73656e70,0x00000073,0x00030005,0x00000048,0x00006370,0x00030005,0x0000004f,0x00007675,
+ 0x00060005,0x00000051,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00040005,0x00000053,
+ 0x6f6c6f63,0x00000072,0x00030005,0x00000057,0x00307370,0x00050005,0x00000067,0x43676d69,
+ 0x64726f6f,0x00000000,0x00060005,0x00000070,0x43676d69,0x64726f6f,0x65786950,0x0000006c,
+ 0x00040005,0x00000073,0x726f6f63,0x00000064,0x00030005,0x00000078,0x00006c70,0x00040005,
+ 0x0000007d,0x7466656c,0x00000000,0x00050005,0x00000081,0x65676465,0x65746f56,0x00000000,
+ 0x00040005,0x000000a2,0x68676972,0x00000074,0x00040005,0x000000aa,0x6f447075,0x00006e77,
+ 0x00040005,0x000000c5,0x6e61656d,0x00000000,0x00030005,0x000000e4,0x006d7573,0x00030005,
+ 0x00000114,0x00647473,0x00030005,0x00000118,0x00595761,0x00040005,0x0000011c,0x61726170,
+ 0x0000006d,0x00040005,0x0000011f,0x61726170,0x0000006d,0x00040005,0x00000120,0x61726170,
+ 0x0000006d,0x00040005,0x00000123,0x61726170,0x0000006d,0x00040005,0x0000012c,0x61726170,
+ 0x0000006d,0x00040005,0x0000012d,0x61726170,0x0000006d,0x00040005,0x0000012e,0x61726170,
+ 0x0000006d,0x00040005,0x00000131,0x61726170,0x0000006d,0x00040005,0x0000013d,0x61726170,
+ 0x0000006d,0x00040005,0x0000013e,0x61726170,0x0000006d,0x00040005,0x0000013f,0x61726170,
+ 0x0000006d,0x00040005,0x00000142,0x61726170,0x0000006d,0x00040005,0x0000014a,0x61726170,
+ 0x0000006d,0x00040005,0x0000014d,0x61726170,0x0000006d,0x00040005,0x0000014e,0x61726170,
+ 0x0000006d,0x00040005,0x00000151,0x61726170,0x0000006d,0x00040005,0x0000015c,0x61726170,
+ 0x0000006d,0x00040005,0x0000015d,0x61726170,0x0000006d,0x00040005,0x0000015e,0x61726170,
+ 0x0000006d,0x00040005,0x00000161,0x61726170,0x0000006d,0x00040005,0x00000169,0x61726170,
+ 0x0000006d,0x00040005,0x0000016c,0x61726170,0x0000006d,0x00040005,0x0000016d,0x61726170,
+ 0x0000006d,0x00040005,0x00000170,0x61726170,0x0000006d,0x00040005,0x00000175,0x61726170,
+ 0x0000006d,0x00040005,0x00000178,0x61726170,0x0000006d,0x00040005,0x0000017b,0x61726170,
+ 0x0000006d,0x00040005,0x0000017e,0x61726170,0x0000006d,0x00040005,0x00000186,0x61726170,
+ 0x0000006d,0x00040005,0x00000187,0x61726170,0x0000006d,0x00040005,0x0000018a,0x61726170,
+ 0x0000006d,0x00040005,0x0000018d,0x61726170,0x0000006d,0x00040005,0x00000198,0x61726170,
+ 0x0000006d,0x00040005,0x00000199,0x61726170,0x0000006d,0x00040005,0x0000019a,0x61726170,
+ 0x0000006d,0x00040005,0x0000019d,0x61726170,0x0000006d,0x00040005,0x000001a8,0x61726170,
+ 0x0000006d,0x00040005,0x000001a9,0x61726170,0x0000006d,0x00040005,0x000001aa,0x61726170,
+ 0x0000006d,0x00040005,0x000001ad,0x61726170,0x0000006d,0x00040005,0x000001b5,0x61726170,
+ 0x0000006d,0x00040005,0x000001b6,0x61726170,0x0000006d,0x00040005,0x000001b9,0x61726170,
+ 0x0000006d,0x00040005,0x000001bc,0x61726170,0x0000006d,0x00040005,0x000001c4,0x61726170,
+ 0x0000006d,0x00040005,0x000001c5,0x61726170,0x0000006d,0x00040005,0x000001c8,0x61726170,
+ 0x0000006d,0x00040005,0x000001cb,0x61726170,0x0000006d,0x00040005,0x000001d0,0x616e6966,
+ 0x0000596c,0x00040005,0x000001d6,0x5978616d,0x00000000,0x00040005,0x000001e2,0x596e696d,
+ 0x00000000,0x00040005,0x000001f7,0x746c6564,0x00005961,0x00050005,0x00000214,0x5f74756f,
+ 0x67726154,0x00307465,0x00030047,0x00000009,0x00000000,0x00030047,0x0000000a,0x00000000,
+ 0x00030047,0x0000000e,0x00000000,0x00030047,0x0000000f,0x00000000,0x00030047,0x00000010,
+ 0x00000000,0x00030047,0x00000011,0x00000000,0x00030047,0x00000012,0x00000000,0x00030047,
+ 0x00000014,0x00000000,0x00030047,0x00000015,0x00000000,0x00030047,0x00000017,0x00000000,
+ 0x00030047,0x00000018,0x00000000,0x00030047,0x00000019,0x00000000,0x00030047,0x0000001a,
+ 0x00000000,0x00030047,0x0000001b,0x00000000,0x00030047,0x0000001c,0x00000000,0x00030047,
+ 0x0000001d,0x00000000,0x00030047,0x0000001e,0x00000000,0x00030047,0x0000001f,0x00000000,
+ 0x00030047,0x00000020,0x00000000,0x00030047,0x00000021,0x00000000,0x00030047,0x00000022,
+ 0x00000000,0x00030047,0x00000023,0x00000000,0x00030047,0x00000026,0x00000000,0x00030047,
+ 0x00000027,0x00000000,0x00030047,0x00000028,0x00000000,0x00030047,0x00000029,0x00000000,
+ 0x00030047,0x0000002a,0x00000000,0x00030047,0x0000002b,0x00000000,0x00030047,0x0000002c,
+ 0x00000000,0x00030047,0x0000002d,0x00000000,0x00030047,0x0000002f,0x00000000,0x00030047,
+ 0x00000030,0x00000000,0x00030047,0x00000031,0x00000000,0x00030047,0x00000032,0x00000000,
+ 0x00030047,0x00000033,0x00000000,0x00030047,0x00000036,0x00000000,0x00030047,0x00000037,
+ 0x00000000,0x00030047,0x00000038,0x00000000,0x00030047,0x00000039,0x00000000,0x00030047,
+ 0x0000003a,0x00000000,0x00030047,0x0000003b,0x00000000,0x00030047,0x0000003c,0x00000000,
+ 0x00030047,0x0000003d,0x00000000,0x00030047,0x0000003e,0x00000000,0x00030047,0x0000003f,
+ 0x00000000,0x00030047,0x00000040,0x00000000,0x00030047,0x00000046,0x00000002,0x00050048,
+ 0x00000046,0x00000000,0x00000023,0x00000000,0x00050048,0x00000046,0x00000001,0x00000023,
+ 0x00000010,0x00040048,0x00000046,0x00000002,0x00000000,0x00050048,0x00000046,0x00000002,
+ 0x00000023,0x00000020,0x00040047,0x00000051,0x0000001e,0x00000000,0x00030047,0x00000053,
+ 0x00000000,0x00030047,0x00000057,0x00000000,0x00040047,0x00000057,0x00000021,0x00000000,
+ 0x00040047,0x00000057,0x00000022,0x00000000,0x00030047,0x00000058,0x00000000,0x00030047,
+ 0x0000005a,0x00000000,0x00030047,0x0000005c,0x00000000,0x00030047,0x00000078,0x00000000,
+ 0x00030047,0x0000007d,0x00000000,0x00030047,0x0000007e,0x00000000,0x00030047,0x00000080,
+ 0x00000000,0x00030047,0x00000081,0x00000000,0x00030047,0x00000083,0x00000000,0x00030047,
+ 0x00000085,0x00000000,0x00030047,0x00000086,0x00000000,0x00030047,0x00000087,0x00000000,
+ 0x00030047,0x00000089,0x00000000,0x00030047,0x0000008b,0x00000000,0x00030047,0x0000008c,
+ 0x00000000,0x00030047,0x0000008d,0x00000000,0x00030047,0x0000008e,0x00000000,0x00030047,
+ 0x00000090,0x00000000,0x00030047,0x00000092,0x00000000,0x00030047,0x00000093,0x00000000,
+ 0x00030047,0x00000094,0x00000000,0x00030047,0x00000095,0x00000000,0x00030047,0x00000096,
+ 0x00000000,0x00030047,0x00000097,0x00000000,0x00030047,0x000000a2,0x00000000,0x00030047,
+ 0x000000a3,0x00000000,0x00030047,0x000000a9,0x00000000,0x00030047,0x000000aa,0x00000000,
+ 0x00030047,0x000000ab,0x00000000,0x00030047,0x000000b2,0x00000000,0x00030047,0x000000b3,
+ 0x00000000,0x00030047,0x000000b8,0x00000000,0x00030047,0x000000be,0x00000000,0x00030047,
+ 0x000000bf,0x00000000,0x00030047,0x000000c5,0x00000000,0x00030047,0x000000c7,0x00000000,
+ 0x00030047,0x000000c9,0x00000000,0x00030047,0x000000ca,0x00000000,0x00030047,0x000000cc,
+ 0x00000000,0x00030047,0x000000cd,0x00000000,0x00030047,0x000000cf,0x00000000,0x00030047,
+ 0x000000d0,0x00000000,0x00030047,0x000000d2,0x00000000,0x00030047,0x000000d3,0x00000000,
+ 0x00030047,0x000000d4,0x00000000,0x00030047,0x000000d5,0x00000000,0x00030047,0x000000d6,
+ 0x00000000,0x00030047,0x000000d7,0x00000000,0x00030047,0x000000d8,0x00000000,0x00030047,
+ 0x000000d9,0x00000000,0x00030047,0x000000da,0x00000000,0x00030047,0x000000db,0x00000000,
+ 0x00030047,0x000000dc,0x00000000,0x00030047,0x000000dd,0x00000000,0x00030047,0x000000de,
+ 0x00000000,0x00030047,0x000000e0,0x00000000,0x00030047,0x000000e1,0x00000000,0x00030047,
+ 0x000000e2,0x00000000,0x00030047,0x000000e4,0x00000000,0x00030047,0x000000e6,0x00000000,
+ 0x00030047,0x000000e7,0x00000000,0x00030047,0x000000e9,0x00000000,0x00030047,0x000000ea,
+ 0x00000000,0x00030047,0x000000eb,0x00000000,0x00030047,0x000000ed,0x00000000,0x00030047,
+ 0x000000ee,0x00000000,0x00030047,0x000000ef,0x00000000,0x00030047,0x000000f1,0x00000000,
+ 0x00030047,0x000000f2,0x00000000,0x00030047,0x000000f3,0x00000000,0x00030047,0x000000f5,
+ 0x00000000,0x00030047,0x000000f6,0x00000000,0x00030047,0x000000f8,0x00000000,0x00030047,
+ 0x000000f9,0x00000000,0x00030047,0x000000fa,0x00000000,0x00030047,0x000000fc,0x00000000,
+ 0x00030047,0x000000fd,0x00000000,0x00030047,0x000000fe,0x00000000,0x00030047,0x00000100,
+ 0x00000000,0x00030047,0x00000101,0x00000000,0x00030047,0x00000102,0x00000000,0x00030047,
+ 0x00000103,0x00000000,0x00030047,0x00000105,0x00000000,0x00030047,0x00000106,0x00000000,
+ 0x00030047,0x00000108,0x00000000,0x00030047,0x00000109,0x00000000,0x00030047,0x0000010a,
+ 0x00000000,0x00030047,0x0000010c,0x00000000,0x00030047,0x0000010d,0x00000000,0x00030047,
+ 0x0000010e,0x00000000,0x00030047,0x00000110,0x00000000,0x00030047,0x00000111,0x00000000,
+ 0x00030047,0x00000112,0x00000000,0x00030047,0x00000113,0x00000000,0x00030047,0x00000114,
+ 0x00000000,0x00030047,0x00000116,0x00000000,0x00030047,0x00000117,0x00000000,0x00030047,
+ 0x00000118,0x00000000,0x00030047,0x0000011a,0x00000000,0x00030047,0x0000011b,0x00000000,
+ 0x00030047,0x0000011c,0x00000000,0x00030047,0x0000011e,0x00000000,0x00030047,0x0000011f,
+ 0x00000000,0x00030047,0x00000120,0x00000000,0x00030047,0x00000122,0x00000000,0x00030047,
+ 0x00000123,0x00000000,0x00030047,0x00000124,0x00000000,0x00030047,0x00000125,0x00000000,
+ 0x00030047,0x00000127,0x00000000,0x00030047,0x00000128,0x00000000,0x00030047,0x0000012a,
+ 0x00000000,0x00030047,0x0000012b,0x00000000,0x00030047,0x0000012c,0x00000000,0x00030047,
+ 0x0000012d,0x00000000,0x00030047,0x0000012e,0x00000000,0x00030047,0x00000130,0x00000000,
+ 0x00030047,0x00000131,0x00000000,0x00030047,0x00000132,0x00000000,0x00030047,0x00000133,
+ 0x00000000,0x00030047,0x00000134,0x00000000,0x00030047,0x00000135,0x00000000,0x00030047,
+ 0x00000137,0x00000000,0x00030047,0x00000138,0x00000000,0x00030047,0x0000013a,0x00000000,
+ 0x00030047,0x0000013c,0x00000000,0x00030047,0x0000013d,0x00000000,0x00030047,0x0000013e,
+ 0x00000000,0x00030047,0x0000013f,0x00000000,0x00030047,0x00000141,0x00000000,0x00030047,
+ 0x00000142,0x00000000,0x00030047,0x00000143,0x00000000,0x00030047,0x00000144,0x00000000,
+ 0x00030047,0x00000145,0x00000000,0x00030047,0x00000146,0x00000000,0x00030047,0x00000148,
+ 0x00000000,0x00030047,0x00000149,0x00000000,0x00030047,0x0000014a,0x00000000,0x00030047,
+ 0x0000014c,0x00000000,0x00030047,0x0000014d,0x00000000,0x00030047,0x0000014e,0x00000000,
+ 0x00030047,0x00000150,0x00000000,0x00030047,0x00000151,0x00000000,0x00030047,0x00000152,
+ 0x00000000,0x00030047,0x00000153,0x00000000,0x00030047,0x00000154,0x00000000,0x00030047,
+ 0x00000155,0x00000000,0x00030047,0x00000157,0x00000000,0x00030047,0x00000158,0x00000000,
+ 0x00030047,0x0000015a,0x00000000,0x00030047,0x0000015b,0x00000000,0x00030047,0x0000015c,
+ 0x00000000,0x00030047,0x0000015d,0x00000000,0x00030047,0x0000015e,0x00000000,0x00030047,
+ 0x00000160,0x00000000,0x00030047,0x00000161,0x00000000,0x00030047,0x00000162,0x00000000,
+ 0x00030047,0x00000163,0x00000000,0x00030047,0x00000164,0x00000000,0x00030047,0x00000165,
+ 0x00000000,0x00030047,0x00000167,0x00000000,0x00030047,0x00000168,0x00000000,0x00030047,
+ 0x00000169,0x00000000,0x00030047,0x0000016b,0x00000000,0x00030047,0x0000016c,0x00000000,
+ 0x00030047,0x0000016d,0x00000000,0x00030047,0x0000016f,0x00000000,0x00030047,0x00000170,
+ 0x00000000,0x00030047,0x00000171,0x00000000,0x00030047,0x00000172,0x00000000,0x00030047,
+ 0x00000173,0x00000000,0x00030047,0x00000174,0x00000000,0x00030047,0x00000175,0x00000000,
+ 0x00030047,0x00000177,0x00000000,0x00030047,0x00000178,0x00000000,0x00030047,0x0000017a,
+ 0x00000000,0x00030047,0x0000017b,0x00000000,0x00030047,0x0000017d,0x00000000,0x00030047,
+ 0x0000017e,0x00000000,0x00030047,0x0000017f,0x00000000,0x00030047,0x00000180,0x00000000,
+ 0x00030047,0x00000181,0x00000000,0x00030047,0x00000182,0x00000000,0x00030047,0x00000184,
+ 0x00000000,0x00030047,0x00000185,0x00000000,0x00030047,0x00000186,0x00000000,0x00030047,
+ 0x00000187,0x00000000,0x00030047,0x00000189,0x00000000,0x00030047,0x0000018a,0x00000000,
+ 0x00030047,0x0000018c,0x00000000,0x00030047,0x0000018d,0x00000000,0x00030047,0x0000018e,
+ 0x00000000,0x00030047,0x0000018f,0x00000000,0x00030047,0x00000190,0x00000000,0x00030047,
+ 0x00000191,0x00000000,0x00030047,0x00000193,0x00000000,0x00030047,0x00000194,0x00000000,
+ 0x00030047,0x00000196,0x00000000,0x00030047,0x00000197,0x00000000,0x00030047,0x00000198,
+ 0x00000000,0x00030047,0x00000199,0x00000000,0x00030047,0x0000019a,0x00000000,0x00030047,
+ 0x0000019c,0x00000000,0x00030047,0x0000019d,0x00000000,0x00030047,0x0000019e,0x00000000,
+ 0x00030047,0x0000019f,0x00000000,0x00030047,0x000001a0,0x00000000,0x00030047,0x000001a1,
+ 0x00000000,0x00030047,0x000001a3,0x00000000,0x00030047,0x000001a4,0x00000000,0x00030047,
+ 0x000001a6,0x00000000,0x00030047,0x000001a7,0x00000000,0x00030047,0x000001a8,0x00000000,
+ 0x00030047,0x000001a9,0x00000000,0x00030047,0x000001aa,0x00000000,0x00030047,0x000001ac,
+ 0x00000000,0x00030047,0x000001ad,0x00000000,0x00030047,0x000001ae,0x00000000,0x00030047,
+ 0x000001af,0x00000000,0x00030047,0x000001b0,0x00000000,0x00030047,0x000001b1,0x00000000,
+ 0x00030047,0x000001b3,0x00000000,0x00030047,0x000001b4,0x00000000,0x00030047,0x000001b5,
+ 0x00000000,0x00030047,0x000001b6,0x00000000,0x00030047,0x000001b8,0x00000000,0x00030047,
+ 0x000001b9,0x00000000,0x00030047,0x000001bb,0x00000000,0x00030047,0x000001bc,0x00000000,
+ 0x00030047,0x000001bd,0x00000000,0x00030047,0x000001be,0x00000000,0x00030047,0x000001bf,
+ 0x00000000,0x00030047,0x000001c0,0x00000000,0x00030047,0x000001c2,0x00000000,0x00030047,
+ 0x000001c3,0x00000000,0x00030047,0x000001c4,0x00000000,0x00030047,0x000001c5,0x00000000,
+ 0x00030047,0x000001c7,0x00000000,0x00030047,0x000001c8,0x00000000,0x00030047,0x000001ca,
+ 0x00000000,0x00030047,0x000001cb,0x00000000,0x00030047,0x000001cc,0x00000000,0x00030047,
+ 0x000001cd,0x00000000,0x00030047,0x000001ce,0x00000000,0x00030047,0x000001cf,0x00000000,
+ 0x00030047,0x000001d0,0x00000000,0x00030047,0x000001d2,0x00000000,0x00030047,0x000001d4,
+ 0x00000000,0x00030047,0x000001d5,0x00000000,0x00030047,0x000001d6,0x00000000,0x00030047,
+ 0x000001d8,0x00000000,0x00030047,0x000001da,0x00000000,0x00030047,0x000001db,0x00000000,
+ 0x00030047,0x000001dd,0x00000000,0x00030047,0x000001df,0x00000000,0x00030047,0x000001e0,
+ 0x00000000,0x00030047,0x000001e1,0x00000000,0x00030047,0x000001e2,0x00000000,0x00030047,
+ 0x000001e4,0x00000000,0x00030047,0x000001e6,0x00000000,0x00030047,0x000001e7,0x00000000,
+ 0x00030047,0x000001e9,0x00000000,0x00030047,0x000001eb,0x00000000,0x00030047,0x000001ec,
+ 0x00000000,0x00030047,0x000001ed,0x00000000,0x00030047,0x000001f1,0x00000000,0x00030047,
+ 0x000001f2,0x00000000,0x00030047,0x000001f3,0x00000000,0x00030047,0x000001f4,0x00000000,
+ 0x00030047,0x000001f5,0x00000000,0x00030047,0x000001f6,0x00000000,0x00030047,0x000001f7,
+ 0x00000000,0x00030047,0x000001f8,0x00000000,0x00030047,0x000001fa,0x00000000,0x00030047,
+ 0x000001fb,0x00000000,0x00030047,0x000001fc,0x00000000,0x00030047,0x000001ff,0x00000000,
+ 0x00030047,0x00000201,0x00000000,0x00030047,0x00000202,0x00000000,0x00030047,0x00000203,
+ 0x00000000,0x00030047,0x00000204,0x00000000,0x00030047,0x00000207,0x00000000,0x00030047,
+ 0x00000208,0x00000000,0x00030047,0x00000209,0x00000000,0x00030047,0x0000020a,0x00000000,
+ 0x00030047,0x0000020d,0x00000000,0x00030047,0x0000020e,0x00000000,0x00030047,0x0000020f,
+ 0x00000000,0x00030047,0x00000210,0x00000000,0x00030047,0x00000214,0x00000000,0x00040047,
+ 0x00000214,0x0000001e,0x00000000,0x00030047,0x00000215,0x00000000,0x00020013,0x00000002,
+ 0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040020,0x00000007,
+ 0x00000007,0x00000006,0x00040021,0x00000008,0x00000006,0x00000007,0x00040017,0x0000000c,
+ 0x00000006,0x00000002,0x00070021,0x0000000d,0x0000000c,0x00000007,0x00000007,0x00000007,
+ 0x00000007,0x0004002b,0x00000006,0x00000016,0x40800000,0x0004002b,0x00000006,0x0000002e,
+ 0x3f0ccccd,0x0004002b,0x00000006,0x00000034,0x00000000,0x0004002b,0x00000006,0x00000035,
+ 0x3f800000,0x00040017,0x00000043,0x00000006,0x00000004,0x00040020,0x00000044,0x00000007,
+ 0x00000043,0x0005001e,0x00000046,0x00000043,0x00000043,0x00000006,0x00040020,0x00000047,
+ 0x00000009,0x00000046,0x0004003b,0x00000047,0x00000048,0x00000009,0x00040015,0x00000049,
+ 0x00000020,0x00000001,0x0004002b,0x00000049,0x0000004a,0x00000001,0x00040020,0x0000004b,
+ 0x00000009,0x00000043,0x00040020,0x0000004e,0x00000007,0x0000000c,0x00040020,0x00000050,
+ 0x00000001,0x0000000c,0x0004003b,0x00000050,0x00000051,0x00000001,0x00090019,0x00000054,
+ 0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,
+ 0x00000055,0x00000054,0x00040020,0x00000056,0x00000000,0x00000055,0x0004003b,0x00000056,
+ 0x00000057,0x00000000,0x00040017,0x0000005b,0x00000006,0x00000003,0x00040015,0x0000005d,
+ 0x00000020,0x00000000,0x0004002b,0x0000005d,0x0000005e,0x00000000,0x0004002b,0x0000005d,
+ 0x00000061,0x00000001,0x0004002b,0x0000005d,0x00000064,0x00000002,0x0004002b,0x00000006,
+ 0x0000006c,0xbf000000,0x0004002b,0x00000006,0x0000006d,0x3f000000,0x0005002c,0x0000000c,
+ 0x0000006e,0x0000006c,0x0000006d,0x0004002b,0x00000006,0x00000097,0x3d008081,0x00020014,
+ 0x00000098,0x0004002b,0x0000005d,0x000000c2,0x00000003,0x0004002b,0x00000006,0x000000d1,
+ 0x3e800000,0x0004002b,0x00000006,0x00000115,0x400ba2e8,0x0004002b,0x00000006,0x0000013b,
+ 0x40000000,0x0004002b,0x00000049,0x000001ee,0x00000002,0x00040020,0x000001ef,0x00000009,
+ 0x00000006,0x0004002b,0x00000006,0x000001fd,0xbdb8b8b9,0x0004002b,0x00000006,0x000001fe,
+ 0x3db8b8b9,0x00040020,0x00000213,0x00000003,0x00000043,0x0004003b,0x00000213,0x00000214,
+ 0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,
+ 0x0004003b,0x00000044,0x00000045,0x00000007,0x0004003b,0x0000004e,0x0000004f,0x00000007,
+ 0x0004003b,0x00000044,0x00000053,0x00000007,0x0004003b,0x0000004e,0x00000067,0x00000007,
+ 0x0004003b,0x0000004e,0x00000070,0x00000007,0x0004003b,0x0000004e,0x00000073,0x00000007,
+ 0x0004003b,0x0000004e,0x00000078,0x00000007,0x0004003b,0x00000044,0x0000007d,0x00000007,
+ 0x0004003b,0x00000007,0x00000081,0x00000007,0x0004003b,0x00000044,0x000000a2,0x00000007,
+ 0x0004003b,0x00000044,0x000000aa,0x00000007,0x0004003b,0x00000007,0x000000c5,0x00000007,
+ 0x0004003b,0x00000007,0x000000e4,0x00000007,0x0004003b,0x00000007,0x00000114,0x00000007,
+ 0x0004003b,0x0000004e,0x00000118,0x00000007,0x0004003b,0x00000007,0x0000011c,0x00000007,
+ 0x0004003b,0x00000007,0x0000011f,0x00000007,0x0004003b,0x00000007,0x00000120,0x00000007,
+ 0x0004003b,0x00000007,0x00000123,0x00000007,0x0004003b,0x00000007,0x0000012c,0x00000007,
+ 0x0004003b,0x00000007,0x0000012d,0x00000007,0x0004003b,0x00000007,0x0000012e,0x00000007,
+ 0x0004003b,0x00000007,0x00000131,0x00000007,0x0004003b,0x00000007,0x0000013d,0x00000007,
+ 0x0004003b,0x00000007,0x0000013e,0x00000007,0x0004003b,0x00000007,0x0000013f,0x00000007,
+ 0x0004003b,0x00000007,0x00000142,0x00000007,0x0004003b,0x00000007,0x0000014a,0x00000007,
+ 0x0004003b,0x00000007,0x0000014d,0x00000007,0x0004003b,0x00000007,0x0000014e,0x00000007,
+ 0x0004003b,0x00000007,0x00000151,0x00000007,0x0004003b,0x00000007,0x0000015c,0x00000007,
+ 0x0004003b,0x00000007,0x0000015d,0x00000007,0x0004003b,0x00000007,0x0000015e,0x00000007,
+ 0x0004003b,0x00000007,0x00000161,0x00000007,0x0004003b,0x00000007,0x00000169,0x00000007,
+ 0x0004003b,0x00000007,0x0000016c,0x00000007,0x0004003b,0x00000007,0x0000016d,0x00000007,
+ 0x0004003b,0x00000007,0x00000170,0x00000007,0x0004003b,0x00000007,0x00000175,0x00000007,
+ 0x0004003b,0x00000007,0x00000178,0x00000007,0x0004003b,0x00000007,0x0000017b,0x00000007,
+ 0x0004003b,0x00000007,0x0000017e,0x00000007,0x0004003b,0x00000007,0x00000186,0x00000007,
+ 0x0004003b,0x00000007,0x00000187,0x00000007,0x0004003b,0x00000007,0x0000018a,0x00000007,
+ 0x0004003b,0x00000007,0x0000018d,0x00000007,0x0004003b,0x00000007,0x00000198,0x00000007,
+ 0x0004003b,0x00000007,0x00000199,0x00000007,0x0004003b,0x00000007,0x0000019a,0x00000007,
+ 0x0004003b,0x00000007,0x0000019d,0x00000007,0x0004003b,0x00000007,0x000001a8,0x00000007,
+ 0x0004003b,0x00000007,0x000001a9,0x00000007,0x0004003b,0x00000007,0x000001aa,0x00000007,
+ 0x0004003b,0x00000007,0x000001ad,0x00000007,0x0004003b,0x00000007,0x000001b5,0x00000007,
+ 0x0004003b,0x00000007,0x000001b6,0x00000007,0x0004003b,0x00000007,0x000001b9,0x00000007,
+ 0x0004003b,0x00000007,0x000001bc,0x00000007,0x0004003b,0x00000007,0x000001c4,0x00000007,
+ 0x0004003b,0x00000007,0x000001c5,0x00000007,0x0004003b,0x00000007,0x000001c8,0x00000007,
+ 0x0004003b,0x00000007,0x000001cb,0x00000007,0x0004003b,0x00000007,0x000001d0,0x00000007,
+ 0x0004003b,0x00000007,0x000001d6,0x00000007,0x0004003b,0x00000007,0x000001e2,0x00000007,
+ 0x0004003b,0x00000007,0x000001f7,0x00000007,0x00050041,0x0000004b,0x0000004c,0x00000048,
+ 0x0000004a,0x0004003d,0x00000043,0x0000004d,0x0000004c,0x0003003e,0x00000045,0x0000004d,
+ 0x0004003d,0x0000000c,0x00000052,0x00000051,0x0003003e,0x0000004f,0x00000052,0x0004003d,
+ 0x00000055,0x00000058,0x00000057,0x0004003d,0x0000000c,0x00000059,0x0000004f,0x00070058,
+ 0x00000043,0x0000005a,0x00000058,0x00000059,0x00000002,0x00000034,0x0008004f,0x0000005b,
+ 0x0000005c,0x0000005a,0x0000005a,0x00000000,0x00000001,0x00000002,0x00050041,0x00000007,
+ 0x0000005f,0x00000053,0x0000005e,0x00050051,0x00000006,0x00000060,0x0000005c,0x00000000,
+ 0x0003003e,0x0000005f,0x00000060,0x00050041,0x00000007,0x00000062,0x00000053,0x00000061,
+ 0x00050051,0x00000006,0x00000063,0x0000005c,0x00000001,0x0003003e,0x00000062,0x00000063,
+ 0x00050041,0x00000007,0x00000065,0x00000053,0x00000064,0x00050051,0x00000006,0x00000066,
+ 0x0000005c,0x00000002,0x0003003e,0x00000065,0x00000066,0x0004003d,0x0000000c,0x00000068,
+ 0x0000004f,0x0004003d,0x00000043,0x00000069,0x00000045,0x0007004f,0x0000000c,0x0000006a,
+ 0x00000069,0x00000069,0x00000002,0x00000003,0x00050085,0x0000000c,0x0000006b,0x00000068,
+ 0x0000006a,0x00050081,0x0000000c,0x0000006f,0x0000006b,0x0000006e,0x0003003e,0x00000067,
+ 0x0000006f,0x0004003d,0x0000000c,0x00000071,0x00000067,0x0006000c,0x0000000c,0x00000072,
+ 0x00000001,0x00000008,0x00000071,0x0003003e,0x00000070,0x00000072,0x0004003d,0x0000000c,
+ 0x00000074,0x00000070,0x0004003d,0x00000043,0x00000075,0x00000045,0x0007004f,0x0000000c,
+ 0x00000076,0x00000075,0x00000075,0x00000000,0x00000001,0x00050085,0x0000000c,0x00000077,
+ 0x00000074,0x00000076,0x0003003e,0x00000073,0x00000077,0x0004003d,0x0000000c,0x00000079,
+ 0x00000067,0x0004003d,0x0000000c,0x0000007a,0x00000070,0x0004007f,0x0000000c,0x0000007b,
+ 0x0000007a,0x00050081,0x0000000c,0x0000007c,0x00000079,0x0000007b,0x0003003e,0x00000078,
+ 0x0000007c,0x0004003d,0x00000055,0x0000007e,0x00000057,0x0004003d,0x0000000c,0x0000007f,
+ 0x00000073,0x00060060,0x00000043,0x00000080,0x0000007e,0x0000007f,0x0000004a,0x0003003e,
+ 0x0000007d,0x00000080,0x00050041,0x00000007,0x00000082,0x0000007d,0x00000064,0x0004003d,
+ 0x00000006,0x00000083,0x00000082,0x00050041,0x00000007,0x00000084,0x0000007d,0x00000061,
+ 0x0004003d,0x00000006,0x00000085,0x00000084,0x00050083,0x00000006,0x00000086,0x00000083,
+ 0x00000085,0x0006000c,0x00000006,0x00000087,0x00000001,0x00000004,0x00000086,0x00050041,
+ 0x00000007,0x00000088,0x00000053,0x00000061,0x0004003d,0x00000006,0x00000089,0x00000088,
+ 0x00050041,0x00000007,0x0000008a,0x0000007d,0x00000061,0x0004003d,0x00000006,0x0000008b,
+ 0x0000008a,0x00050083,0x00000006,0x0000008c,0x00000089,0x0000008b,0x0006000c,0x00000006,
+ 0x0000008d,0x00000001,0x00000004,0x0000008c,0x00050081,0x00000006,0x0000008e,0x00000087,
+ 0x0000008d,0x00050041,0x00000007,0x0000008f,0x00000053,0x00000061,0x0004003d,0x00000006,
+ 0x00000090,0x0000008f,0x00050041,0x00000007,0x00000091,0x0000007d,0x00000064,0x0004003d,
+ 0x00000006,0x00000092,0x00000091,0x00050083,0x00000006,0x00000093,0x00000090,0x00000092,
+ 0x0006000c,0x00000006,0x00000094,0x00000001,0x00000004,0x00000093,0x00050081,0x00000006,
+ 0x00000095,0x0000008e,0x00000094,0x0003003e,0x00000081,0x00000095,0x0004003d,0x00000006,
+ 0x00000096,0x00000081,0x000500ba,0x00000098,0x00000099,0x00000096,0x00000097,0x000300f7,
+ 0x0000009b,0x00000000,0x000400fa,0x00000099,0x0000009a,0x0000009b,0x000200f8,0x0000009a,
+ 0x00050041,0x00000007,0x0000009c,0x00000045,0x0000005e,0x0004003d,0x00000006,0x0000009d,
+ 0x0000009c,0x00050041,0x00000007,0x0000009e,0x00000073,0x0000005e,0x0004003d,0x00000006,
+ 0x0000009f,0x0000009e,0x00050081,0x00000006,0x000000a0,0x0000009f,0x0000009d,0x00050041,
+ 0x00000007,0x000000a1,0x00000073,0x0000005e,0x0003003e,0x000000a1,0x000000a0,0x0004003d,
+ 0x00000055,0x000000a3,0x00000057,0x0004003d,0x0000000c,0x000000a4,0x00000073,0x00050041,
+ 0x00000007,0x000000a5,0x00000045,0x0000005e,0x0004003d,0x00000006,0x000000a6,0x000000a5,
+ 0x00050050,0x0000000c,0x000000a7,0x000000a6,0x00000034,0x00050081,0x0000000c,0x000000a8,
+ 0x000000a4,0x000000a7,0x00060060,0x00000043,0x000000a9,0x000000a3,0x000000a8,0x0000004a,
+ 0x0003003e,0x000000a2,0x000000a9,0x0004003d,0x00000055,0x000000ab,0x00000057,0x0004003d,
+ 0x0000000c,0x000000ac,0x00000073,0x00050041,0x00000007,0x000000ad,0x00000045,0x00000061,
+ 0x0004003d,0x00000006,0x000000ae,0x000000ad,0x0004007f,0x00000006,0x000000af,0x000000ae,
+ 0x00050050,0x0000000c,0x000000b0,0x00000034,0x000000af,0x00050081,0x0000000c,0x000000b1,
+ 0x000000ac,0x000000b0,0x00060060,0x00000043,0x000000b2,0x000000ab,0x000000b1,0x0000004a,
+ 0x0007004f,0x0000000c,0x000000b3,0x000000b2,0x000000b2,0x00000003,0x00000002,0x00050041,
+ 0x00000007,0x000000b4,0x000000aa,0x0000005e,0x00050051,0x00000006,0x000000b5,0x000000b3,
+ 0x00000000,0x0003003e,0x000000b4,0x000000b5,0x00050041,0x00000007,0x000000b6,0x000000aa,
+ 0x00000061,0x00050051,0x00000006,0x000000b7,0x000000b3,0x00000001,0x0003003e,0x000000b6,
+ 0x000000b7,0x0004003d,0x00000055,0x000000b8,0x00000057,0x0004003d,0x0000000c,0x000000b9,
+ 0x00000073,0x00050041,0x00000007,0x000000ba,0x00000045,0x00000061,0x0004003d,0x00000006,
+ 0x000000bb,0x000000ba,0x00050050,0x0000000c,0x000000bc,0x00000034,0x000000bb,0x00050081,
+ 0x0000000c,0x000000bd,0x000000b9,0x000000bc,0x00060060,0x00000043,0x000000be,0x000000b8,
+ 0x000000bd,0x0000004a,0x0007004f,0x0000000c,0x000000bf,0x000000be,0x000000be,0x00000001,
+ 0x00000000,0x00050041,0x00000007,0x000000c0,0x000000aa,0x00000064,0x00050051,0x00000006,
+ 0x000000c1,0x000000bf,0x00000000,0x0003003e,0x000000c0,0x000000c1,0x00050041,0x00000007,
+ 0x000000c3,0x000000aa,0x000000c2,0x00050051,0x00000006,0x000000c4,0x000000bf,0x00000001,
+ 0x0003003e,0x000000c3,0x000000c4,0x00050041,0x00000007,0x000000c6,0x0000007d,0x00000061,
+ 0x0004003d,0x00000006,0x000000c7,0x000000c6,0x00050041,0x00000007,0x000000c8,0x0000007d,
+ 0x00000064,0x0004003d,0x00000006,0x000000c9,0x000000c8,0x00050081,0x00000006,0x000000ca,
+ 0x000000c7,0x000000c9,0x00050041,0x00000007,0x000000cb,0x000000a2,0x0000005e,0x0004003d,
+ 0x00000006,0x000000cc,0x000000cb,0x00050081,0x00000006,0x000000cd,0x000000ca,0x000000cc,
+ 0x00050041,0x00000007,0x000000ce,0x000000a2,0x000000c2,0x0004003d,0x00000006,0x000000cf,
+ 0x000000ce,0x00050081,0x00000006,0x000000d0,0x000000cd,0x000000cf,0x00050085,0x00000006,
+ 0x000000d2,0x000000d0,0x000000d1,0x0003003e,0x000000c5,0x000000d2,0x0004003d,0x00000043,
+ 0x000000d3,0x0000007d,0x0004003d,0x00000006,0x000000d4,0x000000c5,0x00070050,0x00000043,
+ 0x000000d5,0x000000d4,0x000000d4,0x000000d4,0x000000d4,0x00050083,0x00000043,0x000000d6,
+ 0x000000d3,0x000000d5,0x0003003e,0x0000007d,0x000000d6,0x0004003d,0x00000043,0x000000d7,
+ 0x000000a2,0x0004003d,0x00000006,0x000000d8,0x000000c5,0x00070050,0x00000043,0x000000d9,
+ 0x000000d8,0x000000d8,0x000000d8,0x000000d8,0x00050083,0x00000043,0x000000da,0x000000d7,
+ 0x000000d9,0x0003003e,0x000000a2,0x000000da,0x0004003d,0x00000043,0x000000db,0x000000aa,
+ 0x0004003d,0x00000006,0x000000dc,0x000000c5,0x00070050,0x00000043,0x000000dd,0x000000dc,
+ 0x000000dc,0x000000dc,0x000000dc,0x00050083,0x00000043,0x000000de,0x000000db,0x000000dd,
+ 0x0003003e,0x000000aa,0x000000de,0x00050041,0x00000007,0x000000df,0x00000053,0x00000061,
+ 0x0004003d,0x00000006,0x000000e0,0x000000df,0x0004003d,0x00000006,0x000000e1,0x000000c5,
+ 0x00050083,0x00000006,0x000000e2,0x000000e0,0x000000e1,0x00050041,0x00000007,0x000000e3,
+ 0x00000053,0x000000c2,0x0003003e,0x000000e3,0x000000e2,0x00050041,0x00000007,0x000000e5,
+ 0x0000007d,0x0000005e,0x0004003d,0x00000006,0x000000e6,0x000000e5,0x0006000c,0x00000006,
+ 0x000000e7,0x00000001,0x00000004,0x000000e6,0x00050041,0x00000007,0x000000e8,0x0000007d,
+ 0x00000061,0x0004003d,0x00000006,0x000000e9,0x000000e8,0x0006000c,0x00000006,0x000000ea,
+ 0x00000001,0x00000004,0x000000e9,0x00050081,0x00000006,0x000000eb,0x000000e7,0x000000ea,
+ 0x00050041,0x00000007,0x000000ec,0x0000007d,0x00000064,0x0004003d,0x00000006,0x000000ed,
+ 0x000000ec,0x0006000c,0x00000006,0x000000ee,0x00000001,0x00000004,0x000000ed,0x00050081,
+ 0x00000006,0x000000ef,0x000000eb,0x000000ee,0x00050041,0x00000007,0x000000f0,0x0000007d,
+ 0x000000c2,0x0004003d,0x00000006,0x000000f1,0x000000f0,0x0006000c,0x00000006,0x000000f2,
+ 0x00000001,0x00000004,0x000000f1,0x00050081,0x00000006,0x000000f3,0x000000ef,0x000000f2,
+ 0x00050041,0x00000007,0x000000f4,0x000000a2,0x0000005e,0x0004003d,0x00000006,0x000000f5,
+ 0x000000f4,0x0006000c,0x00000006,0x000000f6,0x00000001,0x00000004,0x000000f5,0x00050041,
+ 0x00000007,0x000000f7,0x000000a2,0x00000061,0x0004003d,0x00000006,0x000000f8,0x000000f7,
+ 0x0006000c,0x00000006,0x000000f9,0x00000001,0x00000004,0x000000f8,0x00050081,0x00000006,
+ 0x000000fa,0x000000f6,0x000000f9,0x00050041,0x00000007,0x000000fb,0x000000a2,0x00000064,
+ 0x0004003d,0x00000006,0x000000fc,0x000000fb,0x0006000c,0x00000006,0x000000fd,0x00000001,
+ 0x00000004,0x000000fc,0x00050081,0x00000006,0x000000fe,0x000000fa,0x000000fd,0x00050041,
+ 0x00000007,0x000000ff,0x000000a2,0x000000c2,0x0004003d,0x00000006,0x00000100,0x000000ff,
+ 0x0006000c,0x00000006,0x00000101,0x00000001,0x00000004,0x00000100,0x00050081,0x00000006,
+ 0x00000102,0x000000fe,0x00000101,0x00050081,0x00000006,0x00000103,0x000000f3,0x00000102,
+ 0x00050041,0x00000007,0x00000104,0x000000aa,0x0000005e,0x0004003d,0x00000006,0x00000105,
+ 0x00000104,0x0006000c,0x00000006,0x00000106,0x00000001,0x00000004,0x00000105,0x00050041,
+ 0x00000007,0x00000107,0x000000aa,0x00000061,0x0004003d,0x00000006,0x00000108,0x00000107,
+ 0x0006000c,0x00000006,0x00000109,0x00000001,0x00000004,0x00000108,0x00050081,0x00000006,
+ 0x0000010a,0x00000106,0x00000109,0x00050041,0x00000007,0x0000010b,0x000000aa,0x00000064,
+ 0x0004003d,0x00000006,0x0000010c,0x0000010b,0x0006000c,0x00000006,0x0000010d,0x00000001,
+ 0x00000004,0x0000010c,0x00050081,0x00000006,0x0000010e,0x0000010a,0x0000010d,0x00050041,
+ 0x00000007,0x0000010f,0x000000aa,0x000000c2,0x0004003d,0x00000006,0x00000110,0x0000010f,
+ 0x0006000c,0x00000006,0x00000111,0x00000001,0x00000004,0x00000110,0x00050081,0x00000006,
+ 0x00000112,0x0000010e,0x00000111,0x00050081,0x00000006,0x00000113,0x00000103,0x00000112,
+ 0x0003003e,0x000000e4,0x00000113,0x0004003d,0x00000006,0x00000116,0x000000e4,0x00050088,
+ 0x00000006,0x00000117,0x00000115,0x00000116,0x0003003e,0x00000114,0x00000117,0x00050041,
+ 0x00000007,0x00000119,0x00000078,0x00000061,0x0004003d,0x00000006,0x0000011a,0x00000119,
+ 0x00050081,0x00000006,0x0000011b,0x0000011a,0x00000035,0x00050041,0x00000007,0x0000011d,
+ 0x00000078,0x0000005e,0x0004003d,0x00000006,0x0000011e,0x0000011d,0x0003003e,0x0000011c,
+ 0x0000011e,0x0003003e,0x0000011f,0x0000011b,0x00050041,0x00000007,0x00000121,0x000000aa,
+ 0x0000005e,0x0004003d,0x00000006,0x00000122,0x00000121,0x0003003e,0x00000120,0x00000122,
+ 0x0004003d,0x00000006,0x00000124,0x00000114,0x0003003e,0x00000123,0x00000124,0x00080039,
+ 0x0000000c,0x00000125,0x00000012,0x0000011c,0x0000011f,0x00000120,0x00000123,0x0003003e,
+ 0x00000118,0x00000125,0x00050041,0x00000007,0x00000126,0x00000078,0x0000005e,0x0004003d,
+ 0x00000006,0x00000127,0x00000126,0x00050083,0x00000006,0x00000128,0x00000127,0x00000035,
+ 0x00050041,0x00000007,0x00000129,0x00000078,0x00000061,0x0004003d,0x00000006,0x0000012a,
+ 0x00000129,0x00050081,0x00000006,0x0000012b,0x0000012a,0x00000035,0x0003003e,0x0000012c,
+ 0x00000128,0x0003003e,0x0000012d,0x0000012b,0x00050041,0x00000007,0x0000012f,0x000000aa,
+ 0x00000061,0x0004003d,0x00000006,0x00000130,0x0000012f,0x0003003e,0x0000012e,0x00000130,
+ 0x0004003d,0x00000006,0x00000132,0x00000114,0x0003003e,0x00000131,0x00000132,0x00080039,
+ 0x0000000c,0x00000133,0x00000012,0x0000012c,0x0000012d,0x0000012e,0x00000131,0x0004003d,
+ 0x0000000c,0x00000134,0x00000118,0x00050081,0x0000000c,0x00000135,0x00000134,0x00000133,
+ 0x0003003e,0x00000118,0x00000135,0x00050041,0x00000007,0x00000136,0x00000078,0x0000005e,
+ 0x0004003d,0x00000006,0x00000137,0x00000136,0x00050083,0x00000006,0x00000138,0x00000137,
+ 0x00000035,0x00050041,0x00000007,0x00000139,0x00000078,0x00000061,0x0004003d,0x00000006,
+ 0x0000013a,0x00000139,0x00050083,0x00000006,0x0000013c,0x0000013a,0x0000013b,0x0003003e,
+ 0x0000013d,0x00000138,0x0003003e,0x0000013e,0x0000013c,0x00050041,0x00000007,0x00000140,
+ 0x000000aa,0x00000064,0x0004003d,0x00000006,0x00000141,0x00000140,0x0003003e,0x0000013f,
+ 0x00000141,0x0004003d,0x00000006,0x00000143,0x00000114,0x0003003e,0x00000142,0x00000143,
+ 0x00080039,0x0000000c,0x00000144,0x00000012,0x0000013d,0x0000013e,0x0000013f,0x00000142,
+ 0x0004003d,0x0000000c,0x00000145,0x00000118,0x00050081,0x0000000c,0x00000146,0x00000145,
+ 0x00000144,0x0003003e,0x00000118,0x00000146,0x00050041,0x00000007,0x00000147,0x00000078,
+ 0x00000061,0x0004003d,0x00000006,0x00000148,0x00000147,0x00050083,0x00000006,0x00000149,
+ 0x00000148,0x0000013b,0x00050041,0x00000007,0x0000014b,0x00000078,0x0000005e,0x0004003d,
+ 0x00000006,0x0000014c,0x0000014b,0x0003003e,0x0000014a,0x0000014c,0x0003003e,0x0000014d,
+ 0x00000149,0x00050041,0x00000007,0x0000014f,0x000000aa,0x000000c2,0x0004003d,0x00000006,
+ 0x00000150,0x0000014f,0x0003003e,0x0000014e,0x00000150,0x0004003d,0x00000006,0x00000152,
+ 0x00000114,0x0003003e,0x00000151,0x00000152,0x00080039,0x0000000c,0x00000153,0x00000012,
+ 0x0000014a,0x0000014d,0x0000014e,0x00000151,0x0004003d,0x0000000c,0x00000154,0x00000118,
+ 0x00050081,0x0000000c,0x00000155,0x00000154,0x00000153,0x0003003e,0x00000118,0x00000155,
+ 0x00050041,0x00000007,0x00000156,0x00000078,0x0000005e,0x0004003d,0x00000006,0x00000157,
+ 0x00000156,0x00050081,0x00000006,0x00000158,0x00000157,0x00000035,0x00050041,0x00000007,
+ 0x00000159,0x00000078,0x00000061,0x0004003d,0x00000006,0x0000015a,0x00000159,0x00050083,
+ 0x00000006,0x0000015b,0x0000015a,0x00000035,0x0003003e,0x0000015c,0x00000158,0x0003003e,
+ 0x0000015d,0x0000015b,0x00050041,0x00000007,0x0000015f,0x0000007d,0x0000005e,0x0004003d,
+ 0x00000006,0x00000160,0x0000015f,0x0003003e,0x0000015e,0x00000160,0x0004003d,0x00000006,
+ 0x00000162,0x00000114,0x0003003e,0x00000161,0x00000162,0x00080039,0x0000000c,0x00000163,
+ 0x00000012,0x0000015c,0x0000015d,0x0000015e,0x00000161,0x0004003d,0x0000000c,0x00000164,
+ 0x00000118,0x00050081,0x0000000c,0x00000165,0x00000164,0x00000163,0x0003003e,0x00000118,
+ 0x00000165,0x00050041,0x00000007,0x00000166,0x00000078,0x00000061,0x0004003d,0x00000006,
+ 0x00000167,0x00000166,0x00050083,0x00000006,0x00000168,0x00000167,0x00000035,0x00050041,
+ 0x00000007,0x0000016a,0x00000078,0x0000005e,0x0004003d,0x00000006,0x0000016b,0x0000016a,
+ 0x0003003e,0x00000169,0x0000016b,0x0003003e,0x0000016c,0x00000168,0x00050041,0x00000007,
+ 0x0000016e,0x0000007d,0x00000061,0x0004003d,0x00000006,0x0000016f,0x0000016e,0x0003003e,
+ 0x0000016d,0x0000016f,0x0004003d,0x00000006,0x00000171,0x00000114,0x0003003e,0x00000170,
+ 0x00000171,0x00080039,0x0000000c,0x00000172,0x00000012,0x00000169,0x0000016c,0x0000016d,
+ 0x00000170,0x0004003d,0x0000000c,0x00000173,0x00000118,0x00050081,0x0000000c,0x00000174,
+ 0x00000173,0x00000172,0x0003003e,0x00000118,0x00000174,0x00050041,0x00000007,0x00000176,
+ 0x00000078,0x0000005e,0x0004003d,0x00000006,0x00000177,0x00000176,0x0003003e,0x00000175,
+ 0x00000177,0x00050041,0x00000007,0x00000179,0x00000078,0x00000061,0x0004003d,0x00000006,
+ 0x0000017a,0x00000179,0x0003003e,0x00000178,0x0000017a,0x00050041,0x00000007,0x0000017c,
+ 0x0000007d,0x00000064,0x0004003d,0x00000006,0x0000017d,0x0000017c,0x0003003e,0x0000017b,
+ 0x0000017d,0x0004003d,0x00000006,0x0000017f,0x00000114,0x0003003e,0x0000017e,0x0000017f,
+ 0x00080039,0x0000000c,0x00000180,0x00000012,0x00000175,0x00000178,0x0000017b,0x0000017e,
+ 0x0004003d,0x0000000c,0x00000181,0x00000118,0x00050081,0x0000000c,0x00000182,0x00000181,
+ 0x00000180,0x0003003e,0x00000118,0x00000182,0x00050041,0x00000007,0x00000183,0x00000078,
+ 0x0000005e,0x0004003d,0x00000006,0x00000184,0x00000183,0x00050081,0x00000006,0x00000185,
+ 0x00000184,0x00000035,0x0003003e,0x00000186,0x00000185,0x00050041,0x00000007,0x00000188,
+ 0x00000078,0x00000061,0x0004003d,0x00000006,0x00000189,0x00000188,0x0003003e,0x00000187,
+ 0x00000189,0x00050041,0x00000007,0x0000018b,0x0000007d,0x000000c2,0x0004003d,0x00000006,
+ 0x0000018c,0x0000018b,0x0003003e,0x0000018a,0x0000018c,0x0004003d,0x00000006,0x0000018e,
+ 0x00000114,0x0003003e,0x0000018d,0x0000018e,0x00080039,0x0000000c,0x0000018f,0x00000012,
+ 0x00000186,0x00000187,0x0000018a,0x0000018d,0x0004003d,0x0000000c,0x00000190,0x00000118,
+ 0x00050081,0x0000000c,0x00000191,0x00000190,0x0000018f,0x0003003e,0x00000118,0x00000191,
+ 0x00050041,0x00000007,0x00000192,0x00000078,0x0000005e,0x0004003d,0x00000006,0x00000193,
+ 0x00000192,0x00050083,0x00000006,0x00000194,0x00000193,0x00000035,0x00050041,0x00000007,
+ 0x00000195,0x00000078,0x00000061,0x0004003d,0x00000006,0x00000196,0x00000195,0x00050083,
+ 0x00000006,0x00000197,0x00000196,0x00000035,0x0003003e,0x00000198,0x00000194,0x0003003e,
+ 0x00000199,0x00000197,0x00050041,0x00000007,0x0000019b,0x000000a2,0x0000005e,0x0004003d,
+ 0x00000006,0x0000019c,0x0000019b,0x0003003e,0x0000019a,0x0000019c,0x0004003d,0x00000006,
+ 0x0000019e,0x00000114,0x0003003e,0x0000019d,0x0000019e,0x00080039,0x0000000c,0x0000019f,
+ 0x00000012,0x00000198,0x00000199,0x0000019a,0x0000019d,0x0004003d,0x0000000c,0x000001a0,
+ 0x00000118,0x00050081,0x0000000c,0x000001a1,0x000001a0,0x0000019f,0x0003003e,0x00000118,
+ 0x000001a1,0x00050041,0x00000007,0x000001a2,0x00000078,0x0000005e,0x0004003d,0x00000006,
+ 0x000001a3,0x000001a2,0x00050083,0x00000006,0x000001a4,0x000001a3,0x0000013b,0x00050041,
+ 0x00000007,0x000001a5,0x00000078,0x00000061,0x0004003d,0x00000006,0x000001a6,0x000001a5,
+ 0x00050083,0x00000006,0x000001a7,0x000001a6,0x00000035,0x0003003e,0x000001a8,0x000001a4,
+ 0x0003003e,0x000001a9,0x000001a7,0x00050041,0x00000007,0x000001ab,0x000000a2,0x00000061,
+ 0x0004003d,0x00000006,0x000001ac,0x000001ab,0x0003003e,0x000001aa,0x000001ac,0x0004003d,
+ 0x00000006,0x000001ae,0x00000114,0x0003003e,0x000001ad,0x000001ae,0x00080039,0x0000000c,
+ 0x000001af,0x00000012,0x000001a8,0x000001a9,0x000001aa,0x000001ad,0x0004003d,0x0000000c,
+ 0x000001b0,0x00000118,0x00050081,0x0000000c,0x000001b1,0x000001b0,0x000001af,0x0003003e,
+ 0x00000118,0x000001b1,0x00050041,0x00000007,0x000001b2,0x00000078,0x0000005e,0x0004003d,
+ 0x00000006,0x000001b3,0x000001b2,0x00050083,0x00000006,0x000001b4,0x000001b3,0x0000013b,
+ 0x0003003e,0x000001b5,0x000001b4,0x00050041,0x00000007,0x000001b7,0x00000078,0x00000061,
+ 0x0004003d,0x00000006,0x000001b8,0x000001b7,0x0003003e,0x000001b6,0x000001b8,0x00050041,
+ 0x00000007,0x000001ba,0x000000a2,0x00000064,0x0004003d,0x00000006,0x000001bb,0x000001ba,
+ 0x0003003e,0x000001b9,0x000001bb,0x0004003d,0x00000006,0x000001bd,0x00000114,0x0003003e,
+ 0x000001bc,0x000001bd,0x00080039,0x0000000c,0x000001be,0x00000012,0x000001b5,0x000001b6,
+ 0x000001b9,0x000001bc,0x0004003d,0x0000000c,0x000001bf,0x00000118,0x00050081,0x0000000c,
+ 0x000001c0,0x000001bf,0x000001be,0x0003003e,0x00000118,0x000001c0,0x00050041,0x00000007,
+ 0x000001c1,0x00000078,0x0000005e,0x0004003d,0x00000006,0x000001c2,0x000001c1,0x00050083,
+ 0x00000006,0x000001c3,0x000001c2,0x00000035,0x0003003e,0x000001c4,0x000001c3,0x00050041,
+ 0x00000007,0x000001c6,0x00000078,0x00000061,0x0004003d,0x00000006,0x000001c7,0x000001c6,
+ 0x0003003e,0x000001c5,0x000001c7,0x00050041,0x00000007,0x000001c9,0x000000a2,0x000000c2,
+ 0x0004003d,0x00000006,0x000001ca,0x000001c9,0x0003003e,0x000001c8,0x000001ca,0x0004003d,
+ 0x00000006,0x000001cc,0x00000114,0x0003003e,0x000001cb,0x000001cc,0x00080039,0x0000000c,
+ 0x000001cd,0x00000012,0x000001c4,0x000001c5,0x000001c8,0x000001cb,0x0004003d,0x0000000c,
+ 0x000001ce,0x00000118,0x00050081,0x0000000c,0x000001cf,0x000001ce,0x000001cd,0x0003003e,
+ 0x00000118,0x000001cf,0x00050041,0x00000007,0x000001d1,0x00000118,0x00000061,0x0004003d,
+ 0x00000006,0x000001d2,0x000001d1,0x00050041,0x00000007,0x000001d3,0x00000118,0x0000005e,
+ 0x0004003d,0x00000006,0x000001d4,0x000001d3,0x00050088,0x00000006,0x000001d5,0x000001d2,
+ 0x000001d4,0x0003003e,0x000001d0,0x000001d5,0x00050041,0x00000007,0x000001d7,0x0000007d,
+ 0x00000061,0x0004003d,0x00000006,0x000001d8,0x000001d7,0x00050041,0x00000007,0x000001d9,
+ 0x0000007d,0x00000064,0x0004003d,0x00000006,0x000001da,0x000001d9,0x0007000c,0x00000006,
+ 0x000001db,0x00000001,0x00000028,0x000001d8,0x000001da,0x00050041,0x00000007,0x000001dc,
+ 0x000000a2,0x0000005e,0x0004003d,0x00000006,0x000001dd,0x000001dc,0x00050041,0x00000007,
+ 0x000001de,0x000000a2,0x000000c2,0x0004003d,0x00000006,0x000001df,0x000001de,0x0007000c,
+ 0x00000006,0x000001e0,0x00000001,0x00000028,0x000001dd,0x000001df,0x0007000c,0x00000006,
+ 0x000001e1,0x00000001,0x00000028,0x000001db,0x000001e0,0x0003003e,0x000001d6,0x000001e1,
+ 0x00050041,0x00000007,0x000001e3,0x0000007d,0x00000061,0x0004003d,0x00000006,0x000001e4,
+ 0x000001e3,0x00050041,0x00000007,0x000001e5,0x0000007d,0x00000064,0x0004003d,0x00000006,
+ 0x000001e6,0x000001e5,0x0007000c,0x00000006,0x000001e7,0x00000001,0x00000025,0x000001e4,
+ 0x000001e6,0x00050041,0x00000007,0x000001e8,0x000000a2,0x0000005e,0x0004003d,0x00000006,
+ 0x000001e9,0x000001e8,0x00050041,0x00000007,0x000001ea,0x000000a2,0x000000c2,0x0004003d,
+ 0x00000006,0x000001eb,0x000001ea,0x0007000c,0x00000006,0x000001ec,0x00000001,0x00000025,
+ 0x000001e9,0x000001eb,0x0007000c,0x00000006,0x000001ed,0x00000001,0x00000025,0x000001e7,
+ 0x000001ec,0x0003003e,0x000001e2,0x000001ed,0x00050041,0x000001ef,0x000001f0,0x00000048,
+ 0x000001ee,0x0004003d,0x00000006,0x000001f1,0x000001f0,0x0004003d,0x00000006,0x000001f2,
+ 0x000001d0,0x00050085,0x00000006,0x000001f3,0x000001f1,0x000001f2,0x0004003d,0x00000006,
+ 0x000001f4,0x000001e2,0x0004003d,0x00000006,0x000001f5,0x000001d6,0x0008000c,0x00000006,
+ 0x000001f6,0x00000001,0x0000002b,0x000001f3,0x000001f4,0x000001f5,0x0003003e,0x000001d0,
+ 0x000001f6,0x0004003d,0x00000006,0x000001f8,0x000001d0,0x00050041,0x00000007,0x000001f9,
+ 0x00000053,0x000000c2,0x0004003d,0x00000006,0x000001fa,0x000001f9,0x00050083,0x00000006,
+ 0x000001fb,0x000001f8,0x000001fa,0x0003003e,0x000001f7,0x000001fb,0x0004003d,0x00000006,
+ 0x000001fc,0x000001f7,0x0008000c,0x00000006,0x000001ff,0x00000001,0x0000002b,0x000001fc,
+ 0x000001fd,0x000001fe,0x0003003e,0x000001f7,0x000001ff,0x00050041,0x00000007,0x00000200,
+ 0x00000053,0x0000005e,0x0004003d,0x00000006,0x00000201,0x00000200,0x0004003d,0x00000006,
+ 0x00000202,0x000001f7,0x00050081,0x00000006,0x00000203,0x00000201,0x00000202,0x0008000c,
+ 0x00000006,0x00000204,0x00000001,0x0000002b,0x00000203,0x00000034,0x00000035,0x00050041,
+ 0x00000007,0x00000205,0x00000053,0x0000005e,0x0003003e,0x00000205,0x00000204,0x00050041,
+ 0x00000007,0x00000206,0x00000053,0x00000061,0x0004003d,0x00000006,0x00000207,0x00000206,
+ 0x0004003d,0x00000006,0x00000208,0x000001f7,0x00050081,0x00000006,0x00000209,0x00000207,
+ 0x00000208,0x0008000c,0x00000006,0x0000020a,0x00000001,0x0000002b,0x00000209,0x00000034,
+ 0x00000035,0x00050041,0x00000007,0x0000020b,0x00000053,0x00000061,0x0003003e,0x0000020b,
+ 0x0000020a,0x00050041,0x00000007,0x0000020c,0x00000053,0x00000064,0x0004003d,0x00000006,
+ 0x0000020d,0x0000020c,0x0004003d,0x00000006,0x0000020e,0x000001f7,0x00050081,0x00000006,
+ 0x0000020f,0x0000020d,0x0000020e,0x0008000c,0x00000006,0x00000210,0x00000001,0x0000002b,
+ 0x0000020f,0x00000034,0x00000035,0x00050041,0x00000007,0x00000211,0x00000053,0x00000064,
+ 0x0003003e,0x00000211,0x00000210,0x000200f9,0x0000009b,0x000200f8,0x0000009b,0x00050041,
+ 0x00000007,0x00000212,0x00000053,0x000000c2,0x0003003e,0x00000212,0x00000035,0x0004003d,
+ 0x00000043,0x00000215,0x00000053,0x0003003e,0x00000214,0x00000215,0x000100fd,0x00010038,
+ 0x00050036,0x00000006,0x0000000a,0x00000000,0x00000008,0x00030037,0x00000007,0x00000009,
+ 0x000200f8,0x0000000b,0x0004003b,0x00000007,0x00000014,0x00000007,0x0004003b,0x00000007,
+ 0x00000018,0x00000007,0x0004003d,0x00000006,0x00000015,0x00000009,0x00050083,0x00000006,
+ 0x00000017,0x00000015,0x00000016,0x0003003e,0x00000014,0x00000017,0x0004003d,0x00000006,
+ 0x00000019,0x00000009,0x0004003d,0x00000006,0x0000001a,0x00000014,0x00050085,0x00000006,
+ 0x0000001b,0x00000019,0x0000001a,0x0004003d,0x00000006,0x0000001c,0x00000014,0x00050083,
+ 0x00000006,0x0000001d,0x0000001b,0x0000001c,0x0003003e,0x00000018,0x0000001d,0x0004003d,
+ 0x00000006,0x0000001e,0x00000014,0x0004003d,0x00000006,0x0000001f,0x00000014,0x00050085,
+ 0x00000006,0x00000020,0x0000001f,0x0000001e,0x0003003e,0x00000014,0x00000020,0x0004003d,
+ 0x00000006,0x00000021,0x00000018,0x0004003d,0x00000006,0x00000022,0x00000014,0x00050085,
+ 0x00000006,0x00000023,0x00000021,0x00000022,0x000200fe,0x00000023,0x00010038,0x00050036,
+ 0x0000000c,0x00000012,0x00000000,0x0000000d,0x00030037,0x00000007,0x0000000e,0x00030037,
+ 0x00000007,0x0000000f,0x00030037,0x00000007,0x00000010,0x00030037,0x00000007,0x00000011,
+ 0x000200f8,0x00000013,0x0004003b,0x00000007,0x00000026,0x00000007,0x0004003b,0x00000007,
+ 0x00000038,0x00000007,0x0004003b,0x00000007,0x00000039,0x00000007,0x0004003d,0x00000006,
+ 0x00000027,0x0000000e,0x0004003d,0x00000006,0x00000028,0x0000000e,0x00050085,0x00000006,
+ 0x00000029,0x00000027,0x00000028,0x0004003d,0x00000006,0x0000002a,0x0000000f,0x0004003d,
+ 0x00000006,0x0000002b,0x0000000f,0x00050085,0x00000006,0x0000002c,0x0000002a,0x0000002b,
+ 0x00050081,0x00000006,0x0000002d,0x00000029,0x0000002c,0x00050085,0x00000006,0x0000002f,
+ 0x0000002d,0x0000002e,0x0004003d,0x00000006,0x00000030,0x00000010,0x0006000c,0x00000006,
+ 0x00000031,0x00000001,0x00000004,0x00000030,0x0004003d,0x00000006,0x00000032,0x00000011,
+ 0x00050085,0x00000006,0x00000033,0x00000031,0x00000032,0x0008000c,0x00000006,0x00000036,
+ 0x00000001,0x0000002b,0x00000033,0x00000034,0x00000035,0x00050081,0x00000006,0x00000037,
+ 0x0000002f,0x00000036,0x0003003e,0x00000026,0x00000037,0x0004003d,0x00000006,0x0000003a,
+ 0x00000026,0x0003003e,0x00000039,0x0000003a,0x00050039,0x00000006,0x0000003b,0x0000000a,
+ 0x00000039,0x0003003e,0x00000038,0x0000003b,0x0004003d,0x00000006,0x0000003c,0x00000038,
+ 0x0004003d,0x00000006,0x0000003d,0x00000038,0x0004003d,0x00000006,0x0000003e,0x00000010,
+ 0x00050085,0x00000006,0x0000003f,0x0000003d,0x0000003e,0x00050050,0x0000000c,0x00000040,
+ 0x0000003c,0x0000003f,0x000200fe,0x00000040,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/sgsr_quality.frag b/app/src/main/cpp/shaders/sgsr_quality.frag
new file mode 100644
index 0000000000..2cab792e5f
--- /dev/null
+++ b/app/src/main/cpp/shaders/sgsr_quality.frag
@@ -0,0 +1,156 @@
+#version 450
+
+// =============================================================================
+// Snapdragon Game Super Resolution (SGSR) 1 - "Quality" variant (edge direction).
+//
+// Ported from Qualcomm's reference shader:
+// SnapdragonGameStudios/snapdragon-gsr
+// sgsr/v1/include/glsl/sgsr1_shader_mobile_edge_direction.frag
+//
+// Copyright (c) 2025, Qualcomm Innovation Center, Inc. All rights reserved.
+// SPDX-License-Identifier: BSD-3-Clause
+//
+// Same single pass, inputs and push constants as sgsr.frag (the mode-3 "SGSR"
+// shader, left untouched). Differences, both taken from the reference file:
+// - UseEdgeDirection: the Lanczos weights are stretched along the local edge
+// direction, so diagonal edges reconstruct cleaner ("minimal cost increase"
+// per Qualcomm).
+// - the reference's retuned contrast term: std = (10.14185 / sum)^2
+// (sgsr.frag keeps the older 2.181818 / sum).
+// Adapted for the Winlator native Vulkan compositor exactly like sgsr.frag:
+// - #version 450 (Vulkan GLSL), ViewportInfo via push constant
+// - specialised to OperationMode == 1 (RGBA); green channel is the edge luma
+// - reuses window.vert (full-screen quad over the destination rect)
+// =============================================================================
+
+// DD_HALF is set for the *_half_frag.h build (gen_shaders.sh): colour and
+// weight maths in mediump (RelaxedPrecision, 16-bit on Adreno) as in Qualcomm's
+// reference; positions and texture coordinates stay highp.
+#ifdef DD_HALF
+precision mediump float;
+#define BL_MP mediump
+#else
+#define BL_MP
+#endif
+
+layout(binding = 0) uniform BL_MP sampler2D ps0;
+
+layout(push_constant) uniform PC {
+ highp vec4 ndc; // quad NDC rect, consumed by window.vert (offset 0)
+ highp vec4 ViewportInfo; // xy = 1/inputSize (texel size), zw = inputSize in pixels
+ float EdgeSharpness; // driven by the "Sharpness" slider
+} pc;
+
+layout(location = 0) in highp vec2 fragTexCoord;
+layout(location = 0) out vec4 out_Target0;
+
+const float EdgeThreshold = 8.0 / 255.0;
+
+float fastLanczos2(float x) {
+ float wA = x - 4.0;
+ float wB = x * wA - wA;
+ wA *= wA;
+ return wB * wA;
+}
+
+// data.x = std, data.yz = normalised edge direction
+vec2 weightY(float dx, float dy, float c, vec3 data) {
+ float std = data.x;
+ vec2 dir = data.yz;
+ float edgeDis = (dx * dir.y) + (dy * dir.x);
+ float x = ((dx * dx) + (dy * dy))
+ + ((edgeDis * edgeDis) * ((clamp((c * c) * std, 0.0, 1.0) * 0.7) - 1.0));
+ float w = fastLanczos2(x);
+ return vec2(w, w * c);
+}
+
+vec2 edgeDirection(vec4 left, vec4 right) {
+ float RxLz = right.x - left.z;
+ float RwLy = right.w - left.y;
+ vec2 delta;
+ delta.x = RxLz + RwLy;
+ delta.y = RxLz - RwLy;
+#ifdef DD_HALF
+ // 3.07574e-05 is below the smallest normal 16-bit float (6.1e-05) and is
+ // flushed to 0 where denormals are not kept: 0 * inf on a flat row. Highp here.
+ highp vec2 dh = delta;
+ float lengthInv = inversesqrt((dh.x * dh.x + 3.075740e-05) + (dh.y * dh.y));
+#else
+ float lengthInv = inversesqrt((delta.x * delta.x + 3.075740e-05) + (delta.y * delta.y));
+#endif
+ return delta * lengthInv;
+}
+
+void main() {
+ highp vec4 ViewportInfo = pc.ViewportInfo;
+ highp vec2 uv = fragTexCoord;
+
+ vec4 color;
+ color.xyz = textureLod(ps0, uv, 0.0).xyz;
+
+ highp vec2 imgCoord = ((uv * ViewportInfo.zw) + vec2(-0.5, 0.5));
+ highp vec2 imgCoordPixel = floor(imgCoord);
+ highp vec2 coord = (imgCoordPixel * ViewportInfo.xy);
+ vec2 pl = (imgCoord + (-imgCoordPixel));
+ vec4 left = textureGather(ps0, coord, 1);
+
+ float edgeVote = abs(left.z - left.y) + abs(color.y - left.y) + abs(color.y - left.z);
+ if (edgeVote > EdgeThreshold) {
+ coord.x += ViewportInfo.x;
+
+ vec4 right = textureGather(ps0, coord + vec2(ViewportInfo.x, 0.0), 1);
+ vec4 upDown;
+ upDown.xy = textureGather(ps0, coord + vec2(0.0, -ViewportInfo.y), 1).wz;
+ upDown.zw = textureGather(ps0, coord + vec2(0.0, ViewportInfo.y), 1).yx;
+
+ float mean = (left.y + left.z + right.x + right.w) * 0.25;
+ left = left - vec4(mean);
+ right = right - vec4(mean);
+ upDown = upDown - vec4(mean);
+ color.w = color.y - mean;
+
+ float sum = (((((abs(left.x) + abs(left.y)) + abs(left.z)) + abs(left.w))
+ + (((abs(right.x) + abs(right.y)) + abs(right.z)) + abs(right.w)))
+ + (((abs(upDown.x) + abs(upDown.y)) + abs(upDown.z)) + abs(upDown.w)));
+ float sumMean = 1.014185e+01 / sum;
+#ifdef DD_HALF
+ // (10.14 / sum)^2 passes 65504 (16-bit max) once sum < ~0.04, and c * c * inf
+ // is NaN for c == 0. Capped: c * c * cap still saturates the clamp below for
+ // any c >= 1/255.
+ float std = min(sumMean * sumMean, 65504.0);
+#else
+ float std = sumMean * sumMean;
+#endif
+
+ vec3 data = vec3(std, edgeDirection(left, right));
+
+ vec2 aWY = weightY(pl.x, pl.y + 1.0, upDown.x, data);
+ aWY += weightY(pl.x - 1.0, pl.y + 1.0, upDown.y, data);
+ aWY += weightY(pl.x - 1.0, pl.y - 2.0, upDown.z, data);
+ aWY += weightY(pl.x, pl.y - 2.0, upDown.w, data);
+ aWY += weightY(pl.x + 1.0, pl.y - 1.0, left.x, data);
+ aWY += weightY(pl.x, pl.y - 1.0, left.y, data);
+ aWY += weightY(pl.x, pl.y, left.z, data);
+ aWY += weightY(pl.x + 1.0, pl.y, left.w, data);
+ aWY += weightY(pl.x - 1.0, pl.y - 1.0, right.x, data);
+ aWY += weightY(pl.x - 2.0, pl.y - 1.0, right.y, data);
+ aWY += weightY(pl.x - 2.0, pl.y, right.z, data);
+ aWY += weightY(pl.x - 1.0, pl.y, right.w, data);
+
+ float finalY = aWY.y / aWY.x;
+
+ float maxY = max(max(left.y, left.z), max(right.x, right.w));
+ float minY = min(min(left.y, left.z), min(right.x, right.w));
+ finalY = clamp(pc.EdgeSharpness * finalY, minY, maxY);
+
+ float deltaY = finalY - color.w;
+ deltaY = clamp(deltaY, -23.0 / 255.0, 23.0 / 255.0);
+
+ color.x = clamp((color.x + deltaY), 0.0, 1.0);
+ color.y = clamp((color.y + deltaY), 0.0, 1.0);
+ color.z = clamp((color.z + deltaY), 0.0, 1.0);
+ }
+
+ color.w = 1.0; // alpha channel unused by the compositor blit
+ out_Target0 = color;
+}
diff --git a/app/src/main/cpp/shaders/sgsr_quality_half_frag.h b/app/src/main/cpp/shaders/sgsr_quality_half_frag.h
new file mode 100644
index 0000000000..d715a73972
--- /dev/null
+++ b/app/src/main/cpp/shaders/sgsr_quality_half_frag.h
@@ -0,0 +1,612 @@
+ // 1116.2.0
+ #pragma once
+const uint32_t sgsr_quality_half_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x0000026d,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000009e,0x0000026b,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00070005,0x0000000a,0x74736166,0x636e614c,0x32736f7a,0x3b316628,0x00000000,
+ 0x00030005,0x00000009,0x00000078,0x00080005,0x00000014,0x67696577,0x28597468,0x663b3166,
+ 0x31663b31,0x3366763b,0x0000003b,0x00030005,0x00000010,0x00007864,0x00030005,0x00000011,
+ 0x00007964,0x00030005,0x00000012,0x00000063,0x00040005,0x00000013,0x61746164,0x00000000,
+ 0x00080005,0x0000001b,0x65676465,0x65726944,0x6f697463,0x6676286e,0x66763b34,0x00003b34,
+ 0x00040005,0x00000019,0x7466656c,0x00000000,0x00040005,0x0000001a,0x68676972,0x00000074,
+ 0x00030005,0x0000001d,0x00004177,0x00030005,0x00000021,0x00004277,0x00030005,0x0000002f,
+ 0x00647473,0x00030005,0x00000035,0x00726964,0x00040005,0x00000038,0x65676465,0x00736944,
+ 0x00030005,0x00000043,0x00000078,0x00030005,0x0000005b,0x00000077,0x00040005,0x0000005c,
+ 0x61726170,0x0000006d,0x00040005,0x00000066,0x7a4c7852,0x00000000,0x00040005,0x0000006d,
+ 0x794c7752,0x00000000,0x00040005,0x00000074,0x746c6564,0x00000061,0x00030005,0x0000007d,
+ 0x00006864,0x00050005,0x0000007f,0x676e656c,0x6e496874,0x00000076,0x00060005,0x00000093,
+ 0x77656956,0x74726f70,0x6f666e49,0x00000000,0x00030005,0x00000094,0x00004350,0x00040006,
+ 0x00000094,0x00000000,0x0063646e,0x00070006,0x00000094,0x00000001,0x77656956,0x74726f70,
+ 0x6f666e49,0x00000000,0x00070006,0x00000094,0x00000002,0x65676445,0x72616853,0x73656e70,
+ 0x00000073,0x00030005,0x00000096,0x00006370,0x00030005,0x0000009c,0x00007675,0x00060005,
+ 0x0000009e,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00040005,0x000000a0,0x6f6c6f63,
+ 0x00000072,0x00030005,0x000000a4,0x00307370,0x00050005,0x000000af,0x43676d69,0x64726f6f,
+ 0x00000000,0x00060005,0x000000b8,0x43676d69,0x64726f6f,0x65786950,0x0000006c,0x00040005,
+ 0x000000bb,0x726f6f63,0x00000064,0x00030005,0x000000c0,0x00006c70,0x00040005,0x000000c5,
+ 0x7466656c,0x00000000,0x00050005,0x000000c9,0x65676465,0x65746f56,0x00000000,0x00040005,
+ 0x000000ea,0x68676972,0x00000074,0x00040005,0x000000f2,0x6f447075,0x00006e77,0x00040005,
+ 0x0000010c,0x6e61656d,0x00000000,0x00030005,0x0000012b,0x006d7573,0x00040005,0x0000015b,
+ 0x4d6d7573,0x006e6165,0x00030005,0x0000015f,0x00647473,0x00040005,0x00000165,0x61746164,
+ 0x00000000,0x00040005,0x00000167,0x61726170,0x0000006d,0x00040005,0x00000169,0x61726170,
+ 0x0000006d,0x00030005,0x0000016f,0x00595761,0x00040005,0x00000173,0x61726170,0x0000006d,
+ 0x00040005,0x00000176,0x61726170,0x0000006d,0x00040005,0x00000177,0x61726170,0x0000006d,
+ 0x00040005,0x0000017a,0x61726170,0x0000006d,0x00040005,0x00000183,0x61726170,0x0000006d,
+ 0x00040005,0x00000184,0x61726170,0x0000006d,0x00040005,0x00000185,0x61726170,0x0000006d,
+ 0x00040005,0x00000188,0x61726170,0x0000006d,0x00040005,0x00000194,0x61726170,0x0000006d,
+ 0x00040005,0x00000195,0x61726170,0x0000006d,0x00040005,0x00000196,0x61726170,0x0000006d,
+ 0x00040005,0x00000199,0x61726170,0x0000006d,0x00040005,0x000001a1,0x61726170,0x0000006d,
+ 0x00040005,0x000001a4,0x61726170,0x0000006d,0x00040005,0x000001a5,0x61726170,0x0000006d,
+ 0x00040005,0x000001a8,0x61726170,0x0000006d,0x00040005,0x000001b3,0x61726170,0x0000006d,
+ 0x00040005,0x000001b4,0x61726170,0x0000006d,0x00040005,0x000001b5,0x61726170,0x0000006d,
+ 0x00040005,0x000001b8,0x61726170,0x0000006d,0x00040005,0x000001c0,0x61726170,0x0000006d,
+ 0x00040005,0x000001c3,0x61726170,0x0000006d,0x00040005,0x000001c4,0x61726170,0x0000006d,
+ 0x00040005,0x000001c7,0x61726170,0x0000006d,0x00040005,0x000001cc,0x61726170,0x0000006d,
+ 0x00040005,0x000001cf,0x61726170,0x0000006d,0x00040005,0x000001d2,0x61726170,0x0000006d,
+ 0x00040005,0x000001d5,0x61726170,0x0000006d,0x00040005,0x000001dd,0x61726170,0x0000006d,
+ 0x00040005,0x000001de,0x61726170,0x0000006d,0x00040005,0x000001e1,0x61726170,0x0000006d,
+ 0x00040005,0x000001e4,0x61726170,0x0000006d,0x00040005,0x000001ef,0x61726170,0x0000006d,
+ 0x00040005,0x000001f0,0x61726170,0x0000006d,0x00040005,0x000001f1,0x61726170,0x0000006d,
+ 0x00040005,0x000001f4,0x61726170,0x0000006d,0x00040005,0x000001ff,0x61726170,0x0000006d,
+ 0x00040005,0x00000200,0x61726170,0x0000006d,0x00040005,0x00000201,0x61726170,0x0000006d,
+ 0x00040005,0x00000204,0x61726170,0x0000006d,0x00040005,0x0000020c,0x61726170,0x0000006d,
+ 0x00040005,0x0000020d,0x61726170,0x0000006d,0x00040005,0x00000210,0x61726170,0x0000006d,
+ 0x00040005,0x00000213,0x61726170,0x0000006d,0x00040005,0x0000021b,0x61726170,0x0000006d,
+ 0x00040005,0x0000021c,0x61726170,0x0000006d,0x00040005,0x0000021f,0x61726170,0x0000006d,
+ 0x00040005,0x00000222,0x61726170,0x0000006d,0x00040005,0x00000227,0x616e6966,0x0000596c,
+ 0x00040005,0x0000022d,0x5978616d,0x00000000,0x00040005,0x00000239,0x596e696d,0x00000000,
+ 0x00040005,0x0000024e,0x746c6564,0x00005961,0x00050005,0x0000026b,0x5f74756f,0x67726154,
+ 0x00307465,0x00030047,0x00000009,0x00000000,0x00030047,0x0000000a,0x00000000,0x00030047,
+ 0x00000010,0x00000000,0x00030047,0x00000011,0x00000000,0x00030047,0x00000012,0x00000000,
+ 0x00030047,0x00000013,0x00000000,0x00030047,0x00000014,0x00000000,0x00030047,0x00000019,
+ 0x00000000,0x00030047,0x0000001a,0x00000000,0x00030047,0x0000001b,0x00000000,0x00030047,
+ 0x0000001d,0x00000000,0x00030047,0x0000001e,0x00000000,0x00030047,0x00000020,0x00000000,
+ 0x00030047,0x00000021,0x00000000,0x00030047,0x00000022,0x00000000,0x00030047,0x00000023,
+ 0x00000000,0x00030047,0x00000024,0x00000000,0x00030047,0x00000025,0x00000000,0x00030047,
+ 0x00000026,0x00000000,0x00030047,0x00000027,0x00000000,0x00030047,0x00000028,0x00000000,
+ 0x00030047,0x00000029,0x00000000,0x00030047,0x0000002a,0x00000000,0x00030047,0x0000002b,
+ 0x00000000,0x00030047,0x0000002c,0x00000000,0x00030047,0x0000002f,0x00000000,0x00030047,
+ 0x00000033,0x00000000,0x00030047,0x00000035,0x00000000,0x00030047,0x00000036,0x00000000,
+ 0x00030047,0x00000037,0x00000000,0x00030047,0x00000038,0x00000000,0x00030047,0x00000039,
+ 0x00000000,0x00030047,0x0000003c,0x00000000,0x00030047,0x0000003d,0x00000000,0x00030047,
+ 0x0000003e,0x00000000,0x00030047,0x00000040,0x00000000,0x00030047,0x00000041,0x00000000,
+ 0x00030047,0x00000042,0x00000000,0x00030047,0x00000043,0x00000000,0x00030047,0x00000044,
+ 0x00000000,0x00030047,0x00000045,0x00000000,0x00030047,0x00000046,0x00000000,0x00030047,
+ 0x00000047,0x00000000,0x00030047,0x00000048,0x00000000,0x00030047,0x00000049,0x00000000,
+ 0x00030047,0x0000004a,0x00000000,0x00030047,0x0000004b,0x00000000,0x00030047,0x0000004c,
+ 0x00000000,0x00030047,0x0000004d,0x00000000,0x00030047,0x0000004e,0x00000000,0x00030047,
+ 0x0000004f,0x00000000,0x00030047,0x00000050,0x00000000,0x00030047,0x00000051,0x00000000,
+ 0x00030047,0x00000052,0x00000000,0x00030047,0x00000055,0x00000000,0x00030047,0x00000057,
+ 0x00000000,0x00030047,0x00000058,0x00000000,0x00030047,0x00000059,0x00000000,0x00030047,
+ 0x0000005a,0x00000000,0x00030047,0x0000005b,0x00000000,0x00030047,0x0000005c,0x00000000,
+ 0x00030047,0x0000005d,0x00000000,0x00030047,0x0000005e,0x00000000,0x00030047,0x0000005f,
+ 0x00000000,0x00030047,0x00000060,0x00000000,0x00030047,0x00000061,0x00000000,0x00030047,
+ 0x00000062,0x00000000,0x00030047,0x00000063,0x00000000,0x00030047,0x00000066,0x00000000,
+ 0x00030047,0x00000068,0x00000000,0x00030047,0x0000006b,0x00000000,0x00030047,0x0000006c,
+ 0x00000000,0x00030047,0x0000006d,0x00000000,0x00030047,0x00000070,0x00000000,0x00030047,
+ 0x00000072,0x00000000,0x00030047,0x00000073,0x00000000,0x00030047,0x00000074,0x00000000,
+ 0x00030047,0x00000075,0x00000000,0x00030047,0x00000076,0x00000000,0x00030047,0x00000077,
+ 0x00000000,0x00030047,0x00000079,0x00000000,0x00030047,0x0000007a,0x00000000,0x00030047,
+ 0x0000007b,0x00000000,0x00030047,0x0000007e,0x00000000,0x00030047,0x0000007f,0x00000000,
+ 0x00030047,0x0000008e,0x00000000,0x00030047,0x0000008f,0x00000000,0x00030047,0x00000090,
+ 0x00000000,0x00030047,0x00000094,0x00000002,0x00050048,0x00000094,0x00000000,0x00000023,
+ 0x00000000,0x00050048,0x00000094,0x00000001,0x00000023,0x00000010,0x00040048,0x00000094,
+ 0x00000002,0x00000000,0x00050048,0x00000094,0x00000002,0x00000023,0x00000020,0x00040047,
+ 0x0000009e,0x0000001e,0x00000000,0x00030047,0x000000a0,0x00000000,0x00030047,0x000000a4,
+ 0x00000000,0x00040047,0x000000a4,0x00000021,0x00000000,0x00040047,0x000000a4,0x00000022,
+ 0x00000000,0x00030047,0x000000a5,0x00000000,0x00030047,0x000000a7,0x00000000,0x00030047,
+ 0x000000a8,0x00000000,0x00030047,0x000000c0,0x00000000,0x00030047,0x000000c5,0x00000000,
+ 0x00030047,0x000000c6,0x00000000,0x00030047,0x000000c8,0x00000000,0x00030047,0x000000c9,
+ 0x00000000,0x00030047,0x000000cb,0x00000000,0x00030047,0x000000cd,0x00000000,0x00030047,
+ 0x000000ce,0x00000000,0x00030047,0x000000cf,0x00000000,0x00030047,0x000000d1,0x00000000,
+ 0x00030047,0x000000d3,0x00000000,0x00030047,0x000000d4,0x00000000,0x00030047,0x000000d5,
+ 0x00000000,0x00030047,0x000000d6,0x00000000,0x00030047,0x000000d8,0x00000000,0x00030047,
+ 0x000000da,0x00000000,0x00030047,0x000000db,0x00000000,0x00030047,0x000000dc,0x00000000,
+ 0x00030047,0x000000dd,0x00000000,0x00030047,0x000000de,0x00000000,0x00030047,0x000000df,
+ 0x00000000,0x00030047,0x000000ea,0x00000000,0x00030047,0x000000eb,0x00000000,0x00030047,
+ 0x000000f1,0x00000000,0x00030047,0x000000f2,0x00000000,0x00030047,0x000000f3,0x00000000,
+ 0x00030047,0x000000fa,0x00000000,0x00030047,0x000000fb,0x00000000,0x00030047,0x00000100,
+ 0x00000000,0x00030047,0x00000106,0x00000000,0x00030047,0x00000107,0x00000000,0x00030047,
+ 0x0000010c,0x00000000,0x00030047,0x0000010e,0x00000000,0x00030047,0x00000110,0x00000000,
+ 0x00030047,0x00000111,0x00000000,0x00030047,0x00000113,0x00000000,0x00030047,0x00000114,
+ 0x00000000,0x00030047,0x00000116,0x00000000,0x00030047,0x00000117,0x00000000,0x00030047,
+ 0x00000119,0x00000000,0x00030047,0x0000011a,0x00000000,0x00030047,0x0000011b,0x00000000,
+ 0x00030047,0x0000011c,0x00000000,0x00030047,0x0000011d,0x00000000,0x00030047,0x0000011e,
+ 0x00000000,0x00030047,0x0000011f,0x00000000,0x00030047,0x00000120,0x00000000,0x00030047,
+ 0x00000121,0x00000000,0x00030047,0x00000122,0x00000000,0x00030047,0x00000123,0x00000000,
+ 0x00030047,0x00000124,0x00000000,0x00030047,0x00000125,0x00000000,0x00030047,0x00000127,
+ 0x00000000,0x00030047,0x00000128,0x00000000,0x00030047,0x00000129,0x00000000,0x00030047,
+ 0x0000012b,0x00000000,0x00030047,0x0000012d,0x00000000,0x00030047,0x0000012e,0x00000000,
+ 0x00030047,0x00000130,0x00000000,0x00030047,0x00000131,0x00000000,0x00030047,0x00000132,
+ 0x00000000,0x00030047,0x00000134,0x00000000,0x00030047,0x00000135,0x00000000,0x00030047,
+ 0x00000136,0x00000000,0x00030047,0x00000138,0x00000000,0x00030047,0x00000139,0x00000000,
+ 0x00030047,0x0000013a,0x00000000,0x00030047,0x0000013c,0x00000000,0x00030047,0x0000013d,
+ 0x00000000,0x00030047,0x0000013f,0x00000000,0x00030047,0x00000140,0x00000000,0x00030047,
+ 0x00000141,0x00000000,0x00030047,0x00000143,0x00000000,0x00030047,0x00000144,0x00000000,
+ 0x00030047,0x00000145,0x00000000,0x00030047,0x00000147,0x00000000,0x00030047,0x00000148,
+ 0x00000000,0x00030047,0x00000149,0x00000000,0x00030047,0x0000014a,0x00000000,0x00030047,
+ 0x0000014c,0x00000000,0x00030047,0x0000014d,0x00000000,0x00030047,0x0000014f,0x00000000,
+ 0x00030047,0x00000150,0x00000000,0x00030047,0x00000151,0x00000000,0x00030047,0x00000153,
+ 0x00000000,0x00030047,0x00000154,0x00000000,0x00030047,0x00000155,0x00000000,0x00030047,
+ 0x00000157,0x00000000,0x00030047,0x00000158,0x00000000,0x00030047,0x00000159,0x00000000,
+ 0x00030047,0x0000015a,0x00000000,0x00030047,0x0000015b,0x00000000,0x00030047,0x0000015d,
+ 0x00000000,0x00030047,0x0000015e,0x00000000,0x00030047,0x0000015f,0x00000000,0x00030047,
+ 0x00000160,0x00000000,0x00030047,0x00000161,0x00000000,0x00030047,0x00000162,0x00000000,
+ 0x00030047,0x00000164,0x00000000,0x00030047,0x00000165,0x00000000,0x00030047,0x00000166,
+ 0x00000000,0x00030047,0x00000167,0x00000000,0x00030047,0x00000168,0x00000000,0x00030047,
+ 0x00000169,0x00000000,0x00030047,0x0000016a,0x00000000,0x00030047,0x0000016b,0x00000000,
+ 0x00030047,0x0000016c,0x00000000,0x00030047,0x0000016d,0x00000000,0x00030047,0x0000016e,
+ 0x00000000,0x00030047,0x0000016f,0x00000000,0x00030047,0x00000171,0x00000000,0x00030047,
+ 0x00000172,0x00000000,0x00030047,0x00000173,0x00000000,0x00030047,0x00000175,0x00000000,
+ 0x00030047,0x00000176,0x00000000,0x00030047,0x00000177,0x00000000,0x00030047,0x00000179,
+ 0x00000000,0x00030047,0x0000017a,0x00000000,0x00030047,0x0000017b,0x00000000,0x00030047,
+ 0x0000017c,0x00000000,0x00030047,0x0000017e,0x00000000,0x00030047,0x0000017f,0x00000000,
+ 0x00030047,0x00000181,0x00000000,0x00030047,0x00000182,0x00000000,0x00030047,0x00000183,
+ 0x00000000,0x00030047,0x00000184,0x00000000,0x00030047,0x00000185,0x00000000,0x00030047,
+ 0x00000187,0x00000000,0x00030047,0x00000188,0x00000000,0x00030047,0x00000189,0x00000000,
+ 0x00030047,0x0000018a,0x00000000,0x00030047,0x0000018b,0x00000000,0x00030047,0x0000018c,
+ 0x00000000,0x00030047,0x0000018e,0x00000000,0x00030047,0x0000018f,0x00000000,0x00030047,
+ 0x00000191,0x00000000,0x00030047,0x00000193,0x00000000,0x00030047,0x00000194,0x00000000,
+ 0x00030047,0x00000195,0x00000000,0x00030047,0x00000196,0x00000000,0x00030047,0x00000198,
+ 0x00000000,0x00030047,0x00000199,0x00000000,0x00030047,0x0000019a,0x00000000,0x00030047,
+ 0x0000019b,0x00000000,0x00030047,0x0000019c,0x00000000,0x00030047,0x0000019d,0x00000000,
+ 0x00030047,0x0000019f,0x00000000,0x00030047,0x000001a0,0x00000000,0x00030047,0x000001a1,
+ 0x00000000,0x00030047,0x000001a3,0x00000000,0x00030047,0x000001a4,0x00000000,0x00030047,
+ 0x000001a5,0x00000000,0x00030047,0x000001a7,0x00000000,0x00030047,0x000001a8,0x00000000,
+ 0x00030047,0x000001a9,0x00000000,0x00030047,0x000001aa,0x00000000,0x00030047,0x000001ab,
+ 0x00000000,0x00030047,0x000001ac,0x00000000,0x00030047,0x000001ae,0x00000000,0x00030047,
+ 0x000001af,0x00000000,0x00030047,0x000001b1,0x00000000,0x00030047,0x000001b2,0x00000000,
+ 0x00030047,0x000001b3,0x00000000,0x00030047,0x000001b4,0x00000000,0x00030047,0x000001b5,
+ 0x00000000,0x00030047,0x000001b7,0x00000000,0x00030047,0x000001b8,0x00000000,0x00030047,
+ 0x000001b9,0x00000000,0x00030047,0x000001ba,0x00000000,0x00030047,0x000001bb,0x00000000,
+ 0x00030047,0x000001bc,0x00000000,0x00030047,0x000001be,0x00000000,0x00030047,0x000001bf,
+ 0x00000000,0x00030047,0x000001c0,0x00000000,0x00030047,0x000001c2,0x00000000,0x00030047,
+ 0x000001c3,0x00000000,0x00030047,0x000001c4,0x00000000,0x00030047,0x000001c6,0x00000000,
+ 0x00030047,0x000001c7,0x00000000,0x00030047,0x000001c8,0x00000000,0x00030047,0x000001c9,
+ 0x00000000,0x00030047,0x000001ca,0x00000000,0x00030047,0x000001cb,0x00000000,0x00030047,
+ 0x000001cc,0x00000000,0x00030047,0x000001ce,0x00000000,0x00030047,0x000001cf,0x00000000,
+ 0x00030047,0x000001d1,0x00000000,0x00030047,0x000001d2,0x00000000,0x00030047,0x000001d4,
+ 0x00000000,0x00030047,0x000001d5,0x00000000,0x00030047,0x000001d6,0x00000000,0x00030047,
+ 0x000001d7,0x00000000,0x00030047,0x000001d8,0x00000000,0x00030047,0x000001d9,0x00000000,
+ 0x00030047,0x000001db,0x00000000,0x00030047,0x000001dc,0x00000000,0x00030047,0x000001dd,
+ 0x00000000,0x00030047,0x000001de,0x00000000,0x00030047,0x000001e0,0x00000000,0x00030047,
+ 0x000001e1,0x00000000,0x00030047,0x000001e3,0x00000000,0x00030047,0x000001e4,0x00000000,
+ 0x00030047,0x000001e5,0x00000000,0x00030047,0x000001e6,0x00000000,0x00030047,0x000001e7,
+ 0x00000000,0x00030047,0x000001e8,0x00000000,0x00030047,0x000001ea,0x00000000,0x00030047,
+ 0x000001eb,0x00000000,0x00030047,0x000001ed,0x00000000,0x00030047,0x000001ee,0x00000000,
+ 0x00030047,0x000001ef,0x00000000,0x00030047,0x000001f0,0x00000000,0x00030047,0x000001f1,
+ 0x00000000,0x00030047,0x000001f3,0x00000000,0x00030047,0x000001f4,0x00000000,0x00030047,
+ 0x000001f5,0x00000000,0x00030047,0x000001f6,0x00000000,0x00030047,0x000001f7,0x00000000,
+ 0x00030047,0x000001f8,0x00000000,0x00030047,0x000001fa,0x00000000,0x00030047,0x000001fb,
+ 0x00000000,0x00030047,0x000001fd,0x00000000,0x00030047,0x000001fe,0x00000000,0x00030047,
+ 0x000001ff,0x00000000,0x00030047,0x00000200,0x00000000,0x00030047,0x00000201,0x00000000,
+ 0x00030047,0x00000203,0x00000000,0x00030047,0x00000204,0x00000000,0x00030047,0x00000205,
+ 0x00000000,0x00030047,0x00000206,0x00000000,0x00030047,0x00000207,0x00000000,0x00030047,
+ 0x00000208,0x00000000,0x00030047,0x0000020a,0x00000000,0x00030047,0x0000020b,0x00000000,
+ 0x00030047,0x0000020c,0x00000000,0x00030047,0x0000020d,0x00000000,0x00030047,0x0000020f,
+ 0x00000000,0x00030047,0x00000210,0x00000000,0x00030047,0x00000212,0x00000000,0x00030047,
+ 0x00000213,0x00000000,0x00030047,0x00000214,0x00000000,0x00030047,0x00000215,0x00000000,
+ 0x00030047,0x00000216,0x00000000,0x00030047,0x00000217,0x00000000,0x00030047,0x00000219,
+ 0x00000000,0x00030047,0x0000021a,0x00000000,0x00030047,0x0000021b,0x00000000,0x00030047,
+ 0x0000021c,0x00000000,0x00030047,0x0000021e,0x00000000,0x00030047,0x0000021f,0x00000000,
+ 0x00030047,0x00000221,0x00000000,0x00030047,0x00000222,0x00000000,0x00030047,0x00000223,
+ 0x00000000,0x00030047,0x00000224,0x00000000,0x00030047,0x00000225,0x00000000,0x00030047,
+ 0x00000226,0x00000000,0x00030047,0x00000227,0x00000000,0x00030047,0x00000229,0x00000000,
+ 0x00030047,0x0000022b,0x00000000,0x00030047,0x0000022c,0x00000000,0x00030047,0x0000022d,
+ 0x00000000,0x00030047,0x0000022f,0x00000000,0x00030047,0x00000231,0x00000000,0x00030047,
+ 0x00000232,0x00000000,0x00030047,0x00000234,0x00000000,0x00030047,0x00000236,0x00000000,
+ 0x00030047,0x00000237,0x00000000,0x00030047,0x00000238,0x00000000,0x00030047,0x00000239,
+ 0x00000000,0x00030047,0x0000023b,0x00000000,0x00030047,0x0000023d,0x00000000,0x00030047,
+ 0x0000023e,0x00000000,0x00030047,0x00000240,0x00000000,0x00030047,0x00000242,0x00000000,
+ 0x00030047,0x00000243,0x00000000,0x00030047,0x00000244,0x00000000,0x00030047,0x00000248,
+ 0x00000000,0x00030047,0x00000249,0x00000000,0x00030047,0x0000024a,0x00000000,0x00030047,
+ 0x0000024b,0x00000000,0x00030047,0x0000024c,0x00000000,0x00030047,0x0000024d,0x00000000,
+ 0x00030047,0x0000024e,0x00000000,0x00030047,0x0000024f,0x00000000,0x00030047,0x00000251,
+ 0x00000000,0x00030047,0x00000252,0x00000000,0x00030047,0x00000253,0x00000000,0x00030047,
+ 0x00000256,0x00000000,0x00030047,0x00000258,0x00000000,0x00030047,0x00000259,0x00000000,
+ 0x00030047,0x0000025a,0x00000000,0x00030047,0x0000025b,0x00000000,0x00030047,0x0000025e,
+ 0x00000000,0x00030047,0x0000025f,0x00000000,0x00030047,0x00000260,0x00000000,0x00030047,
+ 0x00000261,0x00000000,0x00030047,0x00000264,0x00000000,0x00030047,0x00000265,0x00000000,
+ 0x00030047,0x00000266,0x00000000,0x00030047,0x00000267,0x00000000,0x00030047,0x0000026b,
+ 0x00000000,0x00040047,0x0000026b,0x0000001e,0x00000000,0x00030047,0x0000026c,0x00000000,
+ 0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,
+ 0x00040020,0x00000007,0x00000007,0x00000006,0x00040021,0x00000008,0x00000006,0x00000007,
+ 0x00040017,0x0000000c,0x00000006,0x00000003,0x00040020,0x0000000d,0x00000007,0x0000000c,
+ 0x00040017,0x0000000e,0x00000006,0x00000002,0x00070021,0x0000000f,0x0000000e,0x00000007,
+ 0x00000007,0x00000007,0x0000000d,0x00040017,0x00000016,0x00000006,0x00000004,0x00040020,
+ 0x00000017,0x00000007,0x00000016,0x00050021,0x00000018,0x0000000e,0x00000017,0x00000017,
+ 0x0004002b,0x00000006,0x0000001f,0x40800000,0x00040015,0x00000030,0x00000020,0x00000000,
+ 0x0004002b,0x00000030,0x00000031,0x00000000,0x00040020,0x00000034,0x00000007,0x0000000e,
+ 0x0004002b,0x00000030,0x0000003a,0x00000001,0x0004002b,0x00000006,0x00000053,0x00000000,
+ 0x0004002b,0x00000006,0x00000054,0x3f800000,0x0004002b,0x00000006,0x00000056,0x3f333333,
+ 0x0004002b,0x00000030,0x00000069,0x00000002,0x0004002b,0x00000030,0x0000006e,0x00000003,
+ 0x0004002b,0x00000006,0x00000085,0x38010182,0x0005001e,0x00000094,0x00000016,0x00000016,
+ 0x00000006,0x00040020,0x00000095,0x00000009,0x00000094,0x0004003b,0x00000095,0x00000096,
+ 0x00000009,0x00040015,0x00000097,0x00000020,0x00000001,0x0004002b,0x00000097,0x00000098,
+ 0x00000001,0x00040020,0x00000099,0x00000009,0x00000016,0x00040020,0x0000009d,0x00000001,
+ 0x0000000e,0x0004003b,0x0000009d,0x0000009e,0x00000001,0x00090019,0x000000a1,0x00000006,
+ 0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x000000a2,
+ 0x000000a1,0x00040020,0x000000a3,0x00000000,0x000000a2,0x0004003b,0x000000a3,0x000000a4,
+ 0x00000000,0x0004002b,0x00000006,0x000000b4,0xbf000000,0x0004002b,0x00000006,0x000000b5,
+ 0x3f000000,0x0005002c,0x0000000e,0x000000b6,0x000000b4,0x000000b5,0x0004002b,0x00000006,
+ 0x000000df,0x3d008081,0x00020014,0x000000e0,0x0004002b,0x00000006,0x00000118,0x3e800000,
+ 0x0004002b,0x00000006,0x0000015c,0x41224505,0x0004002b,0x00000006,0x00000163,0x477fe000,
+ 0x0004002b,0x00000006,0x00000192,0x40000000,0x0004002b,0x00000097,0x00000245,0x00000002,
+ 0x00040020,0x00000246,0x00000009,0x00000006,0x0004002b,0x00000006,0x00000254,0xbdb8b8b9,
+ 0x0004002b,0x00000006,0x00000255,0x3db8b8b9,0x00040020,0x0000026a,0x00000003,0x00000016,
+ 0x0004003b,0x0000026a,0x0000026b,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,
+ 0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000017,0x00000093,0x00000007,0x0004003b,
+ 0x00000034,0x0000009c,0x00000007,0x0004003b,0x00000017,0x000000a0,0x00000007,0x0004003b,
+ 0x00000034,0x000000af,0x00000007,0x0004003b,0x00000034,0x000000b8,0x00000007,0x0004003b,
+ 0x00000034,0x000000bb,0x00000007,0x0004003b,0x00000034,0x000000c0,0x00000007,0x0004003b,
+ 0x00000017,0x000000c5,0x00000007,0x0004003b,0x00000007,0x000000c9,0x00000007,0x0004003b,
+ 0x00000017,0x000000ea,0x00000007,0x0004003b,0x00000017,0x000000f2,0x00000007,0x0004003b,
+ 0x00000007,0x0000010c,0x00000007,0x0004003b,0x00000007,0x0000012b,0x00000007,0x0004003b,
+ 0x00000007,0x0000015b,0x00000007,0x0004003b,0x00000007,0x0000015f,0x00000007,0x0004003b,
+ 0x0000000d,0x00000165,0x00000007,0x0004003b,0x00000017,0x00000167,0x00000007,0x0004003b,
+ 0x00000017,0x00000169,0x00000007,0x0004003b,0x00000034,0x0000016f,0x00000007,0x0004003b,
+ 0x00000007,0x00000173,0x00000007,0x0004003b,0x00000007,0x00000176,0x00000007,0x0004003b,
+ 0x00000007,0x00000177,0x00000007,0x0004003b,0x0000000d,0x0000017a,0x00000007,0x0004003b,
+ 0x00000007,0x00000183,0x00000007,0x0004003b,0x00000007,0x00000184,0x00000007,0x0004003b,
+ 0x00000007,0x00000185,0x00000007,0x0004003b,0x0000000d,0x00000188,0x00000007,0x0004003b,
+ 0x00000007,0x00000194,0x00000007,0x0004003b,0x00000007,0x00000195,0x00000007,0x0004003b,
+ 0x00000007,0x00000196,0x00000007,0x0004003b,0x0000000d,0x00000199,0x00000007,0x0004003b,
+ 0x00000007,0x000001a1,0x00000007,0x0004003b,0x00000007,0x000001a4,0x00000007,0x0004003b,
+ 0x00000007,0x000001a5,0x00000007,0x0004003b,0x0000000d,0x000001a8,0x00000007,0x0004003b,
+ 0x00000007,0x000001b3,0x00000007,0x0004003b,0x00000007,0x000001b4,0x00000007,0x0004003b,
+ 0x00000007,0x000001b5,0x00000007,0x0004003b,0x0000000d,0x000001b8,0x00000007,0x0004003b,
+ 0x00000007,0x000001c0,0x00000007,0x0004003b,0x00000007,0x000001c3,0x00000007,0x0004003b,
+ 0x00000007,0x000001c4,0x00000007,0x0004003b,0x0000000d,0x000001c7,0x00000007,0x0004003b,
+ 0x00000007,0x000001cc,0x00000007,0x0004003b,0x00000007,0x000001cf,0x00000007,0x0004003b,
+ 0x00000007,0x000001d2,0x00000007,0x0004003b,0x0000000d,0x000001d5,0x00000007,0x0004003b,
+ 0x00000007,0x000001dd,0x00000007,0x0004003b,0x00000007,0x000001de,0x00000007,0x0004003b,
+ 0x00000007,0x000001e1,0x00000007,0x0004003b,0x0000000d,0x000001e4,0x00000007,0x0004003b,
+ 0x00000007,0x000001ef,0x00000007,0x0004003b,0x00000007,0x000001f0,0x00000007,0x0004003b,
+ 0x00000007,0x000001f1,0x00000007,0x0004003b,0x0000000d,0x000001f4,0x00000007,0x0004003b,
+ 0x00000007,0x000001ff,0x00000007,0x0004003b,0x00000007,0x00000200,0x00000007,0x0004003b,
+ 0x00000007,0x00000201,0x00000007,0x0004003b,0x0000000d,0x00000204,0x00000007,0x0004003b,
+ 0x00000007,0x0000020c,0x00000007,0x0004003b,0x00000007,0x0000020d,0x00000007,0x0004003b,
+ 0x00000007,0x00000210,0x00000007,0x0004003b,0x0000000d,0x00000213,0x00000007,0x0004003b,
+ 0x00000007,0x0000021b,0x00000007,0x0004003b,0x00000007,0x0000021c,0x00000007,0x0004003b,
+ 0x00000007,0x0000021f,0x00000007,0x0004003b,0x0000000d,0x00000222,0x00000007,0x0004003b,
+ 0x00000007,0x00000227,0x00000007,0x0004003b,0x00000007,0x0000022d,0x00000007,0x0004003b,
+ 0x00000007,0x00000239,0x00000007,0x0004003b,0x00000007,0x0000024e,0x00000007,0x00050041,
+ 0x00000099,0x0000009a,0x00000096,0x00000098,0x0004003d,0x00000016,0x0000009b,0x0000009a,
+ 0x0003003e,0x00000093,0x0000009b,0x0004003d,0x0000000e,0x0000009f,0x0000009e,0x0003003e,
+ 0x0000009c,0x0000009f,0x0004003d,0x000000a2,0x000000a5,0x000000a4,0x0004003d,0x0000000e,
+ 0x000000a6,0x0000009c,0x00070058,0x00000016,0x000000a7,0x000000a5,0x000000a6,0x00000002,
+ 0x00000053,0x0008004f,0x0000000c,0x000000a8,0x000000a7,0x000000a7,0x00000000,0x00000001,
+ 0x00000002,0x00050041,0x00000007,0x000000a9,0x000000a0,0x00000031,0x00050051,0x00000006,
+ 0x000000aa,0x000000a8,0x00000000,0x0003003e,0x000000a9,0x000000aa,0x00050041,0x00000007,
+ 0x000000ab,0x000000a0,0x0000003a,0x00050051,0x00000006,0x000000ac,0x000000a8,0x00000001,
+ 0x0003003e,0x000000ab,0x000000ac,0x00050041,0x00000007,0x000000ad,0x000000a0,0x00000069,
+ 0x00050051,0x00000006,0x000000ae,0x000000a8,0x00000002,0x0003003e,0x000000ad,0x000000ae,
+ 0x0004003d,0x0000000e,0x000000b0,0x0000009c,0x0004003d,0x00000016,0x000000b1,0x00000093,
+ 0x0007004f,0x0000000e,0x000000b2,0x000000b1,0x000000b1,0x00000002,0x00000003,0x00050085,
+ 0x0000000e,0x000000b3,0x000000b0,0x000000b2,0x00050081,0x0000000e,0x000000b7,0x000000b3,
+ 0x000000b6,0x0003003e,0x000000af,0x000000b7,0x0004003d,0x0000000e,0x000000b9,0x000000af,
+ 0x0006000c,0x0000000e,0x000000ba,0x00000001,0x00000008,0x000000b9,0x0003003e,0x000000b8,
+ 0x000000ba,0x0004003d,0x0000000e,0x000000bc,0x000000b8,0x0004003d,0x00000016,0x000000bd,
+ 0x00000093,0x0007004f,0x0000000e,0x000000be,0x000000bd,0x000000bd,0x00000000,0x00000001,
+ 0x00050085,0x0000000e,0x000000bf,0x000000bc,0x000000be,0x0003003e,0x000000bb,0x000000bf,
+ 0x0004003d,0x0000000e,0x000000c1,0x000000af,0x0004003d,0x0000000e,0x000000c2,0x000000b8,
+ 0x0004007f,0x0000000e,0x000000c3,0x000000c2,0x00050081,0x0000000e,0x000000c4,0x000000c1,
+ 0x000000c3,0x0003003e,0x000000c0,0x000000c4,0x0004003d,0x000000a2,0x000000c6,0x000000a4,
+ 0x0004003d,0x0000000e,0x000000c7,0x000000bb,0x00060060,0x00000016,0x000000c8,0x000000c6,
+ 0x000000c7,0x00000098,0x0003003e,0x000000c5,0x000000c8,0x00050041,0x00000007,0x000000ca,
+ 0x000000c5,0x00000069,0x0004003d,0x00000006,0x000000cb,0x000000ca,0x00050041,0x00000007,
+ 0x000000cc,0x000000c5,0x0000003a,0x0004003d,0x00000006,0x000000cd,0x000000cc,0x00050083,
+ 0x00000006,0x000000ce,0x000000cb,0x000000cd,0x0006000c,0x00000006,0x000000cf,0x00000001,
+ 0x00000004,0x000000ce,0x00050041,0x00000007,0x000000d0,0x000000a0,0x0000003a,0x0004003d,
+ 0x00000006,0x000000d1,0x000000d0,0x00050041,0x00000007,0x000000d2,0x000000c5,0x0000003a,
+ 0x0004003d,0x00000006,0x000000d3,0x000000d2,0x00050083,0x00000006,0x000000d4,0x000000d1,
+ 0x000000d3,0x0006000c,0x00000006,0x000000d5,0x00000001,0x00000004,0x000000d4,0x00050081,
+ 0x00000006,0x000000d6,0x000000cf,0x000000d5,0x00050041,0x00000007,0x000000d7,0x000000a0,
+ 0x0000003a,0x0004003d,0x00000006,0x000000d8,0x000000d7,0x00050041,0x00000007,0x000000d9,
+ 0x000000c5,0x00000069,0x0004003d,0x00000006,0x000000da,0x000000d9,0x00050083,0x00000006,
+ 0x000000db,0x000000d8,0x000000da,0x0006000c,0x00000006,0x000000dc,0x00000001,0x00000004,
+ 0x000000db,0x00050081,0x00000006,0x000000dd,0x000000d6,0x000000dc,0x0003003e,0x000000c9,
+ 0x000000dd,0x0004003d,0x00000006,0x000000de,0x000000c9,0x000500ba,0x000000e0,0x000000e1,
+ 0x000000de,0x000000df,0x000300f7,0x000000e3,0x00000000,0x000400fa,0x000000e1,0x000000e2,
+ 0x000000e3,0x000200f8,0x000000e2,0x00050041,0x00000007,0x000000e4,0x00000093,0x00000031,
+ 0x0004003d,0x00000006,0x000000e5,0x000000e4,0x00050041,0x00000007,0x000000e6,0x000000bb,
+ 0x00000031,0x0004003d,0x00000006,0x000000e7,0x000000e6,0x00050081,0x00000006,0x000000e8,
+ 0x000000e7,0x000000e5,0x00050041,0x00000007,0x000000e9,0x000000bb,0x00000031,0x0003003e,
+ 0x000000e9,0x000000e8,0x0004003d,0x000000a2,0x000000eb,0x000000a4,0x0004003d,0x0000000e,
+ 0x000000ec,0x000000bb,0x00050041,0x00000007,0x000000ed,0x00000093,0x00000031,0x0004003d,
+ 0x00000006,0x000000ee,0x000000ed,0x00050050,0x0000000e,0x000000ef,0x000000ee,0x00000053,
+ 0x00050081,0x0000000e,0x000000f0,0x000000ec,0x000000ef,0x00060060,0x00000016,0x000000f1,
+ 0x000000eb,0x000000f0,0x00000098,0x0003003e,0x000000ea,0x000000f1,0x0004003d,0x000000a2,
+ 0x000000f3,0x000000a4,0x0004003d,0x0000000e,0x000000f4,0x000000bb,0x00050041,0x00000007,
+ 0x000000f5,0x00000093,0x0000003a,0x0004003d,0x00000006,0x000000f6,0x000000f5,0x0004007f,
+ 0x00000006,0x000000f7,0x000000f6,0x00050050,0x0000000e,0x000000f8,0x00000053,0x000000f7,
+ 0x00050081,0x0000000e,0x000000f9,0x000000f4,0x000000f8,0x00060060,0x00000016,0x000000fa,
+ 0x000000f3,0x000000f9,0x00000098,0x0007004f,0x0000000e,0x000000fb,0x000000fa,0x000000fa,
+ 0x00000003,0x00000002,0x00050041,0x00000007,0x000000fc,0x000000f2,0x00000031,0x00050051,
+ 0x00000006,0x000000fd,0x000000fb,0x00000000,0x0003003e,0x000000fc,0x000000fd,0x00050041,
+ 0x00000007,0x000000fe,0x000000f2,0x0000003a,0x00050051,0x00000006,0x000000ff,0x000000fb,
+ 0x00000001,0x0003003e,0x000000fe,0x000000ff,0x0004003d,0x000000a2,0x00000100,0x000000a4,
+ 0x0004003d,0x0000000e,0x00000101,0x000000bb,0x00050041,0x00000007,0x00000102,0x00000093,
+ 0x0000003a,0x0004003d,0x00000006,0x00000103,0x00000102,0x00050050,0x0000000e,0x00000104,
+ 0x00000053,0x00000103,0x00050081,0x0000000e,0x00000105,0x00000101,0x00000104,0x00060060,
+ 0x00000016,0x00000106,0x00000100,0x00000105,0x00000098,0x0007004f,0x0000000e,0x00000107,
+ 0x00000106,0x00000106,0x00000001,0x00000000,0x00050041,0x00000007,0x00000108,0x000000f2,
+ 0x00000069,0x00050051,0x00000006,0x00000109,0x00000107,0x00000000,0x0003003e,0x00000108,
+ 0x00000109,0x00050041,0x00000007,0x0000010a,0x000000f2,0x0000006e,0x00050051,0x00000006,
+ 0x0000010b,0x00000107,0x00000001,0x0003003e,0x0000010a,0x0000010b,0x00050041,0x00000007,
+ 0x0000010d,0x000000c5,0x0000003a,0x0004003d,0x00000006,0x0000010e,0x0000010d,0x00050041,
+ 0x00000007,0x0000010f,0x000000c5,0x00000069,0x0004003d,0x00000006,0x00000110,0x0000010f,
+ 0x00050081,0x00000006,0x00000111,0x0000010e,0x00000110,0x00050041,0x00000007,0x00000112,
+ 0x000000ea,0x00000031,0x0004003d,0x00000006,0x00000113,0x00000112,0x00050081,0x00000006,
+ 0x00000114,0x00000111,0x00000113,0x00050041,0x00000007,0x00000115,0x000000ea,0x0000006e,
+ 0x0004003d,0x00000006,0x00000116,0x00000115,0x00050081,0x00000006,0x00000117,0x00000114,
+ 0x00000116,0x00050085,0x00000006,0x00000119,0x00000117,0x00000118,0x0003003e,0x0000010c,
+ 0x00000119,0x0004003d,0x00000016,0x0000011a,0x000000c5,0x0004003d,0x00000006,0x0000011b,
+ 0x0000010c,0x00070050,0x00000016,0x0000011c,0x0000011b,0x0000011b,0x0000011b,0x0000011b,
+ 0x00050083,0x00000016,0x0000011d,0x0000011a,0x0000011c,0x0003003e,0x000000c5,0x0000011d,
+ 0x0004003d,0x00000016,0x0000011e,0x000000ea,0x0004003d,0x00000006,0x0000011f,0x0000010c,
+ 0x00070050,0x00000016,0x00000120,0x0000011f,0x0000011f,0x0000011f,0x0000011f,0x00050083,
+ 0x00000016,0x00000121,0x0000011e,0x00000120,0x0003003e,0x000000ea,0x00000121,0x0004003d,
+ 0x00000016,0x00000122,0x000000f2,0x0004003d,0x00000006,0x00000123,0x0000010c,0x00070050,
+ 0x00000016,0x00000124,0x00000123,0x00000123,0x00000123,0x00000123,0x00050083,0x00000016,
+ 0x00000125,0x00000122,0x00000124,0x0003003e,0x000000f2,0x00000125,0x00050041,0x00000007,
+ 0x00000126,0x000000a0,0x0000003a,0x0004003d,0x00000006,0x00000127,0x00000126,0x0004003d,
+ 0x00000006,0x00000128,0x0000010c,0x00050083,0x00000006,0x00000129,0x00000127,0x00000128,
+ 0x00050041,0x00000007,0x0000012a,0x000000a0,0x0000006e,0x0003003e,0x0000012a,0x00000129,
+ 0x00050041,0x00000007,0x0000012c,0x000000c5,0x00000031,0x0004003d,0x00000006,0x0000012d,
+ 0x0000012c,0x0006000c,0x00000006,0x0000012e,0x00000001,0x00000004,0x0000012d,0x00050041,
+ 0x00000007,0x0000012f,0x000000c5,0x0000003a,0x0004003d,0x00000006,0x00000130,0x0000012f,
+ 0x0006000c,0x00000006,0x00000131,0x00000001,0x00000004,0x00000130,0x00050081,0x00000006,
+ 0x00000132,0x0000012e,0x00000131,0x00050041,0x00000007,0x00000133,0x000000c5,0x00000069,
+ 0x0004003d,0x00000006,0x00000134,0x00000133,0x0006000c,0x00000006,0x00000135,0x00000001,
+ 0x00000004,0x00000134,0x00050081,0x00000006,0x00000136,0x00000132,0x00000135,0x00050041,
+ 0x00000007,0x00000137,0x000000c5,0x0000006e,0x0004003d,0x00000006,0x00000138,0x00000137,
+ 0x0006000c,0x00000006,0x00000139,0x00000001,0x00000004,0x00000138,0x00050081,0x00000006,
+ 0x0000013a,0x00000136,0x00000139,0x00050041,0x00000007,0x0000013b,0x000000ea,0x00000031,
+ 0x0004003d,0x00000006,0x0000013c,0x0000013b,0x0006000c,0x00000006,0x0000013d,0x00000001,
+ 0x00000004,0x0000013c,0x00050041,0x00000007,0x0000013e,0x000000ea,0x0000003a,0x0004003d,
+ 0x00000006,0x0000013f,0x0000013e,0x0006000c,0x00000006,0x00000140,0x00000001,0x00000004,
+ 0x0000013f,0x00050081,0x00000006,0x00000141,0x0000013d,0x00000140,0x00050041,0x00000007,
+ 0x00000142,0x000000ea,0x00000069,0x0004003d,0x00000006,0x00000143,0x00000142,0x0006000c,
+ 0x00000006,0x00000144,0x00000001,0x00000004,0x00000143,0x00050081,0x00000006,0x00000145,
+ 0x00000141,0x00000144,0x00050041,0x00000007,0x00000146,0x000000ea,0x0000006e,0x0004003d,
+ 0x00000006,0x00000147,0x00000146,0x0006000c,0x00000006,0x00000148,0x00000001,0x00000004,
+ 0x00000147,0x00050081,0x00000006,0x00000149,0x00000145,0x00000148,0x00050081,0x00000006,
+ 0x0000014a,0x0000013a,0x00000149,0x00050041,0x00000007,0x0000014b,0x000000f2,0x00000031,
+ 0x0004003d,0x00000006,0x0000014c,0x0000014b,0x0006000c,0x00000006,0x0000014d,0x00000001,
+ 0x00000004,0x0000014c,0x00050041,0x00000007,0x0000014e,0x000000f2,0x0000003a,0x0004003d,
+ 0x00000006,0x0000014f,0x0000014e,0x0006000c,0x00000006,0x00000150,0x00000001,0x00000004,
+ 0x0000014f,0x00050081,0x00000006,0x00000151,0x0000014d,0x00000150,0x00050041,0x00000007,
+ 0x00000152,0x000000f2,0x00000069,0x0004003d,0x00000006,0x00000153,0x00000152,0x0006000c,
+ 0x00000006,0x00000154,0x00000001,0x00000004,0x00000153,0x00050081,0x00000006,0x00000155,
+ 0x00000151,0x00000154,0x00050041,0x00000007,0x00000156,0x000000f2,0x0000006e,0x0004003d,
+ 0x00000006,0x00000157,0x00000156,0x0006000c,0x00000006,0x00000158,0x00000001,0x00000004,
+ 0x00000157,0x00050081,0x00000006,0x00000159,0x00000155,0x00000158,0x00050081,0x00000006,
+ 0x0000015a,0x0000014a,0x00000159,0x0003003e,0x0000012b,0x0000015a,0x0004003d,0x00000006,
+ 0x0000015d,0x0000012b,0x00050088,0x00000006,0x0000015e,0x0000015c,0x0000015d,0x0003003e,
+ 0x0000015b,0x0000015e,0x0004003d,0x00000006,0x00000160,0x0000015b,0x0004003d,0x00000006,
+ 0x00000161,0x0000015b,0x00050085,0x00000006,0x00000162,0x00000160,0x00000161,0x0007000c,
+ 0x00000006,0x00000164,0x00000001,0x00000025,0x00000162,0x00000163,0x0003003e,0x0000015f,
+ 0x00000164,0x0004003d,0x00000006,0x00000166,0x0000015f,0x0004003d,0x00000016,0x00000168,
+ 0x000000c5,0x0003003e,0x00000167,0x00000168,0x0004003d,0x00000016,0x0000016a,0x000000ea,
+ 0x0003003e,0x00000169,0x0000016a,0x00060039,0x0000000e,0x0000016b,0x0000001b,0x00000167,
+ 0x00000169,0x00050051,0x00000006,0x0000016c,0x0000016b,0x00000000,0x00050051,0x00000006,
+ 0x0000016d,0x0000016b,0x00000001,0x00060050,0x0000000c,0x0000016e,0x00000166,0x0000016c,
+ 0x0000016d,0x0003003e,0x00000165,0x0000016e,0x00050041,0x00000007,0x00000170,0x000000c0,
+ 0x0000003a,0x0004003d,0x00000006,0x00000171,0x00000170,0x00050081,0x00000006,0x00000172,
+ 0x00000171,0x00000054,0x00050041,0x00000007,0x00000174,0x000000c0,0x00000031,0x0004003d,
+ 0x00000006,0x00000175,0x00000174,0x0003003e,0x00000173,0x00000175,0x0003003e,0x00000176,
+ 0x00000172,0x00050041,0x00000007,0x00000178,0x000000f2,0x00000031,0x0004003d,0x00000006,
+ 0x00000179,0x00000178,0x0003003e,0x00000177,0x00000179,0x0004003d,0x0000000c,0x0000017b,
+ 0x00000165,0x0003003e,0x0000017a,0x0000017b,0x00080039,0x0000000e,0x0000017c,0x00000014,
+ 0x00000173,0x00000176,0x00000177,0x0000017a,0x0003003e,0x0000016f,0x0000017c,0x00050041,
+ 0x00000007,0x0000017d,0x000000c0,0x00000031,0x0004003d,0x00000006,0x0000017e,0x0000017d,
+ 0x00050083,0x00000006,0x0000017f,0x0000017e,0x00000054,0x00050041,0x00000007,0x00000180,
+ 0x000000c0,0x0000003a,0x0004003d,0x00000006,0x00000181,0x00000180,0x00050081,0x00000006,
+ 0x00000182,0x00000181,0x00000054,0x0003003e,0x00000183,0x0000017f,0x0003003e,0x00000184,
+ 0x00000182,0x00050041,0x00000007,0x00000186,0x000000f2,0x0000003a,0x0004003d,0x00000006,
+ 0x00000187,0x00000186,0x0003003e,0x00000185,0x00000187,0x0004003d,0x0000000c,0x00000189,
+ 0x00000165,0x0003003e,0x00000188,0x00000189,0x00080039,0x0000000e,0x0000018a,0x00000014,
+ 0x00000183,0x00000184,0x00000185,0x00000188,0x0004003d,0x0000000e,0x0000018b,0x0000016f,
+ 0x00050081,0x0000000e,0x0000018c,0x0000018b,0x0000018a,0x0003003e,0x0000016f,0x0000018c,
+ 0x00050041,0x00000007,0x0000018d,0x000000c0,0x00000031,0x0004003d,0x00000006,0x0000018e,
+ 0x0000018d,0x00050083,0x00000006,0x0000018f,0x0000018e,0x00000054,0x00050041,0x00000007,
+ 0x00000190,0x000000c0,0x0000003a,0x0004003d,0x00000006,0x00000191,0x00000190,0x00050083,
+ 0x00000006,0x00000193,0x00000191,0x00000192,0x0003003e,0x00000194,0x0000018f,0x0003003e,
+ 0x00000195,0x00000193,0x00050041,0x00000007,0x00000197,0x000000f2,0x00000069,0x0004003d,
+ 0x00000006,0x00000198,0x00000197,0x0003003e,0x00000196,0x00000198,0x0004003d,0x0000000c,
+ 0x0000019a,0x00000165,0x0003003e,0x00000199,0x0000019a,0x00080039,0x0000000e,0x0000019b,
+ 0x00000014,0x00000194,0x00000195,0x00000196,0x00000199,0x0004003d,0x0000000e,0x0000019c,
+ 0x0000016f,0x00050081,0x0000000e,0x0000019d,0x0000019c,0x0000019b,0x0003003e,0x0000016f,
+ 0x0000019d,0x00050041,0x00000007,0x0000019e,0x000000c0,0x0000003a,0x0004003d,0x00000006,
+ 0x0000019f,0x0000019e,0x00050083,0x00000006,0x000001a0,0x0000019f,0x00000192,0x00050041,
+ 0x00000007,0x000001a2,0x000000c0,0x00000031,0x0004003d,0x00000006,0x000001a3,0x000001a2,
+ 0x0003003e,0x000001a1,0x000001a3,0x0003003e,0x000001a4,0x000001a0,0x00050041,0x00000007,
+ 0x000001a6,0x000000f2,0x0000006e,0x0004003d,0x00000006,0x000001a7,0x000001a6,0x0003003e,
+ 0x000001a5,0x000001a7,0x0004003d,0x0000000c,0x000001a9,0x00000165,0x0003003e,0x000001a8,
+ 0x000001a9,0x00080039,0x0000000e,0x000001aa,0x00000014,0x000001a1,0x000001a4,0x000001a5,
+ 0x000001a8,0x0004003d,0x0000000e,0x000001ab,0x0000016f,0x00050081,0x0000000e,0x000001ac,
+ 0x000001ab,0x000001aa,0x0003003e,0x0000016f,0x000001ac,0x00050041,0x00000007,0x000001ad,
+ 0x000000c0,0x00000031,0x0004003d,0x00000006,0x000001ae,0x000001ad,0x00050081,0x00000006,
+ 0x000001af,0x000001ae,0x00000054,0x00050041,0x00000007,0x000001b0,0x000000c0,0x0000003a,
+ 0x0004003d,0x00000006,0x000001b1,0x000001b0,0x00050083,0x00000006,0x000001b2,0x000001b1,
+ 0x00000054,0x0003003e,0x000001b3,0x000001af,0x0003003e,0x000001b4,0x000001b2,0x00050041,
+ 0x00000007,0x000001b6,0x000000c5,0x00000031,0x0004003d,0x00000006,0x000001b7,0x000001b6,
+ 0x0003003e,0x000001b5,0x000001b7,0x0004003d,0x0000000c,0x000001b9,0x00000165,0x0003003e,
+ 0x000001b8,0x000001b9,0x00080039,0x0000000e,0x000001ba,0x00000014,0x000001b3,0x000001b4,
+ 0x000001b5,0x000001b8,0x0004003d,0x0000000e,0x000001bb,0x0000016f,0x00050081,0x0000000e,
+ 0x000001bc,0x000001bb,0x000001ba,0x0003003e,0x0000016f,0x000001bc,0x00050041,0x00000007,
+ 0x000001bd,0x000000c0,0x0000003a,0x0004003d,0x00000006,0x000001be,0x000001bd,0x00050083,
+ 0x00000006,0x000001bf,0x000001be,0x00000054,0x00050041,0x00000007,0x000001c1,0x000000c0,
+ 0x00000031,0x0004003d,0x00000006,0x000001c2,0x000001c1,0x0003003e,0x000001c0,0x000001c2,
+ 0x0003003e,0x000001c3,0x000001bf,0x00050041,0x00000007,0x000001c5,0x000000c5,0x0000003a,
+ 0x0004003d,0x00000006,0x000001c6,0x000001c5,0x0003003e,0x000001c4,0x000001c6,0x0004003d,
+ 0x0000000c,0x000001c8,0x00000165,0x0003003e,0x000001c7,0x000001c8,0x00080039,0x0000000e,
+ 0x000001c9,0x00000014,0x000001c0,0x000001c3,0x000001c4,0x000001c7,0x0004003d,0x0000000e,
+ 0x000001ca,0x0000016f,0x00050081,0x0000000e,0x000001cb,0x000001ca,0x000001c9,0x0003003e,
+ 0x0000016f,0x000001cb,0x00050041,0x00000007,0x000001cd,0x000000c0,0x00000031,0x0004003d,
+ 0x00000006,0x000001ce,0x000001cd,0x0003003e,0x000001cc,0x000001ce,0x00050041,0x00000007,
+ 0x000001d0,0x000000c0,0x0000003a,0x0004003d,0x00000006,0x000001d1,0x000001d0,0x0003003e,
+ 0x000001cf,0x000001d1,0x00050041,0x00000007,0x000001d3,0x000000c5,0x00000069,0x0004003d,
+ 0x00000006,0x000001d4,0x000001d3,0x0003003e,0x000001d2,0x000001d4,0x0004003d,0x0000000c,
+ 0x000001d6,0x00000165,0x0003003e,0x000001d5,0x000001d6,0x00080039,0x0000000e,0x000001d7,
+ 0x00000014,0x000001cc,0x000001cf,0x000001d2,0x000001d5,0x0004003d,0x0000000e,0x000001d8,
+ 0x0000016f,0x00050081,0x0000000e,0x000001d9,0x000001d8,0x000001d7,0x0003003e,0x0000016f,
+ 0x000001d9,0x00050041,0x00000007,0x000001da,0x000000c0,0x00000031,0x0004003d,0x00000006,
+ 0x000001db,0x000001da,0x00050081,0x00000006,0x000001dc,0x000001db,0x00000054,0x0003003e,
+ 0x000001dd,0x000001dc,0x00050041,0x00000007,0x000001df,0x000000c0,0x0000003a,0x0004003d,
+ 0x00000006,0x000001e0,0x000001df,0x0003003e,0x000001de,0x000001e0,0x00050041,0x00000007,
+ 0x000001e2,0x000000c5,0x0000006e,0x0004003d,0x00000006,0x000001e3,0x000001e2,0x0003003e,
+ 0x000001e1,0x000001e3,0x0004003d,0x0000000c,0x000001e5,0x00000165,0x0003003e,0x000001e4,
+ 0x000001e5,0x00080039,0x0000000e,0x000001e6,0x00000014,0x000001dd,0x000001de,0x000001e1,
+ 0x000001e4,0x0004003d,0x0000000e,0x000001e7,0x0000016f,0x00050081,0x0000000e,0x000001e8,
+ 0x000001e7,0x000001e6,0x0003003e,0x0000016f,0x000001e8,0x00050041,0x00000007,0x000001e9,
+ 0x000000c0,0x00000031,0x0004003d,0x00000006,0x000001ea,0x000001e9,0x00050083,0x00000006,
+ 0x000001eb,0x000001ea,0x00000054,0x00050041,0x00000007,0x000001ec,0x000000c0,0x0000003a,
+ 0x0004003d,0x00000006,0x000001ed,0x000001ec,0x00050083,0x00000006,0x000001ee,0x000001ed,
+ 0x00000054,0x0003003e,0x000001ef,0x000001eb,0x0003003e,0x000001f0,0x000001ee,0x00050041,
+ 0x00000007,0x000001f2,0x000000ea,0x00000031,0x0004003d,0x00000006,0x000001f3,0x000001f2,
+ 0x0003003e,0x000001f1,0x000001f3,0x0004003d,0x0000000c,0x000001f5,0x00000165,0x0003003e,
+ 0x000001f4,0x000001f5,0x00080039,0x0000000e,0x000001f6,0x00000014,0x000001ef,0x000001f0,
+ 0x000001f1,0x000001f4,0x0004003d,0x0000000e,0x000001f7,0x0000016f,0x00050081,0x0000000e,
+ 0x000001f8,0x000001f7,0x000001f6,0x0003003e,0x0000016f,0x000001f8,0x00050041,0x00000007,
+ 0x000001f9,0x000000c0,0x00000031,0x0004003d,0x00000006,0x000001fa,0x000001f9,0x00050083,
+ 0x00000006,0x000001fb,0x000001fa,0x00000192,0x00050041,0x00000007,0x000001fc,0x000000c0,
+ 0x0000003a,0x0004003d,0x00000006,0x000001fd,0x000001fc,0x00050083,0x00000006,0x000001fe,
+ 0x000001fd,0x00000054,0x0003003e,0x000001ff,0x000001fb,0x0003003e,0x00000200,0x000001fe,
+ 0x00050041,0x00000007,0x00000202,0x000000ea,0x0000003a,0x0004003d,0x00000006,0x00000203,
+ 0x00000202,0x0003003e,0x00000201,0x00000203,0x0004003d,0x0000000c,0x00000205,0x00000165,
+ 0x0003003e,0x00000204,0x00000205,0x00080039,0x0000000e,0x00000206,0x00000014,0x000001ff,
+ 0x00000200,0x00000201,0x00000204,0x0004003d,0x0000000e,0x00000207,0x0000016f,0x00050081,
+ 0x0000000e,0x00000208,0x00000207,0x00000206,0x0003003e,0x0000016f,0x00000208,0x00050041,
+ 0x00000007,0x00000209,0x000000c0,0x00000031,0x0004003d,0x00000006,0x0000020a,0x00000209,
+ 0x00050083,0x00000006,0x0000020b,0x0000020a,0x00000192,0x0003003e,0x0000020c,0x0000020b,
+ 0x00050041,0x00000007,0x0000020e,0x000000c0,0x0000003a,0x0004003d,0x00000006,0x0000020f,
+ 0x0000020e,0x0003003e,0x0000020d,0x0000020f,0x00050041,0x00000007,0x00000211,0x000000ea,
+ 0x00000069,0x0004003d,0x00000006,0x00000212,0x00000211,0x0003003e,0x00000210,0x00000212,
+ 0x0004003d,0x0000000c,0x00000214,0x00000165,0x0003003e,0x00000213,0x00000214,0x00080039,
+ 0x0000000e,0x00000215,0x00000014,0x0000020c,0x0000020d,0x00000210,0x00000213,0x0004003d,
+ 0x0000000e,0x00000216,0x0000016f,0x00050081,0x0000000e,0x00000217,0x00000216,0x00000215,
+ 0x0003003e,0x0000016f,0x00000217,0x00050041,0x00000007,0x00000218,0x000000c0,0x00000031,
+ 0x0004003d,0x00000006,0x00000219,0x00000218,0x00050083,0x00000006,0x0000021a,0x00000219,
+ 0x00000054,0x0003003e,0x0000021b,0x0000021a,0x00050041,0x00000007,0x0000021d,0x000000c0,
+ 0x0000003a,0x0004003d,0x00000006,0x0000021e,0x0000021d,0x0003003e,0x0000021c,0x0000021e,
+ 0x00050041,0x00000007,0x00000220,0x000000ea,0x0000006e,0x0004003d,0x00000006,0x00000221,
+ 0x00000220,0x0003003e,0x0000021f,0x00000221,0x0004003d,0x0000000c,0x00000223,0x00000165,
+ 0x0003003e,0x00000222,0x00000223,0x00080039,0x0000000e,0x00000224,0x00000014,0x0000021b,
+ 0x0000021c,0x0000021f,0x00000222,0x0004003d,0x0000000e,0x00000225,0x0000016f,0x00050081,
+ 0x0000000e,0x00000226,0x00000225,0x00000224,0x0003003e,0x0000016f,0x00000226,0x00050041,
+ 0x00000007,0x00000228,0x0000016f,0x0000003a,0x0004003d,0x00000006,0x00000229,0x00000228,
+ 0x00050041,0x00000007,0x0000022a,0x0000016f,0x00000031,0x0004003d,0x00000006,0x0000022b,
+ 0x0000022a,0x00050088,0x00000006,0x0000022c,0x00000229,0x0000022b,0x0003003e,0x00000227,
+ 0x0000022c,0x00050041,0x00000007,0x0000022e,0x000000c5,0x0000003a,0x0004003d,0x00000006,
+ 0x0000022f,0x0000022e,0x00050041,0x00000007,0x00000230,0x000000c5,0x00000069,0x0004003d,
+ 0x00000006,0x00000231,0x00000230,0x0007000c,0x00000006,0x00000232,0x00000001,0x00000028,
+ 0x0000022f,0x00000231,0x00050041,0x00000007,0x00000233,0x000000ea,0x00000031,0x0004003d,
+ 0x00000006,0x00000234,0x00000233,0x00050041,0x00000007,0x00000235,0x000000ea,0x0000006e,
+ 0x0004003d,0x00000006,0x00000236,0x00000235,0x0007000c,0x00000006,0x00000237,0x00000001,
+ 0x00000028,0x00000234,0x00000236,0x0007000c,0x00000006,0x00000238,0x00000001,0x00000028,
+ 0x00000232,0x00000237,0x0003003e,0x0000022d,0x00000238,0x00050041,0x00000007,0x0000023a,
+ 0x000000c5,0x0000003a,0x0004003d,0x00000006,0x0000023b,0x0000023a,0x00050041,0x00000007,
+ 0x0000023c,0x000000c5,0x00000069,0x0004003d,0x00000006,0x0000023d,0x0000023c,0x0007000c,
+ 0x00000006,0x0000023e,0x00000001,0x00000025,0x0000023b,0x0000023d,0x00050041,0x00000007,
+ 0x0000023f,0x000000ea,0x00000031,0x0004003d,0x00000006,0x00000240,0x0000023f,0x00050041,
+ 0x00000007,0x00000241,0x000000ea,0x0000006e,0x0004003d,0x00000006,0x00000242,0x00000241,
+ 0x0007000c,0x00000006,0x00000243,0x00000001,0x00000025,0x00000240,0x00000242,0x0007000c,
+ 0x00000006,0x00000244,0x00000001,0x00000025,0x0000023e,0x00000243,0x0003003e,0x00000239,
+ 0x00000244,0x00050041,0x00000246,0x00000247,0x00000096,0x00000245,0x0004003d,0x00000006,
+ 0x00000248,0x00000247,0x0004003d,0x00000006,0x00000249,0x00000227,0x00050085,0x00000006,
+ 0x0000024a,0x00000248,0x00000249,0x0004003d,0x00000006,0x0000024b,0x00000239,0x0004003d,
+ 0x00000006,0x0000024c,0x0000022d,0x0008000c,0x00000006,0x0000024d,0x00000001,0x0000002b,
+ 0x0000024a,0x0000024b,0x0000024c,0x0003003e,0x00000227,0x0000024d,0x0004003d,0x00000006,
+ 0x0000024f,0x00000227,0x00050041,0x00000007,0x00000250,0x000000a0,0x0000006e,0x0004003d,
+ 0x00000006,0x00000251,0x00000250,0x00050083,0x00000006,0x00000252,0x0000024f,0x00000251,
+ 0x0003003e,0x0000024e,0x00000252,0x0004003d,0x00000006,0x00000253,0x0000024e,0x0008000c,
+ 0x00000006,0x00000256,0x00000001,0x0000002b,0x00000253,0x00000254,0x00000255,0x0003003e,
+ 0x0000024e,0x00000256,0x00050041,0x00000007,0x00000257,0x000000a0,0x00000031,0x0004003d,
+ 0x00000006,0x00000258,0x00000257,0x0004003d,0x00000006,0x00000259,0x0000024e,0x00050081,
+ 0x00000006,0x0000025a,0x00000258,0x00000259,0x0008000c,0x00000006,0x0000025b,0x00000001,
+ 0x0000002b,0x0000025a,0x00000053,0x00000054,0x00050041,0x00000007,0x0000025c,0x000000a0,
+ 0x00000031,0x0003003e,0x0000025c,0x0000025b,0x00050041,0x00000007,0x0000025d,0x000000a0,
+ 0x0000003a,0x0004003d,0x00000006,0x0000025e,0x0000025d,0x0004003d,0x00000006,0x0000025f,
+ 0x0000024e,0x00050081,0x00000006,0x00000260,0x0000025e,0x0000025f,0x0008000c,0x00000006,
+ 0x00000261,0x00000001,0x0000002b,0x00000260,0x00000053,0x00000054,0x00050041,0x00000007,
+ 0x00000262,0x000000a0,0x0000003a,0x0003003e,0x00000262,0x00000261,0x00050041,0x00000007,
+ 0x00000263,0x000000a0,0x00000069,0x0004003d,0x00000006,0x00000264,0x00000263,0x0004003d,
+ 0x00000006,0x00000265,0x0000024e,0x00050081,0x00000006,0x00000266,0x00000264,0x00000265,
+ 0x0008000c,0x00000006,0x00000267,0x00000001,0x0000002b,0x00000266,0x00000053,0x00000054,
+ 0x00050041,0x00000007,0x00000268,0x000000a0,0x00000069,0x0003003e,0x00000268,0x00000267,
+ 0x000200f9,0x000000e3,0x000200f8,0x000000e3,0x00050041,0x00000007,0x00000269,0x000000a0,
+ 0x0000006e,0x0003003e,0x00000269,0x00000054,0x0004003d,0x00000016,0x0000026c,0x000000a0,
+ 0x0003003e,0x0000026b,0x0000026c,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000a,
+ 0x00000000,0x00000008,0x00030037,0x00000007,0x00000009,0x000200f8,0x0000000b,0x0004003b,
+ 0x00000007,0x0000001d,0x00000007,0x0004003b,0x00000007,0x00000021,0x00000007,0x0004003d,
+ 0x00000006,0x0000001e,0x00000009,0x00050083,0x00000006,0x00000020,0x0000001e,0x0000001f,
+ 0x0003003e,0x0000001d,0x00000020,0x0004003d,0x00000006,0x00000022,0x00000009,0x0004003d,
+ 0x00000006,0x00000023,0x0000001d,0x00050085,0x00000006,0x00000024,0x00000022,0x00000023,
+ 0x0004003d,0x00000006,0x00000025,0x0000001d,0x00050083,0x00000006,0x00000026,0x00000024,
+ 0x00000025,0x0003003e,0x00000021,0x00000026,0x0004003d,0x00000006,0x00000027,0x0000001d,
+ 0x0004003d,0x00000006,0x00000028,0x0000001d,0x00050085,0x00000006,0x00000029,0x00000028,
+ 0x00000027,0x0003003e,0x0000001d,0x00000029,0x0004003d,0x00000006,0x0000002a,0x00000021,
+ 0x0004003d,0x00000006,0x0000002b,0x0000001d,0x00050085,0x00000006,0x0000002c,0x0000002a,
+ 0x0000002b,0x000200fe,0x0000002c,0x00010038,0x00050036,0x0000000e,0x00000014,0x00000000,
+ 0x0000000f,0x00030037,0x00000007,0x00000010,0x00030037,0x00000007,0x00000011,0x00030037,
+ 0x00000007,0x00000012,0x00030037,0x0000000d,0x00000013,0x000200f8,0x00000015,0x0004003b,
+ 0x00000007,0x0000002f,0x00000007,0x0004003b,0x00000034,0x00000035,0x00000007,0x0004003b,
+ 0x00000007,0x00000038,0x00000007,0x0004003b,0x00000007,0x00000043,0x00000007,0x0004003b,
+ 0x00000007,0x0000005b,0x00000007,0x0004003b,0x00000007,0x0000005c,0x00000007,0x00050041,
+ 0x00000007,0x00000032,0x00000013,0x00000031,0x0004003d,0x00000006,0x00000033,0x00000032,
+ 0x0003003e,0x0000002f,0x00000033,0x0004003d,0x0000000c,0x00000036,0x00000013,0x0007004f,
+ 0x0000000e,0x00000037,0x00000036,0x00000036,0x00000001,0x00000002,0x0003003e,0x00000035,
+ 0x00000037,0x0004003d,0x00000006,0x00000039,0x00000010,0x00050041,0x00000007,0x0000003b,
+ 0x00000035,0x0000003a,0x0004003d,0x00000006,0x0000003c,0x0000003b,0x00050085,0x00000006,
+ 0x0000003d,0x00000039,0x0000003c,0x0004003d,0x00000006,0x0000003e,0x00000011,0x00050041,
+ 0x00000007,0x0000003f,0x00000035,0x00000031,0x0004003d,0x00000006,0x00000040,0x0000003f,
+ 0x00050085,0x00000006,0x00000041,0x0000003e,0x00000040,0x00050081,0x00000006,0x00000042,
+ 0x0000003d,0x00000041,0x0003003e,0x00000038,0x00000042,0x0004003d,0x00000006,0x00000044,
+ 0x00000010,0x0004003d,0x00000006,0x00000045,0x00000010,0x00050085,0x00000006,0x00000046,
+ 0x00000044,0x00000045,0x0004003d,0x00000006,0x00000047,0x00000011,0x0004003d,0x00000006,
+ 0x00000048,0x00000011,0x00050085,0x00000006,0x00000049,0x00000047,0x00000048,0x00050081,
+ 0x00000006,0x0000004a,0x00000046,0x00000049,0x0004003d,0x00000006,0x0000004b,0x00000038,
+ 0x0004003d,0x00000006,0x0000004c,0x00000038,0x00050085,0x00000006,0x0000004d,0x0000004b,
+ 0x0000004c,0x0004003d,0x00000006,0x0000004e,0x00000012,0x0004003d,0x00000006,0x0000004f,
+ 0x00000012,0x00050085,0x00000006,0x00000050,0x0000004e,0x0000004f,0x0004003d,0x00000006,
+ 0x00000051,0x0000002f,0x00050085,0x00000006,0x00000052,0x00000050,0x00000051,0x0008000c,
+ 0x00000006,0x00000055,0x00000001,0x0000002b,0x00000052,0x00000053,0x00000054,0x00050085,
+ 0x00000006,0x00000057,0x00000055,0x00000056,0x00050083,0x00000006,0x00000058,0x00000057,
+ 0x00000054,0x00050085,0x00000006,0x00000059,0x0000004d,0x00000058,0x00050081,0x00000006,
+ 0x0000005a,0x0000004a,0x00000059,0x0003003e,0x00000043,0x0000005a,0x0004003d,0x00000006,
+ 0x0000005d,0x00000043,0x0003003e,0x0000005c,0x0000005d,0x00050039,0x00000006,0x0000005e,
+ 0x0000000a,0x0000005c,0x0003003e,0x0000005b,0x0000005e,0x0004003d,0x00000006,0x0000005f,
+ 0x0000005b,0x0004003d,0x00000006,0x00000060,0x0000005b,0x0004003d,0x00000006,0x00000061,
+ 0x00000012,0x00050085,0x00000006,0x00000062,0x00000060,0x00000061,0x00050050,0x0000000e,
+ 0x00000063,0x0000005f,0x00000062,0x000200fe,0x00000063,0x00010038,0x00050036,0x0000000e,
+ 0x0000001b,0x00000000,0x00000018,0x00030037,0x00000017,0x00000019,0x00030037,0x00000017,
+ 0x0000001a,0x000200f8,0x0000001c,0x0004003b,0x00000007,0x00000066,0x00000007,0x0004003b,
+ 0x00000007,0x0000006d,0x00000007,0x0004003b,0x00000034,0x00000074,0x00000007,0x0004003b,
+ 0x00000034,0x0000007d,0x00000007,0x0004003b,0x00000007,0x0000007f,0x00000007,0x00050041,
+ 0x00000007,0x00000067,0x0000001a,0x00000031,0x0004003d,0x00000006,0x00000068,0x00000067,
+ 0x00050041,0x00000007,0x0000006a,0x00000019,0x00000069,0x0004003d,0x00000006,0x0000006b,
+ 0x0000006a,0x00050083,0x00000006,0x0000006c,0x00000068,0x0000006b,0x0003003e,0x00000066,
+ 0x0000006c,0x00050041,0x00000007,0x0000006f,0x0000001a,0x0000006e,0x0004003d,0x00000006,
+ 0x00000070,0x0000006f,0x00050041,0x00000007,0x00000071,0x00000019,0x0000003a,0x0004003d,
+ 0x00000006,0x00000072,0x00000071,0x00050083,0x00000006,0x00000073,0x00000070,0x00000072,
+ 0x0003003e,0x0000006d,0x00000073,0x0004003d,0x00000006,0x00000075,0x00000066,0x0004003d,
+ 0x00000006,0x00000076,0x0000006d,0x00050081,0x00000006,0x00000077,0x00000075,0x00000076,
+ 0x00050041,0x00000007,0x00000078,0x00000074,0x00000031,0x0003003e,0x00000078,0x00000077,
+ 0x0004003d,0x00000006,0x00000079,0x00000066,0x0004003d,0x00000006,0x0000007a,0x0000006d,
+ 0x00050083,0x00000006,0x0000007b,0x00000079,0x0000007a,0x00050041,0x00000007,0x0000007c,
+ 0x00000074,0x0000003a,0x0003003e,0x0000007c,0x0000007b,0x0004003d,0x0000000e,0x0000007e,
+ 0x00000074,0x0003003e,0x0000007d,0x0000007e,0x00050041,0x00000007,0x00000080,0x0000007d,
+ 0x00000031,0x0004003d,0x00000006,0x00000081,0x00000080,0x00050041,0x00000007,0x00000082,
+ 0x0000007d,0x00000031,0x0004003d,0x00000006,0x00000083,0x00000082,0x00050085,0x00000006,
+ 0x00000084,0x00000081,0x00000083,0x00050081,0x00000006,0x00000086,0x00000084,0x00000085,
+ 0x00050041,0x00000007,0x00000087,0x0000007d,0x0000003a,0x0004003d,0x00000006,0x00000088,
+ 0x00000087,0x00050041,0x00000007,0x00000089,0x0000007d,0x0000003a,0x0004003d,0x00000006,
+ 0x0000008a,0x00000089,0x00050085,0x00000006,0x0000008b,0x00000088,0x0000008a,0x00050081,
+ 0x00000006,0x0000008c,0x00000086,0x0000008b,0x0006000c,0x00000006,0x0000008d,0x00000001,
+ 0x00000020,0x0000008c,0x0003003e,0x0000007f,0x0000008d,0x0004003d,0x0000000e,0x0000008e,
+ 0x00000074,0x0004003d,0x00000006,0x0000008f,0x0000007f,0x0005008e,0x0000000e,0x00000090,
+ 0x0000008e,0x0000008f,0x000200fe,0x00000090,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/smaa.frag b/app/src/main/cpp/shaders/smaa.frag
deleted file mode 100644
index 55160fdcff..0000000000
--- a/app/src/main/cpp/shaders/smaa.frag
+++ /dev/null
@@ -1,100 +0,0 @@
-#version 450
-
-layout(location = 0) in vec2 fragTexCoord;
-layout(location = 0) out vec4 outColor;
-layout(set = 0, binding = 0) uniform sampler2D InputTexture;
-layout(push_constant) uniform Constants {
- vec4 ndc;
- vec2 resolution;
- float extra;
- float pad;
-} pc;
-
-float luma(vec3 c) {
- return dot(c, vec3(0.2126, 0.7152, 0.0722));
-}
-
-float edgeVertical(vec2 uv, vec2 px) {
- float a = luma(texture(InputTexture, uv - vec2(px.x, 0.0)).rgb);
- float b = luma(texture(InputTexture, uv + vec2(px.x, 0.0)).rgb);
- return abs(a - b);
-}
-
-float edgeHorizontal(vec2 uv, vec2 px) {
- float a = luma(texture(InputTexture, uv - vec2(0.0, px.y)).rgb);
- float b = luma(texture(InputTexture, uv + vec2(0.0, px.y)).rgb);
- return abs(a - b);
-}
-
-void main() {
- vec2 px = 1.0 / max(pc.resolution, vec2(1.0));
- vec2 uv = clamp(fragTexCoord, px * 0.5, vec2(1.0) - px * 0.5);
- vec4 center = texture(InputTexture, uv);
-
- float lc = luma(center.rgb);
- float ll = luma(texture(InputTexture, uv - vec2(px.x, 0.0)).rgb);
- float lr = luma(texture(InputTexture, uv + vec2(px.x, 0.0)).rgb);
- float lu = luma(texture(InputTexture, uv - vec2(0.0, px.y)).rgb);
- float ld = luma(texture(InputTexture, uv + vec2(0.0, px.y)).rgb);
-
- float dL = abs(lc - ll);
- float dR = abs(lc - lr);
- float dU = abs(lc - lu);
- float dD = abs(lc - ld);
- float localMin = min(lc, min(min(ll, lr), min(lu, ld)));
- float localMax = max(lc, max(max(ll, lr), max(lu, ld)));
- float localContrast = localMax - localMin;
- float threshold = max(0.045, localContrast * 0.08);
-
- float vertical = max(dL, dR);
- float horizontal = max(dU, dD);
- float strongest = max(vertical, horizontal);
- if (strongest <= threshold) {
- outColor = center;
- return;
- }
-
- bool verticalEdge = vertical >= horizontal;
- vec2 tangent = verticalEdge ? vec2(0.0, px.y) : vec2(px.x, 0.0);
- vec2 normal = verticalEdge
- ? vec2(dL >= dR ? -1.0 : 1.0, 0.0)
- : vec2(0.0, dU >= dD ? -1.0 : 1.0);
-
- float negativeRun = 0.0;
- float positiveRun = 0.0;
- for (int i = 1; i <= 6; ++i) {
- vec2 offset = tangent * float(i);
- float edgeN = verticalEdge ? edgeVertical(uv - offset, px) : edgeHorizontal(uv - offset, px);
- float edgeP = verticalEdge ? edgeVertical(uv + offset, px) : edgeHorizontal(uv + offset, px);
- if (negativeRun == float(i - 1) && edgeN > threshold * 0.65) negativeRun = float(i);
- if (positiveRun == float(i - 1) && edgeP > threshold * 0.65) positiveRun = float(i);
- }
-
- float span = negativeRun + positiveRun;
- float edgeConfidence = smoothstep(threshold, threshold * 2.5, strongest);
-
- float nw = luma(texture(InputTexture, uv + vec2(-px.x, -px.y)).rgb);
- float ne = luma(texture(InputTexture, uv + vec2(px.x, -px.y)).rgb);
- float sw = luma(texture(InputTexture, uv + vec2(-px.x, px.y)).rgb);
- float se = luma(texture(InputTexture, uv + vec2(px.x, px.y)).rgb);
- float endpointPattern = clamp(abs(negativeRun - positiveRun) / max(span, 1.0), 0.0, 1.0);
- float endpointArea = endpointPattern / (1.0 + span * 0.055);
- float crossingA = verticalEdge ? abs(nw - ne) : abs(nw - sw);
- float crossingB = verticalEdge ? abs(sw - se) : abs(ne - se);
- float crossingContrast = abs(crossingA - crossingB);
- float crossingPattern = smoothstep(threshold, threshold * 2.5, crossingContrast);
- float areaWeight = 0.38 * crossingPattern * clamp(span / 4.0, 0.0, 1.0);
- float diagonalContrast = max(abs(nw - se), abs(ne - sw));
- float cornerFactor = 1.0 - 0.35 * smoothstep(threshold, threshold * 3.0, diagonalContrast);
- float baseWeight = areaWeight * endpointArea * edgeConfidence * cornerFactor;
-
- float diagonalStrength = min(vertical, horizontal);
- float diagonalPattern = smoothstep(threshold, threshold * 2.5, diagonalStrength);
- float diagonalContinuity = smoothstep(1.0, 3.0, span);
- float diagonalFallback = 0.16 * diagonalPattern * edgeConfidence
- * cornerFactor * diagonalContinuity * crossingPattern;
-
- float weight = clamp(max(baseWeight, diagonalFallback), 0.0, 0.42);
- vec3 across = texture(InputTexture, uv + normal * px).rgb;
- outColor = vec4(mix(center.rgb, across, weight), center.a);
-}
diff --git a/app/src/main/cpp/shaders/smaa_blend.frag b/app/src/main/cpp/shaders/smaa_blend.frag
new file mode 100644
index 0000000000..cf4a2302a6
--- /dev/null
+++ b/app/src/main/cpp/shaders/smaa_blend.frag
@@ -0,0 +1,30 @@
+#version 450
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+layout(set = 0, binding = 0) uniform sampler2D InputTexture;
+layout(set = 1, binding = 0) uniform sampler2D WeightTexture;
+layout(push_constant) uniform Constants {
+ vec4 ndc;
+ vec2 resolution;
+ float extra;
+ float pad;
+} pc;
+
+void main() {
+ vec2 px = 1.0 / max(pc.resolution, vec2(1.0));
+ vec2 uv = clamp(fragTexCoord, px * 0.5, vec2(1.0) - px * 0.5);
+ vec4 center = texture(InputTexture, uv);
+ vec4 weights = texture(WeightTexture, uv);
+ float weight = clamp(weights.r, 0.0, 0.42);
+
+ if (weight <= 0.001) {
+ outColor = center;
+ return;
+ }
+
+ vec2 normal = weights.gb * 2.0 - 1.0;
+ vec2 acrossUv = clamp(uv + normal * px, px * 0.5, vec2(1.0) - px * 0.5);
+ vec3 across = texture(InputTexture, acrossUv).rgb;
+ outColor = vec4(mix(center.rgb, across, weight), center.a);
+}
diff --git a/app/src/main/cpp/shaders/smaa_blend_frag.h b/app/src/main/cpp/shaders/smaa_blend_frag.h
new file mode 100644
index 0000000000..bcb4749618
--- /dev/null
+++ b/app/src/main/cpp/shaders/smaa_blend_frag.h
@@ -0,0 +1,88 @@
+ // 1116.3.0
+ #pragma once
+const uint32_t smaa_blend_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x0000006b,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000001a,0x00000041,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00030005,0x00000009,0x00007870,0x00050005,0x0000000c,0x736e6f43,0x746e6174,
+ 0x00000073,0x00040006,0x0000000c,0x00000000,0x0063646e,0x00060006,0x0000000c,0x00000001,
+ 0x6f736572,0x6974756c,0x00006e6f,0x00050006,0x0000000c,0x00000002,0x72747865,0x00000061,
+ 0x00040006,0x0000000c,0x00000003,0x00646170,0x00030005,0x0000000e,0x00006370,0x00030005,
+ 0x00000018,0x00007675,0x00060005,0x0000001a,0x67617266,0x43786554,0x64726f6f,0x00000000,
+ 0x00040005,0x00000024,0x746e6563,0x00007265,0x00060005,0x00000028,0x75706e49,0x78655474,
+ 0x65727574,0x00000000,0x00040005,0x0000002c,0x67696577,0x00737468,0x00060005,0x0000002d,
+ 0x67696557,0x65547468,0x72757478,0x00000065,0x00040005,0x00000032,0x67696577,0x00007468,
+ 0x00050005,0x00000041,0x4374756f,0x726f6c6f,0x00000000,0x00040005,0x00000044,0x6d726f6e,
+ 0x00006c61,0x00050005,0x0000004b,0x6f726361,0x76557373,0x00000000,0x00040005,0x00000059,
+ 0x6f726361,0x00007373,0x00030047,0x0000000c,0x00000002,0x00050048,0x0000000c,0x00000000,
+ 0x00000023,0x00000000,0x00050048,0x0000000c,0x00000001,0x00000023,0x00000010,0x00050048,
+ 0x0000000c,0x00000002,0x00000023,0x00000018,0x00050048,0x0000000c,0x00000003,0x00000023,
+ 0x0000001c,0x00040047,0x0000001a,0x0000001e,0x00000000,0x00040047,0x00000028,0x00000021,
+ 0x00000000,0x00040047,0x00000028,0x00000022,0x00000000,0x00040047,0x0000002d,0x00000021,
+ 0x00000000,0x00040047,0x0000002d,0x00000022,0x00000001,0x00040047,0x00000041,0x0000001e,
+ 0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,
+ 0x00000020,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,
+ 0x00000007,0x0004002b,0x00000006,0x0000000a,0x3f800000,0x00040017,0x0000000b,0x00000006,
+ 0x00000004,0x0006001e,0x0000000c,0x0000000b,0x00000007,0x00000006,0x00000006,0x00040020,
+ 0x0000000d,0x00000009,0x0000000c,0x0004003b,0x0000000d,0x0000000e,0x00000009,0x00040015,
+ 0x0000000f,0x00000020,0x00000001,0x0004002b,0x0000000f,0x00000010,0x00000001,0x00040020,
+ 0x00000011,0x00000009,0x00000007,0x0005002c,0x00000007,0x00000014,0x0000000a,0x0000000a,
+ 0x00040020,0x00000019,0x00000001,0x00000007,0x0004003b,0x00000019,0x0000001a,0x00000001,
+ 0x0004002b,0x00000006,0x0000001d,0x3f000000,0x00040020,0x00000023,0x00000007,0x0000000b,
+ 0x00090019,0x00000025,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,
+ 0x00000000,0x0003001b,0x00000026,0x00000025,0x00040020,0x00000027,0x00000000,0x00000026,
+ 0x0004003b,0x00000027,0x00000028,0x00000000,0x0004003b,0x00000027,0x0000002d,0x00000000,
+ 0x00040020,0x00000031,0x00000007,0x00000006,0x00040015,0x00000033,0x00000020,0x00000000,
+ 0x0004002b,0x00000033,0x00000034,0x00000000,0x0004002b,0x00000006,0x00000037,0x00000000,
+ 0x0004002b,0x00000006,0x00000038,0x3ed70a3d,0x0004002b,0x00000006,0x0000003b,0x3a83126f,
+ 0x00020014,0x0000003c,0x00040020,0x00000040,0x00000003,0x0000000b,0x0004003b,0x00000040,
+ 0x00000041,0x00000003,0x0004002b,0x00000006,0x00000047,0x40000000,0x00040017,0x00000057,
+ 0x00000006,0x00000003,0x00040020,0x00000058,0x00000007,0x00000057,0x0004002b,0x00000033,
+ 0x00000064,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,
+ 0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b,0x00000008,0x00000018,
+ 0x00000007,0x0004003b,0x00000023,0x00000024,0x00000007,0x0004003b,0x00000023,0x0000002c,
+ 0x00000007,0x0004003b,0x00000031,0x00000032,0x00000007,0x0004003b,0x00000008,0x00000044,
+ 0x00000007,0x0004003b,0x00000008,0x0000004b,0x00000007,0x0004003b,0x00000058,0x00000059,
+ 0x00000007,0x00050041,0x00000011,0x00000012,0x0000000e,0x00000010,0x0004003d,0x00000007,
+ 0x00000013,0x00000012,0x0007000c,0x00000007,0x00000015,0x00000001,0x00000028,0x00000013,
+ 0x00000014,0x00050050,0x00000007,0x00000016,0x0000000a,0x0000000a,0x00050088,0x00000007,
+ 0x00000017,0x00000016,0x00000015,0x0003003e,0x00000009,0x00000017,0x0004003d,0x00000007,
+ 0x0000001b,0x0000001a,0x0004003d,0x00000007,0x0000001c,0x00000009,0x0005008e,0x00000007,
+ 0x0000001e,0x0000001c,0x0000001d,0x0004003d,0x00000007,0x0000001f,0x00000009,0x0005008e,
+ 0x00000007,0x00000020,0x0000001f,0x0000001d,0x00050083,0x00000007,0x00000021,0x00000014,
+ 0x00000020,0x0008000c,0x00000007,0x00000022,0x00000001,0x0000002b,0x0000001b,0x0000001e,
+ 0x00000021,0x0003003e,0x00000018,0x00000022,0x0004003d,0x00000026,0x00000029,0x00000028,
+ 0x0004003d,0x00000007,0x0000002a,0x00000018,0x00050057,0x0000000b,0x0000002b,0x00000029,
+ 0x0000002a,0x0003003e,0x00000024,0x0000002b,0x0004003d,0x00000026,0x0000002e,0x0000002d,
+ 0x0004003d,0x00000007,0x0000002f,0x00000018,0x00050057,0x0000000b,0x00000030,0x0000002e,
+ 0x0000002f,0x0003003e,0x0000002c,0x00000030,0x00050041,0x00000031,0x00000035,0x0000002c,
+ 0x00000034,0x0004003d,0x00000006,0x00000036,0x00000035,0x0008000c,0x00000006,0x00000039,
+ 0x00000001,0x0000002b,0x00000036,0x00000037,0x00000038,0x0003003e,0x00000032,0x00000039,
+ 0x0004003d,0x00000006,0x0000003a,0x00000032,0x000500bc,0x0000003c,0x0000003d,0x0000003a,
+ 0x0000003b,0x000300f7,0x0000003f,0x00000000,0x000400fa,0x0000003d,0x0000003e,0x0000003f,
+ 0x000200f8,0x0000003e,0x0004003d,0x0000000b,0x00000042,0x00000024,0x0003003e,0x00000041,
+ 0x00000042,0x000100fd,0x000200f8,0x0000003f,0x0004003d,0x0000000b,0x00000045,0x0000002c,
+ 0x0007004f,0x00000007,0x00000046,0x00000045,0x00000045,0x00000001,0x00000002,0x0005008e,
+ 0x00000007,0x00000048,0x00000046,0x00000047,0x00050050,0x00000007,0x00000049,0x0000000a,
+ 0x0000000a,0x00050083,0x00000007,0x0000004a,0x00000048,0x00000049,0x0003003e,0x00000044,
+ 0x0000004a,0x0004003d,0x00000007,0x0000004c,0x00000018,0x0004003d,0x00000007,0x0000004d,
+ 0x00000044,0x0004003d,0x00000007,0x0000004e,0x00000009,0x00050085,0x00000007,0x0000004f,
+ 0x0000004d,0x0000004e,0x00050081,0x00000007,0x00000050,0x0000004c,0x0000004f,0x0004003d,
+ 0x00000007,0x00000051,0x00000009,0x0005008e,0x00000007,0x00000052,0x00000051,0x0000001d,
+ 0x0004003d,0x00000007,0x00000053,0x00000009,0x0005008e,0x00000007,0x00000054,0x00000053,
+ 0x0000001d,0x00050083,0x00000007,0x00000055,0x00000014,0x00000054,0x0008000c,0x00000007,
+ 0x00000056,0x00000001,0x0000002b,0x00000050,0x00000052,0x00000055,0x0003003e,0x0000004b,
+ 0x00000056,0x0004003d,0x00000026,0x0000005a,0x00000028,0x0004003d,0x00000007,0x0000005b,
+ 0x0000004b,0x00050057,0x0000000b,0x0000005c,0x0000005a,0x0000005b,0x0008004f,0x00000057,
+ 0x0000005d,0x0000005c,0x0000005c,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000059,
+ 0x0000005d,0x0004003d,0x0000000b,0x0000005e,0x00000024,0x0008004f,0x00000057,0x0000005f,
+ 0x0000005e,0x0000005e,0x00000000,0x00000001,0x00000002,0x0004003d,0x00000057,0x00000060,
+ 0x00000059,0x0004003d,0x00000006,0x00000061,0x00000032,0x00060050,0x00000057,0x00000062,
+ 0x00000061,0x00000061,0x00000061,0x0008000c,0x00000057,0x00000063,0x00000001,0x0000002e,
+ 0x0000005f,0x00000060,0x00000062,0x00050041,0x00000031,0x00000065,0x00000024,0x00000064,
+ 0x0004003d,0x00000006,0x00000066,0x00000065,0x00050051,0x00000006,0x00000067,0x00000063,
+ 0x00000000,0x00050051,0x00000006,0x00000068,0x00000063,0x00000001,0x00050051,0x00000006,
+ 0x00000069,0x00000063,0x00000002,0x00070050,0x0000000b,0x0000006a,0x00000067,0x00000068,
+ 0x00000069,0x00000066,0x0003003e,0x00000041,0x0000006a,0x000100fd,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/smaa_edge.frag b/app/src/main/cpp/shaders/smaa_edge.frag
new file mode 100644
index 0000000000..44073b00c4
--- /dev/null
+++ b/app/src/main/cpp/shaders/smaa_edge.frag
@@ -0,0 +1,29 @@
+#version 450
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+layout(set = 0, binding = 0) uniform sampler2D InputTexture;
+layout(push_constant) uniform Constants {
+ vec4 ndc;
+ vec2 resolution;
+ float extra;
+ float pad;
+} pc;
+
+float luma(vec3 c) {
+ return dot(c, vec3(0.2126, 0.7152, 0.0722));
+}
+
+void main() {
+ vec2 px = 1.0 / max(pc.resolution, vec2(1.0));
+ vec2 uv = clamp(fragTexCoord, px * 0.5, vec2(1.0) - px * 0.5);
+ float center = luma(texture(InputTexture, uv).rgb);
+ float left = luma(texture(InputTexture, uv - vec2(px.x, 0.0)).rgb);
+ float right = luma(texture(InputTexture, uv + vec2(px.x, 0.0)).rgb);
+ float up = luma(texture(InputTexture, uv - vec2(0.0, px.y)).rgb);
+ float down = luma(texture(InputTexture, uv + vec2(0.0, px.y)).rgb);
+
+ // Store directional edge strengths for the weight pass.
+ outColor = vec4(abs(center - left), abs(center - right),
+ abs(center - up), abs(center - down));
+}
diff --git a/app/src/main/cpp/shaders/smaa_edge_frag.h b/app/src/main/cpp/shaders/smaa_edge_frag.h
new file mode 100644
index 0000000000..7d133264c9
--- /dev/null
+++ b/app/src/main/cpp/shaders/smaa_edge_frag.h
@@ -0,0 +1,102 @@
+ // 1116.3.0
+ #pragma once
+const uint32_t smaa_edge_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x00000080,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000028,0x0000006e,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00050005,0x0000000b,0x616d756c,0x33667628,0x0000003b,0x00030005,0x0000000a,
+ 0x00000063,0x00030005,0x00000017,0x00007870,0x00050005,0x0000001a,0x736e6f43,0x746e6174,
+ 0x00000073,0x00040006,0x0000001a,0x00000000,0x0063646e,0x00060006,0x0000001a,0x00000001,
+ 0x6f736572,0x6974756c,0x00006e6f,0x00050006,0x0000001a,0x00000002,0x72747865,0x00000061,
+ 0x00040006,0x0000001a,0x00000003,0x00646170,0x00030005,0x0000001c,0x00006370,0x00030005,
+ 0x00000026,0x00007675,0x00060005,0x00000028,0x67617266,0x43786554,0x64726f6f,0x00000000,
+ 0x00040005,0x00000032,0x746e6563,0x00007265,0x00060005,0x00000036,0x75706e49,0x78655474,
+ 0x65727574,0x00000000,0x00040005,0x0000003a,0x61726170,0x0000006d,0x00040005,0x0000003d,
+ 0x7466656c,0x00000000,0x00040005,0x00000048,0x61726170,0x0000006d,0x00040005,0x0000004b,
+ 0x68676972,0x00000074,0x00040005,0x00000053,0x61726170,0x0000006d,0x00030005,0x00000056,
+ 0x00007075,0x00040005,0x0000005f,0x61726170,0x0000006d,0x00040005,0x00000062,0x6e776f64,
+ 0x00000000,0x00040005,0x0000006a,0x61726170,0x0000006d,0x00050005,0x0000006e,0x4374756f,
+ 0x726f6c6f,0x00000000,0x00030047,0x0000001a,0x00000002,0x00050048,0x0000001a,0x00000000,
+ 0x00000023,0x00000000,0x00050048,0x0000001a,0x00000001,0x00000023,0x00000010,0x00050048,
+ 0x0000001a,0x00000002,0x00000023,0x00000018,0x00050048,0x0000001a,0x00000003,0x00000023,
+ 0x0000001c,0x00040047,0x00000028,0x0000001e,0x00000000,0x00040047,0x00000036,0x00000021,
+ 0x00000000,0x00040047,0x00000036,0x00000022,0x00000000,0x00040047,0x0000006e,0x0000001e,
+ 0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,
+ 0x00000020,0x00040017,0x00000007,0x00000006,0x00000003,0x00040020,0x00000008,0x00000007,
+ 0x00000007,0x00040021,0x00000009,0x00000006,0x00000008,0x0004002b,0x00000006,0x0000000e,
+ 0x3e59b3d0,0x0004002b,0x00000006,0x0000000f,0x3f371759,0x0004002b,0x00000006,0x00000010,
+ 0x3d93dd98,0x0006002c,0x00000007,0x00000011,0x0000000e,0x0000000f,0x00000010,0x00040017,
+ 0x00000015,0x00000006,0x00000002,0x00040020,0x00000016,0x00000007,0x00000015,0x0004002b,
+ 0x00000006,0x00000018,0x3f800000,0x00040017,0x00000019,0x00000006,0x00000004,0x0006001e,
+ 0x0000001a,0x00000019,0x00000015,0x00000006,0x00000006,0x00040020,0x0000001b,0x00000009,
+ 0x0000001a,0x0004003b,0x0000001b,0x0000001c,0x00000009,0x00040015,0x0000001d,0x00000020,
+ 0x00000001,0x0004002b,0x0000001d,0x0000001e,0x00000001,0x00040020,0x0000001f,0x00000009,
+ 0x00000015,0x0005002c,0x00000015,0x00000022,0x00000018,0x00000018,0x00040020,0x00000027,
+ 0x00000001,0x00000015,0x0004003b,0x00000027,0x00000028,0x00000001,0x0004002b,0x00000006,
+ 0x0000002b,0x3f000000,0x00040020,0x00000031,0x00000007,0x00000006,0x00090019,0x00000033,
+ 0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,
+ 0x00000034,0x00000033,0x00040020,0x00000035,0x00000000,0x00000034,0x0004003b,0x00000035,
+ 0x00000036,0x00000000,0x00040015,0x00000040,0x00000020,0x00000000,0x0004002b,0x00000040,
+ 0x00000041,0x00000000,0x0004002b,0x00000006,0x00000044,0x00000000,0x0004002b,0x00000040,
+ 0x00000059,0x00000001,0x00040020,0x0000006d,0x00000003,0x00000019,0x0004003b,0x0000006d,
+ 0x0000006e,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,
+ 0x00000005,0x0004003b,0x00000016,0x00000017,0x00000007,0x0004003b,0x00000016,0x00000026,
+ 0x00000007,0x0004003b,0x00000031,0x00000032,0x00000007,0x0004003b,0x00000008,0x0000003a,
+ 0x00000007,0x0004003b,0x00000031,0x0000003d,0x00000007,0x0004003b,0x00000008,0x00000048,
+ 0x00000007,0x0004003b,0x00000031,0x0000004b,0x00000007,0x0004003b,0x00000008,0x00000053,
+ 0x00000007,0x0004003b,0x00000031,0x00000056,0x00000007,0x0004003b,0x00000008,0x0000005f,
+ 0x00000007,0x0004003b,0x00000031,0x00000062,0x00000007,0x0004003b,0x00000008,0x0000006a,
+ 0x00000007,0x00050041,0x0000001f,0x00000020,0x0000001c,0x0000001e,0x0004003d,0x00000015,
+ 0x00000021,0x00000020,0x0007000c,0x00000015,0x00000023,0x00000001,0x00000028,0x00000021,
+ 0x00000022,0x00050050,0x00000015,0x00000024,0x00000018,0x00000018,0x00050088,0x00000015,
+ 0x00000025,0x00000024,0x00000023,0x0003003e,0x00000017,0x00000025,0x0004003d,0x00000015,
+ 0x00000029,0x00000028,0x0004003d,0x00000015,0x0000002a,0x00000017,0x0005008e,0x00000015,
+ 0x0000002c,0x0000002a,0x0000002b,0x0004003d,0x00000015,0x0000002d,0x00000017,0x0005008e,
+ 0x00000015,0x0000002e,0x0000002d,0x0000002b,0x00050083,0x00000015,0x0000002f,0x00000022,
+ 0x0000002e,0x0008000c,0x00000015,0x00000030,0x00000001,0x0000002b,0x00000029,0x0000002c,
+ 0x0000002f,0x0003003e,0x00000026,0x00000030,0x0004003d,0x00000034,0x00000037,0x00000036,
+ 0x0004003d,0x00000015,0x00000038,0x00000026,0x00050057,0x00000019,0x00000039,0x00000037,
+ 0x00000038,0x0008004f,0x00000007,0x0000003b,0x00000039,0x00000039,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x0000003a,0x0000003b,0x00050039,0x00000006,0x0000003c,0x0000000b,
+ 0x0000003a,0x0003003e,0x00000032,0x0000003c,0x0004003d,0x00000034,0x0000003e,0x00000036,
+ 0x0004003d,0x00000015,0x0000003f,0x00000026,0x00050041,0x00000031,0x00000042,0x00000017,
+ 0x00000041,0x0004003d,0x00000006,0x00000043,0x00000042,0x00050050,0x00000015,0x00000045,
+ 0x00000043,0x00000044,0x00050083,0x00000015,0x00000046,0x0000003f,0x00000045,0x00050057,
+ 0x00000019,0x00000047,0x0000003e,0x00000046,0x0008004f,0x00000007,0x00000049,0x00000047,
+ 0x00000047,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000048,0x00000049,0x00050039,
+ 0x00000006,0x0000004a,0x0000000b,0x00000048,0x0003003e,0x0000003d,0x0000004a,0x0004003d,
+ 0x00000034,0x0000004c,0x00000036,0x0004003d,0x00000015,0x0000004d,0x00000026,0x00050041,
+ 0x00000031,0x0000004e,0x00000017,0x00000041,0x0004003d,0x00000006,0x0000004f,0x0000004e,
+ 0x00050050,0x00000015,0x00000050,0x0000004f,0x00000044,0x00050081,0x00000015,0x00000051,
+ 0x0000004d,0x00000050,0x00050057,0x00000019,0x00000052,0x0000004c,0x00000051,0x0008004f,
+ 0x00000007,0x00000054,0x00000052,0x00000052,0x00000000,0x00000001,0x00000002,0x0003003e,
+ 0x00000053,0x00000054,0x00050039,0x00000006,0x00000055,0x0000000b,0x00000053,0x0003003e,
+ 0x0000004b,0x00000055,0x0004003d,0x00000034,0x00000057,0x00000036,0x0004003d,0x00000015,
+ 0x00000058,0x00000026,0x00050041,0x00000031,0x0000005a,0x00000017,0x00000059,0x0004003d,
+ 0x00000006,0x0000005b,0x0000005a,0x00050050,0x00000015,0x0000005c,0x00000044,0x0000005b,
+ 0x00050083,0x00000015,0x0000005d,0x00000058,0x0000005c,0x00050057,0x00000019,0x0000005e,
+ 0x00000057,0x0000005d,0x0008004f,0x00000007,0x00000060,0x0000005e,0x0000005e,0x00000000,
+ 0x00000001,0x00000002,0x0003003e,0x0000005f,0x00000060,0x00050039,0x00000006,0x00000061,
+ 0x0000000b,0x0000005f,0x0003003e,0x00000056,0x00000061,0x0004003d,0x00000034,0x00000063,
+ 0x00000036,0x0004003d,0x00000015,0x00000064,0x00000026,0x00050041,0x00000031,0x00000065,
+ 0x00000017,0x00000059,0x0004003d,0x00000006,0x00000066,0x00000065,0x00050050,0x00000015,
+ 0x00000067,0x00000044,0x00000066,0x00050081,0x00000015,0x00000068,0x00000064,0x00000067,
+ 0x00050057,0x00000019,0x00000069,0x00000063,0x00000068,0x0008004f,0x00000007,0x0000006b,
+ 0x00000069,0x00000069,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000006a,0x0000006b,
+ 0x00050039,0x00000006,0x0000006c,0x0000000b,0x0000006a,0x0003003e,0x00000062,0x0000006c,
+ 0x0004003d,0x00000006,0x0000006f,0x00000032,0x0004003d,0x00000006,0x00000070,0x0000003d,
+ 0x00050083,0x00000006,0x00000071,0x0000006f,0x00000070,0x0006000c,0x00000006,0x00000072,
+ 0x00000001,0x00000004,0x00000071,0x0004003d,0x00000006,0x00000073,0x00000032,0x0004003d,
+ 0x00000006,0x00000074,0x0000004b,0x00050083,0x00000006,0x00000075,0x00000073,0x00000074,
+ 0x0006000c,0x00000006,0x00000076,0x00000001,0x00000004,0x00000075,0x0004003d,0x00000006,
+ 0x00000077,0x00000032,0x0004003d,0x00000006,0x00000078,0x00000056,0x00050083,0x00000006,
+ 0x00000079,0x00000077,0x00000078,0x0006000c,0x00000006,0x0000007a,0x00000001,0x00000004,
+ 0x00000079,0x0004003d,0x00000006,0x0000007b,0x00000032,0x0004003d,0x00000006,0x0000007c,
+ 0x00000062,0x00050083,0x00000006,0x0000007d,0x0000007b,0x0000007c,0x0006000c,0x00000006,
+ 0x0000007e,0x00000001,0x00000004,0x0000007d,0x00070050,0x00000019,0x0000007f,0x00000072,
+ 0x00000076,0x0000007a,0x0000007e,0x0003003e,0x0000006e,0x0000007f,0x000100fd,0x00010038,
+ 0x00050036,0x00000006,0x0000000b,0x00000000,0x00000009,0x00030037,0x00000008,0x0000000a,
+ 0x000200f8,0x0000000c,0x0004003d,0x00000007,0x0000000d,0x0000000a,0x00050094,0x00000006,
+ 0x00000012,0x0000000d,0x00000011,0x000200fe,0x00000012,0x00010038
+};
diff --git a/app/src/main/cpp/shaders/smaa_frag.h b/app/src/main/cpp/shaders/smaa_frag.h
deleted file mode 100644
index 1467b4efc0..0000000000
--- a/app/src/main/cpp/shaders/smaa_frag.h
+++ /dev/null
@@ -1,443 +0,0 @@
-#pragma once
-#include
-
-static const uint32_t smaa_code[] = {
- 0x07230203u, 0x00010000u, 0x0008000bu, 0x00000251u, 0x00000000u, 0x00020011u, 0x00000001u, 0x0006000bu,
- 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, 0x00000000u, 0x00000001u,
- 0x0007000fu, 0x00000004u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000072u, 0x000000f6u, 0x00030010u,
- 0x00000004u, 0x00000007u, 0x00030003u, 0x00000002u, 0x000001c2u, 0x00040005u, 0x00000004u, 0x6e69616du,
- 0x00000000u, 0x00050005u, 0x0000000bu, 0x616d756cu, 0x33667628u, 0x0000003bu, 0x00030005u, 0x0000000au,
- 0x00000063u, 0x00080005u, 0x00000012u, 0x65676465u, 0x74726556u, 0x6c616369u, 0x32667628u, 0x3266763bu,
- 0x0000003bu, 0x00030005u, 0x00000010u, 0x00007675u, 0x00030005u, 0x00000011u, 0x00007870u, 0x00080005u,
- 0x00000016u, 0x65676465u, 0x69726f48u, 0x746e6f7au, 0x76286c61u, 0x763b3266u, 0x003b3266u, 0x00030005u,
- 0x00000014u, 0x00007675u, 0x00030005u, 0x00000015u, 0x00007870u, 0x00030005u, 0x00000021u, 0x00000061u,
- 0x00060005u, 0x00000025u, 0x75706e49u, 0x78655474u, 0x65727574u, 0x00000000u, 0x00040005u, 0x00000031u,
- 0x61726170u, 0x0000006du, 0x00030005u, 0x00000034u, 0x00000062u, 0x00040005u, 0x0000003cu, 0x61726170u,
- 0x0000006du, 0x00030005u, 0x00000045u, 0x00000061u, 0x00040005u, 0x0000004eu, 0x61726170u, 0x0000006du,
- 0x00030005u, 0x00000051u, 0x00000062u, 0x00040005u, 0x00000059u, 0x61726170u, 0x0000006du, 0x00030005u,
- 0x00000062u, 0x00007870u, 0x00050005u, 0x00000064u, 0x736e6f43u, 0x746e6174u, 0x00000073u, 0x00040006u,
- 0x00000064u, 0x00000000u, 0x0063646eu, 0x00060006u, 0x00000064u, 0x00000001u, 0x6f736572u, 0x6974756cu,
- 0x00006e6fu, 0x00050006u, 0x00000064u, 0x00000002u, 0x72747865u, 0x00000061u, 0x00040006u, 0x00000064u,
- 0x00000003u, 0x00646170u, 0x00030005u, 0x00000066u, 0x00006370u, 0x00030005u, 0x00000070u, 0x00007675u,
- 0x00060005u, 0x00000072u, 0x67617266u, 0x43786554u, 0x64726f6fu, 0x00000000u, 0x00040005u, 0x0000007cu,
- 0x746e6563u, 0x00007265u, 0x00030005u, 0x00000080u, 0x0000636cu, 0x00040005u, 0x00000081u, 0x61726170u,
- 0x0000006du, 0x00030005u, 0x00000085u, 0x00006c6cu, 0x00040005u, 0x0000008du, 0x61726170u, 0x0000006du,
- 0x00030005u, 0x00000090u, 0x0000726cu, 0x00040005u, 0x00000098u, 0x61726170u, 0x0000006du, 0x00030005u,
- 0x0000009bu, 0x0000756cu, 0x00040005u, 0x000000a3u, 0x61726170u, 0x0000006du, 0x00030005u, 0x000000a6u,
- 0x0000646cu, 0x00040005u, 0x000000aeu, 0x61726170u, 0x0000006du, 0x00030005u, 0x000000b1u, 0x00004c64u,
- 0x00030005u, 0x000000b6u, 0x00005264u, 0x00030005u, 0x000000bbu, 0x00005564u, 0x00030005u, 0x000000c0u,
- 0x00004464u, 0x00050005u, 0x000000c5u, 0x61636f6cu, 0x6e694d6cu, 0x00000000u, 0x00050005u, 0x000000cfu,
- 0x61636f6cu, 0x78614d6cu, 0x00000000u, 0x00060005u, 0x000000d9u, 0x61636f6cu, 0x6e6f436cu, 0x73617274u,
- 0x00000074u, 0x00050005u, 0x000000ddu, 0x65726874u, 0x6c6f6873u, 0x00000064u, 0x00050005u, 0x000000e3u,
- 0x74726576u, 0x6c616369u, 0x00000000u, 0x00050005u, 0x000000e7u, 0x69726f68u, 0x746e6f7au, 0x00006c61u,
- 0x00050005u, 0x000000ebu, 0x6f727473u, 0x7365676eu, 0x00000074u, 0x00050005u, 0x000000f6u, 0x4374756fu,
- 0x726f6c6fu, 0x00000000u, 0x00060005u, 0x000000fau, 0x74726576u, 0x6c616369u, 0x65676445u, 0x00000000u,
- 0x00040005u, 0x000000feu, 0x676e6174u, 0x00746e65u, 0x00040005u, 0x0000010bu, 0x6d726f6eu, 0x00006c61u,
- 0x00050005u, 0x0000011du, 0x6167656eu, 0x65766974u, 0x006e7552u, 0x00050005u, 0x0000011eu, 0x69736f70u,
- 0x65766974u, 0x006e7552u, 0x00030005u, 0x00000120u, 0x00000069u, 0x00040005u, 0x00000129u, 0x7366666fu,
- 0x00007465u, 0x00040005u, 0x0000012eu, 0x65676465u, 0x0000004eu, 0x00040005u, 0x00000136u, 0x61726170u,
- 0x0000006du, 0x00040005u, 0x00000137u, 0x61726170u, 0x0000006du, 0x00040005u, 0x0000013eu, 0x61726170u,
- 0x0000006du, 0x00040005u, 0x0000013fu, 0x61726170u, 0x0000006du, 0x00040005u, 0x00000143u, 0x65676465u,
- 0x00000050u, 0x00040005u, 0x0000014bu, 0x61726170u, 0x0000006du, 0x00040005u, 0x0000014cu, 0x61726170u,
- 0x0000006du, 0x00040005u, 0x00000153u, 0x61726170u, 0x0000006du, 0x00040005u, 0x00000154u, 0x61726170u,
- 0x0000006du, 0x00040005u, 0x0000017bu, 0x6e617073u, 0x00000000u, 0x00060005u, 0x0000017fu, 0x65676465u,
- 0x666e6f43u, 0x6e656469u, 0x00006563u, 0x00030005u, 0x00000186u, 0x0000776eu, 0x00040005u, 0x00000192u,
- 0x61726170u, 0x0000006du, 0x00030005u, 0x00000195u, 0x0000656eu, 0x00040005u, 0x000001a0u, 0x61726170u,
- 0x0000006du, 0x00030005u, 0x000001a3u, 0x00007773u, 0x00040005u, 0x000001aeu, 0x61726170u, 0x0000006du,
- 0x00030005u, 0x000001b1u, 0x00006573u, 0x00040005u, 0x000001bbu, 0x61726170u, 0x0000006du, 0x00060005u,
- 0x000001beu, 0x70646e65u, 0x746e696fu, 0x74746150u, 0x006e7265u, 0x00060005u, 0x000001c7u, 0x70646e65u,
- 0x746e696fu, 0x61657241u, 0x00000000u, 0x00050005u, 0x000001ceu, 0x736f7263u, 0x676e6973u, 0x00000041u,
- 0x00050005u, 0x000001ddu, 0x736f7263u, 0x676e6973u, 0x00000042u, 0x00070005u, 0x000001ecu, 0x736f7263u,
- 0x676e6973u, 0x746e6f43u, 0x74736172u, 0x00000000u, 0x00060005u, 0x000001f1u, 0x736f7263u, 0x676e6973u,
- 0x74746150u, 0x006e7265u, 0x00050005u, 0x000001f7u, 0x61657261u, 0x67696557u, 0x00007468u, 0x00070005u,
- 0x00000200u, 0x67616964u, 0x6c616e6fu, 0x746e6f43u, 0x74736172u, 0x00000000u, 0x00060005u, 0x0000020au,
- 0x6e726f63u, 0x61467265u, 0x726f7463u, 0x00000000u, 0x00050005u, 0x00000214u, 0x65736162u, 0x67696557u,
- 0x00007468u, 0x00070005u, 0x0000021cu, 0x67616964u, 0x6c616e6fu, 0x65727453u, 0x6874676eu, 0x00000000u,
- 0x00060005u, 0x00000220u, 0x67616964u, 0x6c616e6fu, 0x74746150u, 0x006e7265u, 0x00070005u, 0x00000226u,
- 0x67616964u, 0x6c616e6fu, 0x746e6f43u, 0x69756e69u, 0x00007974u, 0x00070005u, 0x00000229u, 0x67616964u,
- 0x6c616e6fu, 0x6c6c6146u, 0x6b636162u, 0x00000000u, 0x00040005u, 0x00000235u, 0x67696577u, 0x00007468u,
- 0x00040005u, 0x0000023bu, 0x6f726361u, 0x00007373u, 0x00040047u, 0x00000025u, 0x00000021u, 0x00000000u,
- 0x00040047u, 0x00000025u, 0x00000022u, 0x00000000u, 0x00030047u, 0x00000064u, 0x00000002u, 0x00050048u,
- 0x00000064u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00050048u, 0x00000064u, 0x00000001u, 0x00000023u,
- 0x00000010u, 0x00050048u, 0x00000064u, 0x00000002u, 0x00000023u, 0x00000018u, 0x00050048u, 0x00000064u,
- 0x00000003u, 0x00000023u, 0x0000001cu, 0x00040047u, 0x00000072u, 0x0000001eu, 0x00000000u, 0x00040047u,
- 0x000000f6u, 0x0000001eu, 0x00000000u, 0x00020013u, 0x00000002u, 0x00030021u, 0x00000003u, 0x00000002u,
- 0x00030016u, 0x00000006u, 0x00000020u, 0x00040017u, 0x00000007u, 0x00000006u, 0x00000003u, 0x00040020u,
- 0x00000008u, 0x00000007u, 0x00000007u, 0x00040021u, 0x00000009u, 0x00000006u, 0x00000008u, 0x00040017u,
- 0x0000000du, 0x00000006u, 0x00000002u, 0x00040020u, 0x0000000eu, 0x00000007u, 0x0000000du, 0x00050021u,
- 0x0000000fu, 0x00000006u, 0x0000000eu, 0x0000000eu, 0x0004002bu, 0x00000006u, 0x00000019u, 0x3e59b3d0u,
- 0x0004002bu, 0x00000006u, 0x0000001au, 0x3f371759u, 0x0004002bu, 0x00000006u, 0x0000001bu, 0x3d93dd98u,
- 0x0006002cu, 0x00000007u, 0x0000001cu, 0x00000019u, 0x0000001au, 0x0000001bu, 0x00040020u, 0x00000020u,
- 0x00000007u, 0x00000006u, 0x00090019u, 0x00000022u, 0x00000006u, 0x00000001u, 0x00000000u, 0x00000000u,
- 0x00000000u, 0x00000001u, 0x00000000u, 0x0003001bu, 0x00000023u, 0x00000022u, 0x00040020u, 0x00000024u,
- 0x00000000u, 0x00000023u, 0x0004003bu, 0x00000024u, 0x00000025u, 0x00000000u, 0x00040015u, 0x00000028u,
- 0x00000020u, 0x00000000u, 0x0004002bu, 0x00000028u, 0x00000029u, 0x00000000u, 0x0004002bu, 0x00000006u,
- 0x0000002cu, 0x00000000u, 0x00040017u, 0x0000002fu, 0x00000006u, 0x00000004u, 0x0004002bu, 0x00000028u,
- 0x00000048u, 0x00000001u, 0x0004002bu, 0x00000006u, 0x00000063u, 0x3f800000u, 0x0006001eu, 0x00000064u,
- 0x0000002fu, 0x0000000du, 0x00000006u, 0x00000006u, 0x00040020u, 0x00000065u, 0x00000009u, 0x00000064u,
- 0x0004003bu, 0x00000065u, 0x00000066u, 0x00000009u, 0x00040015u, 0x00000067u, 0x00000020u, 0x00000001u,
- 0x0004002bu, 0x00000067u, 0x00000068u, 0x00000001u, 0x00040020u, 0x00000069u, 0x00000009u, 0x0000000du,
- 0x0005002cu, 0x0000000du, 0x0000006cu, 0x00000063u, 0x00000063u, 0x00040020u, 0x00000071u, 0x00000001u,
- 0x0000000du, 0x0004003bu, 0x00000071u, 0x00000072u, 0x00000001u, 0x0004002bu, 0x00000006u, 0x00000075u,
- 0x3f000000u, 0x00040020u, 0x0000007bu, 0x00000007u, 0x0000002fu, 0x0004002bu, 0x00000006u, 0x000000deu,
- 0x3d3851ecu, 0x0004002bu, 0x00000006u, 0x000000e0u, 0x3da3d70au, 0x00020014u, 0x000000f1u, 0x00040020u,
- 0x000000f5u, 0x00000003u, 0x0000002fu, 0x0004003bu, 0x000000f5u, 0x000000f6u, 0x00000003u, 0x00040020u,
- 0x000000f9u, 0x00000007u, 0x000000f1u, 0x0004002bu, 0x00000006u, 0x00000113u, 0xbf800000u, 0x00040020u,
- 0x0000011fu, 0x00000007u, 0x00000067u, 0x0004002bu, 0x00000067u, 0x00000127u, 0x00000006u, 0x0004002bu,
- 0x00000006u, 0x00000161u, 0x3f266666u, 0x0004002bu, 0x00000006u, 0x00000182u, 0x40200000u, 0x0004002bu,
- 0x00000006u, 0x000001cau, 0x3d6147aeu, 0x0004002bu, 0x00000006u, 0x000001f8u, 0x3ec28f5cu, 0x0004002bu,
- 0x00000006u, 0x000001fcu, 0x40800000u, 0x0004002bu, 0x00000006u, 0x0000020bu, 0x3eb33333u, 0x0004002bu,
- 0x00000006u, 0x0000020eu, 0x40400000u, 0x0004002bu, 0x00000006u, 0x0000022au, 0x3e23d70au, 0x0004002bu,
- 0x00000006u, 0x00000239u, 0x3ed70a3du, 0x0004002bu, 0x00000028u, 0x0000024au, 0x00000003u, 0x00050036u,
- 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, 0x000200f8u, 0x00000005u, 0x0004003bu, 0x0000000eu,
- 0x00000062u, 0x00000007u, 0x0004003bu, 0x0000000eu, 0x00000070u, 0x00000007u, 0x0004003bu, 0x0000007bu,
- 0x0000007cu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000080u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x00000081u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000085u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x0000008du, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000090u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x00000098u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x0000009bu, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x000000a3u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000000a6u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x000000aeu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000000b1u, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000000b6u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000000bbu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000000c0u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000000c5u, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000000cfu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000000d9u, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000000ddu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000000e3u, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000000e7u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000000ebu, 0x00000007u, 0x0004003bu, 0x000000f9u,
- 0x000000fau, 0x00000007u, 0x0004003bu, 0x0000000eu, 0x000000feu, 0x00000007u, 0x0004003bu, 0x0000000eu,
- 0x00000100u, 0x00000007u, 0x0004003bu, 0x0000000eu, 0x0000010bu, 0x00000007u, 0x0004003bu, 0x0000000eu,
- 0x0000010du, 0x00000007u, 0x0004003bu, 0x00000020u, 0x0000011du, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x0000011eu, 0x00000007u, 0x0004003bu, 0x0000011fu, 0x00000120u, 0x00000007u, 0x0004003bu, 0x0000000eu,
- 0x00000129u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x0000012eu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x00000130u, 0x00000007u, 0x0004003bu, 0x0000000eu, 0x00000136u, 0x00000007u, 0x0004003bu, 0x0000000eu,
- 0x00000137u, 0x00000007u, 0x0004003bu, 0x0000000eu, 0x0000013eu, 0x00000007u, 0x0004003bu, 0x0000000eu,
- 0x0000013fu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000143u, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x00000145u, 0x00000007u, 0x0004003bu, 0x0000000eu, 0x0000014bu, 0x00000007u, 0x0004003bu, 0x0000000eu,
- 0x0000014cu, 0x00000007u, 0x0004003bu, 0x0000000eu, 0x00000153u, 0x00000007u, 0x0004003bu, 0x0000000eu,
- 0x00000154u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x0000017bu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x0000017fu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000186u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x00000192u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000195u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x000001a0u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000001a3u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x000001aeu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000001b1u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x000001bbu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000001beu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000001c7u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000001ceu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000001d0u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000001ddu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000001dfu, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000001ecu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x000001f1u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x000001f7u, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x00000200u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x0000020au, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x00000214u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x0000021cu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x00000220u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000226u, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x00000229u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000235u, 0x00000007u, 0x0004003bu, 0x00000008u,
- 0x0000023bu, 0x00000007u, 0x00050041u, 0x00000069u, 0x0000006au, 0x00000066u, 0x00000068u, 0x0004003du,
- 0x0000000du, 0x0000006bu, 0x0000006au, 0x0007000cu, 0x0000000du, 0x0000006du, 0x00000001u, 0x00000028u,
- 0x0000006bu, 0x0000006cu, 0x00050050u, 0x0000000du, 0x0000006eu, 0x00000063u, 0x00000063u, 0x00050088u,
- 0x0000000du, 0x0000006fu, 0x0000006eu, 0x0000006du, 0x0003003eu, 0x00000062u, 0x0000006fu, 0x0004003du,
- 0x0000000du, 0x00000073u, 0x00000072u, 0x0004003du, 0x0000000du, 0x00000074u, 0x00000062u, 0x0005008eu,
- 0x0000000du, 0x00000076u, 0x00000074u, 0x00000075u, 0x0004003du, 0x0000000du, 0x00000077u, 0x00000062u,
- 0x0005008eu, 0x0000000du, 0x00000078u, 0x00000077u, 0x00000075u, 0x00050083u, 0x0000000du, 0x00000079u,
- 0x0000006cu, 0x00000078u, 0x0008000cu, 0x0000000du, 0x0000007au, 0x00000001u, 0x0000002bu, 0x00000073u,
- 0x00000076u, 0x00000079u, 0x0003003eu, 0x00000070u, 0x0000007au, 0x0004003du, 0x00000023u, 0x0000007du,
- 0x00000025u, 0x0004003du, 0x0000000du, 0x0000007eu, 0x00000070u, 0x00050057u, 0x0000002fu, 0x0000007fu,
- 0x0000007du, 0x0000007eu, 0x0003003eu, 0x0000007cu, 0x0000007fu, 0x0004003du, 0x0000002fu, 0x00000082u,
- 0x0000007cu, 0x0008004fu, 0x00000007u, 0x00000083u, 0x00000082u, 0x00000082u, 0x00000000u, 0x00000001u,
- 0x00000002u, 0x0003003eu, 0x00000081u, 0x00000083u, 0x00050039u, 0x00000006u, 0x00000084u, 0x0000000bu,
- 0x00000081u, 0x0003003eu, 0x00000080u, 0x00000084u, 0x0004003du, 0x00000023u, 0x00000086u, 0x00000025u,
- 0x0004003du, 0x0000000du, 0x00000087u, 0x00000070u, 0x00050041u, 0x00000020u, 0x00000088u, 0x00000062u,
- 0x00000029u, 0x0004003du, 0x00000006u, 0x00000089u, 0x00000088u, 0x00050050u, 0x0000000du, 0x0000008au,
- 0x00000089u, 0x0000002cu, 0x00050083u, 0x0000000du, 0x0000008bu, 0x00000087u, 0x0000008au, 0x00050057u,
- 0x0000002fu, 0x0000008cu, 0x00000086u, 0x0000008bu, 0x0008004fu, 0x00000007u, 0x0000008eu, 0x0000008cu,
- 0x0000008cu, 0x00000000u, 0x00000001u, 0x00000002u, 0x0003003eu, 0x0000008du, 0x0000008eu, 0x00050039u,
- 0x00000006u, 0x0000008fu, 0x0000000bu, 0x0000008du, 0x0003003eu, 0x00000085u, 0x0000008fu, 0x0004003du,
- 0x00000023u, 0x00000091u, 0x00000025u, 0x0004003du, 0x0000000du, 0x00000092u, 0x00000070u, 0x00050041u,
- 0x00000020u, 0x00000093u, 0x00000062u, 0x00000029u, 0x0004003du, 0x00000006u, 0x00000094u, 0x00000093u,
- 0x00050050u, 0x0000000du, 0x00000095u, 0x00000094u, 0x0000002cu, 0x00050081u, 0x0000000du, 0x00000096u,
- 0x00000092u, 0x00000095u, 0x00050057u, 0x0000002fu, 0x00000097u, 0x00000091u, 0x00000096u, 0x0008004fu,
- 0x00000007u, 0x00000099u, 0x00000097u, 0x00000097u, 0x00000000u, 0x00000001u, 0x00000002u, 0x0003003eu,
- 0x00000098u, 0x00000099u, 0x00050039u, 0x00000006u, 0x0000009au, 0x0000000bu, 0x00000098u, 0x0003003eu,
- 0x00000090u, 0x0000009au, 0x0004003du, 0x00000023u, 0x0000009cu, 0x00000025u, 0x0004003du, 0x0000000du,
- 0x0000009du, 0x00000070u, 0x00050041u, 0x00000020u, 0x0000009eu, 0x00000062u, 0x00000048u, 0x0004003du,
- 0x00000006u, 0x0000009fu, 0x0000009eu, 0x00050050u, 0x0000000du, 0x000000a0u, 0x0000002cu, 0x0000009fu,
- 0x00050083u, 0x0000000du, 0x000000a1u, 0x0000009du, 0x000000a0u, 0x00050057u, 0x0000002fu, 0x000000a2u,
- 0x0000009cu, 0x000000a1u, 0x0008004fu, 0x00000007u, 0x000000a4u, 0x000000a2u, 0x000000a2u, 0x00000000u,
- 0x00000001u, 0x00000002u, 0x0003003eu, 0x000000a3u, 0x000000a4u, 0x00050039u, 0x00000006u, 0x000000a5u,
- 0x0000000bu, 0x000000a3u, 0x0003003eu, 0x0000009bu, 0x000000a5u, 0x0004003du, 0x00000023u, 0x000000a7u,
- 0x00000025u, 0x0004003du, 0x0000000du, 0x000000a8u, 0x00000070u, 0x00050041u, 0x00000020u, 0x000000a9u,
- 0x00000062u, 0x00000048u, 0x0004003du, 0x00000006u, 0x000000aau, 0x000000a9u, 0x00050050u, 0x0000000du,
- 0x000000abu, 0x0000002cu, 0x000000aau, 0x00050081u, 0x0000000du, 0x000000acu, 0x000000a8u, 0x000000abu,
- 0x00050057u, 0x0000002fu, 0x000000adu, 0x000000a7u, 0x000000acu, 0x0008004fu, 0x00000007u, 0x000000afu,
- 0x000000adu, 0x000000adu, 0x00000000u, 0x00000001u, 0x00000002u, 0x0003003eu, 0x000000aeu, 0x000000afu,
- 0x00050039u, 0x00000006u, 0x000000b0u, 0x0000000bu, 0x000000aeu, 0x0003003eu, 0x000000a6u, 0x000000b0u,
- 0x0004003du, 0x00000006u, 0x000000b2u, 0x00000080u, 0x0004003du, 0x00000006u, 0x000000b3u, 0x00000085u,
- 0x00050083u, 0x00000006u, 0x000000b4u, 0x000000b2u, 0x000000b3u, 0x0006000cu, 0x00000006u, 0x000000b5u,
- 0x00000001u, 0x00000004u, 0x000000b4u, 0x0003003eu, 0x000000b1u, 0x000000b5u, 0x0004003du, 0x00000006u,
- 0x000000b7u, 0x00000080u, 0x0004003du, 0x00000006u, 0x000000b8u, 0x00000090u, 0x00050083u, 0x00000006u,
- 0x000000b9u, 0x000000b7u, 0x000000b8u, 0x0006000cu, 0x00000006u, 0x000000bau, 0x00000001u, 0x00000004u,
- 0x000000b9u, 0x0003003eu, 0x000000b6u, 0x000000bau, 0x0004003du, 0x00000006u, 0x000000bcu, 0x00000080u,
- 0x0004003du, 0x00000006u, 0x000000bdu, 0x0000009bu, 0x00050083u, 0x00000006u, 0x000000beu, 0x000000bcu,
- 0x000000bdu, 0x0006000cu, 0x00000006u, 0x000000bfu, 0x00000001u, 0x00000004u, 0x000000beu, 0x0003003eu,
- 0x000000bbu, 0x000000bfu, 0x0004003du, 0x00000006u, 0x000000c1u, 0x00000080u, 0x0004003du, 0x00000006u,
- 0x000000c2u, 0x000000a6u, 0x00050083u, 0x00000006u, 0x000000c3u, 0x000000c1u, 0x000000c2u, 0x0006000cu,
- 0x00000006u, 0x000000c4u, 0x00000001u, 0x00000004u, 0x000000c3u, 0x0003003eu, 0x000000c0u, 0x000000c4u,
- 0x0004003du, 0x00000006u, 0x000000c6u, 0x00000080u, 0x0004003du, 0x00000006u, 0x000000c7u, 0x00000085u,
- 0x0004003du, 0x00000006u, 0x000000c8u, 0x00000090u, 0x0007000cu, 0x00000006u, 0x000000c9u, 0x00000001u,
- 0x00000025u, 0x000000c7u, 0x000000c8u, 0x0004003du, 0x00000006u, 0x000000cau, 0x0000009bu, 0x0004003du,
- 0x00000006u, 0x000000cbu, 0x000000a6u, 0x0007000cu, 0x00000006u, 0x000000ccu, 0x00000001u, 0x00000025u,
- 0x000000cau, 0x000000cbu, 0x0007000cu, 0x00000006u, 0x000000cdu, 0x00000001u, 0x00000025u, 0x000000c9u,
- 0x000000ccu, 0x0007000cu, 0x00000006u, 0x000000ceu, 0x00000001u, 0x00000025u, 0x000000c6u, 0x000000cdu,
- 0x0003003eu, 0x000000c5u, 0x000000ceu, 0x0004003du, 0x00000006u, 0x000000d0u, 0x00000080u, 0x0004003du,
- 0x00000006u, 0x000000d1u, 0x00000085u, 0x0004003du, 0x00000006u, 0x000000d2u, 0x00000090u, 0x0007000cu,
- 0x00000006u, 0x000000d3u, 0x00000001u, 0x00000028u, 0x000000d1u, 0x000000d2u, 0x0004003du, 0x00000006u,
- 0x000000d4u, 0x0000009bu, 0x0004003du, 0x00000006u, 0x000000d5u, 0x000000a6u, 0x0007000cu, 0x00000006u,
- 0x000000d6u, 0x00000001u, 0x00000028u, 0x000000d4u, 0x000000d5u, 0x0007000cu, 0x00000006u, 0x000000d7u,
- 0x00000001u, 0x00000028u, 0x000000d3u, 0x000000d6u, 0x0007000cu, 0x00000006u, 0x000000d8u, 0x00000001u,
- 0x00000028u, 0x000000d0u, 0x000000d7u, 0x0003003eu, 0x000000cfu, 0x000000d8u, 0x0004003du, 0x00000006u,
- 0x000000dau, 0x000000cfu, 0x0004003du, 0x00000006u, 0x000000dbu, 0x000000c5u, 0x00050083u, 0x00000006u,
- 0x000000dcu, 0x000000dau, 0x000000dbu, 0x0003003eu, 0x000000d9u, 0x000000dcu, 0x0004003du, 0x00000006u,
- 0x000000dfu, 0x000000d9u, 0x00050085u, 0x00000006u, 0x000000e1u, 0x000000dfu, 0x000000e0u, 0x0007000cu,
- 0x00000006u, 0x000000e2u, 0x00000001u, 0x00000028u, 0x000000deu, 0x000000e1u, 0x0003003eu, 0x000000ddu,
- 0x000000e2u, 0x0004003du, 0x00000006u, 0x000000e4u, 0x000000b1u, 0x0004003du, 0x00000006u, 0x000000e5u,
- 0x000000b6u, 0x0007000cu, 0x00000006u, 0x000000e6u, 0x00000001u, 0x00000028u, 0x000000e4u, 0x000000e5u,
- 0x0003003eu, 0x000000e3u, 0x000000e6u, 0x0004003du, 0x00000006u, 0x000000e8u, 0x000000bbu, 0x0004003du,
- 0x00000006u, 0x000000e9u, 0x000000c0u, 0x0007000cu, 0x00000006u, 0x000000eau, 0x00000001u, 0x00000028u,
- 0x000000e8u, 0x000000e9u, 0x0003003eu, 0x000000e7u, 0x000000eau, 0x0004003du, 0x00000006u, 0x000000ecu,
- 0x000000e3u, 0x0004003du, 0x00000006u, 0x000000edu, 0x000000e7u, 0x0007000cu, 0x00000006u, 0x000000eeu,
- 0x00000001u, 0x00000028u, 0x000000ecu, 0x000000edu, 0x0003003eu, 0x000000ebu, 0x000000eeu, 0x0004003du,
- 0x00000006u, 0x000000efu, 0x000000ebu, 0x0004003du, 0x00000006u, 0x000000f0u, 0x000000ddu, 0x000500bcu,
- 0x000000f1u, 0x000000f2u, 0x000000efu, 0x000000f0u, 0x000300f7u, 0x000000f4u, 0x00000000u, 0x000400fau,
- 0x000000f2u, 0x000000f3u, 0x000000f4u, 0x000200f8u, 0x000000f3u, 0x0004003du, 0x0000002fu, 0x000000f7u,
- 0x0000007cu, 0x0003003eu, 0x000000f6u, 0x000000f7u, 0x000100fdu, 0x000200f8u, 0x000000f4u, 0x0004003du,
- 0x00000006u, 0x000000fbu, 0x000000e3u, 0x0004003du, 0x00000006u, 0x000000fcu, 0x000000e7u, 0x000500beu,
- 0x000000f1u, 0x000000fdu, 0x000000fbu, 0x000000fcu, 0x0003003eu, 0x000000fau, 0x000000fdu, 0x0004003du,
- 0x000000f1u, 0x000000ffu, 0x000000fau, 0x000300f7u, 0x00000102u, 0x00000000u, 0x000400fau, 0x000000ffu,
- 0x00000101u, 0x00000106u, 0x000200f8u, 0x00000101u, 0x00050041u, 0x00000020u, 0x00000103u, 0x00000062u,
- 0x00000048u, 0x0004003du, 0x00000006u, 0x00000104u, 0x00000103u, 0x00050050u, 0x0000000du, 0x00000105u,
- 0x0000002cu, 0x00000104u, 0x0003003eu, 0x00000100u, 0x00000105u, 0x000200f9u, 0x00000102u, 0x000200f8u,
- 0x00000106u, 0x00050041u, 0x00000020u, 0x00000107u, 0x00000062u, 0x00000029u, 0x0004003du, 0x00000006u,
- 0x00000108u, 0x00000107u, 0x00050050u, 0x0000000du, 0x00000109u, 0x00000108u, 0x0000002cu, 0x0003003eu,
- 0x00000100u, 0x00000109u, 0x000200f9u, 0x00000102u, 0x000200f8u, 0x00000102u, 0x0004003du, 0x0000000du,
- 0x0000010au, 0x00000100u, 0x0003003eu, 0x000000feu, 0x0000010au, 0x0004003du, 0x000000f1u, 0x0000010cu,
- 0x000000fau, 0x000300f7u, 0x0000010fu, 0x00000000u, 0x000400fau, 0x0000010cu, 0x0000010eu, 0x00000116u,
- 0x000200f8u, 0x0000010eu, 0x0004003du, 0x00000006u, 0x00000110u, 0x000000b1u, 0x0004003du, 0x00000006u,
- 0x00000111u, 0x000000b6u, 0x000500beu, 0x000000f1u, 0x00000112u, 0x00000110u, 0x00000111u, 0x000600a9u,
- 0x00000006u, 0x00000114u, 0x00000112u, 0x00000113u, 0x00000063u, 0x00050050u, 0x0000000du, 0x00000115u,
- 0x00000114u, 0x0000002cu, 0x0003003eu, 0x0000010du, 0x00000115u, 0x000200f9u, 0x0000010fu, 0x000200f8u,
- 0x00000116u, 0x0004003du, 0x00000006u, 0x00000117u, 0x000000bbu, 0x0004003du, 0x00000006u, 0x00000118u,
- 0x000000c0u, 0x000500beu, 0x000000f1u, 0x00000119u, 0x00000117u, 0x00000118u, 0x000600a9u, 0x00000006u,
- 0x0000011au, 0x00000119u, 0x00000113u, 0x00000063u, 0x00050050u, 0x0000000du, 0x0000011bu, 0x0000002cu,
- 0x0000011au, 0x0003003eu, 0x0000010du, 0x0000011bu, 0x000200f9u, 0x0000010fu, 0x000200f8u, 0x0000010fu,
- 0x0004003du, 0x0000000du, 0x0000011cu, 0x0000010du, 0x0003003eu, 0x0000010bu, 0x0000011cu, 0x0003003eu,
- 0x0000011du, 0x0000002cu, 0x0003003eu, 0x0000011eu, 0x0000002cu, 0x0003003eu, 0x00000120u, 0x00000068u,
- 0x000200f9u, 0x00000121u, 0x000200f8u, 0x00000121u, 0x000400f6u, 0x00000123u, 0x00000124u, 0x00000000u,
- 0x000200f9u, 0x00000125u, 0x000200f8u, 0x00000125u, 0x0004003du, 0x00000067u, 0x00000126u, 0x00000120u,
- 0x000500b3u, 0x000000f1u, 0x00000128u, 0x00000126u, 0x00000127u, 0x000400fau, 0x00000128u, 0x00000122u,
- 0x00000123u, 0x000200f8u, 0x00000122u, 0x0004003du, 0x0000000du, 0x0000012au, 0x000000feu, 0x0004003du,
- 0x00000067u, 0x0000012bu, 0x00000120u, 0x0004006fu, 0x00000006u, 0x0000012cu, 0x0000012bu, 0x0005008eu,
- 0x0000000du, 0x0000012du, 0x0000012au, 0x0000012cu, 0x0003003eu, 0x00000129u, 0x0000012du, 0x0004003du,
- 0x000000f1u, 0x0000012fu, 0x000000fau, 0x000300f7u, 0x00000132u, 0x00000000u, 0x000400fau, 0x0000012fu,
- 0x00000131u, 0x0000013au, 0x000200f8u, 0x00000131u, 0x0004003du, 0x0000000du, 0x00000133u, 0x00000070u,
- 0x0004003du, 0x0000000du, 0x00000134u, 0x00000129u, 0x00050083u, 0x0000000du, 0x00000135u, 0x00000133u,
- 0x00000134u, 0x0003003eu, 0x00000136u, 0x00000135u, 0x0004003du, 0x0000000du, 0x00000138u, 0x00000062u,
- 0x0003003eu, 0x00000137u, 0x00000138u, 0x00060039u, 0x00000006u, 0x00000139u, 0x00000012u, 0x00000136u,
- 0x00000137u, 0x0003003eu, 0x00000130u, 0x00000139u, 0x000200f9u, 0x00000132u, 0x000200f8u, 0x0000013au,
- 0x0004003du, 0x0000000du, 0x0000013bu, 0x00000070u, 0x0004003du, 0x0000000du, 0x0000013cu, 0x00000129u,
- 0x00050083u, 0x0000000du, 0x0000013du, 0x0000013bu, 0x0000013cu, 0x0003003eu, 0x0000013eu, 0x0000013du,
- 0x0004003du, 0x0000000du, 0x00000140u, 0x00000062u, 0x0003003eu, 0x0000013fu, 0x00000140u, 0x00060039u,
- 0x00000006u, 0x00000141u, 0x00000016u, 0x0000013eu, 0x0000013fu, 0x0003003eu, 0x00000130u, 0x00000141u,
- 0x000200f9u, 0x00000132u, 0x000200f8u, 0x00000132u, 0x0004003du, 0x00000006u, 0x00000142u, 0x00000130u,
- 0x0003003eu, 0x0000012eu, 0x00000142u, 0x0004003du, 0x000000f1u, 0x00000144u, 0x000000fau, 0x000300f7u,
- 0x00000147u, 0x00000000u, 0x000400fau, 0x00000144u, 0x00000146u, 0x0000014fu, 0x000200f8u, 0x00000146u,
- 0x0004003du, 0x0000000du, 0x00000148u, 0x00000070u, 0x0004003du, 0x0000000du, 0x00000149u, 0x00000129u,
- 0x00050081u, 0x0000000du, 0x0000014au, 0x00000148u, 0x00000149u, 0x0003003eu, 0x0000014bu, 0x0000014au,
- 0x0004003du, 0x0000000du, 0x0000014du, 0x00000062u, 0x0003003eu, 0x0000014cu, 0x0000014du, 0x00060039u,
- 0x00000006u, 0x0000014eu, 0x00000012u, 0x0000014bu, 0x0000014cu, 0x0003003eu, 0x00000145u, 0x0000014eu,
- 0x000200f9u, 0x00000147u, 0x000200f8u, 0x0000014fu, 0x0004003du, 0x0000000du, 0x00000150u, 0x00000070u,
- 0x0004003du, 0x0000000du, 0x00000151u, 0x00000129u, 0x00050081u, 0x0000000du, 0x00000152u, 0x00000150u,
- 0x00000151u, 0x0003003eu, 0x00000153u, 0x00000152u, 0x0004003du, 0x0000000du, 0x00000155u, 0x00000062u,
- 0x0003003eu, 0x00000154u, 0x00000155u, 0x00060039u, 0x00000006u, 0x00000156u, 0x00000016u, 0x00000153u,
- 0x00000154u, 0x0003003eu, 0x00000145u, 0x00000156u, 0x000200f9u, 0x00000147u, 0x000200f8u, 0x00000147u,
- 0x0004003du, 0x00000006u, 0x00000157u, 0x00000145u, 0x0003003eu, 0x00000143u, 0x00000157u, 0x0004003du,
- 0x00000006u, 0x00000158u, 0x0000011du, 0x0004003du, 0x00000067u, 0x00000159u, 0x00000120u, 0x00050082u,
- 0x00000067u, 0x0000015au, 0x00000159u, 0x00000068u, 0x0004006fu, 0x00000006u, 0x0000015bu, 0x0000015au,
- 0x000500b4u, 0x000000f1u, 0x0000015cu, 0x00000158u, 0x0000015bu, 0x000300f7u, 0x0000015eu, 0x00000000u,
- 0x000400fau, 0x0000015cu, 0x0000015du, 0x0000015eu, 0x000200f8u, 0x0000015du, 0x0004003du, 0x00000006u,
- 0x0000015fu, 0x0000012eu, 0x0004003du, 0x00000006u, 0x00000160u, 0x000000ddu, 0x00050085u, 0x00000006u,
- 0x00000162u, 0x00000160u, 0x00000161u, 0x000500bau, 0x000000f1u, 0x00000163u, 0x0000015fu, 0x00000162u,
- 0x000200f9u, 0x0000015eu, 0x000200f8u, 0x0000015eu, 0x000700f5u, 0x000000f1u, 0x00000164u, 0x0000015cu,
- 0x00000147u, 0x00000163u, 0x0000015du, 0x000300f7u, 0x00000166u, 0x00000000u, 0x000400fau, 0x00000164u,
- 0x00000165u, 0x00000166u, 0x000200f8u, 0x00000165u, 0x0004003du, 0x00000067u, 0x00000167u, 0x00000120u,
- 0x0004006fu, 0x00000006u, 0x00000168u, 0x00000167u, 0x0003003eu, 0x0000011du, 0x00000168u, 0x000200f9u,
- 0x00000166u, 0x000200f8u, 0x00000166u, 0x0004003du, 0x00000006u, 0x00000169u, 0x0000011eu, 0x0004003du,
- 0x00000067u, 0x0000016au, 0x00000120u, 0x00050082u, 0x00000067u, 0x0000016bu, 0x0000016au, 0x00000068u,
- 0x0004006fu, 0x00000006u, 0x0000016cu, 0x0000016bu, 0x000500b4u, 0x000000f1u, 0x0000016du, 0x00000169u,
- 0x0000016cu, 0x000300f7u, 0x0000016fu, 0x00000000u, 0x000400fau, 0x0000016du, 0x0000016eu, 0x0000016fu,
- 0x000200f8u, 0x0000016eu, 0x0004003du, 0x00000006u, 0x00000170u, 0x00000143u, 0x0004003du, 0x00000006u,
- 0x00000171u, 0x000000ddu, 0x00050085u, 0x00000006u, 0x00000172u, 0x00000171u, 0x00000161u, 0x000500bau,
- 0x000000f1u, 0x00000173u, 0x00000170u, 0x00000172u, 0x000200f9u, 0x0000016fu, 0x000200f8u, 0x0000016fu,
- 0x000700f5u, 0x000000f1u, 0x00000174u, 0x0000016du, 0x00000166u, 0x00000173u, 0x0000016eu, 0x000300f7u,
- 0x00000176u, 0x00000000u, 0x000400fau, 0x00000174u, 0x00000175u, 0x00000176u, 0x000200f8u, 0x00000175u,
- 0x0004003du, 0x00000067u, 0x00000177u, 0x00000120u, 0x0004006fu, 0x00000006u, 0x00000178u, 0x00000177u,
- 0x0003003eu, 0x0000011eu, 0x00000178u, 0x000200f9u, 0x00000176u, 0x000200f8u, 0x00000176u, 0x000200f9u,
- 0x00000124u, 0x000200f8u, 0x00000124u, 0x0004003du, 0x00000067u, 0x00000179u, 0x00000120u, 0x00050080u,
- 0x00000067u, 0x0000017au, 0x00000179u, 0x00000068u, 0x0003003eu, 0x00000120u, 0x0000017au, 0x000200f9u,
- 0x00000121u, 0x000200f8u, 0x00000123u, 0x0004003du, 0x00000006u, 0x0000017cu, 0x0000011du, 0x0004003du,
- 0x00000006u, 0x0000017du, 0x0000011eu, 0x00050081u, 0x00000006u, 0x0000017eu, 0x0000017cu, 0x0000017du,
- 0x0003003eu, 0x0000017bu, 0x0000017eu, 0x0004003du, 0x00000006u, 0x00000180u, 0x000000ddu, 0x0004003du,
- 0x00000006u, 0x00000181u, 0x000000ddu, 0x00050085u, 0x00000006u, 0x00000183u, 0x00000181u, 0x00000182u,
- 0x0004003du, 0x00000006u, 0x00000184u, 0x000000ebu, 0x0008000cu, 0x00000006u, 0x00000185u, 0x00000001u,
- 0x00000031u, 0x00000180u, 0x00000183u, 0x00000184u, 0x0003003eu, 0x0000017fu, 0x00000185u, 0x0004003du,
- 0x00000023u, 0x00000187u, 0x00000025u, 0x0004003du, 0x0000000du, 0x00000188u, 0x00000070u, 0x00050041u,
- 0x00000020u, 0x00000189u, 0x00000062u, 0x00000029u, 0x0004003du, 0x00000006u, 0x0000018au, 0x00000189u,
- 0x0004007fu, 0x00000006u, 0x0000018bu, 0x0000018au, 0x00050041u, 0x00000020u, 0x0000018cu, 0x00000062u,
- 0x00000048u, 0x0004003du, 0x00000006u, 0x0000018du, 0x0000018cu, 0x0004007fu, 0x00000006u, 0x0000018eu,
- 0x0000018du, 0x00050050u, 0x0000000du, 0x0000018fu, 0x0000018bu, 0x0000018eu, 0x00050081u, 0x0000000du,
- 0x00000190u, 0x00000188u, 0x0000018fu, 0x00050057u, 0x0000002fu, 0x00000191u, 0x00000187u, 0x00000190u,
- 0x0008004fu, 0x00000007u, 0x00000193u, 0x00000191u, 0x00000191u, 0x00000000u, 0x00000001u, 0x00000002u,
- 0x0003003eu, 0x00000192u, 0x00000193u, 0x00050039u, 0x00000006u, 0x00000194u, 0x0000000bu, 0x00000192u,
- 0x0003003eu, 0x00000186u, 0x00000194u, 0x0004003du, 0x00000023u, 0x00000196u, 0x00000025u, 0x0004003du,
- 0x0000000du, 0x00000197u, 0x00000070u, 0x00050041u, 0x00000020u, 0x00000198u, 0x00000062u, 0x00000029u,
- 0x0004003du, 0x00000006u, 0x00000199u, 0x00000198u, 0x00050041u, 0x00000020u, 0x0000019au, 0x00000062u,
- 0x00000048u, 0x0004003du, 0x00000006u, 0x0000019bu, 0x0000019au, 0x0004007fu, 0x00000006u, 0x0000019cu,
- 0x0000019bu, 0x00050050u, 0x0000000du, 0x0000019du, 0x00000199u, 0x0000019cu, 0x00050081u, 0x0000000du,
- 0x0000019eu, 0x00000197u, 0x0000019du, 0x00050057u, 0x0000002fu, 0x0000019fu, 0x00000196u, 0x0000019eu,
- 0x0008004fu, 0x00000007u, 0x000001a1u, 0x0000019fu, 0x0000019fu, 0x00000000u, 0x00000001u, 0x00000002u,
- 0x0003003eu, 0x000001a0u, 0x000001a1u, 0x00050039u, 0x00000006u, 0x000001a2u, 0x0000000bu, 0x000001a0u,
- 0x0003003eu, 0x00000195u, 0x000001a2u, 0x0004003du, 0x00000023u, 0x000001a4u, 0x00000025u, 0x0004003du,
- 0x0000000du, 0x000001a5u, 0x00000070u, 0x00050041u, 0x00000020u, 0x000001a6u, 0x00000062u, 0x00000029u,
- 0x0004003du, 0x00000006u, 0x000001a7u, 0x000001a6u, 0x0004007fu, 0x00000006u, 0x000001a8u, 0x000001a7u,
- 0x00050041u, 0x00000020u, 0x000001a9u, 0x00000062u, 0x00000048u, 0x0004003du, 0x00000006u, 0x000001aau,
- 0x000001a9u, 0x00050050u, 0x0000000du, 0x000001abu, 0x000001a8u, 0x000001aau, 0x00050081u, 0x0000000du,
- 0x000001acu, 0x000001a5u, 0x000001abu, 0x00050057u, 0x0000002fu, 0x000001adu, 0x000001a4u, 0x000001acu,
- 0x0008004fu, 0x00000007u, 0x000001afu, 0x000001adu, 0x000001adu, 0x00000000u, 0x00000001u, 0x00000002u,
- 0x0003003eu, 0x000001aeu, 0x000001afu, 0x00050039u, 0x00000006u, 0x000001b0u, 0x0000000bu, 0x000001aeu,
- 0x0003003eu, 0x000001a3u, 0x000001b0u, 0x0004003du, 0x00000023u, 0x000001b2u, 0x00000025u, 0x0004003du,
- 0x0000000du, 0x000001b3u, 0x00000070u, 0x00050041u, 0x00000020u, 0x000001b4u, 0x00000062u, 0x00000029u,
- 0x0004003du, 0x00000006u, 0x000001b5u, 0x000001b4u, 0x00050041u, 0x00000020u, 0x000001b6u, 0x00000062u,
- 0x00000048u, 0x0004003du, 0x00000006u, 0x000001b7u, 0x000001b6u, 0x00050050u, 0x0000000du, 0x000001b8u,
- 0x000001b5u, 0x000001b7u, 0x00050081u, 0x0000000du, 0x000001b9u, 0x000001b3u, 0x000001b8u, 0x00050057u,
- 0x0000002fu, 0x000001bau, 0x000001b2u, 0x000001b9u, 0x0008004fu, 0x00000007u, 0x000001bcu, 0x000001bau,
- 0x000001bau, 0x00000000u, 0x00000001u, 0x00000002u, 0x0003003eu, 0x000001bbu, 0x000001bcu, 0x00050039u,
- 0x00000006u, 0x000001bdu, 0x0000000bu, 0x000001bbu, 0x0003003eu, 0x000001b1u, 0x000001bdu, 0x0004003du,
- 0x00000006u, 0x000001bfu, 0x0000011du, 0x0004003du, 0x00000006u, 0x000001c0u, 0x0000011eu, 0x00050083u,
- 0x00000006u, 0x000001c1u, 0x000001bfu, 0x000001c0u, 0x0006000cu, 0x00000006u, 0x000001c2u, 0x00000001u,
- 0x00000004u, 0x000001c1u, 0x0004003du, 0x00000006u, 0x000001c3u, 0x0000017bu, 0x0007000cu, 0x00000006u,
- 0x000001c4u, 0x00000001u, 0x00000028u, 0x000001c3u, 0x00000063u, 0x00050088u, 0x00000006u, 0x000001c5u,
- 0x000001c2u, 0x000001c4u, 0x0008000cu, 0x00000006u, 0x000001c6u, 0x00000001u, 0x0000002bu, 0x000001c5u,
- 0x0000002cu, 0x00000063u, 0x0003003eu, 0x000001beu, 0x000001c6u, 0x0004003du, 0x00000006u, 0x000001c8u,
- 0x000001beu, 0x0004003du, 0x00000006u, 0x000001c9u, 0x0000017bu, 0x00050085u, 0x00000006u, 0x000001cbu,
- 0x000001c9u, 0x000001cau, 0x00050081u, 0x00000006u, 0x000001ccu, 0x00000063u, 0x000001cbu, 0x00050088u,
- 0x00000006u, 0x000001cdu, 0x000001c8u, 0x000001ccu, 0x0003003eu, 0x000001c7u, 0x000001cdu, 0x0004003du,
- 0x000000f1u, 0x000001cfu, 0x000000fau, 0x000300f7u, 0x000001d2u, 0x00000000u, 0x000400fau, 0x000001cfu,
- 0x000001d1u, 0x000001d7u, 0x000200f8u, 0x000001d1u, 0x0004003du, 0x00000006u, 0x000001d3u, 0x00000186u,
- 0x0004003du, 0x00000006u, 0x000001d4u, 0x00000195u, 0x00050083u, 0x00000006u, 0x000001d5u, 0x000001d3u,
- 0x000001d4u, 0x0006000cu, 0x00000006u, 0x000001d6u, 0x00000001u, 0x00000004u, 0x000001d5u, 0x0003003eu,
- 0x000001d0u, 0x000001d6u, 0x000200f9u, 0x000001d2u, 0x000200f8u, 0x000001d7u, 0x0004003du, 0x00000006u,
- 0x000001d8u, 0x00000186u, 0x0004003du, 0x00000006u, 0x000001d9u, 0x000001a3u, 0x00050083u, 0x00000006u,
- 0x000001dau, 0x000001d8u, 0x000001d9u, 0x0006000cu, 0x00000006u, 0x000001dbu, 0x00000001u, 0x00000004u,
- 0x000001dau, 0x0003003eu, 0x000001d0u, 0x000001dbu, 0x000200f9u, 0x000001d2u, 0x000200f8u, 0x000001d2u,
- 0x0004003du, 0x00000006u, 0x000001dcu, 0x000001d0u, 0x0003003eu, 0x000001ceu, 0x000001dcu, 0x0004003du,
- 0x000000f1u, 0x000001deu, 0x000000fau, 0x000300f7u, 0x000001e1u, 0x00000000u, 0x000400fau, 0x000001deu,
- 0x000001e0u, 0x000001e6u, 0x000200f8u, 0x000001e0u, 0x0004003du, 0x00000006u, 0x000001e2u, 0x000001a3u,
- 0x0004003du, 0x00000006u, 0x000001e3u, 0x000001b1u, 0x00050083u, 0x00000006u, 0x000001e4u, 0x000001e2u,
- 0x000001e3u, 0x0006000cu, 0x00000006u, 0x000001e5u, 0x00000001u, 0x00000004u, 0x000001e4u, 0x0003003eu,
- 0x000001dfu, 0x000001e5u, 0x000200f9u, 0x000001e1u, 0x000200f8u, 0x000001e6u, 0x0004003du, 0x00000006u,
- 0x000001e7u, 0x00000195u, 0x0004003du, 0x00000006u, 0x000001e8u, 0x000001b1u, 0x00050083u, 0x00000006u,
- 0x000001e9u, 0x000001e7u, 0x000001e8u, 0x0006000cu, 0x00000006u, 0x000001eau, 0x00000001u, 0x00000004u,
- 0x000001e9u, 0x0003003eu, 0x000001dfu, 0x000001eau, 0x000200f9u, 0x000001e1u, 0x000200f8u, 0x000001e1u,
- 0x0004003du, 0x00000006u, 0x000001ebu, 0x000001dfu, 0x0003003eu, 0x000001ddu, 0x000001ebu, 0x0004003du,
- 0x00000006u, 0x000001edu, 0x000001ceu, 0x0004003du, 0x00000006u, 0x000001eeu, 0x000001ddu, 0x00050083u,
- 0x00000006u, 0x000001efu, 0x000001edu, 0x000001eeu, 0x0006000cu, 0x00000006u, 0x000001f0u, 0x00000001u,
- 0x00000004u, 0x000001efu, 0x0003003eu, 0x000001ecu, 0x000001f0u, 0x0004003du, 0x00000006u, 0x000001f2u,
- 0x000000ddu, 0x0004003du, 0x00000006u, 0x000001f3u, 0x000000ddu, 0x00050085u, 0x00000006u, 0x000001f4u,
- 0x000001f3u, 0x00000182u, 0x0004003du, 0x00000006u, 0x000001f5u, 0x000001ecu, 0x0008000cu, 0x00000006u,
- 0x000001f6u, 0x00000001u, 0x00000031u, 0x000001f2u, 0x000001f4u, 0x000001f5u, 0x0003003eu, 0x000001f1u,
- 0x000001f6u, 0x0004003du, 0x00000006u, 0x000001f9u, 0x000001f1u, 0x00050085u, 0x00000006u, 0x000001fau,
- 0x000001f8u, 0x000001f9u, 0x0004003du, 0x00000006u, 0x000001fbu, 0x0000017bu, 0x00050088u, 0x00000006u,
- 0x000001fdu, 0x000001fbu, 0x000001fcu, 0x0008000cu, 0x00000006u, 0x000001feu, 0x00000001u, 0x0000002bu,
- 0x000001fdu, 0x0000002cu, 0x00000063u, 0x00050085u, 0x00000006u, 0x000001ffu, 0x000001fau, 0x000001feu,
- 0x0003003eu, 0x000001f7u, 0x000001ffu, 0x0004003du, 0x00000006u, 0x00000201u, 0x00000186u, 0x0004003du,
- 0x00000006u, 0x00000202u, 0x000001b1u, 0x00050083u, 0x00000006u, 0x00000203u, 0x00000201u, 0x00000202u,
- 0x0006000cu, 0x00000006u, 0x00000204u, 0x00000001u, 0x00000004u, 0x00000203u, 0x0004003du, 0x00000006u,
- 0x00000205u, 0x00000195u, 0x0004003du, 0x00000006u, 0x00000206u, 0x000001a3u, 0x00050083u, 0x00000006u,
- 0x00000207u, 0x00000205u, 0x00000206u, 0x0006000cu, 0x00000006u, 0x00000208u, 0x00000001u, 0x00000004u,
- 0x00000207u, 0x0007000cu, 0x00000006u, 0x00000209u, 0x00000001u, 0x00000028u, 0x00000204u, 0x00000208u,
- 0x0003003eu, 0x00000200u, 0x00000209u, 0x0004003du, 0x00000006u, 0x0000020cu, 0x000000ddu, 0x0004003du,
- 0x00000006u, 0x0000020du, 0x000000ddu, 0x00050085u, 0x00000006u, 0x0000020fu, 0x0000020du, 0x0000020eu,
- 0x0004003du, 0x00000006u, 0x00000210u, 0x00000200u, 0x0008000cu, 0x00000006u, 0x00000211u, 0x00000001u,
- 0x00000031u, 0x0000020cu, 0x0000020fu, 0x00000210u, 0x00050085u, 0x00000006u, 0x00000212u, 0x0000020bu,
- 0x00000211u, 0x00050083u, 0x00000006u, 0x00000213u, 0x00000063u, 0x00000212u, 0x0003003eu, 0x0000020au,
- 0x00000213u, 0x0004003du, 0x00000006u, 0x00000215u, 0x000001f7u, 0x0004003du, 0x00000006u, 0x00000216u,
- 0x000001c7u, 0x00050085u, 0x00000006u, 0x00000217u, 0x00000215u, 0x00000216u, 0x0004003du, 0x00000006u,
- 0x00000218u, 0x0000017fu, 0x00050085u, 0x00000006u, 0x00000219u, 0x00000217u, 0x00000218u, 0x0004003du,
- 0x00000006u, 0x0000021au, 0x0000020au, 0x00050085u, 0x00000006u, 0x0000021bu, 0x00000219u, 0x0000021au,
- 0x0003003eu, 0x00000214u, 0x0000021bu, 0x0004003du, 0x00000006u, 0x0000021du, 0x000000e3u, 0x0004003du,
- 0x00000006u, 0x0000021eu, 0x000000e7u, 0x0007000cu, 0x00000006u, 0x0000021fu, 0x00000001u, 0x00000025u,
- 0x0000021du, 0x0000021eu, 0x0003003eu, 0x0000021cu, 0x0000021fu, 0x0004003du, 0x00000006u, 0x00000221u,
- 0x000000ddu, 0x0004003du, 0x00000006u, 0x00000222u, 0x000000ddu, 0x00050085u, 0x00000006u, 0x00000223u,
- 0x00000222u, 0x00000182u, 0x0004003du, 0x00000006u, 0x00000224u, 0x0000021cu, 0x0008000cu, 0x00000006u,
- 0x00000225u, 0x00000001u, 0x00000031u, 0x00000221u, 0x00000223u, 0x00000224u, 0x0003003eu, 0x00000220u,
- 0x00000225u, 0x0004003du, 0x00000006u, 0x00000227u, 0x0000017bu, 0x0008000cu, 0x00000006u, 0x00000228u,
- 0x00000001u, 0x00000031u, 0x00000063u, 0x0000020eu, 0x00000227u, 0x0003003eu, 0x00000226u, 0x00000228u,
- 0x0004003du, 0x00000006u, 0x0000022bu, 0x00000220u, 0x00050085u, 0x00000006u, 0x0000022cu, 0x0000022au,
- 0x0000022bu, 0x0004003du, 0x00000006u, 0x0000022du, 0x0000017fu, 0x00050085u, 0x00000006u, 0x0000022eu,
- 0x0000022cu, 0x0000022du, 0x0004003du, 0x00000006u, 0x0000022fu, 0x0000020au, 0x00050085u, 0x00000006u,
- 0x00000230u, 0x0000022eu, 0x0000022fu, 0x0004003du, 0x00000006u, 0x00000231u, 0x00000226u, 0x00050085u,
- 0x00000006u, 0x00000232u, 0x00000230u, 0x00000231u, 0x0004003du, 0x00000006u, 0x00000233u, 0x000001f1u,
- 0x00050085u, 0x00000006u, 0x00000234u, 0x00000232u, 0x00000233u, 0x0003003eu, 0x00000229u, 0x00000234u,
- 0x0004003du, 0x00000006u, 0x00000236u, 0x00000214u, 0x0004003du, 0x00000006u, 0x00000237u, 0x00000229u,
- 0x0007000cu, 0x00000006u, 0x00000238u, 0x00000001u, 0x00000028u, 0x00000236u, 0x00000237u, 0x0008000cu,
- 0x00000006u, 0x0000023au, 0x00000001u, 0x0000002bu, 0x00000238u, 0x0000002cu, 0x00000239u, 0x0003003eu,
- 0x00000235u, 0x0000023au, 0x0004003du, 0x00000023u, 0x0000023cu, 0x00000025u, 0x0004003du, 0x0000000du,
- 0x0000023du, 0x00000070u, 0x0004003du, 0x0000000du, 0x0000023eu, 0x0000010bu, 0x0004003du, 0x0000000du,
- 0x0000023fu, 0x00000062u, 0x00050085u, 0x0000000du, 0x00000240u, 0x0000023eu, 0x0000023fu, 0x00050081u,
- 0x0000000du, 0x00000241u, 0x0000023du, 0x00000240u, 0x00050057u, 0x0000002fu, 0x00000242u, 0x0000023cu,
- 0x00000241u, 0x0008004fu, 0x00000007u, 0x00000243u, 0x00000242u, 0x00000242u, 0x00000000u, 0x00000001u,
- 0x00000002u, 0x0003003eu, 0x0000023bu, 0x00000243u, 0x0004003du, 0x0000002fu, 0x00000244u, 0x0000007cu,
- 0x0008004fu, 0x00000007u, 0x00000245u, 0x00000244u, 0x00000244u, 0x00000000u, 0x00000001u, 0x00000002u,
- 0x0004003du, 0x00000007u, 0x00000246u, 0x0000023bu, 0x0004003du, 0x00000006u, 0x00000247u, 0x00000235u,
- 0x00060050u, 0x00000007u, 0x00000248u, 0x00000247u, 0x00000247u, 0x00000247u, 0x0008000cu, 0x00000007u,
- 0x00000249u, 0x00000001u, 0x0000002eu, 0x00000245u, 0x00000246u, 0x00000248u, 0x00050041u, 0x00000020u,
- 0x0000024bu, 0x0000007cu, 0x0000024au, 0x0004003du, 0x00000006u, 0x0000024cu, 0x0000024bu, 0x00050051u,
- 0x00000006u, 0x0000024du, 0x00000249u, 0x00000000u, 0x00050051u, 0x00000006u, 0x0000024eu, 0x00000249u,
- 0x00000001u, 0x00050051u, 0x00000006u, 0x0000024fu, 0x00000249u, 0x00000002u, 0x00070050u, 0x0000002fu,
- 0x00000250u, 0x0000024du, 0x0000024eu, 0x0000024fu, 0x0000024cu, 0x0003003eu, 0x000000f6u, 0x00000250u,
- 0x000100fdu, 0x00010038u, 0x00050036u, 0x00000006u, 0x0000000bu, 0x00000000u, 0x00000009u, 0x00030037u,
- 0x00000008u, 0x0000000au, 0x000200f8u, 0x0000000cu, 0x0004003du, 0x00000007u, 0x00000018u, 0x0000000au,
- 0x00050094u, 0x00000006u, 0x0000001du, 0x00000018u, 0x0000001cu, 0x000200feu, 0x0000001du, 0x00010038u,
- 0x00050036u, 0x00000006u, 0x00000012u, 0x00000000u, 0x0000000fu, 0x00030037u, 0x0000000eu, 0x00000010u,
- 0x00030037u, 0x0000000eu, 0x00000011u, 0x000200f8u, 0x00000013u, 0x0004003bu, 0x00000020u, 0x00000021u,
- 0x00000007u, 0x0004003bu, 0x00000008u, 0x00000031u, 0x00000007u, 0x0004003bu, 0x00000020u, 0x00000034u,
- 0x00000007u, 0x0004003bu, 0x00000008u, 0x0000003cu, 0x00000007u, 0x0004003du, 0x00000023u, 0x00000026u,
- 0x00000025u, 0x0004003du, 0x0000000du, 0x00000027u, 0x00000010u, 0x00050041u, 0x00000020u, 0x0000002au,
- 0x00000011u, 0x00000029u, 0x0004003du, 0x00000006u, 0x0000002bu, 0x0000002au, 0x00050050u, 0x0000000du,
- 0x0000002du, 0x0000002bu, 0x0000002cu, 0x00050083u, 0x0000000du, 0x0000002eu, 0x00000027u, 0x0000002du,
- 0x00050057u, 0x0000002fu, 0x00000030u, 0x00000026u, 0x0000002eu, 0x0008004fu, 0x00000007u, 0x00000032u,
- 0x00000030u, 0x00000030u, 0x00000000u, 0x00000001u, 0x00000002u, 0x0003003eu, 0x00000031u, 0x00000032u,
- 0x00050039u, 0x00000006u, 0x00000033u, 0x0000000bu, 0x00000031u, 0x0003003eu, 0x00000021u, 0x00000033u,
- 0x0004003du, 0x00000023u, 0x00000035u, 0x00000025u, 0x0004003du, 0x0000000du, 0x00000036u, 0x00000010u,
- 0x00050041u, 0x00000020u, 0x00000037u, 0x00000011u, 0x00000029u, 0x0004003du, 0x00000006u, 0x00000038u,
- 0x00000037u, 0x00050050u, 0x0000000du, 0x00000039u, 0x00000038u, 0x0000002cu, 0x00050081u, 0x0000000du,
- 0x0000003au, 0x00000036u, 0x00000039u, 0x00050057u, 0x0000002fu, 0x0000003bu, 0x00000035u, 0x0000003au,
- 0x0008004fu, 0x00000007u, 0x0000003du, 0x0000003bu, 0x0000003bu, 0x00000000u, 0x00000001u, 0x00000002u,
- 0x0003003eu, 0x0000003cu, 0x0000003du, 0x00050039u, 0x00000006u, 0x0000003eu, 0x0000000bu, 0x0000003cu,
- 0x0003003eu, 0x00000034u, 0x0000003eu, 0x0004003du, 0x00000006u, 0x0000003fu, 0x00000021u, 0x0004003du,
- 0x00000006u, 0x00000040u, 0x00000034u, 0x00050083u, 0x00000006u, 0x00000041u, 0x0000003fu, 0x00000040u,
- 0x0006000cu, 0x00000006u, 0x00000042u, 0x00000001u, 0x00000004u, 0x00000041u, 0x000200feu, 0x00000042u,
- 0x00010038u, 0x00050036u, 0x00000006u, 0x00000016u, 0x00000000u, 0x0000000fu, 0x00030037u, 0x0000000eu,
- 0x00000014u, 0x00030037u, 0x0000000eu, 0x00000015u, 0x000200f8u, 0x00000017u, 0x0004003bu, 0x00000020u,
- 0x00000045u, 0x00000007u, 0x0004003bu, 0x00000008u, 0x0000004eu, 0x00000007u, 0x0004003bu, 0x00000020u,
- 0x00000051u, 0x00000007u, 0x0004003bu, 0x00000008u, 0x00000059u, 0x00000007u, 0x0004003du, 0x00000023u,
- 0x00000046u, 0x00000025u, 0x0004003du, 0x0000000du, 0x00000047u, 0x00000014u, 0x00050041u, 0x00000020u,
- 0x00000049u, 0x00000015u, 0x00000048u, 0x0004003du, 0x00000006u, 0x0000004au, 0x00000049u, 0x00050050u,
- 0x0000000du, 0x0000004bu, 0x0000002cu, 0x0000004au, 0x00050083u, 0x0000000du, 0x0000004cu, 0x00000047u,
- 0x0000004bu, 0x00050057u, 0x0000002fu, 0x0000004du, 0x00000046u, 0x0000004cu, 0x0008004fu, 0x00000007u,
- 0x0000004fu, 0x0000004du, 0x0000004du, 0x00000000u, 0x00000001u, 0x00000002u, 0x0003003eu, 0x0000004eu,
- 0x0000004fu, 0x00050039u, 0x00000006u, 0x00000050u, 0x0000000bu, 0x0000004eu, 0x0003003eu, 0x00000045u,
- 0x00000050u, 0x0004003du, 0x00000023u, 0x00000052u, 0x00000025u, 0x0004003du, 0x0000000du, 0x00000053u,
- 0x00000014u, 0x00050041u, 0x00000020u, 0x00000054u, 0x00000015u, 0x00000048u, 0x0004003du, 0x00000006u,
- 0x00000055u, 0x00000054u, 0x00050050u, 0x0000000du, 0x00000056u, 0x0000002cu, 0x00000055u, 0x00050081u,
- 0x0000000du, 0x00000057u, 0x00000053u, 0x00000056u, 0x00050057u, 0x0000002fu, 0x00000058u, 0x00000052u,
- 0x00000057u, 0x0008004fu, 0x00000007u, 0x0000005au, 0x00000058u, 0x00000058u, 0x00000000u, 0x00000001u,
- 0x00000002u, 0x0003003eu, 0x00000059u, 0x0000005au, 0x00050039u, 0x00000006u, 0x0000005bu, 0x0000000bu,
- 0x00000059u, 0x0003003eu, 0x00000051u, 0x0000005bu, 0x0004003du, 0x00000006u, 0x0000005cu, 0x00000045u,
- 0x0004003du, 0x00000006u, 0x0000005du, 0x00000051u, 0x00050083u, 0x00000006u, 0x0000005eu, 0x0000005cu,
- 0x0000005du, 0x0006000cu, 0x00000006u, 0x0000005fu, 0x00000001u, 0x00000004u, 0x0000005eu, 0x000200feu,
- 0x0000005fu, 0x00010038u,
-};
diff --git a/app/src/main/cpp/shaders/smaa_weights.frag b/app/src/main/cpp/shaders/smaa_weights.frag
new file mode 100644
index 0000000000..32e8b404cd
--- /dev/null
+++ b/app/src/main/cpp/shaders/smaa_weights.frag
@@ -0,0 +1,153 @@
+#version 450
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+layout(set = 0, binding = 0) uniform sampler2D EdgeTexture;
+layout(push_constant) uniform Constants {
+ vec4 ndc;
+ vec2 resolution;
+ float extra;
+ float pad;
+} pc;
+
+vec4 edgeAt(vec2 uv, vec2 px) {
+ vec2 edgeUV = clamp(uv, px * 0.5, vec2(1.0) - px * 0.5);
+ vec4 e = textureLod(EdgeTexture, edgeUV, 0.0);
+ e.a = edgeUV.y >= 1.0 - px.y ? 0.0 : e.a;
+ return e;
+}
+
+float verticalEdge(vec2 uv, vec2 px) {
+ vec4 e = edgeAt(uv, px);
+ return max(e.r, e.g);
+}
+
+float horizontalEdge(vec2 uv, vec2 px) {
+ vec4 e = edgeAt(uv, px);
+ return max(e.b, e.a);
+}
+
+float measureRun(vec2 origin, vec2 texel, vec2 tangent,
+ bool verticalLine, float limit, bool positive) {
+ float run = 0.0;
+ for (int i = 1; i <= 6; ++i) {
+ vec2 probe = origin + tangent * float(i) * (positive ? 1.0 : -1.0);
+ ivec2 index = ivec2(floor(probe * pc.resolution));
+ ivec2 size = ivec2(pc.resolution);
+ if (any(lessThan(index, ivec2(0))) ||
+ any(greaterThanEqual(index, size))) {
+ break;
+ }
+ float edge = verticalLine
+ ? verticalEdge(probe, texel)
+ : horizontalEdge(probe, texel);
+ if (edge <= limit * 0.65) {
+ break;
+ }
+ run = float(i);
+ }
+ return run;
+}
+
+void main() {
+ vec2 px = 1.0 / max(pc.resolution, vec2(1.0));
+ vec2 uv = clamp(fragTexCoord, px * 0.5, vec2(1.0) - px * 0.5);
+ vec4 e = edgeAt(uv, px);
+
+ float dL = e.r;
+ float dR = e.g;
+ float dU = e.b;
+ float dD = e.a;
+ float vertical = max(dL, dR);
+ float horizontal = max(dU, dD);
+ float strongest = max(vertical, horizontal);
+ float threshold = max(0.045, strongest * 0.12);
+
+ if (strongest <= threshold) {
+ outColor = vec4(0.0, 0.5, 0.5, 0.0);
+ return;
+ }
+
+ bool verticalLine;
+ float negativeRun = 0.0;
+ float positiveRun = 0.0;
+ bool runsMeasured = false;
+
+ if (vertical > horizontal) {
+ verticalLine = true;
+ } else if (horizontal > vertical) {
+ verticalLine = false;
+ } else {
+ float vNeg = measureRun(uv, px, vec2(0.0, px.y), true, threshold, false);
+ float vPos = measureRun(uv, px, vec2(0.0, px.y), true, threshold, true);
+ float hNeg = measureRun(uv, px, vec2(px.x, 0.0), false, threshold, false);
+ float hPos = measureRun(uv, px, vec2(px.x, 0.0), false, threshold, true);
+ verticalLine = (vNeg + vPos) >= (hNeg + hPos);
+ negativeRun = verticalLine ? vNeg : hNeg;
+ positiveRun = verticalLine ? vPos : hPos;
+ runsMeasured = true;
+ }
+
+ vec2 tangent = verticalLine ? vec2(0.0, px.y) : vec2(px.x, 0.0);
+ vec2 normal = verticalLine
+ ? vec2(dL >= dR ? -1.0 : 1.0, 0.0)
+ : vec2(0.0, dU >= dD ? -1.0 : 1.0);
+
+ if (!runsMeasured) {
+ negativeRun = measureRun(uv, px, tangent, verticalLine, threshold, false);
+ positiveRun = measureRun(uv, px, tangent, verticalLine, threshold, true);
+ }
+
+ float span = negativeRun + positiveRun;
+ float edgeConfidence = smoothstep(threshold, threshold * 2.5, strongest);
+
+ vec4 nw = edgeAt(uv + vec2(-px.x, -px.y), px);
+ vec4 ne = edgeAt(uv + vec2(px.x, -px.y), px);
+ vec4 sw = edgeAt(uv + vec2(-px.x, px.y), px);
+ vec4 se = edgeAt(uv + vec2(px.x, px.y), px);
+
+ float runEndpointPattern = clamp(
+ abs(negativeRun - positiveRun) / max(span, 1.0), 0.0, 1.0);
+ float crossingA = verticalLine
+ ? abs(nw.a - ne.a)
+ : abs(nw.g - sw.g);
+ float crossingB = verticalLine
+ ? abs(sw.b - se.b)
+ : abs(ne.r - se.r);
+ float crossingContrast = abs(crossingA - crossingB);
+ float crossingPattern = smoothstep(threshold, threshold * 2.5, crossingContrast);
+ vec4 edgeMin = min(min(nw, ne), min(sw, se));
+ vec4 edgeMax = max(max(nw, ne), max(sw, se));
+ float edgeVariation = max(
+ max(edgeMax.r - edgeMin.r, edgeMax.g - edgeMin.g),
+ max(edgeMax.b - edgeMin.b, edgeMax.a - edgeMin.a));
+ float balancedCrossing = edgeVariation > 0.01
+ ? smoothstep(threshold, threshold * 2.5, min(crossingA, crossingB))
+ : 0.0;
+ float endpointPattern = runEndpointPattern > 0.01
+ ? max(runEndpointPattern, balancedCrossing)
+ : runEndpointPattern;
+ float endpointArea = endpointPattern / (1.0 + span * 0.055);
+ float areaWeight = 0.38 * crossingPattern * clamp(span / 4.0, 0.0, 1.0);
+ float diagonalContrast = max(
+ max(max(abs(nw.r - se.r), abs(nw.g - se.g)),
+ max(abs(nw.b - se.b), abs(nw.a - se.a))),
+ max(max(abs(ne.r - sw.r), abs(ne.g - sw.g)),
+ max(abs(ne.b - sw.b), abs(ne.a - sw.a))));
+ float cornerFactor = 1.0 - 0.35 * smoothstep(threshold, threshold * 3.0, diagonalContrast);
+ float baseWeight = areaWeight * endpointArea * edgeConfidence * cornerFactor;
+
+ float diagonalStrength = min(vertical, horizontal);
+ float diagonalPattern = smoothstep(threshold, threshold * 2.5, diagonalStrength);
+ float diagonalContinuity = smoothstep(1.0, 3.0, span);
+ float shortDiagonalFallback =
+ (span > 0.0 && span <= 1.0 && crossingContrast <= threshold && diagonalStrength > threshold)
+ ? 1.0 : 0.0;
+ float diagonalFallback = 0.16 * diagonalPattern * edgeConfidence
+ * cornerFactor * max(
+ diagonalContinuity * max(crossingPattern, balancedCrossing),
+ shortDiagonalFallback);
+
+ float weight = clamp(max(baseWeight, diagonalFallback), 0.0, 0.42);
+ outColor = vec4(weight, normal.x * 0.5 + 0.5, normal.y * 0.5 + 0.5, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/smaa_weights_frag.h b/app/src/main/cpp/shaders/smaa_weights_frag.h
new file mode 100644
index 0000000000..be2681e8a2
--- /dev/null
+++ b/app/src/main/cpp/shaders/smaa_weights_frag.h
@@ -0,0 +1,567 @@
+// SPIR-V gerado
+#pragma once
+const uint32_t smaa_weights_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x000002e6,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x000000cb,0x000000fd,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00060005,0x0000000d,0x65676465,0x76287441,0x763b3266,0x003b3266,0x00030005,
+ 0x0000000b,0x00007675,0x00030005,0x0000000c,0x00007870,0x00080005,0x00000012,0x74726576,
+ 0x6c616369,0x65676445,0x32667628,0x3266763b,0x0000003b,0x00030005,0x00000010,0x00007675,
+ 0x00030005,0x00000011,0x00007870,0x00080005,0x00000016,0x69726f68,0x746e6f7a,0x64456c61,
+ 0x76286567,0x763b3266,0x003b3266,0x00030005,0x00000014,0x00007675,0x00030005,0x00000015,
+ 0x00007870,0x000b0005,0x00000022,0x7361656d,0x52657275,0x76286e75,0x763b3266,0x763b3266,
+ 0x623b3266,0x31663b31,0x3b31623b,0x00000000,0x00040005,0x0000001c,0x6769726f,0x00006e69,
+ 0x00040005,0x0000001d,0x65786574,0x0000006c,0x00040005,0x0000001e,0x676e6174,0x00746e65,
+ 0x00060005,0x0000001f,0x74726576,0x6c616369,0x656e694c,0x00000000,0x00040005,0x00000020,
+ 0x696d696c,0x00000074,0x00050005,0x00000021,0x69736f70,0x65766974,0x00000000,0x00040005,
+ 0x00000024,0x65676465,0x00005655,0x00030005,0x00000030,0x00000065,0x00050005,0x00000034,
+ 0x65676445,0x74786554,0x00657275,0x00030005,0x0000004d,0x00000065,0x00040005,0x0000004e,
+ 0x61726170,0x0000006d,0x00040005,0x00000050,0x61726170,0x0000006d,0x00030005,0x0000005b,
+ 0x00000065,0x00040005,0x0000005c,0x61726170,0x0000006d,0x00040005,0x0000005e,0x61726170,
+ 0x0000006d,0x00030005,0x00000069,0x006e7572,0x00030005,0x0000006c,0x00000069,0x00040005,
+ 0x00000076,0x626f7270,0x00000065,0x00040005,0x00000083,0x65646e69,0x00000078,0x00050005,
+ 0x00000085,0x736e6f43,0x746e6174,0x00000073,0x00040006,0x00000085,0x00000000,0x0063646e,
+ 0x00060006,0x00000085,0x00000001,0x6f736572,0x6974756c,0x00006e6f,0x00050006,0x00000085,
+ 0x00000002,0x72747865,0x00000061,0x00040006,0x00000085,0x00000003,0x00646170,0x00030005,
+ 0x00000087,0x00006370,0x00040005,0x0000008e,0x657a6973,0x00000000,0x00040005,0x000000a3,
+ 0x65676465,0x00000000,0x00040005,0x000000a8,0x61726170,0x0000006d,0x00040005,0x000000aa,
+ 0x61726170,0x0000006d,0x00040005,0x000000ae,0x61726170,0x0000006d,0x00040005,0x000000b0,
+ 0x61726170,0x0000006d,0x00030005,0x000000c3,0x00007870,0x00030005,0x000000c9,0x00007675,
+ 0x00060005,0x000000cb,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00030005,0x000000d3,
+ 0x00000065,0x00040005,0x000000d4,0x61726170,0x0000006d,0x00040005,0x000000d6,0x61726170,
+ 0x0000006d,0x00030005,0x000000d9,0x00004c64,0x00030005,0x000000dc,0x00005264,0x00030005,
+ 0x000000df,0x00005564,0x00030005,0x000000e2,0x00004464,0x00050005,0x000000e5,0x74726576,
+ 0x6c616369,0x00000000,0x00050005,0x000000e9,0x69726f68,0x746e6f7a,0x00006c61,0x00050005,
+ 0x000000ed,0x6f727473,0x7365676e,0x00000074,0x00050005,0x000000f1,0x65726874,0x6c6f6873,
+ 0x00000064,0x00050005,0x000000fd,0x4374756f,0x726f6c6f,0x00000000,0x00050005,0x00000100,
+ 0x6167656e,0x65766974,0x006e7552,0x00050005,0x00000101,0x69736f70,0x65766974,0x006e7552,
+ 0x00060005,0x00000102,0x736e7572,0x7361654d,0x64657275,0x00000000,0x00060005,0x00000109,
+ 0x74726576,0x6c616369,0x656e694c,0x00000000,0x00040005,0x00000112,0x67654e76,0x00000000,
+ 0x00040005,0x00000116,0x61726170,0x0000006d,0x00040005,0x00000118,0x61726170,0x0000006d,
+ 0x00040005,0x0000011a,0x61726170,0x0000006d,0x00040005,0x0000011b,0x61726170,0x0000006d,
+ 0x00040005,0x0000011c,0x61726170,0x0000006d,0x00040005,0x0000011e,0x61726170,0x0000006d,
+ 0x00040005,0x00000120,0x736f5076,0x00000000,0x00040005,0x00000124,0x61726170,0x0000006d,
+ 0x00040005,0x00000126,0x61726170,0x0000006d,0x00040005,0x00000128,0x61726170,0x0000006d,
+ 0x00040005,0x00000129,0x61726170,0x0000006d,0x00040005,0x0000012a,0x61726170,0x0000006d,
+ 0x00040005,0x0000012c,0x61726170,0x0000006d,0x00040005,0x0000012e,0x67654e68,0x00000000,
+ 0x00040005,0x00000132,0x61726170,0x0000006d,0x00040005,0x00000134,0x61726170,0x0000006d,
+ 0x00040005,0x00000136,0x61726170,0x0000006d,0x00040005,0x00000137,0x61726170,0x0000006d,
+ 0x00040005,0x00000138,0x61726170,0x0000006d,0x00040005,0x0000013a,0x61726170,0x0000006d,
+ 0x00040005,0x0000013c,0x736f5068,0x00000000,0x00040005,0x00000140,0x61726170,0x0000006d,
+ 0x00040005,0x00000142,0x61726170,0x0000006d,0x00040005,0x00000144,0x61726170,0x0000006d,
+ 0x00040005,0x00000145,0x61726170,0x0000006d,0x00040005,0x00000146,0x61726170,0x0000006d,
+ 0x00040005,0x00000148,0x61726170,0x0000006d,0x00040005,0x00000159,0x676e6174,0x00746e65,
+ 0x00040005,0x00000166,0x6d726f6e,0x00006c61,0x00040005,0x0000017b,0x61726170,0x0000006d,
+ 0x00040005,0x0000017d,0x61726170,0x0000006d,0x00040005,0x0000017f,0x61726170,0x0000006d,
+ 0x00040005,0x00000181,0x61726170,0x0000006d,0x00040005,0x00000183,0x61726170,0x0000006d,
+ 0x00040005,0x00000185,0x61726170,0x0000006d,0x00040005,0x00000187,0x61726170,0x0000006d,
+ 0x00040005,0x00000189,0x61726170,0x0000006d,0x00040005,0x0000018b,0x61726170,0x0000006d,
+ 0x00040005,0x0000018d,0x61726170,0x0000006d,0x00040005,0x0000018f,0x61726170,0x0000006d,
+ 0x00040005,0x00000191,0x61726170,0x0000006d,0x00040005,0x00000193,0x6e617073,0x00000000,
+ 0x00060005,0x00000197,0x65676465,0x666e6f43,0x6e656469,0x00006563,0x00030005,0x0000019e,
+ 0x0000776e,0x00040005,0x000001a8,0x61726170,0x0000006d,0x00040005,0x000001a9,0x61726170,
+ 0x0000006d,0x00030005,0x000001ac,0x0000656e,0x00040005,0x000001b5,0x61726170,0x0000006d,
+ 0x00040005,0x000001b6,0x61726170,0x0000006d,0x00030005,0x000001b9,0x00007773,0x00040005,
+ 0x000001c2,0x61726170,0x0000006d,0x00040005,0x000001c3,0x61726170,0x0000006d,0x00030005,
+ 0x000001c6,0x00006573,0x00040005,0x000001ce,0x61726170,0x0000006d,0x00040005,0x000001cf,
+ 0x61726170,0x0000006d,0x00070005,0x000001d2,0x456e7572,0x6f70646e,0x50746e69,0x65747461,
+ 0x00006e72,0x00050005,0x000001db,0x736f7263,0x676e6973,0x00000041,0x00050005,0x000001ee,
+ 0x736f7263,0x676e6973,0x00000042,0x00070005,0x00000201,0x736f7263,0x676e6973,0x746e6f43,
+ 0x74736172,0x00000000,0x00060005,0x00000206,0x736f7263,0x676e6973,0x74746150,0x006e7265,
+ 0x00040005,0x0000020c,0x65676465,0x006e694d,0x00040005,0x00000214,0x65676465,0x0078614d,
+ 0x00060005,0x0000021c,0x65676465,0x69726156,0x6f697461,0x0000006e,0x00070005,0x00000234,
+ 0x616c6162,0x6465636e,0x736f7243,0x676e6973,0x00000000,0x00060005,0x00000244,0x70646e65,
+ 0x746e696f,0x74746150,0x006e7265,0x00060005,0x00000250,0x70646e65,0x746e696f,0x61657241,
+ 0x00000000,0x00050005,0x00000257,0x61657261,0x67696557,0x00007468,0x00070005,0x00000260,
+ 0x67616964,0x6c616e6f,0x746e6f43,0x74736172,0x00000000,0x00060005,0x00000298,0x6e726f63,
+ 0x61467265,0x726f7463,0x00000000,0x00050005,0x000002a2,0x65736162,0x67696557,0x00007468,
+ 0x00070005,0x000002aa,0x67616964,0x6c616e6f,0x65727453,0x6874676e,0x00000000,0x00060005,
+ 0x000002ae,0x67616964,0x6c616e6f,0x74746150,0x006e7265,0x00070005,0x000002b4,0x67616964,
+ 0x6c616e6f,0x746e6f43,0x69756e69,0x00007974,0x00080005,0x000002b7,0x726f6873,0x61694474,
+ 0x616e6f67,0x6c61466c,0x6361626c,0x0000006b,0x00070005,0x000002c6,0x67616964,0x6c616e6f,
+ 0x6c6c6146,0x6b636162,0x00000000,0x00040005,0x000002d6,0x67696577,0x00007468,0x00040047,
+ 0x00000034,0x00000021,0x00000000,0x00040047,0x00000034,0x00000022,0x00000000,0x00030047,
+ 0x00000085,0x00000002,0x00050048,0x00000085,0x00000000,0x00000023,0x00000000,0x00050048,
+ 0x00000085,0x00000001,0x00000023,0x00000010,0x00050048,0x00000085,0x00000002,0x00000023,
+ 0x00000018,0x00050048,0x00000085,0x00000003,0x00000023,0x0000001c,0x00040047,0x000000cb,
+ 0x0000001e,0x00000000,0x00040047,0x000000fd,0x0000001e,0x00000000,0x00020013,0x00000002,
+ 0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,
+ 0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,0x00000007,0x00040017,0x00000009,
+ 0x00000006,0x00000004,0x00050021,0x0000000a,0x00000009,0x00000008,0x00000008,0x00050021,
+ 0x0000000f,0x00000006,0x00000008,0x00000008,0x00020014,0x00000018,0x00040020,0x00000019,
+ 0x00000007,0x00000018,0x00040020,0x0000001a,0x00000007,0x00000006,0x00090021,0x0000001b,
+ 0x00000006,0x00000008,0x00000008,0x00000008,0x00000019,0x0000001a,0x00000019,0x0004002b,
+ 0x00000006,0x00000027,0x3f000000,0x0004002b,0x00000006,0x00000029,0x3f800000,0x0005002c,
+ 0x00000007,0x0000002a,0x00000029,0x00000029,0x00040020,0x0000002f,0x00000007,0x00000009,
+ 0x00090019,0x00000031,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,
+ 0x00000000,0x0003001b,0x00000032,0x00000031,0x00040020,0x00000033,0x00000000,0x00000032,
+ 0x0004003b,0x00000033,0x00000034,0x00000000,0x0004002b,0x00000006,0x00000037,0x00000000,
+ 0x00040015,0x00000039,0x00000020,0x00000000,0x0004002b,0x00000039,0x0000003a,0x00000001,
+ 0x0004002b,0x00000039,0x00000045,0x00000003,0x0004002b,0x00000039,0x00000053,0x00000000,
+ 0x0004002b,0x00000039,0x00000061,0x00000002,0x00040015,0x0000006a,0x00000020,0x00000001,
+ 0x00040020,0x0000006b,0x00000007,0x0000006a,0x0004002b,0x0000006a,0x0000006d,0x00000001,
+ 0x0004002b,0x0000006a,0x00000074,0x00000006,0x0004002b,0x00000006,0x0000007d,0xbf800000,
+ 0x00040017,0x00000081,0x0000006a,0x00000002,0x00040020,0x00000082,0x00000007,0x00000081,
+ 0x0006001e,0x00000085,0x00000009,0x00000007,0x00000006,0x00000006,0x00040020,0x00000086,
+ 0x00000009,0x00000085,0x0004003b,0x00000086,0x00000087,0x00000009,0x00040020,0x00000088,
+ 0x00000009,0x00000007,0x0004002b,0x0000006a,0x00000093,0x00000000,0x0005002c,0x00000081,
+ 0x00000094,0x00000093,0x00000093,0x00040017,0x00000095,0x00000018,0x00000002,0x0004002b,
+ 0x00000006,0x000000b6,0x3f266666,0x00040020,0x000000ca,0x00000001,0x00000007,0x0004003b,
+ 0x000000ca,0x000000cb,0x00000001,0x0004002b,0x00000006,0x000000f2,0x3d3851ec,0x0004002b,
+ 0x00000006,0x000000f4,0x3df5c28f,0x00040020,0x000000fc,0x00000003,0x00000009,0x0004003b,
+ 0x000000fc,0x000000fd,0x00000003,0x0007002c,0x00000009,0x000000fe,0x00000037,0x00000027,
+ 0x00000027,0x00000037,0x0003002a,0x00000018,0x00000103,0x00030029,0x00000018,0x0000010a,
+ 0x0004002b,0x00000006,0x0000019a,0x40200000,0x0004002b,0x00000006,0x00000236,0x3c23d70a,
+ 0x0004002b,0x00000006,0x00000253,0x3d6147ae,0x0004002b,0x00000006,0x00000258,0x3ec28f5c,
+ 0x0004002b,0x00000006,0x0000025c,0x40800000,0x0004002b,0x00000006,0x00000299,0x3eb33333,
+ 0x0004002b,0x00000006,0x0000029c,0x40400000,0x0004002b,0x00000006,0x000002c7,0x3e23d70a,
+ 0x0004002b,0x00000006,0x000002da,0x3ed70a3d,0x00050036,0x00000002,0x00000004,0x00000000,
+ 0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,0x000000c3,0x00000007,0x0004003b,
+ 0x00000008,0x000000c9,0x00000007,0x0004003b,0x0000002f,0x000000d3,0x00000007,0x0004003b,
+ 0x00000008,0x000000d4,0x00000007,0x0004003b,0x00000008,0x000000d6,0x00000007,0x0004003b,
+ 0x0000001a,0x000000d9,0x00000007,0x0004003b,0x0000001a,0x000000dc,0x00000007,0x0004003b,
+ 0x0000001a,0x000000df,0x00000007,0x0004003b,0x0000001a,0x000000e2,0x00000007,0x0004003b,
+ 0x0000001a,0x000000e5,0x00000007,0x0004003b,0x0000001a,0x000000e9,0x00000007,0x0004003b,
+ 0x0000001a,0x000000ed,0x00000007,0x0004003b,0x0000001a,0x000000f1,0x00000007,0x0004003b,
+ 0x0000001a,0x00000100,0x00000007,0x0004003b,0x0000001a,0x00000101,0x00000007,0x0004003b,
+ 0x00000019,0x00000102,0x00000007,0x0004003b,0x00000019,0x00000109,0x00000007,0x0004003b,
+ 0x0000001a,0x00000112,0x00000007,0x0004003b,0x00000008,0x00000116,0x00000007,0x0004003b,
+ 0x00000008,0x00000118,0x00000007,0x0004003b,0x00000008,0x0000011a,0x00000007,0x0004003b,
+ 0x00000019,0x0000011b,0x00000007,0x0004003b,0x0000001a,0x0000011c,0x00000007,0x0004003b,
+ 0x00000019,0x0000011e,0x00000007,0x0004003b,0x0000001a,0x00000120,0x00000007,0x0004003b,
+ 0x00000008,0x00000124,0x00000007,0x0004003b,0x00000008,0x00000126,0x00000007,0x0004003b,
+ 0x00000008,0x00000128,0x00000007,0x0004003b,0x00000019,0x00000129,0x00000007,0x0004003b,
+ 0x0000001a,0x0000012a,0x00000007,0x0004003b,0x00000019,0x0000012c,0x00000007,0x0004003b,
+ 0x0000001a,0x0000012e,0x00000007,0x0004003b,0x00000008,0x00000132,0x00000007,0x0004003b,
+ 0x00000008,0x00000134,0x00000007,0x0004003b,0x00000008,0x00000136,0x00000007,0x0004003b,
+ 0x00000019,0x00000137,0x00000007,0x0004003b,0x0000001a,0x00000138,0x00000007,0x0004003b,
+ 0x00000019,0x0000013a,0x00000007,0x0004003b,0x0000001a,0x0000013c,0x00000007,0x0004003b,
+ 0x00000008,0x00000140,0x00000007,0x0004003b,0x00000008,0x00000142,0x00000007,0x0004003b,
+ 0x00000008,0x00000144,0x00000007,0x0004003b,0x00000019,0x00000145,0x00000007,0x0004003b,
+ 0x0000001a,0x00000146,0x00000007,0x0004003b,0x00000019,0x00000148,0x00000007,0x0004003b,
+ 0x00000008,0x00000159,0x00000007,0x0004003b,0x00000008,0x0000015b,0x00000007,0x0004003b,
+ 0x00000008,0x00000166,0x00000007,0x0004003b,0x00000008,0x00000168,0x00000007,0x0004003b,
+ 0x00000008,0x0000017b,0x00000007,0x0004003b,0x00000008,0x0000017d,0x00000007,0x0004003b,
+ 0x00000008,0x0000017f,0x00000007,0x0004003b,0x00000019,0x00000181,0x00000007,0x0004003b,
+ 0x0000001a,0x00000183,0x00000007,0x0004003b,0x00000019,0x00000185,0x00000007,0x0004003b,
+ 0x00000008,0x00000187,0x00000007,0x0004003b,0x00000008,0x00000189,0x00000007,0x0004003b,
+ 0x00000008,0x0000018b,0x00000007,0x0004003b,0x00000019,0x0000018d,0x00000007,0x0004003b,
+ 0x0000001a,0x0000018f,0x00000007,0x0004003b,0x00000019,0x00000191,0x00000007,0x0004003b,
+ 0x0000001a,0x00000193,0x00000007,0x0004003b,0x0000001a,0x00000197,0x00000007,0x0004003b,
+ 0x0000002f,0x0000019e,0x00000007,0x0004003b,0x00000008,0x000001a8,0x00000007,0x0004003b,
+ 0x00000008,0x000001a9,0x00000007,0x0004003b,0x0000002f,0x000001ac,0x00000007,0x0004003b,
+ 0x00000008,0x000001b5,0x00000007,0x0004003b,0x00000008,0x000001b6,0x00000007,0x0004003b,
+ 0x0000002f,0x000001b9,0x00000007,0x0004003b,0x00000008,0x000001c2,0x00000007,0x0004003b,
+ 0x00000008,0x000001c3,0x00000007,0x0004003b,0x0000002f,0x000001c6,0x00000007,0x0004003b,
+ 0x00000008,0x000001ce,0x00000007,0x0004003b,0x00000008,0x000001cf,0x00000007,0x0004003b,
+ 0x0000001a,0x000001d2,0x00000007,0x0004003b,0x0000001a,0x000001db,0x00000007,0x0004003b,
+ 0x0000001a,0x000001dd,0x00000007,0x0004003b,0x0000001a,0x000001ee,0x00000007,0x0004003b,
+ 0x0000001a,0x000001f0,0x00000007,0x0004003b,0x0000001a,0x00000201,0x00000007,0x0004003b,
+ 0x0000001a,0x00000206,0x00000007,0x0004003b,0x0000002f,0x0000020c,0x00000007,0x0004003b,
+ 0x0000002f,0x00000214,0x00000007,0x0004003b,0x0000001a,0x0000021c,0x00000007,0x0004003b,
+ 0x0000001a,0x00000234,0x00000007,0x0004003b,0x0000001a,0x00000238,0x00000007,0x0004003b,
+ 0x0000001a,0x00000244,0x00000007,0x0004003b,0x0000001a,0x00000247,0x00000007,0x0004003b,
+ 0x0000001a,0x00000250,0x00000007,0x0004003b,0x0000001a,0x00000257,0x00000007,0x0004003b,
+ 0x0000001a,0x00000260,0x00000007,0x0004003b,0x0000001a,0x00000298,0x00000007,0x0004003b,
+ 0x0000001a,0x000002a2,0x00000007,0x0004003b,0x0000001a,0x000002aa,0x00000007,0x0004003b,
+ 0x0000001a,0x000002ae,0x00000007,0x0004003b,0x0000001a,0x000002b4,0x00000007,0x0004003b,
+ 0x0000001a,0x000002b7,0x00000007,0x0004003b,0x0000001a,0x000002c6,0x00000007,0x0004003b,
+ 0x0000001a,0x000002d6,0x00000007,0x00050041,0x00000088,0x000000c4,0x00000087,0x0000006d,
+ 0x0004003d,0x00000007,0x000000c5,0x000000c4,0x0007000c,0x00000007,0x000000c6,0x00000001,
+ 0x00000028,0x000000c5,0x0000002a,0x00050050,0x00000007,0x000000c7,0x00000029,0x00000029,
+ 0x00050088,0x00000007,0x000000c8,0x000000c7,0x000000c6,0x0003003e,0x000000c3,0x000000c8,
+ 0x0004003d,0x00000007,0x000000cc,0x000000cb,0x0004003d,0x00000007,0x000000cd,0x000000c3,
+ 0x0005008e,0x00000007,0x000000ce,0x000000cd,0x00000027,0x0004003d,0x00000007,0x000000cf,
+ 0x000000c3,0x0005008e,0x00000007,0x000000d0,0x000000cf,0x00000027,0x00050083,0x00000007,
+ 0x000000d1,0x0000002a,0x000000d0,0x0008000c,0x00000007,0x000000d2,0x00000001,0x0000002b,
+ 0x000000cc,0x000000ce,0x000000d1,0x0003003e,0x000000c9,0x000000d2,0x0004003d,0x00000007,
+ 0x000000d5,0x000000c9,0x0003003e,0x000000d4,0x000000d5,0x0004003d,0x00000007,0x000000d7,
+ 0x000000c3,0x0003003e,0x000000d6,0x000000d7,0x00060039,0x00000009,0x000000d8,0x0000000d,
+ 0x000000d4,0x000000d6,0x0003003e,0x000000d3,0x000000d8,0x00050041,0x0000001a,0x000000da,
+ 0x000000d3,0x00000053,0x0004003d,0x00000006,0x000000db,0x000000da,0x0003003e,0x000000d9,
+ 0x000000db,0x00050041,0x0000001a,0x000000dd,0x000000d3,0x0000003a,0x0004003d,0x00000006,
+ 0x000000de,0x000000dd,0x0003003e,0x000000dc,0x000000de,0x00050041,0x0000001a,0x000000e0,
+ 0x000000d3,0x00000061,0x0004003d,0x00000006,0x000000e1,0x000000e0,0x0003003e,0x000000df,
+ 0x000000e1,0x00050041,0x0000001a,0x000000e3,0x000000d3,0x00000045,0x0004003d,0x00000006,
+ 0x000000e4,0x000000e3,0x0003003e,0x000000e2,0x000000e4,0x0004003d,0x00000006,0x000000e6,
+ 0x000000d9,0x0004003d,0x00000006,0x000000e7,0x000000dc,0x0007000c,0x00000006,0x000000e8,
+ 0x00000001,0x00000028,0x000000e6,0x000000e7,0x0003003e,0x000000e5,0x000000e8,0x0004003d,
+ 0x00000006,0x000000ea,0x000000df,0x0004003d,0x00000006,0x000000eb,0x000000e2,0x0007000c,
+ 0x00000006,0x000000ec,0x00000001,0x00000028,0x000000ea,0x000000eb,0x0003003e,0x000000e9,
+ 0x000000ec,0x0004003d,0x00000006,0x000000ee,0x000000e5,0x0004003d,0x00000006,0x000000ef,
+ 0x000000e9,0x0007000c,0x00000006,0x000000f0,0x00000001,0x00000028,0x000000ee,0x000000ef,
+ 0x0003003e,0x000000ed,0x000000f0,0x0004003d,0x00000006,0x000000f3,0x000000ed,0x00050085,
+ 0x00000006,0x000000f5,0x000000f3,0x000000f4,0x0007000c,0x00000006,0x000000f6,0x00000001,
+ 0x00000028,0x000000f2,0x000000f5,0x0003003e,0x000000f1,0x000000f6,0x0004003d,0x00000006,
+ 0x000000f7,0x000000ed,0x0004003d,0x00000006,0x000000f8,0x000000f1,0x000500bc,0x00000018,
+ 0x000000f9,0x000000f7,0x000000f8,0x000300f7,0x000000fb,0x00000000,0x000400fa,0x000000f9,
+ 0x000000fa,0x000000fb,0x000200f8,0x000000fa,0x0003003e,0x000000fd,0x000000fe,0x000100fd,
+ 0x000200f8,0x000000fb,0x0003003e,0x00000100,0x00000037,0x0003003e,0x00000101,0x00000037,
+ 0x0003003e,0x00000102,0x00000103,0x0004003d,0x00000006,0x00000104,0x000000e5,0x0004003d,
+ 0x00000006,0x00000105,0x000000e9,0x000500ba,0x00000018,0x00000106,0x00000104,0x00000105,
+ 0x000300f7,0x00000108,0x00000000,0x000400fa,0x00000106,0x00000107,0x0000010b,0x000200f8,
+ 0x00000107,0x0003003e,0x00000109,0x0000010a,0x000200f9,0x00000108,0x000200f8,0x0000010b,
+ 0x0004003d,0x00000006,0x0000010c,0x000000e9,0x0004003d,0x00000006,0x0000010d,0x000000e5,
+ 0x000500ba,0x00000018,0x0000010e,0x0000010c,0x0000010d,0x000300f7,0x00000110,0x00000000,
+ 0x000400fa,0x0000010e,0x0000010f,0x00000111,0x000200f8,0x0000010f,0x0003003e,0x00000109,
+ 0x00000103,0x000200f9,0x00000110,0x000200f8,0x00000111,0x00050041,0x0000001a,0x00000113,
+ 0x000000c3,0x0000003a,0x0004003d,0x00000006,0x00000114,0x00000113,0x00050050,0x00000007,
+ 0x00000115,0x00000037,0x00000114,0x0004003d,0x00000007,0x00000117,0x000000c9,0x0003003e,
+ 0x00000116,0x00000117,0x0004003d,0x00000007,0x00000119,0x000000c3,0x0003003e,0x00000118,
+ 0x00000119,0x0003003e,0x0000011a,0x00000115,0x0003003e,0x0000011b,0x0000010a,0x0004003d,
+ 0x00000006,0x0000011d,0x000000f1,0x0003003e,0x0000011c,0x0000011d,0x0003003e,0x0000011e,
+ 0x00000103,0x000a0039,0x00000006,0x0000011f,0x00000022,0x00000116,0x00000118,0x0000011a,
+ 0x0000011b,0x0000011c,0x0000011e,0x0003003e,0x00000112,0x0000011f,0x00050041,0x0000001a,
+ 0x00000121,0x000000c3,0x0000003a,0x0004003d,0x00000006,0x00000122,0x00000121,0x00050050,
+ 0x00000007,0x00000123,0x00000037,0x00000122,0x0004003d,0x00000007,0x00000125,0x000000c9,
+ 0x0003003e,0x00000124,0x00000125,0x0004003d,0x00000007,0x00000127,0x000000c3,0x0003003e,
+ 0x00000126,0x00000127,0x0003003e,0x00000128,0x00000123,0x0003003e,0x00000129,0x0000010a,
+ 0x0004003d,0x00000006,0x0000012b,0x000000f1,0x0003003e,0x0000012a,0x0000012b,0x0003003e,
+ 0x0000012c,0x0000010a,0x000a0039,0x00000006,0x0000012d,0x00000022,0x00000124,0x00000126,
+ 0x00000128,0x00000129,0x0000012a,0x0000012c,0x0003003e,0x00000120,0x0000012d,0x00050041,
+ 0x0000001a,0x0000012f,0x000000c3,0x00000053,0x0004003d,0x00000006,0x00000130,0x0000012f,
+ 0x00050050,0x00000007,0x00000131,0x00000130,0x00000037,0x0004003d,0x00000007,0x00000133,
+ 0x000000c9,0x0003003e,0x00000132,0x00000133,0x0004003d,0x00000007,0x00000135,0x000000c3,
+ 0x0003003e,0x00000134,0x00000135,0x0003003e,0x00000136,0x00000131,0x0003003e,0x00000137,
+ 0x00000103,0x0004003d,0x00000006,0x00000139,0x000000f1,0x0003003e,0x00000138,0x00000139,
+ 0x0003003e,0x0000013a,0x00000103,0x000a0039,0x00000006,0x0000013b,0x00000022,0x00000132,
+ 0x00000134,0x00000136,0x00000137,0x00000138,0x0000013a,0x0003003e,0x0000012e,0x0000013b,
+ 0x00050041,0x0000001a,0x0000013d,0x000000c3,0x00000053,0x0004003d,0x00000006,0x0000013e,
+ 0x0000013d,0x00050050,0x00000007,0x0000013f,0x0000013e,0x00000037,0x0004003d,0x00000007,
+ 0x00000141,0x000000c9,0x0003003e,0x00000140,0x00000141,0x0004003d,0x00000007,0x00000143,
+ 0x000000c3,0x0003003e,0x00000142,0x00000143,0x0003003e,0x00000144,0x0000013f,0x0003003e,
+ 0x00000145,0x00000103,0x0004003d,0x00000006,0x00000147,0x000000f1,0x0003003e,0x00000146,
+ 0x00000147,0x0003003e,0x00000148,0x0000010a,0x000a0039,0x00000006,0x00000149,0x00000022,
+ 0x00000140,0x00000142,0x00000144,0x00000145,0x00000146,0x00000148,0x0003003e,0x0000013c,
+ 0x00000149,0x0004003d,0x00000006,0x0000014a,0x00000112,0x0004003d,0x00000006,0x0000014b,
+ 0x00000120,0x00050081,0x00000006,0x0000014c,0x0000014a,0x0000014b,0x0004003d,0x00000006,
+ 0x0000014d,0x0000012e,0x0004003d,0x00000006,0x0000014e,0x0000013c,0x00050081,0x00000006,
+ 0x0000014f,0x0000014d,0x0000014e,0x000500be,0x00000018,0x00000150,0x0000014c,0x0000014f,
+ 0x0003003e,0x00000109,0x00000150,0x0004003d,0x00000018,0x00000151,0x00000109,0x0004003d,
+ 0x00000006,0x00000152,0x00000112,0x0004003d,0x00000006,0x00000153,0x0000012e,0x000600a9,
+ 0x00000006,0x00000154,0x00000151,0x00000152,0x00000153,0x0003003e,0x00000100,0x00000154,
+ 0x0004003d,0x00000018,0x00000155,0x00000109,0x0004003d,0x00000006,0x00000156,0x00000120,
+ 0x0004003d,0x00000006,0x00000157,0x0000013c,0x000600a9,0x00000006,0x00000158,0x00000155,
+ 0x00000156,0x00000157,0x0003003e,0x00000101,0x00000158,0x0003003e,0x00000102,0x0000010a,
+ 0x000200f9,0x00000110,0x000200f8,0x00000110,0x000200f9,0x00000108,0x000200f8,0x00000108,
+ 0x0004003d,0x00000018,0x0000015a,0x00000109,0x000300f7,0x0000015d,0x00000000,0x000400fa,
+ 0x0000015a,0x0000015c,0x00000161,0x000200f8,0x0000015c,0x00050041,0x0000001a,0x0000015e,
+ 0x000000c3,0x0000003a,0x0004003d,0x00000006,0x0000015f,0x0000015e,0x00050050,0x00000007,
+ 0x00000160,0x00000037,0x0000015f,0x0003003e,0x0000015b,0x00000160,0x000200f9,0x0000015d,
+ 0x000200f8,0x00000161,0x00050041,0x0000001a,0x00000162,0x000000c3,0x00000053,0x0004003d,
+ 0x00000006,0x00000163,0x00000162,0x00050050,0x00000007,0x00000164,0x00000163,0x00000037,
+ 0x0003003e,0x0000015b,0x00000164,0x000200f9,0x0000015d,0x000200f8,0x0000015d,0x0004003d,
+ 0x00000007,0x00000165,0x0000015b,0x0003003e,0x00000159,0x00000165,0x0004003d,0x00000018,
+ 0x00000167,0x00000109,0x000300f7,0x0000016a,0x00000000,0x000400fa,0x00000167,0x00000169,
+ 0x00000170,0x000200f8,0x00000169,0x0004003d,0x00000006,0x0000016b,0x000000d9,0x0004003d,
+ 0x00000006,0x0000016c,0x000000dc,0x000500be,0x00000018,0x0000016d,0x0000016b,0x0000016c,
+ 0x000600a9,0x00000006,0x0000016e,0x0000016d,0x0000007d,0x00000029,0x00050050,0x00000007,
+ 0x0000016f,0x0000016e,0x00000037,0x0003003e,0x00000168,0x0000016f,0x000200f9,0x0000016a,
+ 0x000200f8,0x00000170,0x0004003d,0x00000006,0x00000171,0x000000df,0x0004003d,0x00000006,
+ 0x00000172,0x000000e2,0x000500be,0x00000018,0x00000173,0x00000171,0x00000172,0x000600a9,
+ 0x00000006,0x00000174,0x00000173,0x0000007d,0x00000029,0x00050050,0x00000007,0x00000175,
+ 0x00000037,0x00000174,0x0003003e,0x00000168,0x00000175,0x000200f9,0x0000016a,0x000200f8,
+ 0x0000016a,0x0004003d,0x00000007,0x00000176,0x00000168,0x0003003e,0x00000166,0x00000176,
+ 0x0004003d,0x00000018,0x00000177,0x00000102,0x000400a8,0x00000018,0x00000178,0x00000177,
+ 0x000300f7,0x0000017a,0x00000000,0x000400fa,0x00000178,0x00000179,0x0000017a,0x000200f8,
+ 0x00000179,0x0004003d,0x00000007,0x0000017c,0x000000c9,0x0003003e,0x0000017b,0x0000017c,
+ 0x0004003d,0x00000007,0x0000017e,0x000000c3,0x0003003e,0x0000017d,0x0000017e,0x0004003d,
+ 0x00000007,0x00000180,0x00000159,0x0003003e,0x0000017f,0x00000180,0x0004003d,0x00000018,
+ 0x00000182,0x00000109,0x0003003e,0x00000181,0x00000182,0x0004003d,0x00000006,0x00000184,
+ 0x000000f1,0x0003003e,0x00000183,0x00000184,0x0003003e,0x00000185,0x00000103,0x000a0039,
+ 0x00000006,0x00000186,0x00000022,0x0000017b,0x0000017d,0x0000017f,0x00000181,0x00000183,
+ 0x00000185,0x0003003e,0x00000100,0x00000186,0x0004003d,0x00000007,0x00000188,0x000000c9,
+ 0x0003003e,0x00000187,0x00000188,0x0004003d,0x00000007,0x0000018a,0x000000c3,0x0003003e,
+ 0x00000189,0x0000018a,0x0004003d,0x00000007,0x0000018c,0x00000159,0x0003003e,0x0000018b,
+ 0x0000018c,0x0004003d,0x00000018,0x0000018e,0x00000109,0x0003003e,0x0000018d,0x0000018e,
+ 0x0004003d,0x00000006,0x00000190,0x000000f1,0x0003003e,0x0000018f,0x00000190,0x0003003e,
+ 0x00000191,0x0000010a,0x000a0039,0x00000006,0x00000192,0x00000022,0x00000187,0x00000189,
+ 0x0000018b,0x0000018d,0x0000018f,0x00000191,0x0003003e,0x00000101,0x00000192,0x000200f9,
+ 0x0000017a,0x000200f8,0x0000017a,0x0004003d,0x00000006,0x00000194,0x00000100,0x0004003d,
+ 0x00000006,0x00000195,0x00000101,0x00050081,0x00000006,0x00000196,0x00000194,0x00000195,
+ 0x0003003e,0x00000193,0x00000196,0x0004003d,0x00000006,0x00000198,0x000000f1,0x0004003d,
+ 0x00000006,0x00000199,0x000000f1,0x00050085,0x00000006,0x0000019b,0x00000199,0x0000019a,
+ 0x0004003d,0x00000006,0x0000019c,0x000000ed,0x0008000c,0x00000006,0x0000019d,0x00000001,
+ 0x00000031,0x00000198,0x0000019b,0x0000019c,0x0003003e,0x00000197,0x0000019d,0x0004003d,
+ 0x00000007,0x0000019f,0x000000c9,0x00050041,0x0000001a,0x000001a0,0x000000c3,0x00000053,
+ 0x0004003d,0x00000006,0x000001a1,0x000001a0,0x0004007f,0x00000006,0x000001a2,0x000001a1,
+ 0x00050041,0x0000001a,0x000001a3,0x000000c3,0x0000003a,0x0004003d,0x00000006,0x000001a4,
+ 0x000001a3,0x0004007f,0x00000006,0x000001a5,0x000001a4,0x00050050,0x00000007,0x000001a6,
+ 0x000001a2,0x000001a5,0x00050081,0x00000007,0x000001a7,0x0000019f,0x000001a6,0x0003003e,
+ 0x000001a8,0x000001a7,0x0004003d,0x00000007,0x000001aa,0x000000c3,0x0003003e,0x000001a9,
+ 0x000001aa,0x00060039,0x00000009,0x000001ab,0x0000000d,0x000001a8,0x000001a9,0x0003003e,
+ 0x0000019e,0x000001ab,0x0004003d,0x00000007,0x000001ad,0x000000c9,0x00050041,0x0000001a,
+ 0x000001ae,0x000000c3,0x00000053,0x0004003d,0x00000006,0x000001af,0x000001ae,0x00050041,
+ 0x0000001a,0x000001b0,0x000000c3,0x0000003a,0x0004003d,0x00000006,0x000001b1,0x000001b0,
+ 0x0004007f,0x00000006,0x000001b2,0x000001b1,0x00050050,0x00000007,0x000001b3,0x000001af,
+ 0x000001b2,0x00050081,0x00000007,0x000001b4,0x000001ad,0x000001b3,0x0003003e,0x000001b5,
+ 0x000001b4,0x0004003d,0x00000007,0x000001b7,0x000000c3,0x0003003e,0x000001b6,0x000001b7,
+ 0x00060039,0x00000009,0x000001b8,0x0000000d,0x000001b5,0x000001b6,0x0003003e,0x000001ac,
+ 0x000001b8,0x0004003d,0x00000007,0x000001ba,0x000000c9,0x00050041,0x0000001a,0x000001bb,
+ 0x000000c3,0x00000053,0x0004003d,0x00000006,0x000001bc,0x000001bb,0x0004007f,0x00000006,
+ 0x000001bd,0x000001bc,0x00050041,0x0000001a,0x000001be,0x000000c3,0x0000003a,0x0004003d,
+ 0x00000006,0x000001bf,0x000001be,0x00050050,0x00000007,0x000001c0,0x000001bd,0x000001bf,
+ 0x00050081,0x00000007,0x000001c1,0x000001ba,0x000001c0,0x0003003e,0x000001c2,0x000001c1,
+ 0x0004003d,0x00000007,0x000001c4,0x000000c3,0x0003003e,0x000001c3,0x000001c4,0x00060039,
+ 0x00000009,0x000001c5,0x0000000d,0x000001c2,0x000001c3,0x0003003e,0x000001b9,0x000001c5,
+ 0x0004003d,0x00000007,0x000001c7,0x000000c9,0x00050041,0x0000001a,0x000001c8,0x000000c3,
+ 0x00000053,0x0004003d,0x00000006,0x000001c9,0x000001c8,0x00050041,0x0000001a,0x000001ca,
+ 0x000000c3,0x0000003a,0x0004003d,0x00000006,0x000001cb,0x000001ca,0x00050050,0x00000007,
+ 0x000001cc,0x000001c9,0x000001cb,0x00050081,0x00000007,0x000001cd,0x000001c7,0x000001cc,
+ 0x0003003e,0x000001ce,0x000001cd,0x0004003d,0x00000007,0x000001d0,0x000000c3,0x0003003e,
+ 0x000001cf,0x000001d0,0x00060039,0x00000009,0x000001d1,0x0000000d,0x000001ce,0x000001cf,
+ 0x0003003e,0x000001c6,0x000001d1,0x0004003d,0x00000006,0x000001d3,0x00000100,0x0004003d,
+ 0x00000006,0x000001d4,0x00000101,0x00050083,0x00000006,0x000001d5,0x000001d3,0x000001d4,
+ 0x0006000c,0x00000006,0x000001d6,0x00000001,0x00000004,0x000001d5,0x0004003d,0x00000006,
+ 0x000001d7,0x00000193,0x0007000c,0x00000006,0x000001d8,0x00000001,0x00000028,0x000001d7,
+ 0x00000029,0x00050088,0x00000006,0x000001d9,0x000001d6,0x000001d8,0x0008000c,0x00000006,
+ 0x000001da,0x00000001,0x0000002b,0x000001d9,0x00000037,0x00000029,0x0003003e,0x000001d2,
+ 0x000001da,0x0004003d,0x00000018,0x000001dc,0x00000109,0x000300f7,0x000001df,0x00000000,
+ 0x000400fa,0x000001dc,0x000001de,0x000001e6,0x000200f8,0x000001de,0x00050041,0x0000001a,
+ 0x000001e0,0x0000019e,0x00000045,0x0004003d,0x00000006,0x000001e1,0x000001e0,0x00050041,
+ 0x0000001a,0x000001e2,0x000001ac,0x00000045,0x0004003d,0x00000006,0x000001e3,0x000001e2,
+ 0x00050083,0x00000006,0x000001e4,0x000001e1,0x000001e3,0x0006000c,0x00000006,0x000001e5,
+ 0x00000001,0x00000004,0x000001e4,0x0003003e,0x000001dd,0x000001e5,0x000200f9,0x000001df,
+ 0x000200f8,0x000001e6,0x00050041,0x0000001a,0x000001e7,0x0000019e,0x0000003a,0x0004003d,
+ 0x00000006,0x000001e8,0x000001e7,0x00050041,0x0000001a,0x000001e9,0x000001b9,0x0000003a,
+ 0x0004003d,0x00000006,0x000001ea,0x000001e9,0x00050083,0x00000006,0x000001eb,0x000001e8,
+ 0x000001ea,0x0006000c,0x00000006,0x000001ec,0x00000001,0x00000004,0x000001eb,0x0003003e,
+ 0x000001dd,0x000001ec,0x000200f9,0x000001df,0x000200f8,0x000001df,0x0004003d,0x00000006,
+ 0x000001ed,0x000001dd,0x0003003e,0x000001db,0x000001ed,0x0004003d,0x00000018,0x000001ef,
+ 0x00000109,0x000300f7,0x000001f2,0x00000000,0x000400fa,0x000001ef,0x000001f1,0x000001f9,
+ 0x000200f8,0x000001f1,0x00050041,0x0000001a,0x000001f3,0x000001b9,0x00000061,0x0004003d,
+ 0x00000006,0x000001f4,0x000001f3,0x00050041,0x0000001a,0x000001f5,0x000001c6,0x00000061,
+ 0x0004003d,0x00000006,0x000001f6,0x000001f5,0x00050083,0x00000006,0x000001f7,0x000001f4,
+ 0x000001f6,0x0006000c,0x00000006,0x000001f8,0x00000001,0x00000004,0x000001f7,0x0003003e,
+ 0x000001f0,0x000001f8,0x000200f9,0x000001f2,0x000200f8,0x000001f9,0x00050041,0x0000001a,
+ 0x000001fa,0x000001ac,0x00000053,0x0004003d,0x00000006,0x000001fb,0x000001fa,0x00050041,
+ 0x0000001a,0x000001fc,0x000001c6,0x00000053,0x0004003d,0x00000006,0x000001fd,0x000001fc,
+ 0x00050083,0x00000006,0x000001fe,0x000001fb,0x000001fd,0x0006000c,0x00000006,0x000001ff,
+ 0x00000001,0x00000004,0x000001fe,0x0003003e,0x000001f0,0x000001ff,0x000200f9,0x000001f2,
+ 0x000200f8,0x000001f2,0x0004003d,0x00000006,0x00000200,0x000001f0,0x0003003e,0x000001ee,
+ 0x00000200,0x0004003d,0x00000006,0x00000202,0x000001db,0x0004003d,0x00000006,0x00000203,
+ 0x000001ee,0x00050083,0x00000006,0x00000204,0x00000202,0x00000203,0x0006000c,0x00000006,
+ 0x00000205,0x00000001,0x00000004,0x00000204,0x0003003e,0x00000201,0x00000205,0x0004003d,
+ 0x00000006,0x00000207,0x000000f1,0x0004003d,0x00000006,0x00000208,0x000000f1,0x00050085,
+ 0x00000006,0x00000209,0x00000208,0x0000019a,0x0004003d,0x00000006,0x0000020a,0x00000201,
+ 0x0008000c,0x00000006,0x0000020b,0x00000001,0x00000031,0x00000207,0x00000209,0x0000020a,
+ 0x0003003e,0x00000206,0x0000020b,0x0004003d,0x00000009,0x0000020d,0x0000019e,0x0004003d,
+ 0x00000009,0x0000020e,0x000001ac,0x0007000c,0x00000009,0x0000020f,0x00000001,0x00000025,
+ 0x0000020d,0x0000020e,0x0004003d,0x00000009,0x00000210,0x000001b9,0x0004003d,0x00000009,
+ 0x00000211,0x000001c6,0x0007000c,0x00000009,0x00000212,0x00000001,0x00000025,0x00000210,
+ 0x00000211,0x0007000c,0x00000009,0x00000213,0x00000001,0x00000025,0x0000020f,0x00000212,
+ 0x0003003e,0x0000020c,0x00000213,0x0004003d,0x00000009,0x00000215,0x0000019e,0x0004003d,
+ 0x00000009,0x00000216,0x000001ac,0x0007000c,0x00000009,0x00000217,0x00000001,0x00000028,
+ 0x00000215,0x00000216,0x0004003d,0x00000009,0x00000218,0x000001b9,0x0004003d,0x00000009,
+ 0x00000219,0x000001c6,0x0007000c,0x00000009,0x0000021a,0x00000001,0x00000028,0x00000218,
+ 0x00000219,0x0007000c,0x00000009,0x0000021b,0x00000001,0x00000028,0x00000217,0x0000021a,
+ 0x0003003e,0x00000214,0x0000021b,0x00050041,0x0000001a,0x0000021d,0x00000214,0x00000053,
+ 0x0004003d,0x00000006,0x0000021e,0x0000021d,0x00050041,0x0000001a,0x0000021f,0x0000020c,
+ 0x00000053,0x0004003d,0x00000006,0x00000220,0x0000021f,0x00050083,0x00000006,0x00000221,
+ 0x0000021e,0x00000220,0x00050041,0x0000001a,0x00000222,0x00000214,0x0000003a,0x0004003d,
+ 0x00000006,0x00000223,0x00000222,0x00050041,0x0000001a,0x00000224,0x0000020c,0x0000003a,
+ 0x0004003d,0x00000006,0x00000225,0x00000224,0x00050083,0x00000006,0x00000226,0x00000223,
+ 0x00000225,0x0007000c,0x00000006,0x00000227,0x00000001,0x00000028,0x00000221,0x00000226,
+ 0x00050041,0x0000001a,0x00000228,0x00000214,0x00000061,0x0004003d,0x00000006,0x00000229,
+ 0x00000228,0x00050041,0x0000001a,0x0000022a,0x0000020c,0x00000061,0x0004003d,0x00000006,
+ 0x0000022b,0x0000022a,0x00050083,0x00000006,0x0000022c,0x00000229,0x0000022b,0x00050041,
+ 0x0000001a,0x0000022d,0x00000214,0x00000045,0x0004003d,0x00000006,0x0000022e,0x0000022d,
+ 0x00050041,0x0000001a,0x0000022f,0x0000020c,0x00000045,0x0004003d,0x00000006,0x00000230,
+ 0x0000022f,0x00050083,0x00000006,0x00000231,0x0000022e,0x00000230,0x0007000c,0x00000006,
+ 0x00000232,0x00000001,0x00000028,0x0000022c,0x00000231,0x0007000c,0x00000006,0x00000233,
+ 0x00000001,0x00000028,0x00000227,0x00000232,0x0003003e,0x0000021c,0x00000233,0x0004003d,
+ 0x00000006,0x00000235,0x0000021c,0x000500ba,0x00000018,0x00000237,0x00000235,0x00000236,
+ 0x000300f7,0x0000023a,0x00000000,0x000400fa,0x00000237,0x00000239,0x00000242,0x000200f8,
+ 0x00000239,0x0004003d,0x00000006,0x0000023b,0x000000f1,0x0004003d,0x00000006,0x0000023c,
+ 0x000000f1,0x00050085,0x00000006,0x0000023d,0x0000023c,0x0000019a,0x0004003d,0x00000006,
+ 0x0000023e,0x000001db,0x0004003d,0x00000006,0x0000023f,0x000001ee,0x0007000c,0x00000006,
+ 0x00000240,0x00000001,0x00000025,0x0000023e,0x0000023f,0x0008000c,0x00000006,0x00000241,
+ 0x00000001,0x00000031,0x0000023b,0x0000023d,0x00000240,0x0003003e,0x00000238,0x00000241,
+ 0x000200f9,0x0000023a,0x000200f8,0x00000242,0x0003003e,0x00000238,0x00000037,0x000200f9,
+ 0x0000023a,0x000200f8,0x0000023a,0x0004003d,0x00000006,0x00000243,0x00000238,0x0003003e,
+ 0x00000234,0x00000243,0x0004003d,0x00000006,0x00000245,0x000001d2,0x000500ba,0x00000018,
+ 0x00000246,0x00000245,0x00000236,0x000300f7,0x00000249,0x00000000,0x000400fa,0x00000246,
+ 0x00000248,0x0000024d,0x000200f8,0x00000248,0x0004003d,0x00000006,0x0000024a,0x000001d2,
+ 0x0004003d,0x00000006,0x0000024b,0x00000234,0x0007000c,0x00000006,0x0000024c,0x00000001,
+ 0x00000028,0x0000024a,0x0000024b,0x0003003e,0x00000247,0x0000024c,0x000200f9,0x00000249,
+ 0x000200f8,0x0000024d,0x0004003d,0x00000006,0x0000024e,0x000001d2,0x0003003e,0x00000247,
+ 0x0000024e,0x000200f9,0x00000249,0x000200f8,0x00000249,0x0004003d,0x00000006,0x0000024f,
+ 0x00000247,0x0003003e,0x00000244,0x0000024f,0x0004003d,0x00000006,0x00000251,0x00000244,
+ 0x0004003d,0x00000006,0x00000252,0x00000193,0x00050085,0x00000006,0x00000254,0x00000252,
+ 0x00000253,0x00050081,0x00000006,0x00000255,0x00000029,0x00000254,0x00050088,0x00000006,
+ 0x00000256,0x00000251,0x00000255,0x0003003e,0x00000250,0x00000256,0x0004003d,0x00000006,
+ 0x00000259,0x00000206,0x00050085,0x00000006,0x0000025a,0x00000258,0x00000259,0x0004003d,
+ 0x00000006,0x0000025b,0x00000193,0x00050088,0x00000006,0x0000025d,0x0000025b,0x0000025c,
+ 0x0008000c,0x00000006,0x0000025e,0x00000001,0x0000002b,0x0000025d,0x00000037,0x00000029,
+ 0x00050085,0x00000006,0x0000025f,0x0000025a,0x0000025e,0x0003003e,0x00000257,0x0000025f,
+ 0x00050041,0x0000001a,0x00000261,0x0000019e,0x00000053,0x0004003d,0x00000006,0x00000262,
+ 0x00000261,0x00050041,0x0000001a,0x00000263,0x000001c6,0x00000053,0x0004003d,0x00000006,
+ 0x00000264,0x00000263,0x00050083,0x00000006,0x00000265,0x00000262,0x00000264,0x0006000c,
+ 0x00000006,0x00000266,0x00000001,0x00000004,0x00000265,0x00050041,0x0000001a,0x00000267,
+ 0x0000019e,0x0000003a,0x0004003d,0x00000006,0x00000268,0x00000267,0x00050041,0x0000001a,
+ 0x00000269,0x000001c6,0x0000003a,0x0004003d,0x00000006,0x0000026a,0x00000269,0x00050083,
+ 0x00000006,0x0000026b,0x00000268,0x0000026a,0x0006000c,0x00000006,0x0000026c,0x00000001,
+ 0x00000004,0x0000026b,0x0007000c,0x00000006,0x0000026d,0x00000001,0x00000028,0x00000266,
+ 0x0000026c,0x00050041,0x0000001a,0x0000026e,0x0000019e,0x00000061,0x0004003d,0x00000006,
+ 0x0000026f,0x0000026e,0x00050041,0x0000001a,0x00000270,0x000001c6,0x00000061,0x0004003d,
+ 0x00000006,0x00000271,0x00000270,0x00050083,0x00000006,0x00000272,0x0000026f,0x00000271,
+ 0x0006000c,0x00000006,0x00000273,0x00000001,0x00000004,0x00000272,0x00050041,0x0000001a,
+ 0x00000274,0x0000019e,0x00000045,0x0004003d,0x00000006,0x00000275,0x00000274,0x00050041,
+ 0x0000001a,0x00000276,0x000001c6,0x00000045,0x0004003d,0x00000006,0x00000277,0x00000276,
+ 0x00050083,0x00000006,0x00000278,0x00000275,0x00000277,0x0006000c,0x00000006,0x00000279,
+ 0x00000001,0x00000004,0x00000278,0x0007000c,0x00000006,0x0000027a,0x00000001,0x00000028,
+ 0x00000273,0x00000279,0x0007000c,0x00000006,0x0000027b,0x00000001,0x00000028,0x0000026d,
+ 0x0000027a,0x00050041,0x0000001a,0x0000027c,0x000001ac,0x00000053,0x0004003d,0x00000006,
+ 0x0000027d,0x0000027c,0x00050041,0x0000001a,0x0000027e,0x000001b9,0x00000053,0x0004003d,
+ 0x00000006,0x0000027f,0x0000027e,0x00050083,0x00000006,0x00000280,0x0000027d,0x0000027f,
+ 0x0006000c,0x00000006,0x00000281,0x00000001,0x00000004,0x00000280,0x00050041,0x0000001a,
+ 0x00000282,0x000001ac,0x0000003a,0x0004003d,0x00000006,0x00000283,0x00000282,0x00050041,
+ 0x0000001a,0x00000284,0x000001b9,0x0000003a,0x0004003d,0x00000006,0x00000285,0x00000284,
+ 0x00050083,0x00000006,0x00000286,0x00000283,0x00000285,0x0006000c,0x00000006,0x00000287,
+ 0x00000001,0x00000004,0x00000286,0x0007000c,0x00000006,0x00000288,0x00000001,0x00000028,
+ 0x00000281,0x00000287,0x00050041,0x0000001a,0x00000289,0x000001ac,0x00000061,0x0004003d,
+ 0x00000006,0x0000028a,0x00000289,0x00050041,0x0000001a,0x0000028b,0x000001b9,0x00000061,
+ 0x0004003d,0x00000006,0x0000028c,0x0000028b,0x00050083,0x00000006,0x0000028d,0x0000028a,
+ 0x0000028c,0x0006000c,0x00000006,0x0000028e,0x00000001,0x00000004,0x0000028d,0x00050041,
+ 0x0000001a,0x0000028f,0x000001ac,0x00000045,0x0004003d,0x00000006,0x00000290,0x0000028f,
+ 0x00050041,0x0000001a,0x00000291,0x000001b9,0x00000045,0x0004003d,0x00000006,0x00000292,
+ 0x00000291,0x00050083,0x00000006,0x00000293,0x00000290,0x00000292,0x0006000c,0x00000006,
+ 0x00000294,0x00000001,0x00000004,0x00000293,0x0007000c,0x00000006,0x00000295,0x00000001,
+ 0x00000028,0x0000028e,0x00000294,0x0007000c,0x00000006,0x00000296,0x00000001,0x00000028,
+ 0x00000288,0x00000295,0x0007000c,0x00000006,0x00000297,0x00000001,0x00000028,0x0000027b,
+ 0x00000296,0x0003003e,0x00000260,0x00000297,0x0004003d,0x00000006,0x0000029a,0x000000f1,
+ 0x0004003d,0x00000006,0x0000029b,0x000000f1,0x00050085,0x00000006,0x0000029d,0x0000029b,
+ 0x0000029c,0x0004003d,0x00000006,0x0000029e,0x00000260,0x0008000c,0x00000006,0x0000029f,
+ 0x00000001,0x00000031,0x0000029a,0x0000029d,0x0000029e,0x00050085,0x00000006,0x000002a0,
+ 0x00000299,0x0000029f,0x00050083,0x00000006,0x000002a1,0x00000029,0x000002a0,0x0003003e,
+ 0x00000298,0x000002a1,0x0004003d,0x00000006,0x000002a3,0x00000257,0x0004003d,0x00000006,
+ 0x000002a4,0x00000250,0x00050085,0x00000006,0x000002a5,0x000002a3,0x000002a4,0x0004003d,
+ 0x00000006,0x000002a6,0x00000197,0x00050085,0x00000006,0x000002a7,0x000002a5,0x000002a6,
+ 0x0004003d,0x00000006,0x000002a8,0x00000298,0x00050085,0x00000006,0x000002a9,0x000002a7,
+ 0x000002a8,0x0003003e,0x000002a2,0x000002a9,0x0004003d,0x00000006,0x000002ab,0x000000e5,
+ 0x0004003d,0x00000006,0x000002ac,0x000000e9,0x0007000c,0x00000006,0x000002ad,0x00000001,
+ 0x00000025,0x000002ab,0x000002ac,0x0003003e,0x000002aa,0x000002ad,0x0004003d,0x00000006,
+ 0x000002af,0x000000f1,0x0004003d,0x00000006,0x000002b0,0x000000f1,0x00050085,0x00000006,
+ 0x000002b1,0x000002b0,0x0000019a,0x0004003d,0x00000006,0x000002b2,0x000002aa,0x0008000c,
+ 0x00000006,0x000002b3,0x00000001,0x00000031,0x000002af,0x000002b1,0x000002b2,0x0003003e,
+ 0x000002ae,0x000002b3,0x0004003d,0x00000006,0x000002b5,0x00000193,0x0008000c,0x00000006,
+ 0x000002b6,0x00000001,0x00000031,0x00000029,0x0000029c,0x000002b5,0x0003003e,0x000002b4,
+ 0x000002b6,0x0004003d,0x00000006,0x000002b8,0x00000193,0x000500ba,0x00000018,0x000002b9,
+ 0x000002b8,0x00000037,0x0004003d,0x00000006,0x000002ba,0x00000193,0x000500bc,0x00000018,
+ 0x000002bb,0x000002ba,0x00000029,0x000500a7,0x00000018,0x000002bc,0x000002b9,0x000002bb,
+ 0x0004003d,0x00000006,0x000002bd,0x00000201,0x0004003d,0x00000006,0x000002be,0x000000f1,
+ 0x000500bc,0x00000018,0x000002bf,0x000002bd,0x000002be,0x000500a7,0x00000018,0x000002c0,
+ 0x000002bc,0x000002bf,0x0004003d,0x00000006,0x000002c1,0x000002aa,0x0004003d,0x00000006,
+ 0x000002c2,0x000000f1,0x000500ba,0x00000018,0x000002c3,0x000002c1,0x000002c2,0x000500a7,
+ 0x00000018,0x000002c4,0x000002c0,0x000002c3,0x000600a9,0x00000006,0x000002c5,0x000002c4,
+ 0x00000029,0x00000037,0x0003003e,0x000002b7,0x000002c5,0x0004003d,0x00000006,0x000002c8,
+ 0x000002ae,0x00050085,0x00000006,0x000002c9,0x000002c7,0x000002c8,0x0004003d,0x00000006,
+ 0x000002ca,0x00000197,0x00050085,0x00000006,0x000002cb,0x000002c9,0x000002ca,0x0004003d,
+ 0x00000006,0x000002cc,0x00000298,0x00050085,0x00000006,0x000002cd,0x000002cb,0x000002cc,
+ 0x0004003d,0x00000006,0x000002ce,0x000002b4,0x0004003d,0x00000006,0x000002cf,0x00000206,
+ 0x0004003d,0x00000006,0x000002d0,0x00000234,0x0007000c,0x00000006,0x000002d1,0x00000001,
+ 0x00000028,0x000002cf,0x000002d0,0x00050085,0x00000006,0x000002d2,0x000002ce,0x000002d1,
+ 0x0004003d,0x00000006,0x000002d3,0x000002b7,0x0007000c,0x00000006,0x000002d4,0x00000001,
+ 0x00000028,0x000002d2,0x000002d3,0x00050085,0x00000006,0x000002d5,0x000002cd,0x000002d4,
+ 0x0003003e,0x000002c6,0x000002d5,0x0004003d,0x00000006,0x000002d7,0x000002a2,0x0004003d,
+ 0x00000006,0x000002d8,0x000002c6,0x0007000c,0x00000006,0x000002d9,0x00000001,0x00000028,
+ 0x000002d7,0x000002d8,0x0008000c,0x00000006,0x000002db,0x00000001,0x0000002b,0x000002d9,
+ 0x00000037,0x000002da,0x0003003e,0x000002d6,0x000002db,0x0004003d,0x00000006,0x000002dc,
+ 0x000002d6,0x00050041,0x0000001a,0x000002dd,0x00000166,0x00000053,0x0004003d,0x00000006,
+ 0x000002de,0x000002dd,0x00050085,0x00000006,0x000002df,0x000002de,0x00000027,0x00050081,
+ 0x00000006,0x000002e0,0x000002df,0x00000027,0x00050041,0x0000001a,0x000002e1,0x00000166,
+ 0x0000003a,0x0004003d,0x00000006,0x000002e2,0x000002e1,0x00050085,0x00000006,0x000002e3,
+ 0x000002e2,0x00000027,0x00050081,0x00000006,0x000002e4,0x000002e3,0x00000027,0x00070050,
+ 0x00000009,0x000002e5,0x000002dc,0x000002e0,0x000002e4,0x00000029,0x0003003e,0x000000fd,
+ 0x000002e5,0x000100fd,0x00010038,0x00050036,0x00000009,0x0000000d,0x00000000,0x0000000a,
+ 0x00030037,0x00000008,0x0000000b,0x00030037,0x00000008,0x0000000c,0x000200f8,0x0000000e,
+ 0x0004003b,0x00000008,0x00000024,0x00000007,0x0004003b,0x0000002f,0x00000030,0x00000007,
+ 0x0004003b,0x0000001a,0x00000041,0x00000007,0x0004003d,0x00000007,0x00000025,0x0000000b,
+ 0x0004003d,0x00000007,0x00000026,0x0000000c,0x0005008e,0x00000007,0x00000028,0x00000026,
+ 0x00000027,0x0004003d,0x00000007,0x0000002b,0x0000000c,0x0005008e,0x00000007,0x0000002c,
+ 0x0000002b,0x00000027,0x00050083,0x00000007,0x0000002d,0x0000002a,0x0000002c,0x0008000c,
+ 0x00000007,0x0000002e,0x00000001,0x0000002b,0x00000025,0x00000028,0x0000002d,0x0003003e,
+ 0x00000024,0x0000002e,0x0004003d,0x00000032,0x00000035,0x00000034,0x0004003d,0x00000007,
+ 0x00000036,0x00000024,0x00070058,0x00000009,0x00000038,0x00000035,0x00000036,0x00000002,
+ 0x00000037,0x0003003e,0x00000030,0x00000038,0x00050041,0x0000001a,0x0000003b,0x00000024,
+ 0x0000003a,0x0004003d,0x00000006,0x0000003c,0x0000003b,0x00050041,0x0000001a,0x0000003d,
+ 0x0000000c,0x0000003a,0x0004003d,0x00000006,0x0000003e,0x0000003d,0x00050083,0x00000006,
+ 0x0000003f,0x00000029,0x0000003e,0x000500be,0x00000018,0x00000040,0x0000003c,0x0000003f,
+ 0x000300f7,0x00000043,0x00000000,0x000400fa,0x00000040,0x00000042,0x00000044,0x000200f8,
+ 0x00000042,0x0003003e,0x00000041,0x00000037,0x000200f9,0x00000043,0x000200f8,0x00000044,
+ 0x00050041,0x0000001a,0x00000046,0x00000030,0x00000045,0x0004003d,0x00000006,0x00000047,
+ 0x00000046,0x0003003e,0x00000041,0x00000047,0x000200f9,0x00000043,0x000200f8,0x00000043,
+ 0x0004003d,0x00000006,0x00000048,0x00000041,0x00050041,0x0000001a,0x00000049,0x00000030,
+ 0x00000045,0x0003003e,0x00000049,0x00000048,0x0004003d,0x00000009,0x0000004a,0x00000030,
+ 0x000200fe,0x0000004a,0x00010038,0x00050036,0x00000006,0x00000012,0x00000000,0x0000000f,
+ 0x00030037,0x00000008,0x00000010,0x00030037,0x00000008,0x00000011,0x000200f8,0x00000013,
+ 0x0004003b,0x0000002f,0x0000004d,0x00000007,0x0004003b,0x00000008,0x0000004e,0x00000007,
+ 0x0004003b,0x00000008,0x00000050,0x00000007,0x0004003d,0x00000007,0x0000004f,0x00000010,
+ 0x0003003e,0x0000004e,0x0000004f,0x0004003d,0x00000007,0x00000051,0x00000011,0x0003003e,
+ 0x00000050,0x00000051,0x00060039,0x00000009,0x00000052,0x0000000d,0x0000004e,0x00000050,
+ 0x0003003e,0x0000004d,0x00000052,0x00050041,0x0000001a,0x00000054,0x0000004d,0x00000053,
+ 0x0004003d,0x00000006,0x00000055,0x00000054,0x00050041,0x0000001a,0x00000056,0x0000004d,
+ 0x0000003a,0x0004003d,0x00000006,0x00000057,0x00000056,0x0007000c,0x00000006,0x00000058,
+ 0x00000001,0x00000028,0x00000055,0x00000057,0x000200fe,0x00000058,0x00010038,0x00050036,
+ 0x00000006,0x00000016,0x00000000,0x0000000f,0x00030037,0x00000008,0x00000014,0x00030037,
+ 0x00000008,0x00000015,0x000200f8,0x00000017,0x0004003b,0x0000002f,0x0000005b,0x00000007,
+ 0x0004003b,0x00000008,0x0000005c,0x00000007,0x0004003b,0x00000008,0x0000005e,0x00000007,
+ 0x0004003d,0x00000007,0x0000005d,0x00000014,0x0003003e,0x0000005c,0x0000005d,0x0004003d,
+ 0x00000007,0x0000005f,0x00000015,0x0003003e,0x0000005e,0x0000005f,0x00060039,0x00000009,
+ 0x00000060,0x0000000d,0x0000005c,0x0000005e,0x0003003e,0x0000005b,0x00000060,0x00050041,
+ 0x0000001a,0x00000062,0x0000005b,0x00000061,0x0004003d,0x00000006,0x00000063,0x00000062,
+ 0x00050041,0x0000001a,0x00000064,0x0000005b,0x00000045,0x0004003d,0x00000006,0x00000065,
+ 0x00000064,0x0007000c,0x00000006,0x00000066,0x00000001,0x00000028,0x00000063,0x00000065,
+ 0x000200fe,0x00000066,0x00010038,0x00050036,0x00000006,0x00000022,0x00000000,0x0000001b,
+ 0x00030037,0x00000008,0x0000001c,0x00030037,0x00000008,0x0000001d,0x00030037,0x00000008,
+ 0x0000001e,0x00030037,0x00000019,0x0000001f,0x00030037,0x0000001a,0x00000020,0x00030037,
+ 0x00000019,0x00000021,0x000200f8,0x00000023,0x0004003b,0x0000001a,0x00000069,0x00000007,
+ 0x0004003b,0x0000006b,0x0000006c,0x00000007,0x0004003b,0x00000008,0x00000076,0x00000007,
+ 0x0004003b,0x00000082,0x00000083,0x00000007,0x0004003b,0x00000082,0x0000008e,0x00000007,
+ 0x0004003b,0x0000001a,0x000000a3,0x00000007,0x0004003b,0x0000001a,0x000000a5,0x00000007,
+ 0x0004003b,0x00000008,0x000000a8,0x00000007,0x0004003b,0x00000008,0x000000aa,0x00000007,
+ 0x0004003b,0x00000008,0x000000ae,0x00000007,0x0004003b,0x00000008,0x000000b0,0x00000007,
+ 0x0003003e,0x00000069,0x00000037,0x0003003e,0x0000006c,0x0000006d,0x000200f9,0x0000006e,
+ 0x000200f8,0x0000006e,0x000400f6,0x00000070,0x00000071,0x00000000,0x000200f9,0x00000072,
+ 0x000200f8,0x00000072,0x0004003d,0x0000006a,0x00000073,0x0000006c,0x000500b3,0x00000018,
+ 0x00000075,0x00000073,0x00000074,0x000400fa,0x00000075,0x0000006f,0x00000070,0x000200f8,
+ 0x0000006f,0x0004003d,0x00000007,0x00000077,0x0000001c,0x0004003d,0x00000007,0x00000078,
+ 0x0000001e,0x0004003d,0x0000006a,0x00000079,0x0000006c,0x0004006f,0x00000006,0x0000007a,
+ 0x00000079,0x0005008e,0x00000007,0x0000007b,0x00000078,0x0000007a,0x0004003d,0x00000018,
+ 0x0000007c,0x00000021,0x000600a9,0x00000006,0x0000007e,0x0000007c,0x00000029,0x0000007d,
+ 0x0005008e,0x00000007,0x0000007f,0x0000007b,0x0000007e,0x00050081,0x00000007,0x00000080,
+ 0x00000077,0x0000007f,0x0003003e,0x00000076,0x00000080,0x0004003d,0x00000007,0x00000084,
+ 0x00000076,0x00050041,0x00000088,0x00000089,0x00000087,0x0000006d,0x0004003d,0x00000007,
+ 0x0000008a,0x00000089,0x00050085,0x00000007,0x0000008b,0x00000084,0x0000008a,0x0006000c,
+ 0x00000007,0x0000008c,0x00000001,0x00000008,0x0000008b,0x0004006e,0x00000081,0x0000008d,
+ 0x0000008c,0x0003003e,0x00000083,0x0000008d,0x00050041,0x00000088,0x0000008f,0x00000087,
+ 0x0000006d,0x0004003d,0x00000007,0x00000090,0x0000008f,0x0004006e,0x00000081,0x00000091,
+ 0x00000090,0x0003003e,0x0000008e,0x00000091,0x0004003d,0x00000081,0x00000092,0x00000083,
+ 0x000500b1,0x00000095,0x00000096,0x00000092,0x00000094,0x0004009a,0x00000018,0x00000097,
+ 0x00000096,0x000400a8,0x00000018,0x00000098,0x00000097,0x000300f7,0x0000009a,0x00000000,
+ 0x000400fa,0x00000098,0x00000099,0x0000009a,0x000200f8,0x00000099,0x0004003d,0x00000081,
+ 0x0000009b,0x00000083,0x0004003d,0x00000081,0x0000009c,0x0000008e,0x000500af,0x00000095,
+ 0x0000009d,0x0000009b,0x0000009c,0x0004009a,0x00000018,0x0000009e,0x0000009d,0x000200f9,
+ 0x0000009a,0x000200f8,0x0000009a,0x000700f5,0x00000018,0x0000009f,0x00000097,0x0000006f,
+ 0x0000009e,0x00000099,0x000300f7,0x000000a1,0x00000000,0x000400fa,0x0000009f,0x000000a0,
+ 0x000000a1,0x000200f8,0x000000a0,0x000200f9,0x00000070,0x000200f8,0x000000a1,0x0004003d,
+ 0x00000018,0x000000a4,0x0000001f,0x000300f7,0x000000a7,0x00000000,0x000400fa,0x000000a4,
+ 0x000000a6,0x000000ad,0x000200f8,0x000000a6,0x0004003d,0x00000007,0x000000a9,0x00000076,
+ 0x0003003e,0x000000a8,0x000000a9,0x0004003d,0x00000007,0x000000ab,0x0000001d,0x0003003e,
+ 0x000000aa,0x000000ab,0x00060039,0x00000006,0x000000ac,0x00000012,0x000000a8,0x000000aa,
+ 0x0003003e,0x000000a5,0x000000ac,0x000200f9,0x000000a7,0x000200f8,0x000000ad,0x0004003d,
+ 0x00000007,0x000000af,0x00000076,0x0003003e,0x000000ae,0x000000af,0x0004003d,0x00000007,
+ 0x000000b1,0x0000001d,0x0003003e,0x000000b0,0x000000b1,0x00060039,0x00000006,0x000000b2,
+ 0x00000016,0x000000ae,0x000000b0,0x0003003e,0x000000a5,0x000000b2,0x000200f9,0x000000a7,
+ 0x000200f8,0x000000a7,0x0004003d,0x00000006,0x000000b3,0x000000a5,0x0003003e,0x000000a3,
+ 0x000000b3,0x0004003d,0x00000006,0x000000b4,0x000000a3,0x0004003d,0x00000006,0x000000b5,
+ 0x00000020,0x00050085,0x00000006,0x000000b7,0x000000b5,0x000000b6,0x000500bc,0x00000018,
+ 0x000000b8,0x000000b4,0x000000b7,0x000300f7,0x000000ba,0x00000000,0x000400fa,0x000000b8,
+ 0x000000b9,0x000000ba,0x000200f8,0x000000b9,0x000200f9,0x00000070,0x000200f8,0x000000ba,
+ 0x0004003d,0x0000006a,0x000000bc,0x0000006c,0x0004006f,0x00000006,0x000000bd,0x000000bc,
+ 0x0003003e,0x00000069,0x000000bd,0x000200f9,0x00000071,0x000200f8,0x00000071,0x0004003d,
+ 0x0000006a,0x000000be,0x0000006c,0x00050080,0x0000006a,0x000000bf,0x000000be,0x0000006d,
+ 0x0003003e,0x0000006c,0x000000bf,0x000200f9,0x0000006e,0x000200f8,0x00000070,0x0004003d,
+ 0x00000006,0x000000c0,0x00000069,0x000200fe,0x000000c0,0x00010038,
+};
diff --git a/app/src/main/cpp/shaders/toon.frag b/app/src/main/cpp/shaders/toon.frag
new file mode 100644
index 0000000000..f55323caa8
--- /dev/null
+++ b/app/src/main/cpp/shaders/toon.frag
@@ -0,0 +1,44 @@
+#version 450
+
+// =============================================================================
+// Toon / cel edge-outline post effect.
+//
+// Ported verbatim from the OpenGL ToonEffect.java shader. GL derived uv from
+// gl_FragCoord.xy / resolution; here fragTexCoord already spans [0,1] across
+// the output, so it IS that uv. edgeThreshold/offset constants unchanged.
+//
+// Conventions match upscale.vert: combined-image-sampler at binding 0, the
+// push-constant block leads with vec4 ndc (offset 0), fragTexCoord in [0,1].
+// Runs after FXAA in the canonical chain (stylize the clean image).
+// =============================================================================
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // quad NDC rect, consumed by upscale.vert (offset 0)
+ vec2 resolution; // input texture size in px
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+void main() {
+ vec2 uv = fragTexCoord;
+
+ float edgeThreshold = 0.2; // edge-detect threshold
+ vec2 offset = vec2(1.0) / pc.resolution; // 1-texel neighbour offset
+
+ vec3 colorCenter = texture(InputTexture, uv).rgb;
+ vec3 colorLeft = texture(InputTexture, uv - vec2(offset.x, 0.0)).rgb;
+ vec3 colorRight = texture(InputTexture, uv + vec2(offset.x, 0.0)).rgb;
+ vec3 colorUp = texture(InputTexture, uv - vec2(0.0, offset.y)).rgb;
+ vec3 colorDown = texture(InputTexture, uv + vec2(0.0, offset.y)).rgb;
+
+ float diffHorizontal = length(colorRight - colorLeft);
+ float diffVertical = length(colorUp - colorDown);
+
+ float edgeFactor = step(edgeThreshold, diffHorizontal + diffVertical);
+ vec3 outlineColor = mix(colorCenter, vec3(0.0), edgeFactor);
+
+ outColor = vec4(outlineColor, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/toon_color.frag b/app/src/main/cpp/shaders/toon_color.frag
new file mode 100644
index 0000000000..58f12d5aa2
--- /dev/null
+++ b/app/src/main/cpp/shaders/toon_color.frag
@@ -0,0 +1,51 @@
+#version 450
+
+layout(binding = 0) uniform sampler2D InputTexture;
+
+layout(push_constant) uniform PC {
+ vec4 ndc;
+ vec2 resolution;
+ float brightness;
+ float contrast;
+ float gamma;
+ float saturation;
+} pc;
+
+layout(location = 0) in vec2 fragTexCoord;
+layout(location = 0) out vec4 outColor;
+
+void main() {
+ vec2 uv = fragTexCoord;
+ vec2 offset = vec2(1.0) / pc.resolution;
+
+ vec3 center = texture(InputTexture, uv).rgb;
+ vec3 left = texture(
+ InputTexture, uv - vec2(offset.x, 0.0)).rgb;
+ vec3 right = texture(
+ InputTexture, uv + vec2(offset.x, 0.0)).rgb;
+ vec3 up = texture(
+ InputTexture, uv - vec2(0.0, offset.y)).rgb;
+ vec3 down = texture(
+ InputTexture, uv + vec2(0.0, offset.y)).rgb;
+
+ float horizontal = length(right - left);
+ float vertical = length(up - down);
+ float edge = step(0.2, horizontal + vertical);
+
+ vec3 color = mix(center, vec3(0.0), edge);
+
+ color = roundEven(clamp(color, 0.0, 1.0) * 255.0) / 255.0;
+
+ color = clamp(color + pc.brightness, 0.0, 1.0);
+ color = (color - 0.5) *
+ clamp(pc.contrast + 1.0, 0.5, 2.0) + 0.5;
+
+ vec3 grey = vec3(
+ dot(color, vec3(0.2126, 0.7152, 0.0722)));
+
+ color = mix(grey, color, clamp(pc.saturation, 0.0, 2.0));
+ color = max(color, vec3(0.0));
+ color = pow(color, vec3(1.0 / pc.gamma));
+
+ outColor = vec4(color, 1.0);
+}
diff --git a/app/src/main/cpp/shaders/toon_color_frag.h b/app/src/main/cpp/shaders/toon_color_frag.h
new file mode 100644
index 0000000000..43a42b0634
--- /dev/null
+++ b/app/src/main/cpp/shaders/toon_color_frag.h
@@ -0,0 +1,133 @@
+ // 1116.3.0
+ #pragma once
+const uint32_t toon_color_code[] = {
+ 0x07230203,0x00010000,0x0008000b,0x000000a4,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
+ 0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000b,0x0000009e,0x00030010,
+ 0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
+ 0x00000000,0x00030005,0x00000009,0x00007675,0x00060005,0x0000000b,0x67617266,0x43786554,
+ 0x64726f6f,0x00000000,0x00040005,0x0000000d,0x7366666f,0x00007465,0x00030005,0x00000011,
+ 0x00004350,0x00040006,0x00000011,0x00000000,0x0063646e,0x00060006,0x00000011,0x00000001,
+ 0x6f736572,0x6974756c,0x00006e6f,0x00060006,0x00000011,0x00000002,0x67697262,0x656e7468,
+ 0x00007373,0x00060006,0x00000011,0x00000003,0x746e6f63,0x74736172,0x00000000,0x00050006,
+ 0x00000011,0x00000004,0x6d6d6167,0x00000061,0x00060006,0x00000011,0x00000005,0x75746173,
+ 0x69746172,0x00006e6f,0x00030005,0x00000013,0x00006370,0x00040005,0x0000001c,0x746e6563,
+ 0x00007265,0x00060005,0x00000020,0x75706e49,0x78655474,0x65727574,0x00000000,0x00040005,
+ 0x00000025,0x7466656c,0x00000000,0x00040005,0x00000032,0x68676972,0x00000074,0x00030005,
+ 0x0000003b,0x00007075,0x00040005,0x00000045,0x6e776f64,0x00000000,0x00050005,0x0000004e,
+ 0x69726f68,0x746e6f7a,0x00006c61,0x00050005,0x00000053,0x74726576,0x6c616369,0x00000000,
+ 0x00040005,0x00000058,0x65676465,0x00000000,0x00040005,0x0000005e,0x6f6c6f63,0x00000072,
+ 0x00040005,0x00000084,0x79657267,0x00000000,0x00050005,0x0000009e,0x4374756f,0x726f6c6f,
+ 0x00000000,0x00040047,0x0000000b,0x0000001e,0x00000000,0x00030047,0x00000011,0x00000002,
+ 0x00050048,0x00000011,0x00000000,0x00000023,0x00000000,0x00050048,0x00000011,0x00000001,
+ 0x00000023,0x00000010,0x00050048,0x00000011,0x00000002,0x00000023,0x00000018,0x00050048,
+ 0x00000011,0x00000003,0x00000023,0x0000001c,0x00050048,0x00000011,0x00000004,0x00000023,
+ 0x00000020,0x00050048,0x00000011,0x00000005,0x00000023,0x00000024,0x00040047,0x00000020,
+ 0x00000021,0x00000000,0x00040047,0x00000020,0x00000022,0x00000000,0x00040047,0x0000009e,
+ 0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,
+ 0x00000006,0x00000020,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,
+ 0x00000007,0x00000007,0x00040020,0x0000000a,0x00000001,0x00000007,0x0004003b,0x0000000a,
+ 0x0000000b,0x00000001,0x0004002b,0x00000006,0x0000000e,0x3f800000,0x0005002c,0x00000007,
+ 0x0000000f,0x0000000e,0x0000000e,0x00040017,0x00000010,0x00000006,0x00000004,0x0008001e,
+ 0x00000011,0x00000010,0x00000007,0x00000006,0x00000006,0x00000006,0x00000006,0x00040020,
+ 0x00000012,0x00000009,0x00000011,0x0004003b,0x00000012,0x00000013,0x00000009,0x00040015,
+ 0x00000014,0x00000020,0x00000001,0x0004002b,0x00000014,0x00000015,0x00000001,0x00040020,
+ 0x00000016,0x00000009,0x00000007,0x00040017,0x0000001a,0x00000006,0x00000003,0x00040020,
+ 0x0000001b,0x00000007,0x0000001a,0x00090019,0x0000001d,0x00000006,0x00000001,0x00000000,
+ 0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x0000001e,0x0000001d,0x00040020,
+ 0x0000001f,0x00000000,0x0000001e,0x0004003b,0x0000001f,0x00000020,0x00000000,0x00040015,
+ 0x00000028,0x00000020,0x00000000,0x0004002b,0x00000028,0x00000029,0x00000000,0x00040020,
+ 0x0000002a,0x00000007,0x00000006,0x0004002b,0x00000006,0x0000002d,0x00000000,0x0004002b,
+ 0x00000028,0x0000003e,0x00000001,0x0004002b,0x00000006,0x00000059,0x3e4ccccd,0x0006002c,
+ 0x0000001a,0x00000060,0x0000002d,0x0000002d,0x0000002d,0x0004002b,0x00000006,0x00000068,
+ 0x437f0000,0x0004002b,0x00000014,0x0000006e,0x00000002,0x00040020,0x0000006f,0x00000009,
+ 0x00000006,0x0004002b,0x00000006,0x00000078,0x3f000000,0x0004002b,0x00000014,0x0000007b,
+ 0x00000003,0x0004002b,0x00000006,0x0000007f,0x40000000,0x0004002b,0x00000006,0x00000086,
+ 0x3e59b3d0,0x0004002b,0x00000006,0x00000087,0x3f371759,0x0004002b,0x00000006,0x00000088,
+ 0x3d93dd98,0x0006002c,0x0000001a,0x00000089,0x00000086,0x00000087,0x00000088,0x0004002b,
+ 0x00000014,0x0000008e,0x00000005,0x0004002b,0x00000014,0x00000097,0x00000004,0x00040020,
+ 0x0000009d,0x00000003,0x00000010,0x0004003b,0x0000009d,0x0000009e,0x00000003,0x00050036,
+ 0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,
+ 0x00000009,0x00000007,0x0004003b,0x00000008,0x0000000d,0x00000007,0x0004003b,0x0000001b,
+ 0x0000001c,0x00000007,0x0004003b,0x0000001b,0x00000025,0x00000007,0x0004003b,0x0000001b,
+ 0x00000032,0x00000007,0x0004003b,0x0000001b,0x0000003b,0x00000007,0x0004003b,0x0000001b,
+ 0x00000045,0x00000007,0x0004003b,0x0000002a,0x0000004e,0x00000007,0x0004003b,0x0000002a,
+ 0x00000053,0x00000007,0x0004003b,0x0000002a,0x00000058,0x00000007,0x0004003b,0x0000001b,
+ 0x0000005e,0x00000007,0x0004003b,0x0000001b,0x00000084,0x00000007,0x0004003d,0x00000007,
+ 0x0000000c,0x0000000b,0x0003003e,0x00000009,0x0000000c,0x00050041,0x00000016,0x00000017,
+ 0x00000013,0x00000015,0x0004003d,0x00000007,0x00000018,0x00000017,0x00050088,0x00000007,
+ 0x00000019,0x0000000f,0x00000018,0x0003003e,0x0000000d,0x00000019,0x0004003d,0x0000001e,
+ 0x00000021,0x00000020,0x0004003d,0x00000007,0x00000022,0x00000009,0x00050057,0x00000010,
+ 0x00000023,0x00000021,0x00000022,0x0008004f,0x0000001a,0x00000024,0x00000023,0x00000023,
+ 0x00000000,0x00000001,0x00000002,0x0003003e,0x0000001c,0x00000024,0x0004003d,0x0000001e,
+ 0x00000026,0x00000020,0x0004003d,0x00000007,0x00000027,0x00000009,0x00050041,0x0000002a,
+ 0x0000002b,0x0000000d,0x00000029,0x0004003d,0x00000006,0x0000002c,0x0000002b,0x00050050,
+ 0x00000007,0x0000002e,0x0000002c,0x0000002d,0x00050083,0x00000007,0x0000002f,0x00000027,
+ 0x0000002e,0x00050057,0x00000010,0x00000030,0x00000026,0x0000002f,0x0008004f,0x0000001a,
+ 0x00000031,0x00000030,0x00000030,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000025,
+ 0x00000031,0x0004003d,0x0000001e,0x00000033,0x00000020,0x0004003d,0x00000007,0x00000034,
+ 0x00000009,0x00050041,0x0000002a,0x00000035,0x0000000d,0x00000029,0x0004003d,0x00000006,
+ 0x00000036,0x00000035,0x00050050,0x00000007,0x00000037,0x00000036,0x0000002d,0x00050081,
+ 0x00000007,0x00000038,0x00000034,0x00000037,0x00050057,0x00000010,0x00000039,0x00000033,
+ 0x00000038,0x0008004f,0x0000001a,0x0000003a,0x00000039,0x00000039,0x00000000,0x00000001,
+ 0x00000002,0x0003003e,0x00000032,0x0000003a,0x0004003d,0x0000001e,0x0000003c,0x00000020,
+ 0x0004003d,0x00000007,0x0000003d,0x00000009,0x00050041,0x0000002a,0x0000003f,0x0000000d,
+ 0x0000003e,0x0004003d,0x00000006,0x00000040,0x0000003f,0x00050050,0x00000007,0x00000041,
+ 0x0000002d,0x00000040,0x00050083,0x00000007,0x00000042,0x0000003d,0x00000041,0x00050057,
+ 0x00000010,0x00000043,0x0000003c,0x00000042,0x0008004f,0x0000001a,0x00000044,0x00000043,
+ 0x00000043,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000003b,0x00000044,0x0004003d,
+ 0x0000001e,0x00000046,0x00000020,0x0004003d,0x00000007,0x00000047,0x00000009,0x00050041,
+ 0x0000002a,0x00000048,0x0000000d,0x0000003e,0x0004003d,0x00000006,0x00000049,0x00000048,
+ 0x00050050,0x00000007,0x0000004a,0x0000002d,0x00000049,0x00050081,0x00000007,0x0000004b,
+ 0x00000047,0x0000004a,0x00050057,0x00000010,0x0000004c,0x00000046,0x0000004b,0x0008004f,
+ 0x0000001a,0x0000004d,0x0000004c,0x0000004c,0x00000000,0x00000001,0x00000002,0x0003003e,
+ 0x00000045,0x0000004d,0x0004003d,0x0000001a,0x0000004f,0x00000032,0x0004003d,0x0000001a,
+ 0x00000050,0x00000025,0x00050083,0x0000001a,0x00000051,0x0000004f,0x00000050,0x0006000c,
+ 0x00000006,0x00000052,0x00000001,0x00000042,0x00000051,0x0003003e,0x0000004e,0x00000052,
+ 0x0004003d,0x0000001a,0x00000054,0x0000003b,0x0004003d,0x0000001a,0x00000055,0x00000045,
+ 0x00050083,0x0000001a,0x00000056,0x00000054,0x00000055,0x0006000c,0x00000006,0x00000057,
+ 0x00000001,0x00000042,0x00000056,0x0003003e,0x00000053,0x00000057,0x0004003d,0x00000006,
+ 0x0000005a,0x0000004e,0x0004003d,0x00000006,0x0000005b,0x00000053,0x00050081,0x00000006,
+ 0x0000005c,0x0000005a,0x0000005b,0x0007000c,0x00000006,0x0000005d,0x00000001,0x00000030,
+ 0x00000059,0x0000005c,0x0003003e,0x00000058,0x0000005d,0x0004003d,0x0000001a,0x0000005f,
+ 0x0000001c,0x0004003d,0x00000006,0x00000061,0x00000058,0x00060050,0x0000001a,0x00000062,
+ 0x00000061,0x00000061,0x00000061,0x0008000c,0x0000001a,0x00000063,0x00000001,0x0000002e,
+ 0x0000005f,0x00000060,0x00000062,0x0003003e,0x0000005e,0x00000063,0x0004003d,0x0000001a,
+ 0x00000064,0x0000005e,0x00060050,0x0000001a,0x00000065,0x0000002d,0x0000002d,0x0000002d,
+ 0x00060050,0x0000001a,0x00000066,0x0000000e,0x0000000e,0x0000000e,0x0008000c,0x0000001a,
+ 0x00000067,0x00000001,0x0000002b,0x00000064,0x00000065,0x00000066,0x0005008e,0x0000001a,
+ 0x00000069,0x00000067,0x00000068,0x0006000c,0x0000001a,0x0000006a,0x00000001,0x00000002,
+ 0x00000069,0x00060050,0x0000001a,0x0000006b,0x00000068,0x00000068,0x00000068,0x00050088,
+ 0x0000001a,0x0000006c,0x0000006a,0x0000006b,0x0003003e,0x0000005e,0x0000006c,0x0004003d,
+ 0x0000001a,0x0000006d,0x0000005e,0x00050041,0x0000006f,0x00000070,0x00000013,0x0000006e,
+ 0x0004003d,0x00000006,0x00000071,0x00000070,0x00060050,0x0000001a,0x00000072,0x00000071,
+ 0x00000071,0x00000071,0x00050081,0x0000001a,0x00000073,0x0000006d,0x00000072,0x00060050,
+ 0x0000001a,0x00000074,0x0000002d,0x0000002d,0x0000002d,0x00060050,0x0000001a,0x00000075,
+ 0x0000000e,0x0000000e,0x0000000e,0x0008000c,0x0000001a,0x00000076,0x00000001,0x0000002b,
+ 0x00000073,0x00000074,0x00000075,0x0003003e,0x0000005e,0x00000076,0x0004003d,0x0000001a,
+ 0x00000077,0x0000005e,0x00060050,0x0000001a,0x00000079,0x00000078,0x00000078,0x00000078,
+ 0x00050083,0x0000001a,0x0000007a,0x00000077,0x00000079,0x00050041,0x0000006f,0x0000007c,
+ 0x00000013,0x0000007b,0x0004003d,0x00000006,0x0000007d,0x0000007c,0x00050081,0x00000006,
+ 0x0000007e,0x0000007d,0x0000000e,0x0008000c,0x00000006,0x00000080,0x00000001,0x0000002b,
+ 0x0000007e,0x00000078,0x0000007f,0x0005008e,0x0000001a,0x00000081,0x0000007a,0x00000080,
+ 0x00060050,0x0000001a,0x00000082,0x00000078,0x00000078,0x00000078,0x00050081,0x0000001a,
+ 0x00000083,0x00000081,0x00000082,0x0003003e,0x0000005e,0x00000083,0x0004003d,0x0000001a,
+ 0x00000085,0x0000005e,0x00050094,0x00000006,0x0000008a,0x00000085,0x00000089,0x00060050,
+ 0x0000001a,0x0000008b,0x0000008a,0x0000008a,0x0000008a,0x0003003e,0x00000084,0x0000008b,
+ 0x0004003d,0x0000001a,0x0000008c,0x00000084,0x0004003d,0x0000001a,0x0000008d,0x0000005e,
+ 0x00050041,0x0000006f,0x0000008f,0x00000013,0x0000008e,0x0004003d,0x00000006,0x00000090,
+ 0x0000008f,0x0008000c,0x00000006,0x00000091,0x00000001,0x0000002b,0x00000090,0x0000002d,
+ 0x0000007f,0x00060050,0x0000001a,0x00000092,0x00000091,0x00000091,0x00000091,0x0008000c,
+ 0x0000001a,0x00000093,0x00000001,0x0000002e,0x0000008c,0x0000008d,0x00000092,0x0003003e,
+ 0x0000005e,0x00000093,0x0004003d,0x0000001a,0x00000094,0x0000005e,0x0007000c,0x0000001a,
+ 0x00000095,0x00000001,0x00000028,0x00000094,0x00000060,0x0003003e,0x0000005e,0x00000095,
+ 0x0004003d,0x0000001a,0x00000096,0x0000005e,0x00050041,0x0000006f,0x00000098,0x00000013,
+ 0x00000097,0x0004003d,0x00000006,0x00000099,0x00000098,0x00050088,0x00000006,0x0000009a,
+ 0x0000000e,0x00000099,0x00060050,0x0000001a,0x0000009b,0x0000009a,0x0000009a,0x0000009a,
+ 0x0007000c,0x0000001a,0x0000009c,0x00000001,0x0000001a,0x00000096,0x0000009b,0x0003003e,
+ 0x0000005e,0x0000009c,0x0004003d,0x0000001a,0x0000009f,0x0000005e,0x00050051,0x00000006,
+ 0x000000a0,0x0000009f,0x00000000,0x00050051,0x00000006,0x000000a1,0x0000009f,0x00000001,
+ 0x00050051,0x00000006,0x000000a2,0x0000009f,0x00000002,0x00070050,0x00000010,0x000000a3,
+ 0x000000a0,0x000000a1,0x000000a2,0x0000000e,0x0003003e,0x0000009e,0x000000a3,0x000100fd,
+ 0x00010038
+};
diff --git a/app/src/main/cpp/shaders/upscale.vert b/app/src/main/cpp/shaders/upscale.vert
new file mode 100644
index 0000000000..0be0bed0ab
--- /dev/null
+++ b/app/src/main/cpp/shaders/upscale.vert
@@ -0,0 +1,23 @@
+#version 450
+
+// Full-screen / sub-rect quad for the spatial-upscaler post passes (SGSR, FSR
+// EASU/RCAS). Identical quad generation to window.vert, but the push-constant
+// block is declared as a single vec4 `ndc` so it matches the leading member of
+// the upscaler fragment shaders' push-constant blocks (cross-stage layout must
+// agree). gl_VertexIndex 0..3 over a TRIANGLE_STRIP -> the rect; fragTexCoord
+// spans [0,1] across that rect (= normalised output position).
+
+layout(push_constant) uniform PC {
+ vec4 ndc; // (x0, y0, x1, y1) destination rect in NDC
+} pc;
+
+layout(location = 0) out vec2 fragTexCoord;
+
+void main() {
+ int xi = (gl_VertexIndex >> 1) & 1;
+ int yi = gl_VertexIndex & 1;
+ float x = xi == 1 ? pc.ndc.z : pc.ndc.x;
+ float y = yi == 1 ? pc.ndc.w : pc.ndc.y;
+ gl_Position = vec4(x, y, 0.0, 1.0);
+ fragTexCoord = vec2(float(xi), float(yi));
+}
diff --git a/app/src/main/cpp/waylandcomp/CMakeLists.txt b/app/src/main/cpp/waylandcomp/CMakeLists.txt
index 13e9e1b3e0..5bdc1e8385 100644
--- a/app/src/main/cpp/waylandcomp/CMakeLists.txt
+++ b/app/src/main/cpp/waylandcomp/CMakeLists.txt
@@ -8,6 +8,7 @@ add_library(droiddeckwayland SHARED
src/vk_loader.c
src/sc_layer.c
src/ahb_swapchain.c
+ src/display_buffers.c
src/waylandcomp_jni.c
src/gpu_clock_pin.c
src/droiddeck_ext.c
@@ -34,7 +35,8 @@ add_library(droiddeckwayland SHARED
generated/text-input-unstable-v3-protocol.c
generated/xdg-toplevel-icon-v1-protocol.c
generated/single-pixel-buffer-v1-protocol.c
- generated/banner-ahb-v1-protocol.c
+ generated/droiddeck-ahb-v1-protocol.c
+ generated/droiddeck-refresh-v1-protocol.c
src/framegen_bridge.c
src/framegen_jni.c
src/hudframes.c
diff --git a/app/src/main/cpp/waylandcomp/ZERO_COPY_SPIKE.md b/app/src/main/cpp/waylandcomp/ZERO_COPY_SPIKE.md
index 37b08b2334..f5e7177244 100644
--- a/app/src/main/cpp/waylandcomp/ZERO_COPY_SPIKE.md
+++ b/app/src/main/cpp/waylandcomp/ZERO_COPY_SPIKE.md
@@ -19,8 +19,8 @@ exactly how Turnip already imports every gralloc buffer on Android (`vk_android.
in play already have every extension needed; nothing is missing in the drivers. What is missing is
a **WSI hook**: Mesa's Wayland WSI always allocates its own dma-bufs and has no way to receive or
allocate compositor-visible buffers, so **option (a) or (c) each need a ~300-line patch to
-`wsi_common_wayland.c` in our own Wayland Turnip build** (banners-turnip-wayland
-`build_turnip_wayland_wsi.sh`, Mesa `7cda7850`) plus a small private Wayland protocol. Nothing in
+`wsi_common_wayland.c` in our own Wayland Turnip build**
+(`build_turnip_wayland_wsi.sh`, Mesa `7cda7850`) plus a small private Wayland protocol. Nothing in
the app can remove the copy on its own. Recommended: **option (a′) - the game's WSI allocates its
swapchain images as `AHardwareBuffer`s (gralloc-native, UBWC), imports them through the AHB path
Turnip already has, and hands the compositor the AHB over a Unix socket (`AHardwareBuffer_send/
@@ -77,7 +77,7 @@ Mesa's Wayland WSI creates every native swapchain image with `wsi_create_native_
(the Android-WSI import path, `tu_image.cc:880-925`) is only reachable from the Android swapchain.
The patch (in our Wayland Turnip build): a new `create_mem` for the Wayland chain, selected when the
-compositor advertises a private global `banner_layer_buffer_v1`:
+compositor advertises a private global `droiddeck_layer_buffer_v1`:
1. `AHardwareBuffer_allocate(w, h, R8G8B8A8, GPU_COLOR_OUTPUT | GPU_SAMPLED_IMAGE)`;
`vkGetAndroidHardwareBufferPropertiesANDROID` → `vkAllocateMemory` with
`VkImportAndroidHardwareBufferInfoANDROID` (Turnip: `tu_device.cc:3828`), bind - the image was
@@ -85,7 +85,7 @@ compositor advertises a private global `banner_layer_buffer_v1`:
2. `wsi_image.dma_buf_fd = dup(native_handle->data[0])`, `drm_modifier` / `row_pitches[0]` from
the same layout → the existing `zwp_linux_dmabuf_v1` path stays untouched: the compositor keeps
importing a dma-buf and can keep the blit path as the fallback.
-3. `banner_layer_buffer_v1.attach(wl_buffer, socket_fd)`: the WSI creates a `socketpair`, sends one
+3. `droiddeck_layer_buffer_v1.attach(wl_buffer, socket_fd)`: the WSI creates a `socketpair`, sends one
end in the request, and calls `AHardwareBuffer_sendHandleToUnixSocket(ahb, other_end)`; the
compositor's request handler does `AHardwareBuffer_recvHandleFromUnixSocket` and stores the AHB
on `struct dmabuf_buffer`. Per swapchain image, once - not per frame.
@@ -262,7 +262,7 @@ D3D12 tabs) as the workload, session log in `Download/Wayland-logs/`.
since the blit only changed its destination) and `dumpsys gfxinfo`/battery for 5 min each. This
is the baseline the WSI patch is measured against.
4. **Fence probe outcome → choose the acquire-fence design** (§3) before starting the WSI patch.
-5. **WSI patch (option a) in banners-turnip-wayland**, wcp rebuild, then the same steps 1–3 with
+5. **WSI patch (option a) in the Wayland Turnip build**, wcp rebuild, then the same steps 1–3 with
the AHB arriving from the guest: log line to add on the compositor side `layer: buffer N of
"" received from the game (AHardwareBuffer WxH, UBWC)` and the fps delta vs X11.
@@ -296,7 +296,7 @@ unchanged. Off by default: with the variable unset no new code runs.
Not zero-copy yet - it is the receive side. The copy disappears when step 5 lands and
`sc_layer_present` is handed the game's own `AHardwareBuffer` instead of a pool slot.
-## 7. Step 5 implemented (feat/wayland-zero-copy-wsi + banners-turnip-wayland `banner_ahb_wsi.py`)
+## 7. Step 5 implemented (feat/wayland-zero-copy-wsi + the Wayland Turnip build `droiddeck_ahb_wsi.py`)
Option (a′) as recommended, with one deviation forced by the build: the Wayland Turnip is a
`platforms=wayland` build with Android detection off, so `VK_ANDROID_external_memory_android_hardware_buffer`
diff --git a/app/src/main/cpp/waylandcomp/generated/banner-ahb-v1-protocol.c b/app/src/main/cpp/waylandcomp/generated/droiddeck-ahb-v1-protocol.c
similarity index 76%
rename from app/src/main/cpp/waylandcomp/generated/banner-ahb-v1-protocol.c
rename to app/src/main/cpp/waylandcomp/generated/droiddeck-ahb-v1-protocol.c
index 17b0c0dfd1..1c7e42dbf5 100644
--- a/app/src/main/cpp/waylandcomp/generated/banner-ahb-v1-protocol.c
+++ b/app/src/main/cpp/waylandcomp/generated/droiddeck-ahb-v1-protocol.c
@@ -38,7 +38,7 @@
extern const struct wl_interface wl_buffer_interface;
-static const struct wl_interface *banner_ahb_v1_types[] = {
+static const struct wl_interface *droiddeck_ahb_v1_types[] = {
NULL,
&wl_buffer_interface,
NULL,
@@ -50,18 +50,18 @@ static const struct wl_interface *banner_ahb_v1_types[] = {
NULL,
};
-static const struct wl_message banner_ahb_v1_requests[] = {
- { "destroy", "", banner_ahb_v1_types + 0 },
- { "attach", "ohuuuuuu", banner_ahb_v1_types + 1 },
+static const struct wl_message droiddeck_ahb_v1_requests[] = {
+ { "destroy", "", droiddeck_ahb_v1_types + 0 },
+ { "attach", "ohuuuuuu", droiddeck_ahb_v1_types + 1 },
};
-static const struct wl_message banner_ahb_v1_events[] = {
- { "mode", "2u", banner_ahb_v1_types + 0 },
+static const struct wl_message droiddeck_ahb_v1_events[] = {
+ { "mode", "2u", droiddeck_ahb_v1_types + 0 },
};
-WL_PRIVATE const struct wl_interface banner_ahb_v1_interface = {
- "banner_ahb_v1", 2,
- 2, banner_ahb_v1_requests,
- 1, banner_ahb_v1_events,
+WL_PRIVATE const struct wl_interface droiddeck_ahb_v1_interface = {
+ "droiddeck_ahb_v1", 2,
+ 2, droiddeck_ahb_v1_requests,
+ 1, droiddeck_ahb_v1_events,
};
diff --git a/app/src/main/cpp/waylandcomp/generated/banner-ahb-v1-server-protocol.h b/app/src/main/cpp/waylandcomp/generated/droiddeck-ahb-v1-server-protocol.h
similarity index 73%
rename from app/src/main/cpp/waylandcomp/generated/banner-ahb-v1-server-protocol.h
rename to app/src/main/cpp/waylandcomp/generated/droiddeck-ahb-v1-server-protocol.h
index 788982c105..118ca6c611 100644
--- a/app/src/main/cpp/waylandcomp/generated/banner-ahb-v1-server-protocol.h
+++ b/app/src/main/cpp/waylandcomp/generated/droiddeck-ahb-v1-server-protocol.h
@@ -1,6 +1,6 @@
-#ifndef BANNER_AHB_V1_SERVER_PROTOCOL_H
-#define BANNER_AHB_V1_SERVER_PROTOCOL_H
+#ifndef DROIDDECK_AHB_V1_SERVER_PROTOCOL_H
+#define DROIDDECK_AHB_V1_SERVER_PROTOCOL_H
#include
#include
@@ -14,7 +14,7 @@ struct wl_client;
struct wl_resource;
/*
- * @section page_copyright_banner_ahb_v1 Copyright
+ * @section page_copyright_droiddeck_ahb_v1 Copyright
*
* Copyright 2026 The412Banner
*
@@ -42,15 +42,15 @@ struct wl_resource;
-struct banner_ahb_v1;
+struct droiddeck_ahb_v1;
struct wl_buffer;
-#ifndef BANNER_AHB_V1_INTERFACE
-#define BANNER_AHB_V1_INTERFACE
-extern const struct wl_interface banner_ahb_v1_interface;
+#ifndef DROIDDECK_AHB_V1_INTERFACE
+#define DROIDDECK_AHB_V1_INTERFACE
+extern const struct wl_interface droiddeck_ahb_v1_interface;
#endif
-struct banner_ahb_v1_interface {
+struct droiddeck_ahb_v1_interface {
void (*destroy)(struct wl_client *client,
struct wl_resource *resource);
void (*attach)(struct wl_client *client,
@@ -65,17 +65,17 @@ struct banner_ahb_v1_interface {
uint32_t image_count);
};
-#define BANNER_AHB_V1_MODE 0
+#define DROIDDECK_AHB_V1_MODE 0
-#define BANNER_AHB_V1_MODE_SINCE_VERSION 2
+#define DROIDDECK_AHB_V1_MODE_SINCE_VERSION 2
-#define BANNER_AHB_V1_DESTROY_SINCE_VERSION 1
-#define BANNER_AHB_V1_ATTACH_SINCE_VERSION 1
+#define DROIDDECK_AHB_V1_DESTROY_SINCE_VERSION 1
+#define DROIDDECK_AHB_V1_ATTACH_SINCE_VERSION 1
static inline void
-banner_ahb_v1_send_mode(struct wl_resource *resource_, uint32_t enabled)
+droiddeck_ahb_v1_send_mode(struct wl_resource *resource_, uint32_t enabled)
{
- wl_resource_post_event(resource_, BANNER_AHB_V1_MODE, enabled);
+ wl_resource_post_event(resource_, DROIDDECK_AHB_V1_MODE, enabled);
}
#ifdef __cplusplus
diff --git a/app/src/main/cpp/waylandcomp/generated/droiddeck-refresh-v1-protocol.c b/app/src/main/cpp/waylandcomp/generated/droiddeck-refresh-v1-protocol.c
new file mode 100644
index 0000000000..bd26d77a28
--- /dev/null
+++ b/app/src/main/cpp/waylandcomp/generated/droiddeck-refresh-v1-protocol.c
@@ -0,0 +1,59 @@
+/*
+ * Copyright 2026 DroidDeck contributors
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+#include
+#include
+#include "wayland-util.h"
+
+#ifndef __has_attribute
+# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */
+#endif
+
+#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)
+#define WL_PRIVATE __attribute__ ((visibility("hidden")))
+#else
+#define WL_PRIVATE
+#endif
+
+
+static const struct wl_interface *droiddeck_refresh_v1_types[] = {
+ NULL,
+ NULL,
+};
+
+static const struct wl_message droiddeck_refresh_v1_requests[] = {
+ { "destroy", "", droiddeck_refresh_v1_types + 0 },
+ { "set_target", "uu", droiddeck_refresh_v1_types + 0 },
+};
+
+static const struct wl_message droiddeck_refresh_v1_events[] = {
+ { "rate", "u", droiddeck_refresh_v1_types + 0 },
+ { "done", "", droiddeck_refresh_v1_types + 0 },
+};
+
+WL_PRIVATE const struct wl_interface droiddeck_refresh_v1_interface = {
+ "droiddeck_refresh_v1", 1,
+ 2, droiddeck_refresh_v1_requests,
+ 2, droiddeck_refresh_v1_events,
+};
+
diff --git a/app/src/main/cpp/waylandcomp/generated/droiddeck-refresh-v1-server-protocol.h b/app/src/main/cpp/waylandcomp/generated/droiddeck-refresh-v1-server-protocol.h
new file mode 100644
index 0000000000..32d1c17782
--- /dev/null
+++ b/app/src/main/cpp/waylandcomp/generated/droiddeck-refresh-v1-server-protocol.h
@@ -0,0 +1,175 @@
+
+#ifndef DROIDDECK_REFRESH_V1_SERVER_PROTOCOL_H
+#define DROIDDECK_REFRESH_V1_SERVER_PROTOCOL_H
+
+#include
+#include
+#include "wayland-server.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct wl_client;
+struct wl_resource;
+
+/**
+ * @page page_droiddeck_refresh_v1 The droiddeck_refresh_v1 protocol
+ * @section page_ifaces_droiddeck_refresh_v1 Interfaces
+ * - @subpage page_iface_droiddeck_refresh_v1 - panel refresh rates a nested compositor may ask for
+ * @section page_copyright_droiddeck_refresh_v1 Copyright
+ *
+ *
+ * Copyright 2026 DroidDeck contributors
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ */
+struct droiddeck_refresh_v1;
+
+#ifndef DROIDDECK_REFRESH_V1_INTERFACE
+#define DROIDDECK_REFRESH_V1_INTERFACE
+/**
+ * @page page_iface_droiddeck_refresh_v1 droiddeck_refresh_v1
+ * @section page_iface_droiddeck_refresh_v1_desc Description
+ *
+ * A nested compositor paces its clients against the refresh rate of the
+ * panel it is shown on. When its clients are held to a frame rate the
+ * panel's current rate does not divide evenly, frames are shown for an
+ * uneven number of refreshes. This interface lets the nested compositor
+ * see every refresh rate the panel can run at its current size and ask
+ * for the one that suits the frame rate it is pacing to.
+ *
+ * On bind the compositor sends one rate event per refresh rate, lowest
+ * first, followed by done. The list is sent again, in full, whenever it
+ * changes (a different panel, or a limit the user placed on the panel's
+ * rate). The rate the panel is running at is still reported the standard
+ * way, through wl_output.mode.
+ *
+ * A request is a preference, not a guarantee: the user, the platform or
+ * another output mirroring the panel may hold the panel at another rate.
+ * The client reads the result from wl_output.mode.
+ * @section page_iface_droiddeck_refresh_v1_api API
+ * See @ref iface_droiddeck_refresh_v1.
+ */
+/**
+ * @defgroup iface_droiddeck_refresh_v1 The droiddeck_refresh_v1 interface
+ *
+ * A nested compositor paces its clients against the refresh rate of the
+ * panel it is shown on. When its clients are held to a frame rate the
+ * panel's current rate does not divide evenly, frames are shown for an
+ * uneven number of refreshes. This interface lets the nested compositor
+ * see every refresh rate the panel can run at its current size and ask
+ * for the one that suits the frame rate it is pacing to.
+ *
+ * On bind the compositor sends one rate event per refresh rate, lowest
+ * first, followed by done. The list is sent again, in full, whenever it
+ * changes (a different panel, or a limit the user placed on the panel's
+ * rate). The rate the panel is running at is still reported the standard
+ * way, through wl_output.mode.
+ *
+ * A request is a preference, not a guarantee: the user, the platform or
+ * another output mirroring the panel may hold the panel at another rate.
+ * The client reads the result from wl_output.mode.
+ */
+extern const struct wl_interface droiddeck_refresh_v1_interface;
+#endif
+
+/**
+ * @ingroup iface_droiddeck_refresh_v1
+ * @struct droiddeck_refresh_v1_interface
+ */
+struct droiddeck_refresh_v1_interface {
+ /**
+ * destroy the object
+ *
+ * The preference set through this object is dropped.
+ */
+ void (*destroy)(struct wl_client *client,
+ struct wl_resource *resource);
+ /**
+ * ask for a refresh rate
+ *
+ * refresh is the panel rate the client would like, in Hz, taken
+ * from the advertised list; 0 withdraws the preference. frame_rate
+ * is the frame rate the client holds its content to, in frames per
+ * second, or 0 when the content is not held to a rate. The
+ * compositor may multiply the content's frame rate itself
+ * (generated frames); when it does, it picks the advertised rate
+ * that the multiplied frame rate divides evenly instead of the
+ * requested one.
+ * @param refresh wanted panel refresh rate in Hz, 0 for none
+ * @param frame_rate content frame rate in frames per second, 0 for unpaced
+ */
+ void (*set_target)(struct wl_client *client,
+ struct wl_resource *resource,
+ uint32_t refresh,
+ uint32_t frame_rate);
+};
+
+#define DROIDDECK_REFRESH_V1_RATE 0
+#define DROIDDECK_REFRESH_V1_DONE 1
+
+/**
+ * @ingroup iface_droiddeck_refresh_v1
+ */
+#define DROIDDECK_REFRESH_V1_RATE_SINCE_VERSION 1
+/**
+ * @ingroup iface_droiddeck_refresh_v1
+ */
+#define DROIDDECK_REFRESH_V1_DONE_SINCE_VERSION 1
+
+/**
+ * @ingroup iface_droiddeck_refresh_v1
+ */
+#define DROIDDECK_REFRESH_V1_DESTROY_SINCE_VERSION 1
+/**
+ * @ingroup iface_droiddeck_refresh_v1
+ */
+#define DROIDDECK_REFRESH_V1_SET_TARGET_SINCE_VERSION 1
+
+/**
+ * @ingroup iface_droiddeck_refresh_v1
+ * Sends an rate event to the client owning the resource.
+ * @param resource_ The client's resource
+ * @param refresh panel refresh rate in Hz
+ */
+static inline void
+droiddeck_refresh_v1_send_rate(struct wl_resource *resource_, uint32_t refresh)
+{
+ wl_resource_post_event(resource_, DROIDDECK_REFRESH_V1_RATE, refresh);
+}
+
+/**
+ * @ingroup iface_droiddeck_refresh_v1
+ * Sends an done event to the client owning the resource.
+ * @param resource_ The client's resource
+ */
+static inline void
+droiddeck_refresh_v1_send_done(struct wl_resource *resource_)
+{
+ wl_resource_post_event(resource_, DROIDDECK_REFRESH_V1_DONE);
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/app/src/main/cpp/waylandcomp/protocols/banner-ahb-v1.xml b/app/src/main/cpp/waylandcomp/protocols/droiddeck-ahb-v1.xml
similarity index 98%
rename from app/src/main/cpp/waylandcomp/protocols/banner-ahb-v1.xml
rename to app/src/main/cpp/waylandcomp/protocols/droiddeck-ahb-v1.xml
index 1560c8f7cb..a40b0dcd88 100644
--- a/app/src/main/cpp/waylandcomp/protocols/banner-ahb-v1.xml
+++ b/app/src/main/cpp/waylandcomp/protocols/droiddeck-ahb-v1.xml
@@ -1,5 +1,5 @@
-
+
Copyright 2026 The412Banner
@@ -23,7 +23,7 @@
DEALINGS IN THE SOFTWARE.
-
+
Zero-copy window layers on Android. A Vulkan swapchain image that the
client allocated as an Android AHardwareBuffer (gralloc) is still shared
diff --git a/app/src/main/cpp/waylandcomp/protocols/droiddeck-refresh-v1.xml b/app/src/main/cpp/waylandcomp/protocols/droiddeck-refresh-v1.xml
new file mode 100644
index 0000000000..c4464a0416
--- /dev/null
+++ b/app/src/main/cpp/waylandcomp/protocols/droiddeck-refresh-v1.xml
@@ -0,0 +1,81 @@
+
+
+
+ Copyright 2026 DroidDeck contributors
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice (including the next
+ paragraph) shall be included in all copies or substantial portions of the
+ Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+
+
+
+ A nested compositor paces its clients against the refresh rate of the
+ panel it is shown on. When its clients are held to a frame rate the
+ panel's current rate does not divide evenly, frames are shown for an
+ uneven number of refreshes. This interface lets the nested compositor
+ see every refresh rate the panel can run at its current size and ask
+ for the one that suits the frame rate it is pacing to.
+
+ On bind the compositor sends one rate event per refresh rate, lowest
+ first, followed by done. The list is sent again, in full, whenever it
+ changes (a different panel, or a limit the user placed on the panel's
+ rate). The rate the panel is running at is still reported the standard
+ way, through wl_output.mode.
+
+ A request is a preference, not a guarantee: the user, the platform or
+ another output mirroring the panel may hold the panel at another rate.
+ The client reads the result from wl_output.mode.
+
+
+
+
+ The preference set through this object is dropped.
+
+
+
+
+
+ refresh is the panel rate the client would like, in Hz, taken from
+ the advertised list; 0 withdraws the preference. frame_rate is the
+ frame rate the client holds its content to, in frames per second, or
+ 0 when the content is not held to a rate. The compositor may multiply
+ the content's frame rate itself (generated frames); when it does, it
+ picks the advertised rate that the multiplied frame rate divides
+ evenly instead of the requested one.
+
+
+
+
+
+
+
+ Sent once per rate, lowest first, in Hz rounded to the nearest whole
+ number.
+
+
+
+
+
+
+ Ends a list of rate events. The rates received since the previous
+ done replace the earlier list.
+
+
+
+
diff --git a/app/src/main/cpp/waylandcomp/src/ahb_swapchain.c b/app/src/main/cpp/waylandcomp/src/ahb_swapchain.c
index e33b0c77b4..3ac9ec78fc 100644
--- a/app/src/main/cpp/waylandcomp/src/ahb_swapchain.c
+++ b/app/src/main/cpp/waylandcomp/src/ahb_swapchain.c
@@ -4,7 +4,7 @@
#include "droiddeck_ext.h"
#include "sc_layer.h"
#include "vk_present.h"
-#include "banner-ahb-v1-server-protocol.h"
+#include "droiddeck-ahb-v1-server-protocol.h"
#include
#include
#include
@@ -25,6 +25,7 @@ struct droiddeck_dma_buf_sync_file { uint32_t flags; int32_t fd; };
#define DROIDDECK_DMA_BUF_IOCTL_IMPORT_SYNC_FILE _IOW('b', 3, struct droiddeck_dma_buf_sync_file)
extern volatile int g_zero_copy;
+void droiddeck_dmabuf_formats_stale(void);
struct ahb_buf {
uint64_t id;
@@ -37,6 +38,7 @@ struct ahb_buf {
struct wl_client *client;
struct wl_resource *resource;
struct wl_listener resource_destroy;
+ int display;
int on_layer;
int release_pending;
int64_t deferred_ns;
@@ -187,7 +189,7 @@ int ahb_swapchain_has_ahb(const struct dmabuf_buffer *b) {
return b && *droiddeck_dmabuf_ahb_slot((struct dmabuf_buffer *)b) != NULL;
}
-int ahb_swapchain_present(struct dmabuf_buffer *b, struct surface *s, int scene_w, int scene_h) {
+int ahb_swapchain_present(struct dmabuf_buffer *b, struct surface *s, int scene_w, int scene_h, const struct vkp_draw *draw) {
struct ahb_buf *ab = b ? *droiddeck_dmabuf_ahb_slot(b) : NULL;
if (!ab) return -1;
int dmabuf_fd = droiddeck_dmabuf_fd(b);
@@ -205,7 +207,7 @@ int ahb_swapchain_present(struct dmabuf_buffer *b, struct surface *s, int scene_
int r;
do { r = poll(&p, 1, 100); } while (r < 0 && errno == EINTR);
}
- int r = sc_layer_present_ahb(ab->ahb, ab->w, ab->h, acquire, (void *)(uintptr_t)ab->id, scene_w, scene_h,
+ int r = sc_layer_present_ahb(ab->ahb, ab->w, ab->h, acquire, (void *)(uintptr_t)ab->id, scene_w, scene_h, draw,
s ? droiddeck_surface_color(s) : NULL, ab->format);
if (r < 0) return -1;
if (r == 1) return 0;
@@ -259,6 +261,58 @@ uint32_t ahb_swapchain_ahb_format(const struct dmabuf_buffer *b) {
}
+static int adopt(struct wl_client *c, struct wl_resource *buffer, struct dmabuf_buffer *b, AHardwareBuffer *ahb,
+ uint32_t stride, uint32_t image_count, uint64_t modifier) {
+ AHardwareBuffer_Desc d;
+ AHardwareBuffer_describe(ahb, &d);
+ int bw, bh;
+ droiddeck_dmabuf_size(b, &bw, &bh);
+ struct ahb_buf *ab = calloc(1, sizeof(*ab));
+ if (!ab) return -1;
+ ab->id = g_next_id++;
+ ab->b = b;
+ droiddeck_dmabuf_ref(b);
+ ab->ahb = ahb;
+ ab->w = bw; ab->h = bh;
+ ab->stride = d.stride ? d.stride : stride;
+ ab->image_count = image_count;
+ ab->format = d.format;
+ ab->modifier = modifier;
+ ab->client = c;
+ ab->resource = buffer;
+ ab->resource_destroy.notify = on_buffer_resource_destroyed;
+ wl_resource_add_destroy_listener(buffer, &ab->resource_destroy);
+ ab->fence_fd = -1;
+ wl_list_insert(g_bufs.prev, &ab->link);
+ *droiddeck_dmabuf_ahb_slot(b) = ab;
+
+ if (g_last_chain.client != c || g_last_chain.w != bw || g_last_chain.h != bh ||
+ g_last_chain.image_count != image_count || g_last_chain.modifier != modifier || g_last_chain.format != d.format) {
+ char count[32] = "";
+ if (image_count) snprintf(count, sizeof(count), "%u images, ", image_count);
+ g_last_chain = (struct chain_seen){c, bw, bh, image_count, modifier, d.format};
+ droiddeck_log("layer", "zero-copy: %s from %s (%s%dx%d, %s, %s, stride %u px)",
+ image_count ? "AHB swapchain" : "display buffers", droiddeck_client_name(c), count, bw, bh,
+ droiddeck_ahb_format_name(d.format), modifier == MOD_QCOM_COMPRESSED ? "UBWC (QCOM_COMPRESSED)"
+ : modifier == 0 ? "linear" : "unknown modifier", ab->stride);
+ }
+ return 0;
+}
+
+int ahb_swapchain_adopt(struct wl_client *c, struct wl_resource *buffer, struct dmabuf_buffer *b, AHardwareBuffer *ahb,
+ uint64_t modifier) {
+ if (!g_advertised || *droiddeck_dmabuf_ahb_slot(b)) return -1;
+ AHardwareBuffer_acquire(ahb);
+ if (adopt(c, buffer, b, ahb, 0, 0, modifier) != 0) { AHardwareBuffer_release(ahb); return -1; }
+ ((struct ahb_buf *)*droiddeck_dmabuf_ahb_slot(b))->display = 1;
+ return 0;
+}
+
+AHardwareBuffer *ahb_swapchain_display_buffer(const struct dmabuf_buffer *b) {
+ struct ahb_buf *ab = b ? *droiddeck_dmabuf_ahb_slot((struct dmabuf_buffer *)b) : NULL;
+ return ab && ab->display ? ab->ahb : NULL;
+}
+
static void ahb_destroy(struct wl_client *c, struct wl_resource *r) { wl_resource_destroy(r); }
static void ahb_attach(struct wl_client *c, struct wl_resource *r, struct wl_resource *buffer, int32_t sock,
@@ -295,36 +349,13 @@ static void ahb_attach(struct wl_client *c, struct wl_resource *r, struct wl_res
AHardwareBuffer_release(ahb);
return;
}
-
- struct ahb_buf *ab = calloc(1, sizeof(*ab));
- if (!ab) { AHardwareBuffer_release(ahb); wl_client_post_no_memory(c); return; }
- ab->id = g_next_id++;
- ab->b = b;
- droiddeck_dmabuf_ref(b);
- ab->ahb = ahb;
- ab->w = bw; ab->h = bh;
- ab->stride = d.stride ? d.stride : stride;
- ab->image_count = image_count;
- ab->format = d.format;
- ab->modifier = modifier;
- ab->client = c;
- ab->resource = buffer;
- ab->resource_destroy.notify = on_buffer_resource_destroyed;
- wl_resource_add_destroy_listener(buffer, &ab->resource_destroy);
- ab->fence_fd = -1;
- wl_list_insert(g_bufs.prev, &ab->link);
- *slot = ab;
-
- if (g_last_chain.client != c || g_last_chain.w != bw || g_last_chain.h != bh ||
- g_last_chain.image_count != image_count || g_last_chain.modifier != modifier || g_last_chain.format != d.format) {
- g_last_chain = (struct chain_seen){c, bw, bh, image_count, modifier, d.format};
- droiddeck_log("layer", "zero-copy: AHB swapchain from %s (%u images, %dx%d, %s, %s, stride %u px)", droiddeck_client_name(c),
- image_count, bw, bh, droiddeck_ahb_format_name(d.format), modifier == MOD_QCOM_COMPRESSED ? "UBWC (QCOM_COMPRESSED)"
- : modifier == 0 ? "linear" : "unknown modifier", ab->stride);
+ if (adopt(c, buffer, b, ahb, stride, image_count, modifier) != 0) {
+ AHardwareBuffer_release(ahb);
+ wl_client_post_no_memory(c);
}
}
-static const struct banner_ahb_v1_interface ahb_impl = {
+static const struct droiddeck_ahb_v1_interface ahb_impl = {
.destroy = ahb_destroy,
.attach = ahb_attach,
};
@@ -336,20 +367,21 @@ static void on_client_resource_destroyed(struct wl_resource *r) {
static void bind_ahb(struct wl_client *c, void *data, uint32_t ver, uint32_t id) {
static struct wl_client *last_named;
if (ver > 2) ver = 2;
- struct wl_resource *r = wl_resource_create(c, &banner_ahb_v1_interface, (int)ver, id);
+ struct wl_resource *r = wl_resource_create(c, &droiddeck_ahb_v1_interface, (int)ver, id);
if (!r) { wl_client_post_no_memory(c); return; }
wl_resource_set_implementation(r, &ahb_impl, NULL, on_client_resource_destroyed);
wl_list_insert(&g_clients, wl_resource_get_link(r));
- if (ver >= BANNER_AHB_V1_MODE_SINCE_VERSION) banner_ahb_v1_send_mode(r, g_zero_copy ? 1u : 0u);
+ if (ver >= DROIDDECK_AHB_V1_MODE_SINCE_VERSION) droiddeck_ahb_v1_send_mode(r, g_zero_copy ? 1u : 0u);
if (last_named != c) {
last_named = c;
- droiddeck_log("layer", "zero-copy: %s bound banner_ahb_v1 version %u (%s)", droiddeck_client_name(c), ver,
+ droiddeck_log("layer", "zero-copy: %s bound droiddeck_ahb_v1 version %u (%s)", droiddeck_client_name(c), ver,
ver >= 2 ? "follows the live switch" : "version 1: decides from its launch environment only");
}
}
void ahb_swapchain_set_mode(int on, int live) {
on = on ? 1 : 0;
+ if (g_zero_copy != on) droiddeck_dmabuf_formats_stale();
g_zero_copy = on;
if (!g_advertised) {
if (live) droiddeck_log("layer", "zero-copy switched %s from the drawer, but no display layer is available on this device: no change",
@@ -361,8 +393,8 @@ void ahb_swapchain_set_mode(int on, int live) {
int told = 0;
struct wl_resource *r;
wl_resource_for_each(r, &g_clients) {
- if (wl_resource_get_version(r) >= BANNER_AHB_V1_MODE_SINCE_VERSION) {
- banner_ahb_v1_send_mode(r, (uint32_t)on);
+ if (wl_resource_get_version(r) >= DROIDDECK_AHB_V1_MODE_SINCE_VERSION) {
+ droiddeck_ahb_v1_send_mode(r, (uint32_t)on);
told++;
}
}
@@ -385,7 +417,7 @@ void ahb_swapchain_init(struct wl_display *display) {
wl_list_init(&g_bufs);
wl_list_init(&g_clients);
if (!sc_layer_available()) {
- droiddeck_log("layer", "zero-copy: no display layer on this device (see the line above): banner_ahb_v1 not advertised");
+ droiddeck_log("layer", "zero-copy: no display layer on this device (see the line above): droiddeck_ahb_v1 not advertised");
return;
}
g_loop = wl_display_get_event_loop(display);
@@ -395,11 +427,11 @@ void ahb_swapchain_init(struct wl_display *display) {
return;
}
wl_event_loop_add_fd(g_loop, g_rel_pipe[0], WL_EVENT_READABLE, on_release_pipe, NULL);
- if (!wl_global_create(display, &banner_ahb_v1_interface, 2, NULL, bind_ahb)) {
- droiddeck_log("error", "zero-copy: banner_ahb_v1 global creation failed");
+ if (!wl_global_create(display, &droiddeck_ahb_v1_interface, 2, NULL, bind_ahb)) {
+ droiddeck_log("error", "zero-copy: droiddeck_ahb_v1 global creation failed");
return;
}
g_advertised = 1;
- droiddeck_log("layer", "zero-copy: banner_ahb_v1 version 2 advertised (games built for it present their own gralloc buffers while the switch is on)");
+ droiddeck_log("layer", "zero-copy: droiddeck_ahb_v1 version 2 advertised (games built for it present their own gralloc buffers while the switch is on)");
ahb_swapchain_set_mode(g_zero_copy, 0);
}
diff --git a/app/src/main/cpp/waylandcomp/src/ahb_swapchain.h b/app/src/main/cpp/waylandcomp/src/ahb_swapchain.h
index 7774482734..9002e6fc0a 100644
--- a/app/src/main/cpp/waylandcomp/src/ahb_swapchain.h
+++ b/app/src/main/cpp/waylandcomp/src/ahb_swapchain.h
@@ -2,16 +2,21 @@
#define AHB_SWAPCHAIN_H
#include
#include
+#include
#include
struct dmabuf_buffer;
struct surface;
+struct vkp_draw;
void ahb_swapchain_init(struct wl_display *display);
void ahb_swapchain_set_mode(int on, int live);
int ahb_swapchain_last_frame_age_ms(void);
int ahb_swapchain_has_ahb(const struct dmabuf_buffer *b);
-int ahb_swapchain_present(struct dmabuf_buffer *b, struct surface *s, int scene_w, int scene_h);
+int ahb_swapchain_adopt(struct wl_client *c, struct wl_resource *buffer, struct dmabuf_buffer *b, AHardwareBuffer *ahb,
+ uint64_t modifier);
+AHardwareBuffer *ahb_swapchain_display_buffer(const struct dmabuf_buffer *b);
+int ahb_swapchain_present(struct dmabuf_buffer *b, struct surface *s, int scene_w, int scene_h, const struct vkp_draw *draw);
int ahb_swapchain_defer_release(struct dmabuf_buffer *b, struct wl_resource *buffer, struct surface *s, int paced);
void ahb_swapchain_surface_gone(struct surface *s);
unsigned ahb_swapchain_stats_take(void);
diff --git a/app/src/main/cpp/waylandcomp/src/blend_pass.c b/app/src/main/cpp/waylandcomp/src/blend_pass.c
index 9a4d48d0b8..5da97deaae 100644
--- a/app/src/main/cpp/waylandcomp/src/blend_pass.c
+++ b/app/src/main/cpp/waylandcomp/src/blend_pass.c
@@ -133,6 +133,24 @@ static void objects_destroy(void) {
g_dsl = VK_NULL_HANDLE; g_sampler = VK_NULL_HANDLE;
}
+void blendp_destroy(void) {
+ if (g_dev) {
+ for (int i = 0; i < NSRC; i++) src_release(i);
+ for (int i = 0; i < NDST; i++) dst_release(i);
+ for (int i = 0; i < NFMT; i++) {
+ if (g_out[i].pipe) g_vk.DestroyPipeline(g_dev, g_out[i].pipe, NULL);
+ if (g_out[i].rp) g_vk.DestroyRenderPass(g_dev, g_out[i].rp, NULL);
+ }
+ objects_destroy();
+ }
+ memset(g_src, 0, sizeof(g_src));
+ memset(g_dst, 0, sizeof(g_dst));
+ memset(g_out, 0, sizeof(g_out));
+ g_ready = 0;
+ g_frame = 1;
+ g_dev = VK_NULL_HANDLE;
+}
+
static int objects_ensure(void) {
if (g_ready) return g_ready == 1 ? 0 : -1;
g_ready = -1;
diff --git a/app/src/main/cpp/waylandcomp/src/blend_pass.h b/app/src/main/cpp/waylandcomp/src/blend_pass.h
index d6f5a8fff2..9b3a56b879 100644
--- a/app/src/main/cpp/waylandcomp/src/blend_pass.h
+++ b/app/src/main/cpp/waylandcomp/src/blend_pass.h
@@ -4,6 +4,7 @@
#include
void blendp_bind_device(VkDevice dev);
+void blendp_destroy(void);
void blendp_forget_image(VkImage img);
void blendp_begin_frame(void);
diff --git a/app/src/main/cpp/waylandcomp/src/cardboard.c b/app/src/main/cpp/waylandcomp/src/cardboard.c
index 982c3bc47c..2c8c7120e1 100644
--- a/app/src/main/cpp/waylandcomp/src/cardboard.c
+++ b/app/src/main/cpp/waylandcomp/src/cardboard.c
@@ -311,6 +311,16 @@ static void objects_destroy(void) {
g_dsl = VK_NULL_HANDLE; g_sampler = VK_NULL_HANDLE; g_rp = VK_NULL_HANDLE;
}
+void vkp_cardboard_destroy(void) {
+ if (g_dev) objects_destroy();
+ g_dev = VK_NULL_HANDLE;
+ g_ready = 0;
+ memset(&g_t, 0, sizeof(g_t));
+ memset(g_src, 0, sizeof(g_src));
+ g_nsrc = 0;
+ memset(&g_mp, 0, sizeof(g_mp));
+}
+
static int objects_ensure(void) {
if (g_ready) return g_ready == 1 ? 0 : -1;
if (!g_dev || !g_vk.CreateGraphicsPipelines) goto fail;
diff --git a/app/src/main/cpp/waylandcomp/src/cardboard.h b/app/src/main/cpp/waylandcomp/src/cardboard.h
index 2950faec2f..c659661540 100644
--- a/app/src/main/cpp/waylandcomp/src/cardboard.h
+++ b/app/src/main/cpp/waylandcomp/src/cardboard.h
@@ -26,6 +26,7 @@ void vkp_cardboard_set_pose_file(const char *path);
void vkp_cardboard_set_render_height(int height);
void vkp_cardboard_bind_device(VkDevice dev, const VkPhysicalDeviceMemoryProperties *memprops);
+void vkp_cardboard_destroy(void);
int vkp_cardboard_active(void);
int vkp_cardboard_source(void);
int vkp_cardboard_pose_changed(void);
diff --git a/app/src/main/cpp/waylandcomp/src/compositor.c b/app/src/main/cpp/waylandcomp/src/compositor.c
index c2c26d63fe..c9eceed111 100644
--- a/app/src/main/cpp/waylandcomp/src/compositor.c
+++ b/app/src/main/cpp/waylandcomp/src/compositor.c
@@ -23,8 +23,10 @@
#include "linux-dmabuf-v1-server-protocol.h"
#include "sc_layer.h"
#include "ahb_swapchain.h"
+#include "display_buffers.h"
#include "viewporter-server-protocol.h"
#include "droiddeck-desktop-v1-server-protocol.h"
+#include "droiddeck-refresh-v1-server-protocol.h"
#include "presentation-time-server-protocol.h"
#include "pointer-constraints-unstable-v1-server-protocol.h"
#include "relative-pointer-unstable-v1-server-protocol.h"
@@ -218,6 +220,7 @@ struct surface {
struct vkp_image *shm_img;
+ int black_fill;
struct wl_resource *dmabuf;
struct dmabuf_buffer *dmabuf_buf;
struct wl_listener dmabuf_destroy;
@@ -234,6 +237,7 @@ struct surface {
int drawn;
int64_t next_release_ns;
int releases_pending;
+ int release_pace_open;
enum surface_role role;
struct wl_resource *idle_buffer;
@@ -256,6 +260,7 @@ struct surface {
struct wl_list child_link;
int sub_x, sub_y, sub_pending_x, sub_pending_y, sub_pending;
int below_parent;
+ int sub_desync;
int fullscreen;
int toplevel_committed;
@@ -279,16 +284,23 @@ static int g_dirty;
static int64_t g_dirty_since_ns;
volatile int g_render_on_commit = 1;
static int64_t g_rendered_tick_ns;
+static int g_tick_spare;
+static int g_scene_queues;
static int g_tick_held;
static int64_t g_hold_missed_ns;
#define HOLD_RETRY_NS 1000000000LL
+#define RELEASE_PACE_DEPTH 8
#define PACE_BUFFERS 32
static struct {
unsigned ticks, ticks_late_2ms, renders, commit_renders, null_attaches, reattaches, presented, replaced, undrawn, distinct;
int64_t tick_late_ns, tick_late_max_ns, wait_ns, wait_max_ns;
const void *buffers[PACE_BUFFERS];
uint64_t game_frames_seen;
+ unsigned gaps[4];
} g_pace;
+static int64_t g_game_frame_ns;
+
+static void note_game_frame_gap(void);
static void pace_note_buffer(const void *buffer) {
for (unsigned i = 0; i < g_pace.distinct && i < PACE_BUFFERS; i++)
@@ -317,6 +329,16 @@ volatile int g_hide_shell;
volatile int g_zero_copy;
static int g_zero_copy_paused;
+extern volatile int g_display_buffer_driver;
+extern void droiddeck_on_overlay_planes(int planes);
+static int g_overlay_planes_told = -1;
+
+static void tell_overlay_planes(void) {
+ const int planes = (g_zero_copy && g_display_buffer_driver) ? (sc_layer_overlay_affordable() ? 1 : 0) : -1;
+ if (planes == g_overlay_planes_told) return;
+ g_overlay_planes_told = planes;
+ droiddeck_on_overlay_planes(planes);
+}
static int g_zero_copy_fx_skip_said;
volatile int g_ubwc = 1;
@@ -332,6 +354,7 @@ struct pending_release {
struct wl_resource *buffer;
struct wl_listener destroy;
struct surface *surface;
+ struct surface *held_by;
int64_t at_ns;
int64_t since_ns;
struct wl_list link;
@@ -434,10 +457,54 @@ static void pending_release_free(struct pending_release *pr) {
free(pr);
}
+static void release_due_buffers(void);
+static void arm_release_timer(void);
+
static void pending_releases_forget_surface(struct surface *s) {
struct pending_release *pr;
- wl_list_for_each(pr, &g_pending_releases, link)
+ int unheld = 0;
+ wl_list_for_each(pr, &g_pending_releases, link) {
if (pr->surface == s) pr->surface = NULL;
+ if (pr->held_by == s) { pr->held_by = NULL; unheld = 1; }
+ }
+ if (unheld) { release_due_buffers(); arm_release_timer(); }
+}
+
+static void pending_releases_cancel(struct wl_resource *buffer) {
+ struct pending_release *pr, *tmp;
+ wl_list_for_each_safe(pr, tmp, &g_pending_releases, link)
+ if (pr->buffer == buffer) pending_release_free(pr);
+}
+
+static void pending_releases_apply(struct surface *holder) {
+ struct pending_release *pr;
+ int unheld = 0;
+ wl_list_for_each(pr, &g_pending_releases, link)
+ if (pr->held_by == holder) { pr->held_by = NULL; unheld = 1; }
+ if (unheld) { release_due_buffers(); arm_release_timer(); }
+}
+
+static struct surface *sync_holder(struct surface *s) {
+ struct surface *holder = NULL;
+ for (int depth = 0; s && s->role == ROLE_SUBSURFACE && s->parent && depth < 8; depth++) {
+ if (!s->sub_desync) holder = s->parent;
+ s = s->parent;
+ }
+ return holder;
+}
+
+static void pending_releases_rehold(struct surface *changed) {
+ struct pending_release *pr;
+ int unheld = 0;
+ wl_list_for_each(pr, &g_pending_releases, link) {
+ if (!pr->held_by || !pr->surface) continue;
+ struct surface *s = pr->surface;
+ for (int depth = 0; s && s != changed && depth < 8; depth++) s = s->parent;
+ if (s != changed) continue;
+ pr->held_by = sync_holder(pr->surface);
+ if (!pr->held_by) unheld = 1;
+ }
+ if (unheld) { release_due_buffers(); arm_release_timer(); }
}
static void on_pending_release_buffer_destroyed(struct wl_listener *l, void *data) {
@@ -450,20 +517,18 @@ static void arm_release_timer(void) {
int64_t earliest = 0;
if (g_release_timer_fd < 0) return;
wl_list_for_each(pr, &g_pending_releases, link)
- if (!buffer_release_blocked(pr->buffer) && (!earliest || pr->at_ns < earliest))
+ if (!pr->held_by && !buffer_release_blocked(pr->buffer) && (!earliest || pr->at_ns < earliest))
earliest = pr->at_ns;
struct itimerspec its = {0};
if (earliest) { its.it_value.tv_sec = earliest / 1000000000LL; its.it_value.tv_nsec = earliest % 1000000000LL; }
timerfd_settime(g_release_timer_fd, TFD_TIMER_ABSTIME, &its, NULL);
}
-static int on_release_timer(int fd, uint32_t mask, void *data) {
+static void release_due_buffers(void) {
struct pending_release *pr, *tmp;
- uint64_t expirations;
int64_t now = now_ns() + 300000;
- if (read(fd, &expirations, sizeof(expirations)) < 0 && errno != EAGAIN) return 0;
wl_list_for_each_safe(pr, tmp, &g_pending_releases, link) {
- if (pr->at_ns <= now && !buffer_release_blocked(pr->buffer)) {
+ if (!pr->held_by && pr->at_ns <= now && !buffer_release_blocked(pr->buffer)) {
/* Attached again since (to its surface or another): that surface releases it later. */
if (buffer_shown_elsewhere(pr->buffer, NULL)) {
pending_release_free(pr);
@@ -474,28 +539,51 @@ static int on_release_timer(int fd, uint32_t mask, void *data) {
pending_release_free(pr);
}
}
+}
+
+static int on_release_timer(int fd, uint32_t mask, void *data) {
+ uint64_t expirations;
+ if (read(fd, &expirations, sizeof(expirations)) < 0 && errno != EAGAIN) return 0;
+ release_due_buffers();
wl_display_flush_clients(g_display);
arm_release_timer();
return 0;
}
-static void release_buffer(struct surface *s, struct wl_resource *buffer, int64_t since_ns) {
+static void describe(const struct surface *s, char *out, size_t size);
+
+static void release_buffer(struct surface *s, struct wl_resource *buffer, int64_t since_ns, struct surface *holder) {
/* No allocation or immediate-release fallback is allowed for a quarantined
* DMA-BUF. Existing queued releases stay held; their timer is disarmed. */
if (buffer_release_blocked(buffer)) return;
const int limit = g_fps_limit;
const int64_t interval = limit > 0 ? 1000000000LL / limit : g_refresh_ns;
- if (g_release_unpaced || interval <= 0 || g_release_timer_fd < 0) { send_buffer_release(buffer); perf_note_release(since_ns); return; }
+ int paced = !g_release_unpaced && interval > 0 && g_release_timer_fd >= 0;
+ if (paced && s->releases_pending >= RELEASE_PACE_DEPTH) {
+ paced = 0;
+ if (!s->release_pace_open) {
+ char name[160];
+ describe(s, name, sizeof(name));
+ droiddeck_log("pace", "%s keeps drawing into new buffers instead of waiting for releases: "
+ "its releases beyond %d are no longer held for the frame limit", name, RELEASE_PACE_DEPTH);
+ s->release_pace_open = 1;
+ }
+ }
+ if (!paced && !holder) { send_buffer_release(buffer); perf_note_release(since_ns); return; }
int64_t now = now_ns();
- int64_t at = s->next_release_ns + interval;
- int64_t latest = now + interval * (int64_t)(s->releases_pending + 1);
- if (at < now) at = now;
- if (at > latest) at = latest;
- s->next_release_ns = at;
+ int64_t at = now;
+ if (paced) {
+ int64_t latest = now + interval * (int64_t)(s->releases_pending + 1);
+ at = s->next_release_ns + interval;
+ if (at < now) at = now;
+ if (at > latest) at = latest;
+ s->next_release_ns = at;
+ }
struct pending_release *pr = calloc(1, sizeof(*pr));
if (!pr) { send_buffer_release(buffer); perf_note_release(since_ns); return; }
pr->buffer = buffer;
pr->surface = s;
+ pr->held_by = holder;
pr->at_ns = at;
pr->since_ns = since_ns;
pr->destroy.notify = on_pending_release_buffer_destroyed;
@@ -546,7 +634,8 @@ static void cursor_publish_shown(void) {
static void cursor_publish_hidden(void) {
pthread_mutex_lock(&g_cursor_lock);
- if (!g_cursor_hidden) { g_cursor_hidden = 1; g_cursor_serial++; }
+ // A client that hides the cursor before ever showing one (gamescope drawing its own) must still be reported.
+ if (!g_cursor_hidden || g_cursor_serial == 0) { g_cursor_hidden = 1; g_cursor_serial++; }
pthread_mutex_unlock(&g_cursor_lock);
}
@@ -607,6 +696,8 @@ static struct surface *g_key_target;
static struct surface *g_ime_click;
static int g_input_pipe[2] = {-1, -1};
struct input_msg { int type; int p1; int p2; int p3; int p4; };
+static atomic_int g_zoom_request_percent = 100;
+static atomic_int g_zoom_request_pending = 0;
struct surface;
static void constraints_surface_gone(struct surface *s);
@@ -634,6 +725,13 @@ const struct wl_buffer_interface dbuf_buffer_impl = {
.destroy = dbuf_buffer_destroy_req,
};
+static struct vkp_image *import_dmabuf(struct dmabuf_buffer *b) {
+ AHardwareBuffer *ahb = ahb_swapchain_display_buffer(b);
+ struct vkp_image *img = ahb ? vkp_image_from_ahb(ahb) : NULL;
+ return img ? img : vkp_image_from_dmabuf(b->fd[0], b->format, b->modifier, b->width, b->height, b->stride[0],
+ b->offset[0]);
+}
+
static struct dmabuf_buffer *get_dmabuf(struct wl_resource *buffer) {
if (buffer && wl_resource_instance_of(buffer, &wl_buffer_interface, &dbuf_buffer_impl))
return wl_resource_get_user_data(buffer);
@@ -656,6 +754,11 @@ static void describe(const struct surface *s, char *out, size_t size) {
else snprintf(out, size, "window %#x (%s)", w->hwnd, prog);
}
+static int is_steam_client_surface(const struct surface *s) {
+ const char *name = client_name(wl_resource_get_client(s->resource));
+ return strcmp(name, "steam") == 0 || strstr(name, "steamwebhelper") != NULL;
+}
+
static struct surface *toplevel_by_hwnd(uint32_t hwnd) {
struct surface *s;
wl_list_for_each(s, &g_toplevels, toplevel_link)
@@ -721,7 +824,7 @@ static void drop_dmabuf(struct surface *s, int paced) {
wl_list_remove(&s->dmabuf_destroy.link);
if (buffer_shown_elsewhere(s->dmabuf, s)) {
} else if (!ahb_swapchain_defer_release(s->dmabuf_buf, s->dmabuf, s, paced)) {
- if (paced) release_buffer(s, s->dmabuf, now_ns());
+ if (paced) release_buffer(s, s->dmabuf, now_ns(), sync_holder(s));
else send_buffer_release(s->dmabuf);
}
s->dmabuf = NULL;
@@ -813,6 +916,13 @@ int droiddeck_hud_frame_times(float *out, int len, int64_t *total) {
static uint64_t g_game_frames;
extern void droiddeck_on_game_surface(const char *window, const char *gpu);
extern void droiddeck_on_game_frame(void);
+extern void droiddeck_on_compositor_frame(void);
+extern void droiddeck_on_content_rate(int fps);
+static int64_t g_cadence_ns;
+static int64_t g_cadence_frames;
+static int g_content_fps;
+static int g_framegen_layer_said;
+static int g_framegen_layer;
extern void droiddeck_on_game_program(int pid, const char *program);
static void take_shm(struct surface *s, struct wl_shm_buffer *shm, struct wl_resource *buffer) {
@@ -833,6 +943,7 @@ static void take_shm(struct surface *s, struct wl_shm_buffer *shm, struct wl_res
s->buf_w = w;
s->buf_h = h;
s->buf_alpha = wl_shm_buffer_get_format(shm) == WL_SHM_FORMAT_ARGB8888;
+ s->black_fill = 0;
s->has_content = s->shm_img != NULL;
g_stat_shm++;
struct client_info *ci = client_info_of(wl_resource_get_client(s->resource));
@@ -861,9 +972,10 @@ static void take_shm(struct surface *s, struct wl_shm_buffer *shm, struct wl_res
g_hud_shm = s;
g_hud_shm_ns = now;
g_hud_new = 1;
- droiddeck_on_game_frame();
}
}
+ if (s == g_hud_shm && (!g_hud_surface || now_ns() - g_hud_last_ns > 1000000000LL))
+ droiddeck_on_compositor_frame();
}
static void take_pixel(struct surface *s, const uint8_t bgra[4], struct wl_resource *buffer) {
@@ -877,6 +989,7 @@ static void take_pixel(struct surface *s, const uint8_t bgra[4], struct wl_resou
s->buf_w = 1;
s->buf_h = 1;
s->buf_alpha = bgra[3] != 0xff;
+ s->black_fill = !bgra[0] && !bgra[1] && !bgra[2] && bgra[3] == 0xff;
s->has_content = s->shm_img != NULL;
}
@@ -887,6 +1000,7 @@ static void take_dmabuf(struct surface *s, struct dmabuf_buffer *b, struct wl_re
s->last_dmabuf = buffer;
pace_note_buffer(buffer);
drop_dmabuf(s, 1);
+ pending_releases_cancel(buffer);
s->dmabuf = buffer;
s->dmabuf_buf = b;
b->refs++;
@@ -894,8 +1008,7 @@ static void take_dmabuf(struct surface *s, struct dmabuf_buffer *b, struct wl_re
wl_resource_add_destroy_listener(buffer, &s->dmabuf_destroy);
}
if (!b->img && !b->import_failed && b->n_planes >= 1) {
- b->img = vkp_image_from_dmabuf(b->fd[0], b->format, b->modifier, b->width, b->height,
- b->stride[0], b->offset[0]);
+ b->img = import_dmabuf(b);
if (b->img && g_zero_copy) sc_layer_probe_dmabuf_fd(b->fd[0]);
if (!b->img) {
b->import_failed = 1;
@@ -936,7 +1049,8 @@ static void take_dmabuf(struct surface *s, struct dmabuf_buffer *b, struct wl_re
droiddeck_log("error", "could not import GPU frames from %s (%dx%d, modifier %#llx)",
name, b->width, b->height, (unsigned long long)b->modifier);
}
- if (s != g_hud_surface && (b->img || ahb_swapchain_has_ahb(b)) &&
+ if (s != g_hud_surface && !is_steam_client_surface(s) &&
+ (b->img || ahb_swapchain_has_ahb(b)) &&
(!g_hud_surface || now_ns() - g_hud_alive_ns > 1000000000LL || (!repeat && below_surface(s, g_hud_surface)) ||
(announced_now && !below_surface(g_hud_surface, s) &&
(int64_t)b->width * b->height >= (int64_t)g_hud_surface->buf_w * g_hud_surface->buf_h))) {
@@ -961,9 +1075,30 @@ static void take_dmabuf(struct surface *s, struct dmabuf_buffer *b, struct wl_re
: "the compositor's driver could NOT import it (nothing can show it)");
s->hdr_fmt_logged = b->format;
}
- if (s == g_hud_surface) {
+ if (s == g_hud_surface && !is_steam_client_surface(s)) {
g_hud_alive_ns = now_ns();
- if (!repeat) { g_hud_last_ns = g_hud_alive_ns; g_hud_fresh = 1; g_hud_new = 1; g_game_frames++; droiddeck_on_game_frame(); }
+ if (!repeat) { g_hud_last_ns = g_hud_alive_ns; g_hud_fresh = 1; g_hud_new = 1; g_game_frames++; note_game_frame_gap(); droiddeck_on_game_frame(); }
+ } else if (is_steam_client_surface(s) && !repeat &&
+ (!g_hud_surface || now_ns() - g_hud_alive_ns > 1000000000LL)) {
+ droiddeck_on_compositor_frame();
+ }
+}
+
+static void note_game_frame_gap(void) {
+ const int64_t now = now_ns();
+ if (g_game_frame_ns && g_refresh_ns > 0) {
+ const int64_t gap = (now - g_game_frame_ns + g_refresh_ns / 2) / g_refresh_ns;
+ g_pace.gaps[gap < 1 ? 0 : gap > 4 ? 3 : gap - 1]++;
+ }
+ if (g_game_frame_ns && now - g_game_frame_ns >= 1000000000LL) { g_cadence_ns = 0; g_cadence_frames = 0; }
+ g_game_frame_ns = now;
+ if (!g_cadence_ns) g_cadence_ns = now;
+ g_cadence_frames++;
+ if (now - g_cadence_ns >= 1000000000LL) {
+ g_content_fps = (int)((g_cadence_frames * 1000000000LL + (now - g_cadence_ns) / 2) / (now - g_cadence_ns));
+ droiddeck_on_content_rate(g_content_fps);
+ g_cadence_ns = now;
+ g_cadence_frames = 0;
}
}
@@ -977,7 +1112,7 @@ void droiddeck_dmabuf_ref(struct dmabuf_buffer *b) { b->refs++; }
void droiddeck_dmabuf_unref(struct dmabuf_buffer *b) { dmabuf_buffer_unref(b); }
void droiddeck_release_buffer(struct surface *s, struct wl_resource *buffer, int paced, int64_t since_ns) {
if (buffer_release_blocked(buffer)) return;
- if (paced && s) release_buffer(s, buffer, since_ns);
+ if (paced && s) release_buffer(s, buffer, since_ns, NULL);
else { send_buffer_release(buffer); perf_note_release(since_ns); }
}
void droiddeck_surface_describe(const struct surface *s, char *out, size_t size) { describe(s, out, size); }
@@ -1065,6 +1200,14 @@ static uint32_t nominal_refresh_ns(void) {
return (uint32_t)(1000000000000LL / (int64_t)mhz);
}
+static uint32_t feedback_refresh_ns(void) {
+ const int limit = g_fps_limit;
+ const uint32_t panel = nominal_refresh_ns();
+ if (limit <= 0 || g_release_unpaced) return panel;
+ const uint32_t paced = (uint32_t)(1000000000LL / limit);
+ return paced > panel ? paced : panel;
+}
+
static int64_t presented_ns(int64_t render_ns) {
int64_t tick = g_tick_vsync_ns;
int64_t refresh = (int64_t)nominal_refresh_ns();
@@ -1083,7 +1226,7 @@ static void feedback_present_all(struct wl_list *list, int64_t t) {
uint32_t nsec = (uint32_t)(t % 1000000000LL);
wl_resource_for_each_safe(fb, tmp, list) {
wp_presentation_feedback_send_presented(fb, (uint32_t)(sec >> 32), (uint32_t)sec, nsec,
- nominal_refresh_ns(), 0, 0,
+ feedback_refresh_ns(), 0, 0,
WP_PRESENTATION_FEEDBACK_KIND_VSYNC);
wl_resource_destroy(fb);
g_pace.presented++;
@@ -1148,8 +1291,7 @@ static void cursor_publish_buffer(struct surface *s, struct wl_resource *buffer)
} else if (db && db->n_planes >= 1 && db->width > 0 && db->height > 0 &&
(int64_t)db->width * db->height <= CURSOR_MAX_PX) {
if (!db->img && !db->import_failed) {
- db->img = vkp_image_from_dmabuf(db->fd[0], db->format, db->modifier, db->width, db->height,
- db->stride[0], db->offset[0]);
+ db->img = import_dmabuf(db);
if (!db->img) db->import_failed = 1;
}
if (!db->img) return;
@@ -1157,8 +1299,9 @@ static void cursor_publish_buffer(struct surface *s, struct wl_resource *buffer)
int r;
do { r = poll(&p, 1, 100); } while (r < 0 && errno == EINTR);
if (vkp_image_readback(db->img, g_cursor_rb, CURSOR_MAX_PX) != 0) return;
+ const int row = vkp_image_width(db->img);
cursor_publish_pixels((const uint8_t *)g_cursor_rb, db->width, db->height,
- (size_t)db->width * 4, g_cursor_hx, g_cursor_hy);
+ (size_t)(row > db->width ? row : db->width) * 4, g_cursor_hx, g_cursor_hy);
} else {
return;
}
@@ -1265,6 +1408,7 @@ static void surface_commit(struct wl_client *c, struct wl_resource *r) {
s->pending_attach = 0;
surface_drop_idle(s);
+ buf_trace_attach(buffer);
if (s->role == ROLE_CURSOR) {
if (!buffer) {
cursor_publish_hidden();
@@ -1275,7 +1419,6 @@ static void surface_commit(struct wl_client *c, struct wl_resource *r) {
} else if (s->role == ROLE_NONE) {
if (buffer) surface_hold_idle(s, buffer);
} else if (db) {
- buf_trace_attach(buffer);
take_dmabuf(s, db, buffer);
} else if (shm) {
drop_dmabuf(s, 1);
@@ -1289,6 +1432,7 @@ static void surface_commit(struct wl_client *c, struct wl_resource *r) {
if (buffer) send_buffer_release(buffer);
}
}
+ pending_releases_apply(s);
wl_list_for_each(child, &s->children, child_link) {
if (child->sub_pending) {
@@ -1486,8 +1630,14 @@ static void subsurface_place_below(struct wl_client *c, struct wl_resource *r,
struct wl_resource *sibling) {
restack_child(wl_resource_get_user_data(r), wl_resource_get_user_data(sibling), 0);
}
-static void subsurface_set_sync(struct wl_client *c, struct wl_resource *r) {}
-static void subsurface_set_desync(struct wl_client *c, struct wl_resource *r) {}
+static void subsurface_set_sync(struct wl_client *c, struct wl_resource *r) {
+ struct surface *s = wl_resource_get_user_data(r);
+ if (s) s->sub_desync = 0;
+}
+static void subsurface_set_desync(struct wl_client *c, struct wl_resource *r) {
+ struct surface *s = wl_resource_get_user_data(r);
+ if (s) { s->sub_desync = 1; pending_releases_rehold(s); }
+}
static const struct wl_subsurface_interface subsurface_impl = {
.destroy = subsurface_destroy,
.set_position = subsurface_set_position,
@@ -1521,6 +1671,7 @@ static void subcompositor_get_subsurface(struct wl_client *c, struct wl_resource
s->subsurface = sub;
s->parent = p;
s->below_parent = 0;
+ s->sub_desync = 0;
s->sub_x = s->sub_y = 0;
wl_list_insert(p->children.prev, &s->child_link);
}
@@ -1820,6 +1971,57 @@ static void output_send_mode(struct wl_resource *r, int mhz) {
mhz);
}
+#define PANEL_RATES_MAX 16
+extern void droiddeck_on_refresh_target(int refresh, int frame_rate);
+static pthread_mutex_t g_panel_rates_lock = PTHREAD_MUTEX_INITIALIZER;
+static int g_panel_rates[PANEL_RATES_MAX], g_panel_rate_count;
+static atomic_int g_panel_rates_pending;
+static struct wl_list g_refresh_clients;
+static struct wl_resource *g_refresh_target_owner;
+
+static void refresh_send_rates(struct wl_resource *r) {
+ int rates[PANEL_RATES_MAX];
+ pthread_mutex_lock(&g_panel_rates_lock);
+ const int count = g_panel_rate_count;
+ memcpy(rates, g_panel_rates, sizeof(rates));
+ pthread_mutex_unlock(&g_panel_rates_lock);
+ for (int i = 0; i < count; i++) droiddeck_refresh_v1_send_rate(r, (uint32_t)rates[i]);
+ droiddeck_refresh_v1_send_done(r);
+}
+
+static void refresh_notify_rates(void) {
+ struct wl_resource *r;
+ wl_resource_for_each(r, &g_refresh_clients) refresh_send_rates(r);
+}
+
+static void refresh_resource_destroy(struct wl_resource *r) {
+ wl_list_remove(wl_resource_get_link(r));
+ if (g_refresh_target_owner != r) return;
+ g_refresh_target_owner = NULL;
+ droiddeck_on_refresh_target(0, 0);
+}
+
+static void refresh_destroy_req(struct wl_client *c, struct wl_resource *r) { wl_resource_destroy(r); }
+
+static void refresh_set_target(struct wl_client *c, struct wl_resource *r, uint32_t refresh, uint32_t frame_rate) {
+ if (!refresh && !frame_rate && g_refresh_target_owner && g_refresh_target_owner != r) return;
+ g_refresh_target_owner = refresh || frame_rate ? r : NULL;
+ droiddeck_on_refresh_target((int)refresh, (int)frame_rate);
+}
+
+static const struct droiddeck_refresh_v1_interface refresh_impl = {
+ .destroy = refresh_destroy_req,
+ .set_target = refresh_set_target,
+};
+
+static void bind_refresh(struct wl_client *c, void *data, uint32_t ver, uint32_t id) {
+ struct wl_resource *r = wl_resource_create(c, &droiddeck_refresh_v1_interface, ver, id);
+ if (!r) { wl_client_post_no_memory(c); return; }
+ wl_resource_set_implementation(r, &refresh_impl, NULL, refresh_resource_destroy);
+ wl_list_insert(&g_refresh_clients, wl_resource_get_link(r));
+ refresh_send_rates(r);
+}
+
static void bind_output(struct wl_client *c, void *data, uint32_t ver, uint32_t id) {
struct wl_resource *r = wl_resource_create(c, &wl_output_interface, ver, id);
if (!r) { wl_client_post_no_memory(c); return; }
@@ -1950,19 +2152,47 @@ static int on_frame_timer(void *data) {
return 0;
}
+static int black_fill_below(const struct draw_list *dl, int n) {
+ for (int i = 0; i < n; i++) {
+ struct surface *s, *found = NULL;
+ wl_list_for_each(s, &g_surfaces, link)
+ if (s->shm_img == dl->d[i].img) { found = s; break; }
+ if (!found || !found->black_fill || dl->d[i].blend) return 0;
+ }
+ return 1;
+}
+
static int layer_candidate(const struct draw_list *dl, int scene_w, int scene_h) {
for (int i = dl->n - 1; i >= 0 && i >= dl->n - 2; i--) {
const struct vkp_draw *d = &dl->d[i];
if (d->blend) continue;
if (!vkp_image_is_dmabuf(d->img)) continue;
- if (d->dx != 0 || d->dy != 0 || d->dw != scene_w || d->dh != scene_h) continue;
- if (d->sx != 0 || d->sy != 0 || (int)d->sw != vkp_image_width(d->img) ||
- (int)d->sh != vkp_image_height(d->img)) continue;
+ if (d->sx < 0 || d->sy < 0 || d->sw < 1.0f || d->sh < 1.0f ||
+ d->sx + d->sw >= vkp_image_width(d->img) + 1.0f ||
+ d->sy + d->sh >= vkp_image_height(d->img) + 1.0f) continue;
+ if (d->dx == 0 && d->dy == 0 && d->dw == scene_w && d->dh == scene_h) return i;
+ if (d->dx < 0 || d->dy < 0 || d->dw <= 0 || d->dh <= 0 || d->dx + d->dw > scene_w ||
+ d->dy + d->dh > scene_h || !black_fill_below(dl, i)) continue;
return i;
}
return -1;
}
+static void note_copy_scene(const struct draw_list *dl, int scene_w, int scene_h, int pointer) {
+ static int said[6];
+ const struct vkp_draw *t = dl->n > 0 ? &dl->d[dl->n - 1] : NULL;
+ const int now[6] = {dl->n, pointer, t ? t->dw : 0, t ? t->dh : 0, scene_w, scene_h};
+ if (!memcmp(now, said, sizeof(said))) return;
+ memcpy(said, now, sizeof(said));
+ if (pointer)
+ droiddeck_log("layer", "zero-copy: copy path while the pointer is drawn into the scene");
+ else if (t)
+ droiddeck_log("layer", "zero-copy: copy path: no window fills the %dx%d scene on its own (%d surfaces, top one "
+ "%dx%d at %d,%d from %.2f,%.2f %.2fx%.2f of a %dx%d %s buffer%s)", scene_w, scene_h, dl->n, t->dw, t->dh,
+ t->dx, t->dy, t->sx, t->sy, t->sw, t->sh, vkp_image_width(t->img), vkp_image_height(t->img),
+ vkp_image_is_dmabuf(t->img) ? "GPU" : "memory", t->blend ? ", translucent" : "");
+}
+
static struct surface *surface_for_image(const struct vkp_image *img) {
struct surface *s;
wl_list_for_each(s, &g_surfaces, link)
@@ -2002,17 +2232,28 @@ static struct surface *hdr_unimported_fullscreen(const struct draw_list *dl, int
}
static int is_hdr_surface(struct surface *s) {
+ const struct droiddeck_color *c = s ? droiddeck_color_of(s->resource) : NULL;
+ return c && (c->dataspace || c->convert);
+}
+
+static int is_raw_hdr_surface(struct surface *s) {
const struct droiddeck_color *c = s ? droiddeck_color_of(s->resource) : NULL;
return c && c->dataspace;
}
+static int framegen_fits_layer(void) {
+ const int64_t rate = (int64_t)g_content_fps * (1 + vkp_framegen_extra_images()) * 1000;
+ return g_content_fps > 0 &&
+ rate * 100 <= (int64_t)atomic_load(&g_output_refresh_mhz) * (g_framegen_layer ? 108 : 104);
+}
+
static int hdr_plan(const struct draw_list *dl, int w, int h, int fx_on, int framegen, struct hdr_scene *hs) {
memset(hs, 0, sizeof(*hs));
if (!droiddeck_color_hdr_open()) return 0;
struct surface *un = hdr_unimported_fullscreen(dl, w, h);
if (!un) {
struct surface *lo = ahb_layer_only_candidate(w, h);
- if (lo && is_hdr_surface(lo)) un = lo;
+ if (lo && is_raw_hdr_surface(lo)) un = lo;
}
if (un && g_zero_copy) { hs->color = droiddeck_color_of(un->resource); hs->who = un; return 3; }
hs->hf.tonemap = !droiddeck_color_output();
@@ -2020,24 +2261,48 @@ static int hdr_plan(const struct draw_list *dl, int w, int h, int fx_on, int fra
for (int i = 0; i < dl->n; i++) {
struct surface *s = surface_for_image(dl->d[i].img);
if (!is_hdr_surface(s)) continue;
- hs->is_hdr[i] = 1;
+ const struct droiddeck_color *c = droiddeck_color_of(s->resource);
+ if (c->convert && hs->hf.convert && (hs->hf.convert->gain != c->gain ||
+ memcmp(hs->hf.convert->to2020, c->to2020, sizeof(c->to2020)) != 0)) {
+ static int said;
+ if (!said) {
+ said = 1;
+ droiddeck_log("color", "two windows need different colour conversions in one frame: the upper one is "
+ "shown as SDR");
+ }
+ continue;
+ }
+ hs->is_hdr[i] = c->convert ? 2 : 1;
+ if (c->convert) hs->hf.convert = c;
hs->n_hdr++;
- hs->color = droiddeck_color_of(s->resource);
+ hs->color = c;
hs->who = s;
}
if (!hs->n_hdr) { free(hs->is_hdr); hs->is_hdr = NULL; return 0; }
+ if (hs->color->convert) {
+ static struct droiddeck_color composed;
+ composed = *hs->color;
+ composed.dataspace = DROIDDECK_ADATASPACE_BT2020_PQ;
+ composed.convert = 0;
+ hs->color = &composed;
+ }
hs->hf.is_hdr = hs->is_hdr;
hs->hf.color = hs->color;
hs->hf.peak_nits = hs->color->max_cll > 0.0f ? hs->color->max_cll
: hs->color->has_st2086 ? hs->color->max_lum : 1000.0f;
- if (framegen) return 2;
+ if (framegen) {
+ if (!g_zero_copy || !framegen_fits_layer()) return 2;
+ hs->why = "frame generation is on";
+ return 1;
+ }
int li = g_zero_copy ? layer_candidate(dl, w, h) : -1;
int over = li >= 0 ? dl->n - 1 - li : 0;
- if (!hs->hf.tonemap && !fx_on && li >= 0 && hs->is_hdr[li] &&
+ if (!hs->hf.tonemap && !hs->hf.convert && !fx_on && li >= 0 && hs->is_hdr[li] &&
(over == 0 || (over == 1 && sc_layer_overlay_affordable())))
return 0;
hs->why = hs->hf.tonemap ? "HDR output is switched off in the drawer"
: fx_on ? "screen effects are on"
+ : hs->hf.convert ? "its colours are converted to BT.2020 PQ"
: !g_zero_copy ? "zero-copy presentation is off"
: (li >= 0 && hs->is_hdr[li]) ? "a window is above the game and this display cannot compose a second layer"
: "the HDR game is not one fullscreen window";
@@ -2110,8 +2375,7 @@ static void hdr_note_precedence(struct surface *hs, int fx_on, int framegen) {
static void hdr_count_copied(const struct draw_list *dl, const char *reason) {
for (int i = 0; i < dl->n; i++) {
struct surface *s = surface_for_image(dl->d[i].img);
- const struct droiddeck_color *c = s ? droiddeck_color_of(s->resource) : NULL;
- if (!c || !c->dataspace) continue;
+ if (!is_hdr_surface(s)) continue;
char name[160];
describe(s, name, sizeof(name));
droiddeck_color_frame_copied(name, reason);
@@ -2253,6 +2517,8 @@ static void render_scene(void) {
g_dirty_since_ns = 0;
}
g_dirty = 0;
+ if (g_rendered_tick_ns == g_tick_vsync_ns) g_tick_spare = 0;
+ g_scene_queues = 0;
g_rendered_tick_ns = g_tick_vsync_ns;
g_tick_held = 0;
g_hud_fresh = 0;
@@ -2314,7 +2580,13 @@ static void render_scene(void) {
static int fell_back;
vkp_apply_window_request();
sc_layer_hide_overlay();
- if (sc_layer_present_hdr_scene(dl.d, dl.n, &hs.hf, w, h, hs.color) == 0) {
+ const int generated = framegen ? sc_layer_present_generated(dl.d, dl.n, &hs.hf, w, h, 1, hs.color) : 0;
+ if (framegen) g_framegen_layer = generated >= 0;
+ if (generated > 0 && g_framegen_layer_said != 3) {
+ g_framegen_layer_said = 3;
+ droiddeck_log("framegen", "generated frames and the composed HDR picture go on the game's display layer");
+ }
+ if (framegen ? generated >= 0 : sc_layer_present_hdr_scene(dl.d, dl.n, &hs.hf, w, h, hs.color) == 0) {
rendered = vkp_base_black(w, h) == 0;
if (fell_back) { fell_back = 0; droiddeck_log("color", "the composed picture is on the game's display layer again"); }
} else {
@@ -2340,13 +2612,16 @@ static void render_scene(void) {
rendered = vkp_render(w, h, dl.d, dl.n) == 0;
} else if (hdr_route == 0 || hdr_route == 3) {
const int pass_on = fx_on || framegen;
- int li = (g_zero_copy && !framegen && !bfi && !cardboard && !cursor_on) ? layer_candidate(&dl, w, h) : -1;
+ tell_overlay_planes();
+ const int fg_layer = framegen && hdr_route == 0 && framegen_fits_layer();
+ g_framegen_layer = fg_layer;
+ int li = (g_zero_copy && (!framegen || fg_layer) && !bfi && !cardboard && !cursor_on) ? layer_candidate(&dl, w, h) : -1;
int over = li >= 0 ? dl.n - 1 - li : 0;
const int fx_blocks = (li >= 0 && fx_on && over > 0);
if (fx_blocks) { li = -1; over = 0; }
const int ov_blocks = (li >= 0 && over > 0 && !fx_blocks && !sc_layer_overlay_affordable());
if (ov_blocks) { li = -1; over = 0; }
- const int blocked = framegen ? 1 : bfi ? 4 : (fx_blocks ? 2 : (ov_blocks ? 3 : 0));
+ const int blocked = (framegen && !fg_layer) ? 1 : bfi ? 4 : (fx_blocks ? 2 : (ov_blocks ? 3 : 0));
if (g_zero_copy && !cursor_on && blocked != g_zero_copy_paused) {
g_zero_copy_paused = blocked;
if (blocked == 1)
@@ -2355,14 +2630,21 @@ static void render_scene(void) {
droiddeck_log("effects", "zero-copy paused: a window above the game needs the compositor pass for the whole scene");
else if (blocked == 4)
droiddeck_log("bfi", "zero-copy paused: black frame insertion needs the compositor pass");
- else if (blocked == 3)
- droiddeck_log("layer", "zero-copy paused: a window above the game would need a second display layer, "
- "which this display cannot compose in hardware - whole scene on the copy path");
+ else if (blocked == 3) {
+ const struct vkp_draw *top = &dl.d[dl.n - 1];
+ struct surface *ts = surface_for_image(top->img);
+ droiddeck_log("layer", "zero-copy paused: a window above the game (%dx%d at %d,%d%s, %s) would need a second "
+ "display layer, which this display cannot compose in hardware - whole scene on the copy path",
+ top->dw, top->dh, top->dx, top->dy, top->blend ? ", translucent" : "",
+ ts ? client_name(wl_resource_get_client(ts->resource)) : "no client surface");
+ }
else
droiddeck_log("effects", "zero-copy resumed: the game is back on its own display layer");
}
struct surface *ls = li >= 0 ? surface_for_image(dl.d[li].img) : NULL;
+ const struct vkp_draw *ld = li >= 0 ? &dl.d[li] : NULL;
if (li < 0) ls = layer_only;
+ if (g_zero_copy && li < 0 && !ls && !blocked && !cardboard) note_copy_scene(&dl, w, h, cursor_on);
if (cardboard) ls = NULL;
if (cursor_on) ls = NULL;
if (bfi) ls = NULL;
@@ -2375,11 +2657,23 @@ static void render_scene(void) {
if (li >= 0 || ls) {
vkp_apply_window_request();
int r = -1;
- if (!(fx_on && li >= 0) && ls && ls->dmabuf_buf && ahb_swapchain_has_ahb(ls->dmabuf_buf))
- r = ahb_swapchain_present(ls->dmabuf_buf, ls, w, h);
- if (r != 0 && li >= 0)
+ const int fg_pass = framegen && fx_on && li >= 0;
+ const int generated = (framegen && li >= 0)
+ ? sc_layer_present_generated(&dl.d[li], 1, NULL, w, h, fg_pass,
+ ls ? droiddeck_surface_color(ls) : NULL) : 0;
+ if (generated > 0 && g_framegen_layer_said != 1 + fg_pass) {
+ g_framegen_layer_said = 1 + fg_pass;
+ droiddeck_log("framegen", fg_pass
+ ? "generated frames and the game's frames go on the game's display layer straight from the screen effects pass"
+ : "generated frames go on the game's display layer between the game's own frames");
+ }
+ if (fg_pass)
+ r = generated >= 0 ? 0 : -1;
+ else if (generated >= 0 && !(fx_on && li >= 0) && ls && ls->dmabuf_buf && ahb_swapchain_has_ahb(ls->dmabuf_buf))
+ r = ahb_swapchain_present(ls->dmabuf_buf, ls, w, h, ld);
+ if (!fg_pass && generated >= 0 && r != 0 && li >= 0)
r = fx_on ? sc_layer_present_pass(&dl.d[li], 1, w, h)
- : sc_layer_present(dl.d[li].img, w, h, ls ? droiddeck_surface_color(ls) : NULL);
+ : sc_layer_present(dl.d[li].img, w, h, ld, ls ? droiddeck_surface_color(ls) : NULL);
if (r == 0) {
if (ls) ls->drawn = 1;
int go[8], ov = 0;
@@ -2393,8 +2687,10 @@ static void render_scene(void) {
hdr_copy = "the overlay layer refused the window above it";
} else {
rendered = vkp_base_black(w, h) == 0;
+ g_scene_queues = sc_layer_queues();
}
} else {
+ sc_layer_hide();
rendered = vkp_render(w, h, dl.d, dl.n) == 0;
copy = 1;
hdr_copy = "its display layer was unavailable this frame";
@@ -2454,8 +2750,12 @@ static int commit_renders_on(void) {
!g_bfi_running;
}
+static int tick_takes_scene(void) {
+ return g_rendered_tick_ns != g_tick_vsync_ns || (g_tick_spare && g_scene_queues);
+}
+
static int render_on_commit(void) {
- return commit_renders_on() && !g_render_idle && g_rendered_tick_ns != g_tick_vsync_ns;
+ return commit_renders_on() && !g_render_idle && tick_takes_scene();
}
static void schedule_render(void) {
@@ -2482,7 +2782,7 @@ static int scene_waits_for_game(int64_t now) {
static void on_commit_idle(void *data) {
g_render_idle = NULL;
- if (!g_dirty || !commit_renders_on() || g_rendered_tick_ns == g_tick_vsync_ns || scene_waits_for_game(now_ns())) return;
+ if (!g_dirty || !commit_renders_on() || !tick_takes_scene() || scene_waits_for_game(now_ns())) return;
g_pace.commit_renders++;
render_scene();
}
@@ -2557,6 +2857,7 @@ static void on_vsync(int64_t frame_time_ns) {
if (d > 3000000LL && d < 40000000LL) g_refresh_ns = (g_refresh_ns * 7 + d) / 8;
}
g_last_vsync_ns = now;
+ g_tick_spare = g_rendered_tick_ns != g_tick_vsync_ns;
g_tick_vsync_ns = frame_time_ns;
int tick_change = 0;
if (vkp_apply_window_request()) tick_change = 1;
@@ -3245,6 +3546,15 @@ static void pointer_input(double x, double y, int relative, uint32_t button, int
if (k) confine_clamp(k, &x, &y);
g_ptr_x = x; g_ptr_y = y;
g_ptr_known = 1;
+ if (relative && !button && (dx != 0.0 || dy != 0.0)) {
+ int ow, oh;
+ double ox, oy;
+ vkp_output_size(&ow, &oh);
+ if (ow > 0 && oh > 0 &&
+ vkp_scene_to_output(g_ptr_x, g_ptr_y, &ox, &oy) &&
+ vkp_zoom_pan_cursor(ox, oy))
+ schedule_render();
+ }
if (atomic_load(&g_cursor_composite)) schedule_render();
if (k) {
target = k->surface;
@@ -3313,15 +3623,38 @@ static void pointer_button(uint32_t button, int pressed) {
}
static void deliver_pointer(const struct input_msg *m) {
+ static int last_x, last_y, last_valid;
int w, h, ow, oh;
double x, y;
+ int moved = last_valid && (m->p2 != last_x || m->p3 != last_y);
+ last_x = m->p2;
+ last_y = m->p3;
+ last_valid = 1;
scene_size(&w, &h);
vkp_output_size(&ow, &oh);
- if (ow <= 0 || oh <= 0 ||
- !vkp_output_to_scene((double)m->p2 * ow / INPUT_SPACE_W, (double)m->p3 * oh / INPUT_SPACE_H, &x, &y)) {
+
+ if (ow <= 0 || oh <= 0) {
x = (double)m->p2 * w / INPUT_SPACE_W;
y = (double)m->p3 * h / INPUT_SPACE_H;
+ } else {
+ double ox = (double)m->p2 * ow / INPUT_SPACE_W;
+ double oy = (double)m->p3 * oh / INPUT_SPACE_H;
+ if (m->p1 == 1 && !pointer_locked_for_cursor() &&
+ (moved || ox <= 0.0 || oy <= 0.0 || ox >= ow || oy >= oh) &&
+ vkp_zoom_pan_cursor(ox, oy))
+ schedule_render();
+ if (!vkp_output_to_scene(ox, oy, &x, &y)) {
+ schedule_render();
+ if (g_ptr_known) {
+ x = g_ptr_x;
+ y = g_ptr_y;
+ } else {
+ x = (double)m->p2 * w / INPUT_SPACE_W;
+ y = (double)m->p3 * h / INPUT_SPACE_H;
+ }
+ }
}
+
if (x < 0) x = 0;
if (y < 0) y = 0;
if (x > w - 1) x = w - 1;
@@ -3333,6 +3666,7 @@ static void input_output_to_scene(double px, double py, double *x, double *y) {
int w, h, ow, oh;
scene_size(&w, &h);
vkp_output_size(&ow, &oh);
+
if (ow <= 0 || oh <= 0 ||
!vkp_output_to_scene(px * ow / INPUT_SPACE_W, py * oh / INPUT_SPACE_H, x, y)) {
*x = px * w / INPUT_SPACE_W;
@@ -3556,12 +3890,63 @@ static void touch_up(int id, double x, double y) {
}
static void deliver_touch(const struct input_msg *m) {
+ static int last_x[MAX_TOUCH_POINTS], last_y[MAX_TOUCH_POINTS];
+ static int pan_start_x[MAX_TOUCH_POINTS], pan_start_y[MAX_TOUCH_POINTS];
+ static unsigned char last_valid[MAX_TOUCH_POINTS];
+ static unsigned char pan_started[MAX_TOUCH_POINTS];
double x, y;
+ int id = m->p2;
+ int valid_id = id >= 0 && id < MAX_TOUCH_POINTS;
+
+ if (valid_id && m->p1 == 0) {
+ pan_start_x[id] = m->p3;
+ pan_start_y[id] = m->p4;
+ pan_started[id] = 0;
+ }
+ if (valid_id && g_touch_points[id].surface &&
+ m->p1 == 1 && last_valid[id] && !pan_started[id]) {
+ int dx = m->p3 - pan_start_x[id];
+ int dy = m->p4 - pan_start_y[id];
+ if (dx * dx + dy * dy >= 400)
+ pan_started[id] = 1;
+ }
+ if (valid_id && g_touch_points[id].surface &&
+ m->p1 == 1 && pan_started[id] && last_valid[id] &&
+ (m->p3 != last_x[id] || m->p4 != last_y[id])) {
+ int ow, oh;
+ vkp_output_size(&ow, &oh);
+ if (ow > 0 && oh > 0 &&
+ vkp_zoom_pan_cursor((double)m->p3 * ow / INPUT_SPACE_W,
+ (double)m->p4 * oh / INPUT_SPACE_H))
+ schedule_render();
+ }
+
input_output_to_scene(m->p3, m->p4, &x, &y);
- if (m->p1 == 0) touch_down(m->p2, x, y);
- else if (m->p1 == 1) touch_motion(m->p2, x, y);
- else if (m->p1 == 2) touch_up(m->p2, x, y);
- else if (m->p1 == 3) touch_cancel_all();
+ if (m->p1 == 0) {
+ if (valid_id) {
+ last_x[id] = m->p3;
+ last_y[id] = m->p4;
+ last_valid[id] = 1;
+ }
+ touch_down(id, x, y);
+ } else if (m->p1 == 1) {
+ if (valid_id) {
+ last_x[id] = m->p3;
+ last_y[id] = m->p4;
+ last_valid[id] = 1;
+ }
+ touch_motion(id, x, y);
+ } else if (m->p1 == 2) {
+ touch_up(id, x, y);
+ if (valid_id) {
+ last_valid[id] = 0;
+ pan_started[id] = 0;
+ }
+ } else if (m->p1 == 3) {
+ touch_cancel_all();
+ memset(last_valid, 0, sizeof(last_valid));
+ memset(pan_started, 0, sizeof(pan_started));
+ }
publish_query_state();
}
@@ -3768,17 +4153,29 @@ static int on_input_readable(int fd, uint32_t mask, void *data) {
case 11: axis_event(m.p1, m.p2, 0); break;
case 12: axis_event(m.p1, m.p2, 1); break;
case 13: deliver_pen(&m); break;
+ case 14:
+ atomic_store(&g_zoom_request_pending, 1);
+ break;
case 20: stream_take(); break;
case 21: if (!m.p1) stream_forget_all(); schedule_render(); break;
case 22: schedule_render(); break;
default: deliver_pointer(&m); break;
}
}
+ if (atomic_exchange(&g_zoom_request_pending, 0)) {
+ int zoom_percent = atomic_load(&g_zoom_request_percent);
+ vk_present_set_zoom((float)zoom_percent / 100.0f);
+ schedule_render();
+ }
if (atomic_exchange(&g_output_refresh_pending, 0) &&
atomic_load(&g_output_refresh_mhz) != g_output_announced_refresh_mhz) {
output_notify_mode();
wl_display_flush_clients(g_display);
}
+ if (atomic_exchange(&g_panel_rates_pending, 0)) {
+ refresh_notify_rates();
+ wl_display_flush_clients(g_display);
+ }
if (vsync) on_vsync(vsync_ns);
return 0;
}
@@ -3793,6 +4190,23 @@ void droiddeck_wayland_set_scale_mode(int mode, int alignment) {
(void)n;
}
+void droiddeck_wayland_set_zoom(int zoom_percent) {
+ if (zoom_percent < 100) zoom_percent = 100;
+ if (zoom_percent > 300) zoom_percent = 300;
+ if (g_input_pipe[1] < 0) {
+ vk_present_set_zoom((float)zoom_percent / 100.0f);
+ return;
+ }
+ atomic_store(&g_zoom_request_percent, zoom_percent);
+ atomic_store(&g_zoom_request_pending, 1);
+ struct input_msg m = { 14, zoom_percent, 0, 0, 0 };
+ ssize_t n;
+ do {
+ n = write(g_input_pipe[1], &m, sizeof(m));
+ } while (n < 0 && errno == EINTR);
+ (void)n;
+}
+
void droiddeck_wayland_send_pointer(int action, int x, int y) {
if (g_input_pipe[1] < 0) return;
struct input_msg m = { 0, action, x, y, 0 };
@@ -3828,6 +4242,23 @@ void droiddeck_wayland_output_resized(void) {
(void)n;
}
+void droiddeck_wayland_set_panel_rates(const int *rates, int count) {
+ if (count > PANEL_RATES_MAX) count = PANEL_RATES_MAX;
+ pthread_mutex_lock(&g_panel_rates_lock);
+ const int same = count == g_panel_rate_count && !memcmp(rates, g_panel_rates, (size_t)count * sizeof(int));
+ if (!same) {
+ memcpy(g_panel_rates, rates, (size_t)count * sizeof(int));
+ g_panel_rate_count = count;
+ }
+ pthread_mutex_unlock(&g_panel_rates_lock);
+ if (same || g_input_pipe[1] < 0) return;
+ atomic_store(&g_panel_rates_pending, 1);
+ struct input_msg m = { 10, 0, 0, 0, 0 };
+ ssize_t n;
+ do { n = write(g_input_pipe[1], &m, sizeof(m)); } while (n < 0 && errno == EINTR);
+ (void)n;
+}
+
void droiddeck_wayland_set_output_refresh_rate(int mhz) {
if (mhz <= 0) mhz = 60000;
if (atomic_exchange(&g_output_refresh_mhz, mhz) == mhz || g_input_pipe[1] < 0) return;
@@ -3910,12 +4341,15 @@ static int on_stats_timer(void *data) {
struct vkp_perf vp;
vkp_perf_take(&vp);
const unsigned drops = sc_layer_drops_take();
+ unsigned aimed_next, aimed_later, aimed_even;
+ sc_layer_aim_take(&aimed_next, &aimed_later, &aimed_even);
#define PERF_MS(sum, n) ((n) ? (double)(sum) / 1e6 / (double)(n) : 0.0)
if (g_perf.scenes || vp.presents || g_perf.releases || drops)
droiddeck_log("perf", "last 10 s: %u ticks, %u scenes, %u on screen (copy %u, zero-copy %u, layer copy %u) | "
"render_scene %.2f/%.2f ms | base %u black kept, %u presented | acquire %.2f/%.2f ms | "
"present %.2f/%.2f ms (%u) | fence wait %.2f/%.2f ms (%u, %u GPU release waits) | "
- "release %.2f/%.2f ms (%u, %u held) | %u pool drops",
+ "release %.2f/%.2f ms (%u, %u held) | %u pool drops | layer frames timed for the next refresh %u, "
+ "the one after %u, held to an even step %u",
g_perf.ticks, g_perf.scenes, g_stat_frames, g_perf.copy_scenes, zero_copy, layer_frames,
PERF_MS(g_perf.scene_ns, g_perf.scenes), (double)g_perf.scene_max_ns / 1e6,
vp.base_kept, vp.base_presents,
@@ -3923,7 +4357,7 @@ static int on_stats_timer(void *data) {
PERF_MS(vp.present_ns, vp.presents), (double)vp.present_max_ns / 1e6, vp.presents,
PERF_MS(vp.wait_ns, vp.waits), (double)vp.wait_max_ns / 1e6, vp.waits, vp.gpu_release_waits,
PERF_MS(g_perf.release_ns, g_perf.releases), (double)g_perf.release_max_ns / 1e6,
- g_perf.releases, g_perf.releases_held, drops);
+ g_perf.releases, g_perf.releases_held, drops, aimed_next, aimed_later, aimed_even);
#undef PERF_MS
memset(&g_perf, 0, sizeof(g_perf));
}
@@ -3933,12 +4367,12 @@ static int on_stats_timer(void *data) {
droiddeck_log("pacing", "last 10 s: tick reaches compositor %.2f/%.2f ms late (%u ticks, %u over 2 ms) | "
"new frame waits %.2f/%.2f ms to be drawn (%u scenes, %u on arrival) | %llu game frames, %u re-attached after an "
"empty attach, %u empty attaches, %u distinct buffers | feedback %u shown, %u replaced before drawing, "
- "%u not drawn",
+ "%u not drawn | game frames arrived 1/2/3/4+ refreshes apart %u/%u/%u/%u",
g_pace.ticks ? (double)g_pace.tick_late_ns / 1e6 / g_pace.ticks : 0.0, (double)g_pace.tick_late_max_ns / 1e6,
g_pace.ticks, g_pace.ticks_late_2ms,
g_pace.renders ? (double)g_pace.wait_ns / 1e6 / g_pace.renders : 0.0, (double)g_pace.wait_max_ns / 1e6,
g_pace.renders, g_pace.commit_renders, (unsigned long long)game, g_pace.reattaches, g_pace.null_attaches, g_pace.distinct,
- g_pace.presented, g_pace.replaced, g_pace.undrawn);
+ g_pace.presented, g_pace.replaced, g_pace.undrawn, g_pace.gaps[0], g_pace.gaps[1], g_pace.gaps[2], g_pace.gaps[3]);
}
if (g_bfi_stats.lit || g_bfi_stats.dark || g_bfi_stats.failed) {
droiddeck_log("bfi", "last 10 s: %u pictures, %u black refreshes, %u black refreshes not presented",
@@ -3964,6 +4398,12 @@ static int on_stats_timer(void *data) {
"draw - expect a black picture (main device %u:%u)", ci->name,
(unsigned)major(g_main_device), (unsigned)minor(g_main_device));
}
+ if (g_content_fps > 0 && now_ns() - g_game_frame_ns >= 2000000000LL) {
+ g_content_fps = 0;
+ g_cadence_ns = 0;
+ g_cadence_frames = 0;
+ droiddeck_on_content_rate(0);
+ }
wl_event_source_timer_update(g_stats_timer, 10000);
return 0;
}
@@ -4042,6 +4482,7 @@ int droiddeck_wayland_run(void) {
wl_list_init(&g_surfaces);
wl_list_init(&g_toplevels);
wl_list_init(&g_outputs);
+ wl_list_init(&g_refresh_clients);
wl_list_init(&g_constraints);
wl_list_init(&g_relative_pointers);
open_session_log();
@@ -4079,6 +4520,7 @@ int droiddeck_wayland_run(void) {
wl_display_init_shm(display);
wl_global_create(display, &wl_output_interface, 4, NULL, bind_output);
+ wl_global_create(display, &droiddeck_refresh_v1_interface, 1, NULL, bind_refresh);
wl_global_create(display, &xdg_wm_base_interface, 1, NULL, bind_xdg_wm_base);
wl_global_create(display, &zwp_linux_dmabuf_v1_interface, 4, NULL, bind_dmabuf);
droiddeck_android_wlegl_init(display);
@@ -4089,6 +4531,7 @@ int droiddeck_wayland_run(void) {
wl_global_create(display, &zwp_relative_pointer_manager_v1_interface, 1, NULL, bind_relative_pointer_manager);
droiddeck_ext_init(display);
ahb_swapchain_init(display);
+ display_buffers_init(display);
droiddeck_color_init(display);
diff --git a/app/src/main/cpp/waylandcomp/src/compositor_internal.h b/app/src/main/cpp/waylandcomp/src/compositor_internal.h
index c70f9dd193..b17329c124 100644
--- a/app/src/main/cpp/waylandcomp/src/compositor_internal.h
+++ b/app/src/main/cpp/waylandcomp/src/compositor_internal.h
@@ -20,6 +20,7 @@
#define DRM_XBGR8888 FOURCC('X', 'B', '2', '4')
#define MOD_LINEAR VKP_MOD_LINEAR
#define MOD_INVALID VKP_MOD_INVALID
+#define MOD_QCOM_COMPRESSED VKP_MOD_QCOM_COMPRESSED
#define MAX_PLANES 4
struct dmabuf_params {
diff --git a/app/src/main/cpp/waylandcomp/src/display_buffers.c b/app/src/main/cpp/waylandcomp/src/display_buffers.c
new file mode 100644
index 0000000000..99f6993a56
--- /dev/null
+++ b/app/src/main/cpp/waylandcomp/src/display_buffers.c
@@ -0,0 +1,343 @@
+#define _GNU_SOURCE
+#include "display_buffers.h"
+#include "ahb_swapchain.h"
+#include "compositor_internal.h"
+#include "droiddeck_color.h"
+#include "droiddeck_ext.h"
+#include "sc_layer.h"
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#define DISPLAY_BUFFERS_SOCKET "droiddeck-display-buffers"
+#define DISPLAY_BUFFERS_MAGIC 0x42444444u
+#define DISPLAY_BUFFERS_VERSION 1u
+#define DISPLAY_BUFFERS_ALLOC 1u
+#define DISPLAY_BUFFERS_FREE 2u
+#define DISPLAY_BUFFERS_MAX_SIDE 16384u
+#define DISPLAY_BUFFERS_MAX_PER_CLIENT 256
+#define DISPLAY_BUFFERS_PROBE_W 1280u
+#define DISPLAY_BUFFERS_PROBE_H 720u
+#define ALIGN_UP(v, a) (((v) + (a) - 1) / (a) * (a))
+
+extern volatile int g_zero_copy;
+volatile int g_display_buffer_driver;
+
+struct display_buffers_request {
+ uint32_t magic, version, op, width, height, format, stride, offset;
+ uint64_t size, id, modifier;
+};
+
+struct display_buffers_reply {
+ uint32_t magic, status;
+ uint64_t id, size;
+};
+
+struct peer {
+ int fd;
+ pid_t pid;
+ int count;
+ int logged_w, logged_h;
+ uint32_t logged_format;
+ struct wl_event_source *src;
+};
+
+struct entry {
+ uint64_t id;
+ dev_t dev;
+ ino_t ino;
+ AHardwareBuffer *ahb;
+ uint32_t format, stride, width, height;
+ uint64_t modifier;
+ struct peer *peer;
+ struct wl_list link;
+};
+
+static struct wl_list g_entries;
+static struct wl_event_loop *g_loop;
+static uint64_t g_next_id = 1;
+static int g_refused_logged;
+static int g_ubwc_promised;
+static int g_ubwc_probed[2];
+
+static uint32_t ahb_format_of(uint32_t drm, uint64_t modifier) {
+ switch (drm) {
+ case DRM_ABGR8888: case DRM_XBGR8888: return AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM;
+ case DRM_ARGB8888: case DRM_XRGB8888: return modifier == MOD_QCOM_COMPRESSED ? AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM : 0;
+ case FOURCC('A', 'B', '3', '0'): case FOURCC('X', 'B', '3', '0'): return AHARDWAREBUFFER_FORMAT_R10G10B10A2_UNORM;
+ default: return 0;
+ }
+}
+
+static uint64_t ubwc_meta_size(uint32_t w, uint32_t h) {
+ return ALIGN_UP((uint64_t)ALIGN_UP((w + 15) / 16, 64) * ALIGN_UP((h + 3) / 4, 16), 4096);
+}
+
+static uint64_t ubwc_size(uint32_t w, uint32_t h, uint32_t stride) {
+ return ubwc_meta_size(w, h) + ALIGN_UP((uint64_t)stride * ALIGN_UP(h, 16), 4096);
+}
+
+static void entry_free(struct entry *e) {
+ wl_list_remove(&e->link);
+ e->peer->count--;
+ AHardwareBuffer_release(e->ahb);
+ free(e);
+}
+
+static AHardwareBuffer *allocate_ubwc(uint32_t w, uint32_t h, uint32_t format, uint32_t stride, int *fd, uint64_t *size) {
+ const uint64_t tiers[2] = {SC_LAYER_AHB_USAGE_VENDOR_UBWC, 0};
+ for (int i = 0; i < 2; i++) {
+ AHardwareBuffer_Desc d = {
+ .width = w, .height = h, .layers = 1, .format = format,
+ .usage = AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT | AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE |
+ AHARDWAREBUFFER_USAGE_COMPOSER_OVERLAY | tiers[i]};
+ AHardwareBuffer *ahb = NULL;
+ if (AHardwareBuffer_allocate(&d, &ahb) != 0 || !ahb) continue;
+ AHardwareBuffer_Desc got;
+ AHardwareBuffer_describe(ahb, &got);
+ const uint64_t need = ubwc_size(w, h, got.stride * 4);
+ *fd = !stride || (uint64_t)got.stride * 4 == stride ? sc_layer_ahb_fd(ahb, need) : -1;
+ if (*fd >= 0 && (uint64_t)lseek(*fd, 0, SEEK_END) == need) { *size = need; return ahb; }
+ *fd = -1;
+ AHardwareBuffer_release(ahb);
+ }
+ return NULL;
+}
+
+static uint64_t gralloc_bytes(uint32_t format, uint64_t usage, uint32_t *stride) {
+ AHardwareBuffer_Desc d = {
+ .width = DISPLAY_BUFFERS_PROBE_W, .height = DISPLAY_BUFFERS_PROBE_H, .layers = 1, .format = format,
+ .usage = AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT | AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE |
+ AHARDWAREBUFFER_USAGE_COMPOSER_OVERLAY | usage};
+ AHardwareBuffer *ahb = NULL;
+ if (AHardwareBuffer_allocate(&d, &ahb) != 0 || !ahb) return 0;
+ AHardwareBuffer_describe(ahb, &d);
+ const int fd = sc_layer_ahb_fd(ahb, 1);
+ const off_t bytes = fd >= 0 ? lseek(fd, 0, SEEK_END) : 0;
+ if (fd >= 0) lseek(fd, 0, SEEK_SET);
+ AHardwareBuffer_release(ahb);
+ *stride = d.stride;
+ return bytes > 0 ? (uint64_t)bytes : 0;
+}
+
+static int ubwc_probe(uint32_t format) {
+ int *state = &g_ubwc_probed[format == AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM ? 0 : 1];
+ if (*state) return *state > 0;
+ uint32_t stride = 0, linear_stride = 0;
+ const uint64_t flagged = gralloc_bytes(format, SC_LAYER_AHB_USAGE_VENDOR_UBWC, &stride);
+ const uint64_t plain = gralloc_bytes(format, 0, &stride);
+ const uint64_t linear = gralloc_bytes(format, AHARDWAREBUFFER_USAGE_CPU_READ_RARELY, &linear_stride);
+ const uint64_t need = ubwc_size(DISPLAY_BUFFERS_PROBE_W, DISPLAY_BUFFERS_PROBE_H, stride * 4);
+ *state = stride && linear != need && (flagged == need || plain == need) ? 1 : -1;
+ droiddeck_log("layer", "display buffers: gralloc %s buffers %s (%ux%u: the layout takes %llu bytes; gralloc gives %llu "
+ "asked for UBWC, %llu unasked, %llu linear)", droiddeck_ahb_format_name(format),
+ *state > 0 ? "use the UBWC layout the drivers render to: compressed frames can go on the display layer"
+ : "do not match the UBWC layout the drivers render to: compressed frames are not offered",
+ DISPLAY_BUFFERS_PROBE_W, DISPLAY_BUFFERS_PROBE_H, (unsigned long long)need, (unsigned long long)flagged,
+ (unsigned long long)plain, (unsigned long long)linear);
+ return *state > 0;
+}
+
+int display_buffers_offer_ubwc(uint32_t drm) {
+ const uint32_t format = ahb_format_of(drm, MOD_QCOM_COMPRESSED);
+ if (!g_loop || !g_zero_copy || !g_ubwc || !g_display_buffer_driver || !format || !ubwc_probe(format)) return 0;
+ g_ubwc_promised = 1;
+ return 1;
+}
+
+void display_buffers_withdraw_ubwc(void) { g_ubwc_promised = 0; }
+
+static AHardwareBuffer *allocate(const struct display_buffers_request *q, uint32_t format, int *fd) {
+ const uint32_t rows = (uint32_t)((q->size + q->stride - 1) / q->stride);
+ const uint32_t dims[2][2] = {{q->width, q->height}, {q->stride / 4, rows}};
+ for (int i = 0; i < 2; i++) {
+ AHardwareBuffer_Desc d = {
+ .width = dims[i][0], .height = dims[i][1], .layers = 1, .format = format,
+ .usage = AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT | AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE |
+ AHARDWAREBUFFER_USAGE_COMPOSER_OVERLAY | AHARDWAREBUFFER_USAGE_CPU_READ_RARELY};
+ AHardwareBuffer *ahb = NULL;
+ if (i && dims[1][0] == dims[0][0] && dims[1][1] == dims[0][1]) break;
+ if (AHardwareBuffer_allocate(&d, &ahb) != 0 || !ahb) continue;
+ AHardwareBuffer_Desc got;
+ AHardwareBuffer_describe(ahb, &got);
+ *fd = (uint64_t)got.stride * 4 == q->stride ? sc_layer_ahb_fd(ahb, q->size) : -1;
+ if (*fd >= 0) return ahb;
+ AHardwareBuffer_release(ahb);
+ }
+ return NULL;
+}
+
+static int reply(struct peer *p, const struct display_buffers_reply *r, int fd) {
+ char control[CMSG_SPACE(sizeof(int))] = {0};
+ struct iovec iov = {.iov_base = (void *)r, .iov_len = sizeof(*r)};
+ struct msghdr msg = {.msg_iov = &iov, .msg_iovlen = 1};
+ if (fd >= 0) {
+ msg.msg_control = control;
+ msg.msg_controllen = sizeof(control);
+ struct cmsghdr *c = CMSG_FIRSTHDR(&msg);
+ c->cmsg_level = SOL_SOCKET;
+ c->cmsg_type = SCM_RIGHTS;
+ c->cmsg_len = CMSG_LEN(sizeof(int));
+ memcpy(CMSG_DATA(c), &fd, sizeof(int));
+ }
+ ssize_t n;
+ do { n = sendmsg(p->fd, &msg, MSG_NOSIGNAL); } while (n < 0 && errno == EINTR);
+ return n == (ssize_t)sizeof(*r) ? 0 : -1;
+}
+
+static void handle_alloc(struct peer *p, const struct display_buffers_request *q) {
+ struct display_buffers_reply r = {.magic = DISPLAY_BUFFERS_MAGIC, .status = 1};
+ const int compressed = q->modifier == MOD_QCOM_COMPRESSED;
+ const uint32_t format = compressed || q->modifier == MOD_LINEAR ? ahb_format_of(q->format, q->modifier) : 0;
+ struct entry *e = NULL;
+ AHardwareBuffer *ahb = NULL;
+ struct stat st;
+ uint64_t need = 0;
+ int fd = -1;
+ const int sized = format && q->width && q->height && q->width <= DISPLAY_BUFFERS_MAX_SIDE &&
+ q->height <= DISPLAY_BUFFERS_MAX_SIDE && q->stride % 4 == 0 && q->stride / 4 >= q->width &&
+ q->stride / 4 <= DISPLAY_BUFFERS_MAX_SIDE;
+ const int sane = !sized ? 0
+ : compressed ? q->offset == ubwc_meta_size(q->width, q->height) &&
+ q->size == ubwc_size(q->width, q->height, q->stride)
+ : q->offset == 0 && q->size >= (uint64_t)q->stride * q->height &&
+ q->size <= (uint64_t)q->stride * DISPLAY_BUFFERS_MAX_SIDE;
+ const int wanted = compressed ? g_ubwc_promised : g_zero_copy;
+ if (sane && wanted && ahb_swapchain_advertised() && p->count < DISPLAY_BUFFERS_MAX_PER_CLIENT)
+ ahb = compressed ? allocate_ubwc(q->width, q->height, format, q->stride, &fd, &need) : allocate(q, format, &fd);
+ if (ahb && fstat(fd, &st) == 0) e = calloc(1, sizeof(*e));
+ if (e) {
+ e->id = r.id = g_next_id++;
+ e->dev = st.st_dev; e->ino = st.st_ino;
+ e->ahb = ahb;
+ e->format = format; e->stride = q->stride;
+ e->width = q->width; e->height = q->height;
+ e->modifier = q->modifier;
+ e->peer = p;
+ p->count++;
+ wl_list_insert(&g_entries, &e->link);
+ r.status = 0;
+ r.size = (uint64_t)lseek(fd, 0, SEEK_END);
+ lseek(fd, 0, SEEK_SET);
+ if (p->logged_w != (int)q->width || p->logged_h != (int)q->height || p->logged_format != q->format) {
+ AHardwareBuffer_Desc got;
+ AHardwareBuffer_describe(ahb, &got);
+ p->logged_w = (int)q->width; p->logged_h = (int)q->height; p->logged_format = q->format;
+ droiddeck_log("layer", "display buffers: pid %d renders %ux%u %c%c%c%c %s straight into gralloc buffers "
+ "(%s %ux%u, stride %u px, %llu bytes for the %llu it asked for)", (int)p->pid, q->width, q->height,
+ q->format & 0xff, (q->format >> 8) & 0xff, (q->format >> 16) & 0xff, (q->format >> 24) & 0xff,
+ compressed ? "UBWC" : "linear", droiddeck_ahb_format_name(format), got.width, got.height,
+ got.stride, (unsigned long long)r.size, (unsigned long long)q->size);
+ }
+ } else {
+ if (ahb) AHardwareBuffer_release(ahb);
+ fd = -1;
+ if (sized && wanted && (compressed || !g_refused_logged)) {
+ g_refused_logged = 1;
+ droiddeck_log(compressed ? "error" : "layer", "display buffers: no gralloc buffer matches pid %d's %ux%u "
+ "%c%c%c%c %s layout (stride %u bytes, pixels at %u, %llu bytes; gralloc's layout has pixels at "
+ "%llu, %llu bytes): %s", (int)p->pid, q->width, q->height,
+ q->format & 0xff, (q->format >> 8) & 0xff, (q->format >> 16) & 0xff, (q->format >> 24) & 0xff,
+ compressed ? "UBWC" : "linear", q->stride, q->offset, (unsigned long long)q->size,
+ (unsigned long long)(compressed ? ubwc_meta_size(q->width, q->height) : 0),
+ (unsigned long long)(compressed ? ubwc_size(q->width, q->height, q->stride) : q->size),
+ compressed ? "its compressed frames cannot be shown" : "its frames keep the copy path");
+ }
+ }
+ if (reply(p, &r, fd) != 0 && e) entry_free(e);
+}
+
+static void peer_gone(struct peer *p) {
+ struct entry *e, *tmp;
+ wl_list_for_each_safe(e, tmp, &g_entries, link)
+ if (e->peer == p) entry_free(e);
+ wl_event_source_remove(p->src);
+ close(p->fd);
+ free(p);
+}
+
+static int on_peer(int fd, uint32_t mask, void *data) {
+ struct peer *p = data;
+ for (;;) {
+ struct display_buffers_request q;
+ ssize_t n = recv(fd, &q, sizeof(q), MSG_DONTWAIT);
+ if (n < 0 && errno == EINTR) continue;
+ if (n < 0 && (errno == EAGAIN || errno == EWOULDBLOCK)) return 0;
+ if (n != (ssize_t)sizeof(q) || q.magic != DISPLAY_BUFFERS_MAGIC || q.version != DISPLAY_BUFFERS_VERSION) break;
+ if (q.op == DISPLAY_BUFFERS_ALLOC) {
+ handle_alloc(p, &q);
+ } else if (q.op == DISPLAY_BUFFERS_FREE) {
+ struct entry *e, *tmp;
+ wl_list_for_each_safe(e, tmp, &g_entries, link)
+ if (e->peer == p && e->id == q.id) entry_free(e);
+ } else {
+ break;
+ }
+ }
+ peer_gone(p);
+ return 0;
+}
+
+static int on_listen(int fd, uint32_t mask, void *data) {
+ int c = accept4(fd, NULL, NULL, SOCK_CLOEXEC | SOCK_NONBLOCK);
+ if (c < 0) return 0;
+ struct peer *p = calloc(1, sizeof(*p));
+ if (!p) { close(c); return 0; }
+ struct ucred cred = {0};
+ socklen_t len = sizeof(cred);
+ if (getsockopt(c, SOL_SOCKET, SO_PEERCRED, &cred, &len) == 0) p->pid = cred.pid;
+ p->fd = c;
+ p->src = wl_event_loop_add_fd(g_loop, c, WL_EVENT_READABLE, on_peer, p);
+ if (!p->src) { close(c); free(p); }
+ return 0;
+}
+
+void display_buffers_match(struct wl_client *c, struct wl_resource *buffer, struct dmabuf_buffer *b) {
+ struct stat st;
+ struct entry *e;
+ if (!g_loop || wl_list_empty(&g_entries) || b->n_planes != 1 || b->offset[0] != 0 || fstat(b->fd[0], &st) != 0) return;
+ wl_list_for_each(e, &g_entries, link) {
+ if (e->dev != st.st_dev || e->ino != st.st_ino) continue;
+ AHardwareBuffer_Desc d;
+ AHardwareBuffer_describe(e->ahb, &d);
+ const int compressed = e->modifier == MOD_QCOM_COMPRESSED;
+ const int laid_out = compressed ? b->modifier == MOD_QCOM_COMPRESSED && (uint32_t)b->width == e->width &&
+ (uint32_t)b->height == e->height
+ : (b->modifier == MOD_LINEAR || b->modifier == MOD_INVALID) &&
+ e->stride == b->stride[0];
+ if (laid_out && e->format == ahb_format_of(b->format, e->modifier) && b->width > 0 && b->height > 0 &&
+ (uint32_t)b->width <= d.width && (uint32_t)b->height <= d.height)
+ ahb_swapchain_adopt(c, buffer, b, e->ahb, e->modifier);
+ return;
+ }
+}
+
+void display_buffers_init(struct wl_display *display) {
+ wl_list_init(&g_entries);
+ const char *dir = getenv("XDG_RUNTIME_DIR");
+ struct sockaddr_un addr = {.sun_family = AF_UNIX};
+ if (!ahb_swapchain_advertised() || !dir) return;
+ if (snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/" DISPLAY_BUFFERS_SOCKET, dir) >= (int)sizeof(addr.sun_path)) {
+ droiddeck_log("layer", "display buffers: %s is too long for a socket path, not offered", dir);
+ return;
+ }
+ int fd = socket(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0);
+ if (fd < 0) return;
+ unlink(addr.sun_path);
+ struct wl_event_loop *loop = wl_display_get_event_loop(display);
+ if (bind(fd, (struct sockaddr *)&addr, sizeof(addr)) != 0 || listen(fd, 16) != 0 ||
+ !wl_event_loop_add_fd(loop, fd, WL_EVENT_READABLE, on_listen, NULL)) {
+ droiddeck_log("layer", "display buffers: socket %s failed (%s), not offered", addr.sun_path, strerror(errno));
+ close(fd);
+ return;
+ }
+ g_loop = loop;
+ droiddeck_log("layer", "display buffers: offered on %s (programs whose driver asks render into gralloc buffers while "
+ "zero-copy is on)", addr.sun_path);
+}
diff --git a/app/src/main/cpp/waylandcomp/src/display_buffers.h b/app/src/main/cpp/waylandcomp/src/display_buffers.h
new file mode 100644
index 0000000000..4943be521e
--- /dev/null
+++ b/app/src/main/cpp/waylandcomp/src/display_buffers.h
@@ -0,0 +1,12 @@
+#ifndef DISPLAY_BUFFERS_H
+#define DISPLAY_BUFFERS_H
+#include
+
+struct dmabuf_buffer;
+
+void display_buffers_init(struct wl_display *display);
+int display_buffers_offer_ubwc(uint32_t drm);
+void display_buffers_withdraw_ubwc(void);
+void display_buffers_match(struct wl_client *c, struct wl_resource *buffer, struct dmabuf_buffer *b);
+
+#endif
diff --git a/app/src/main/cpp/waylandcomp/src/droiddeck_color.h b/app/src/main/cpp/waylandcomp/src/droiddeck_color.h
index a578301ae5..8809b7ed63 100644
--- a/app/src/main/cpp/waylandcomp/src/droiddeck_color.h
+++ b/app/src/main/cpp/waylandcomp/src/droiddeck_color.h
@@ -16,6 +16,9 @@ struct droiddeck_color {
float max_lum, min_lum;
int has_cta861;
float max_cll, max_fall;
+ int convert;
+ float to2020[9];
+ float gain;
char text[256];
};
diff --git a/app/src/main/cpp/waylandcomp/src/effects_chain.c b/app/src/main/cpp/waylandcomp/src/effects_chain.c
index 385a46b322..d711e565f3 100644
--- a/app/src/main/cpp/waylandcomp/src/effects_chain.c
+++ b/app/src/main/cpp/waylandcomp/src/effects_chain.c
@@ -17,12 +17,28 @@
#include "cas_frag.h"
#include "color_frag.h"
#include "fxaa_frag.h"
-#include "smaa_frag.h"
+#include "fxaa_toon_frag.h"
+#include "smaa_edge_frag.h"
+#include "smaa_weights_frag.h"
+#include "smaa_blend_frag.h"
#include "toon_frag.h"
+#include "toon_color_frag.h"
#include "hdr_frag.h"
#include "ntsc_frag.h"
#include "crt_frag.h"
#include "deband_frag.h"
+/* Half-precision upscaler/CAS set (shaders/gen_shaders.sh -DDD_HALF=1), ported from Bannerlator. */
+#include "sgsr_half_frag.h"
+#include "sgsr_quality_half_frag.h"
+#include "nis_luma_half_frag.h"
+#include "nis3_half_frag.h"
+#include "nis_coef.h"
+#include "fsr_easu_half_frag.h"
+#include "fsr_rcas_half_frag.h"
+#include "cas_ffx_half_frag.h"
+#ifdef __ANDROID__
+#include
+#endif
#define FX_FORMAT VK_FORMAT_R8G8B8A8_UNORM
@@ -30,6 +46,7 @@
static VkFormat g_fx_fmt = FX_FORMAT, g_scene_fmt = FX_FORMAT;
+static int g_scene_is_pq;
#define FX_MAX_DIM 4096
@@ -104,10 +121,12 @@ static const char *scaling_name(int m) {
}
static int spatial_mode(int m) { return m >= 3 && m <= 8; }
static int cas_active(const struct fx_settings *s) { return s->cas_on && s->cas_pct > 0; }
+static int deband_active(const struct fx_settings *s) { return s->deband_on && s->deband_pct > 0; }
static int effect_count(const struct fx_settings *s) {
- return (s->aa_mode != 0) + s->toon + s->color_on + cas_active(s) + s->hdr_on + s->ntsc + s->crt + s->deband_on;
+ return (s->aa_mode != 0) + s->toon + s->color_on + cas_active(s) + s->hdr_on + s->ntsc + s->crt + deband_active(s);
}
+
static void log_settings(const struct fx_settings *s) {
char line[400];
int n;
@@ -129,7 +148,7 @@ static void log_settings(const struct fx_settings *s) {
if (s->hdr_on) n += snprintf(line + n, sizeof(line) - n, ", HDR on");
if (s->ntsc) n += snprintf(line + n, sizeof(line) - n, ", NTSC on");
if (s->crt) n += snprintf(line + n, sizeof(line) - n, ", CRT on");
- if (s->deband_on) n += snprintf(line + n, sizeof(line) - n, ", Deband on %d%%", s->deband_pct);
+ if (deband_active(s)) n += snprintf(line + n, sizeof(line) - n, ", Deband on %d%%", s->deband_pct);
(void)n;
droiddeck_log("effects", "%s", line);
}
@@ -176,6 +195,11 @@ struct pc_easu { float ndc[4]; uint32_t con0[4], con1[4], con2[4], con3[4]; flo
struct pc_rcas { float ndc[4]; uint32_t con[4]; float outW, outH; };
struct pc_res { float ndc[4]; float res[2]; float extra; float pad; };
struct pc_color { float ndc[4]; float b, c, g, s; };
+struct pc_toon_color {
+ float ndc[4]; float res[2]; float b, c, g, s;
+};
+_Static_assert(sizeof(struct pc_toon_color) == 40,
+ "toon_color push constants layout mismatch");
#define PC_MAX_SIZE sizeof(struct pc_easu)
static uint32_t packf(float f) { uint32_t u; memcpy(&u, &f, 4); return u; }
@@ -204,17 +228,28 @@ static VkDevice g_dev;
static VkPhysicalDevice g_pd;
static VkPhysicalDeviceMemoryProperties g_mp;
static int g_ready;
-static VkRenderPass g_rp;
+static VkRenderPass g_rp, g_smaa_rp;
static VkDescriptorSetLayout g_dsl;
static VkPipelineLayout g_pl;
static VkDescriptorPool g_dpool;
static VkSampler g_sampler;
-enum { P_SGSR, P_SGSR_HQ, P_NIS, P_EASU, P_RCAS, P_CAS, P_COLOR, P_FXAA, P_SMAA, P_TOON, P_HDR, P_NTSC, P_CRT, P_DEBAND, P_COUNT };
+enum { P_SGSR, P_SGSR_HQ, P_NIS, P_EASU, P_RCAS, P_CAS, P_COLOR, P_FXAA, P_FXAA_TOON, P_SMAA_EDGE, P_SMAA_WEIGHTS, P_SMAA_BLEND, P_TOON, P_TOON_COLOR, P_HDR, P_NTSC, P_CRT, P_DEBAND, P_NIS_LUMA, P_COUNT };
static VkPipeline g_pipe[P_COUNT];
-static struct fx_target g_t[2], g_mid;
+static struct fx_target g_t[2], g_mid, g_smaa_edges, g_smaa_weights;
+/* Half set: NIS = nis_luma prepass (scene rgb + luma in alpha, scene size) into g_nissrc, then
+ * nis3 gathers its luma from that alpha, its coefficient banks (nis_coef.h) in a uniform buffer
+ * at descriptor set 1 (g_pl_nis = {g_dsl, g_coef_dsl}, same push-constant range as g_pl).
+ * Old set (or no buffer): nis.frag on the scene, P_NIS_LUMA unused. */
+static struct fx_target g_nissrc;
+static int g_nis_fast;
+static VkDescriptorSetLayout g_coef_dsl;
+static VkPipelineLayout g_pl_nis;
+static VkDescriptorPool g_coef_pool;
+static VkDescriptorSet g_coef_ds;
+static VkBuffer g_coef_buf;
+static VkDeviceMemory g_coef_mem;
static struct { VkImage img; VkImageView view; VkDescriptorSet ds; int w, h; } g_scene;
-static uint32_t g_ntsc_frame;
void vkp_effects_bind_device(VkDevice dev, VkPhysicalDevice pd,
const VkPhysicalDeviceMemoryProperties *memprops) {
@@ -260,15 +295,20 @@ static void target_destroy(struct fx_target *t) {
memset(t, 0, sizeof(*t));
}
-static int target_ensure(struct fx_target *t, int w, int h, const char *what) {
+#define FX_TARGET_USAGE (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT | \
+ VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT)
+#define FX_SCRATCH_USAGE (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT)
+
+static int target_ensure_format(struct fx_target *t, int w, int h,
+ VkImageUsageFlags usage, const char *what,
+ VkFormat format, VkRenderPass render_pass) {
if (t->img && t->w == w && t->h == h) return 0;
target_destroy(t);
VkImageCreateInfo ii = {.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO,
.flags = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT, .imageType = VK_IMAGE_TYPE_2D,
- .format = g_fx_fmt, .extent = {(uint32_t)w, (uint32_t)h, 1}, .mipLevels = 1,
+ .format = format, .extent = {(uint32_t)w, (uint32_t)h, 1}, .mipLevels = 1,
.arrayLayers = 1, .samples = VK_SAMPLE_COUNT_1_BIT, .tiling = VK_IMAGE_TILING_OPTIMAL,
- .usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT |
- VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT,
+ .usage = usage,
.sharingMode = VK_SHARING_MODE_EXCLUSIVE, .initialLayout = VK_IMAGE_LAYOUT_UNDEFINED};
VkResult r = g_vk.CreateImage(g_dev, &ii, NULL, &t->img);
if (r != VK_SUCCESS) { droiddeck_log("error", "effects: %s image %dx%d: vkCreateImage %d", what, w, h, (int)r); return -1; }
@@ -285,8 +325,8 @@ static int target_ensure(struct fx_target *t, int w, int h, const char *what) {
target_destroy(t); return -1;
}
g_vk.BindImageMemory(g_dev, t->img, t->mem, 0);
- if (!(t->view = make_view(t->img, g_fx_fmt))) { target_destroy(t); return -1; }
- VkFramebufferCreateInfo fi = {.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO, .renderPass = g_rp,
+ if (!(t->view = make_view(t->img, format))) { target_destroy(t); return -1; }
+ VkFramebufferCreateInfo fi = {.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO, .renderPass = render_pass,
.attachmentCount = 1, .pAttachments = &t->view, .width = (uint32_t)w,
.height = (uint32_t)h, .layers = 1};
if (g_vk.CreateFramebuffer(g_dev, &fi, NULL, &t->fb) != VK_SUCCESS) { target_destroy(t); return -1; }
@@ -295,6 +335,11 @@ static int target_ensure(struct fx_target *t, int w, int h, const char *what) {
return 0;
}
+static int target_ensure(struct fx_target *t, int w, int h,
+ VkImageUsageFlags usage, const char *what) {
+ return target_ensure_format(t, w, h, usage, what, g_fx_fmt, g_rp);
+}
+
static void scene_release(void) {
if (g_scene.ds) g_vk.FreeDescriptorSets(g_dev, g_dpool, 1, &g_scene.ds);
if (g_scene.view) g_vk.DestroyImageView(g_dev, g_scene.view, NULL);
@@ -321,7 +366,9 @@ static VkShaderModule shader(const uint32_t *code, size_t size) {
return m;
}
-static VkPipeline post_pipeline(VkShaderModule vert, const uint32_t *frag_code, size_t frag_size, const char *name) {
+static VkPipeline post_pipeline_for_renderpass(VkShaderModule vert,
+ const uint32_t *frag_code, size_t frag_size, VkRenderPass render_pass,
+ const char *name, VkPipelineLayout layout) {
VkShaderModule frag = shader(frag_code, frag_size);
if (!frag) { droiddeck_log("error", "effects: %s: vkCreateShaderModule failed", name); return VK_NULL_HANDLE; }
VkPipelineShaderStageCreateInfo st[2] = {
@@ -346,8 +393,8 @@ static VkPipeline post_pipeline(VkShaderModule vert, const uint32_t *frag_code,
VkGraphicsPipelineCreateInfo pi = {.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO, .stageCount = 2,
.pStages = st, .pVertexInputState = &vi, .pInputAssemblyState = &ia,
.pViewportState = &vp, .pRasterizationState = &rs, .pMultisampleState = &ms,
- .pColorBlendState = &cb, .pDynamicState = &ds, .layout = g_pl,
- .renderPass = g_rp, .subpass = 0};
+ .pColorBlendState = &cb, .pDynamicState = &ds, .layout = layout,
+ .renderPass = render_pass, .subpass = 0};
VkPipeline p = VK_NULL_HANDLE;
VkResult r = g_vk.CreateGraphicsPipelines(g_dev, VK_NULL_HANDLE, 1, &pi, NULL, &p);
g_vk.DestroyShaderModule(g_dev, frag, NULL);
@@ -355,23 +402,97 @@ static VkPipeline post_pipeline(VkShaderModule vert, const uint32_t *frag_code,
return p;
}
+static void coef_destroy(void) {
+ if (g_coef_pool) g_vk.DestroyDescriptorPool(g_dev, g_coef_pool, NULL); /* frees g_coef_ds */
+ if (g_coef_buf) g_vk.DestroyBuffer(g_dev, g_coef_buf, NULL);
+ if (g_coef_mem) g_vk.FreeMemory(g_dev, g_coef_mem, NULL);
+ if (g_pl_nis) g_vk.DestroyPipelineLayout(g_dev, g_pl_nis, NULL);
+ if (g_coef_dsl) g_vk.DestroyDescriptorSetLayout(g_dev, g_coef_dsl, NULL);
+ g_coef_pool = VK_NULL_HANDLE; g_coef_ds = VK_NULL_HANDLE; g_coef_buf = VK_NULL_HANDLE;
+ g_coef_mem = VK_NULL_HANDLE; g_pl_nis = VK_NULL_HANDLE; g_coef_dsl = VK_NULL_HANDLE;
+}
+
+/* nis3's coefficient banks: a 4 KB host-visible uniform buffer (scale then usm), filled once. 0 = ok. */
+static int coef_create(void) {
+ VkDescriptorSetLayoutBinding b = {.binding = 0, .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,
+ .descriptorCount = 1, .stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT};
+ VkDescriptorSetLayoutCreateInfo dli = {.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, .bindingCount = 1, .pBindings = &b};
+ if (g_vk.CreateDescriptorSetLayout(g_dev, &dli, NULL, &g_coef_dsl) != VK_SUCCESS) goto fail;
+ VkDescriptorSetLayout sets[2] = {g_dsl, g_coef_dsl};
+ VkPushConstantRange pcr = {.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT, .offset = 0, .size = PC_MAX_SIZE};
+ VkPipelineLayoutCreateInfo pli = {.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, .setLayoutCount = 2, .pSetLayouts = sets,
+ .pushConstantRangeCount = 1, .pPushConstantRanges = &pcr};
+ if (g_vk.CreatePipelineLayout(g_dev, &pli, NULL, &g_pl_nis) != VK_SUCCESS) goto fail;
+ VkBufferCreateInfo bci = {.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO, .size = 4096,
+ .usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, .sharingMode = VK_SHARING_MODE_EXCLUSIVE};
+ if (g_vk.CreateBuffer(g_dev, &bci, NULL, &g_coef_buf) != VK_SUCCESS) goto fail;
+ VkMemoryRequirements req;
+ g_vk.GetBufferMemoryRequirements(g_dev, g_coef_buf, &req);
+ int idx = memtype(req.memoryTypeBits, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT);
+ if (idx < 0) goto fail;
+ VkMemoryAllocateInfo mai = {.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, .allocationSize = req.size, .memoryTypeIndex = (uint32_t)idx};
+ if (g_vk.AllocateMemory(g_dev, &mai, NULL, &g_coef_mem) != VK_SUCCESS) goto fail;
+ if (g_vk.BindBufferMemory(g_dev, g_coef_buf, g_coef_mem, 0) != VK_SUCCESS) goto fail;
+ void *p = NULL;
+ if (g_vk.MapMemory(g_dev, g_coef_mem, 0, 4096, 0, &p) != VK_SUCCESS || !p) goto fail;
+ memcpy(p, kNisCoefScale, sizeof(kNisCoefScale));
+ memcpy((char *)p + sizeof(kNisCoefScale), kNisCoefUsm, sizeof(kNisCoefUsm));
+ g_vk.UnmapMemory(g_dev, g_coef_mem);
+ VkDescriptorPoolSize ps = {VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1};
+ VkDescriptorPoolCreateInfo dpi = {.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, .maxSets = 1, .poolSizeCount = 1, .pPoolSizes = &ps};
+ if (g_vk.CreateDescriptorPool(g_dev, &dpi, NULL, &g_coef_pool) != VK_SUCCESS) goto fail;
+ VkDescriptorSetAllocateInfo ai = {.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, .descriptorPool = g_coef_pool,
+ .descriptorSetCount = 1, .pSetLayouts = &g_coef_dsl};
+ if (g_vk.AllocateDescriptorSets(g_dev, &ai, &g_coef_ds) != VK_SUCCESS) goto fail;
+ VkDescriptorBufferInfo bi = {.buffer = g_coef_buf, .offset = 0, .range = 4096};
+ VkWriteDescriptorSet wr = {.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET, .dstSet = g_coef_ds, .dstBinding = 0,
+ .descriptorCount = 1, .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, .pBufferInfo = &bi};
+ g_vk.UpdateDescriptorSets(g_dev, 1, &wr, 0, NULL);
+ return 0;
+fail:
+ coef_destroy();
+ return -1;
+}
+
+/* nis_luma keeps luma in the target's alpha: only formats with at least 8 alpha bits (not the
+ * 2-bit alpha of the 10-bit HDR composition format) can hold it. */
+static int fx_alpha_holds_luma(VkFormat f) {
+ return f == VK_FORMAT_R8G8B8A8_UNORM || f == VK_FORMAT_B8G8R8A8_UNORM ||
+ f == VK_FORMAT_R16G16B16A16_SFLOAT || f == VK_FORMAT_R16G16B16A16_UNORM;
+}
+
+/* The half-precision upscaler set unless debug.droiddeck.upscale.shaders is "old" (the fp32
+ * shaders, for A/B comparisons). */
+static int upscale_half_set(void) {
+#ifdef __ANDROID__
+ char v[PROP_VALUE_MAX] = {0};
+ if (__system_property_get("debug.droiddeck.upscale.shaders", v) > 0 && strcmp(v, "old") == 0) return 0;
+#endif
+ return 1;
+}
+
static void objects_destroy(void) {
if (!g_dev) return;
scene_release();
target_destroy(&g_t[0]); target_destroy(&g_t[1]); target_destroy(&g_mid);
+ target_destroy(&g_smaa_edges); target_destroy(&g_smaa_weights); target_destroy(&g_nissrc);
for (int i = 0; i < P_COUNT; i++) { if (g_pipe[i]) g_vk.DestroyPipeline(g_dev, g_pipe[i], NULL); g_pipe[i] = VK_NULL_HANDLE; }
if (g_dpool) g_vk.DestroyDescriptorPool(g_dev, g_dpool, NULL);
if (g_pl) g_vk.DestroyPipelineLayout(g_dev, g_pl, NULL);
+ coef_destroy();
if (g_dsl) g_vk.DestroyDescriptorSetLayout(g_dev, g_dsl, NULL);
if (g_sampler) g_vk.DestroySampler(g_dev, g_sampler, NULL);
+ if (g_smaa_rp) g_vk.DestroyRenderPass(g_dev, g_smaa_rp, NULL);
if (g_rp) g_vk.DestroyRenderPass(g_dev, g_rp, NULL);
- g_dpool = VK_NULL_HANDLE; g_pl = VK_NULL_HANDLE; g_dsl = VK_NULL_HANDLE; g_sampler = VK_NULL_HANDLE; g_rp = VK_NULL_HANDLE;
+ g_dpool = VK_NULL_HANDLE; g_pl = VK_NULL_HANDLE; g_dsl = VK_NULL_HANDLE;
+ g_sampler = VK_NULL_HANDLE; g_rp = VK_NULL_HANDLE; g_smaa_rp = VK_NULL_HANDLE;
g_ready = 0;
}
void vkp_effects_destroy(void) { objects_destroy(); g_dev = VK_NULL_HANDLE; }
-void vkp_effects_set_formats(VkFormat scene_fmt, VkFormat target_fmt) {
+void vkp_effects_set_formats(VkFormat scene_fmt, VkFormat target_fmt, int scene_is_pq) {
+ g_scene_is_pq = scene_is_pq != 0;
if (target_fmt != g_fx_fmt) {
if (g_ready) objects_destroy();
g_fx_fmt = target_fmt;
@@ -413,6 +534,12 @@ static int objects_ensure(void) {
.subpassCount = 1, .pSubpasses = &sub, .dependencyCount = 2, .pDependencies = deps};
if (g_vk.CreateRenderPass(g_dev, &rci, NULL, &g_rp) != VK_SUCCESS) goto fail;
+ VkAttachmentDescription smaa_att = att;
+ smaa_att.format = FX_FORMAT;
+ VkRenderPassCreateInfo smaa_rci = rci;
+ smaa_rci.pAttachments = &smaa_att;
+ if (g_vk.CreateRenderPass(g_dev, &smaa_rci, NULL, &g_smaa_rp) != VK_SUCCESS) goto fail;
+
VkSamplerCreateInfo sci = {.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO, .magFilter = VK_FILTER_LINEAR,
.minFilter = VK_FILTER_LINEAR, .mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST,
.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
@@ -425,36 +552,79 @@ static int objects_ensure(void) {
VkDescriptorSetLayoutCreateInfo dli = {.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, .bindingCount = 1, .pBindings = &b};
if (g_vk.CreateDescriptorSetLayout(g_dev, &dli, NULL, &g_dsl) != VK_SUCCESS) goto fail;
VkPushConstantRange pcr = {.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT, .offset = 0, .size = PC_MAX_SIZE};
- VkPipelineLayoutCreateInfo pli = {.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, .setLayoutCount = 1, .pSetLayouts = &g_dsl,
+ VkDescriptorSetLayout set_layouts[2] = {g_dsl, g_dsl};
+ VkPipelineLayoutCreateInfo pli = {.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, .setLayoutCount = 2, .pSetLayouts = set_layouts,
.pushConstantRangeCount = 1, .pPushConstantRanges = &pcr};
if (g_vk.CreatePipelineLayout(g_dev, &pli, NULL, &g_pl) != VK_SUCCESS) goto fail;
- VkDescriptorPoolSize ps = {VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 8};
+ VkDescriptorPoolSize ps = {VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 10};
VkDescriptorPoolCreateInfo dpi = {.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
- .flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, .maxSets = 8,
+ .flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, .maxSets = 10,
.poolSizeCount = 1, .pPoolSizes = &ps};
if (g_vk.CreateDescriptorPool(g_dev, &dpi, NULL, &g_dpool) != VK_SUCCESS) goto fail;
VkShaderModule vert = shader(upscale_vert_code, sizeof(upscale_vert_code));
if (!vert) goto fail;
-#define MK(slot, code, name) do { g_pipe[slot] = post_pipeline(vert, code, sizeof(code), name); if (!g_pipe[slot]) { g_vk.DestroyShaderModule(g_dev, vert, NULL); goto fail; } } while (0)
- MK(P_SGSR, sgsr_code, "sgsr");
- MK(P_SGSR_HQ, sgsr_quality_code, "sgsr_quality");
- MK(P_NIS, nis_code, "nis");
- MK(P_EASU, fsr_easu_code, "fsr_easu");
- MK(P_RCAS, fsr_rcas_code, "fsr_rcas");
- MK(P_CAS, cas_code, "cas");
+#define MKL(slot, code, name, layout) do { g_pipe[slot] = post_pipeline_for_renderpass(vert, code, sizeof(code), g_rp, name, layout); if (!g_pipe[slot]) { g_vk.DestroyShaderModule(g_dev, vert, NULL); goto fail; } } while (0)
+#define MK(slot, code, name) MKL(slot, code, name, g_pl)
+ const int half = upscale_half_set();
+ g_nis_fast = 0;
+ if (half && !fx_alpha_holds_luma(g_fx_fmt))
+ droiddeck_log("effects", "NIS uses nis.frag: the chain format has no 8-bit alpha for the luma prepass");
+ else if (half && coef_create() != 0)
+ droiddeck_log("effects", "NIS coefficient buffer unavailable; NIS uses nis.frag");
+ else if (half)
+ g_nis_fast = 1;
+ if (half) {
+ MK(P_SGSR, sgsr_half_code, "sgsr_half");
+ MK(P_SGSR_HQ, sgsr_quality_half_code, "sgsr_quality_half");
+ if (g_nis_fast) {
+ /* optional: a driver that rejects either fast NIS pipeline gets nis.frag, not a dead chain */
+ g_pipe[P_NIS] = post_pipeline_for_renderpass(vert, nis3_half_code, sizeof(nis3_half_code), g_rp, "nis3_half", g_pl_nis);
+ g_pipe[P_NIS_LUMA] = g_pipe[P_NIS]
+ ? post_pipeline_for_renderpass(vert, nis_luma_half_code, sizeof(nis_luma_half_code), g_rp, "nis_luma_half", g_pl)
+ : VK_NULL_HANDLE;
+ if (!g_pipe[P_NIS] || !g_pipe[P_NIS_LUMA]) {
+ if (g_pipe[P_NIS]) g_vk.DestroyPipeline(g_dev, g_pipe[P_NIS], NULL);
+ g_pipe[P_NIS] = VK_NULL_HANDLE;
+ coef_destroy();
+ g_nis_fast = 0;
+ droiddeck_log("effects", "fast NIS pipelines failed to build; NIS uses nis.frag");
+ }
+ }
+ if (!g_nis_fast) MK(P_NIS, nis_code, "nis");
+ MK(P_EASU, fsr_easu_half_code, "fsr_easu_half");
+ MK(P_RCAS, fsr_rcas_half_code, "fsr_rcas_half");
+ MK(P_CAS, cas_ffx_half_code, "cas_ffx_half");
+ } else {
+ MK(P_SGSR, sgsr_code, "sgsr");
+ MK(P_SGSR_HQ, sgsr_quality_code, "sgsr_quality");
+ MK(P_NIS, nis_code, "nis");
+ MK(P_EASU, fsr_easu_code, "fsr_easu");
+ MK(P_RCAS, fsr_rcas_code, "fsr_rcas");
+ MK(P_CAS, cas_code, "cas");
+ }
MK(P_COLOR, color_code, "color");
MK(P_FXAA, fxaa_code, "fxaa");
- MK(P_SMAA, smaa_code, "smaa");
+ MK(P_FXAA_TOON, fxaa_toon_code, "fxaa_toon");
+ g_pipe[P_SMAA_EDGE] = post_pipeline_for_renderpass(
+ vert, smaa_edge_code, sizeof(smaa_edge_code), g_smaa_rp, "smaa_edge", g_pl);
+ if (!g_pipe[P_SMAA_EDGE]) { g_vk.DestroyShaderModule(g_dev, vert, NULL); goto fail; }
+ g_pipe[P_SMAA_WEIGHTS] = post_pipeline_for_renderpass(
+ vert, smaa_weights_code, sizeof(smaa_weights_code), g_smaa_rp, "smaa_weights", g_pl);
+ if (!g_pipe[P_SMAA_WEIGHTS]) { g_vk.DestroyShaderModule(g_dev, vert, NULL); goto fail; }
+ MK(P_SMAA_BLEND, smaa_blend_code, "smaa_blend");
MK(P_TOON, toon_code, "toon");
+ MK(P_TOON_COLOR, toon_color_code, "toon_color");
MK(P_HDR, hdr_code, "hdr");
MK(P_NTSC, ntsc_code, "ntsc");
MK(P_CRT, crt_code, "crt");
MK(P_DEBAND, deband_code, "deband");
#undef MK
+#undef MKL
g_vk.DestroyShaderModule(g_dev, vert, NULL);
g_ready = 1;
- droiddeck_log("effects", "chain ready: 14 pipelines (SGSR, SGSR HQ, NIS, FSR EASU+RCAS, CAS, colour, FXAA, SMAA, Toon, HDR, NTSC, CRT, deband) on %s", vkp_gpu_name());
+ droiddeck_log("effects", "chain ready: 16 pipelines (SGSR, SGSR HQ, NIS, FSR EASU+RCAS, CAS, colour, FXAA, SMAA edge/weights/blend, Toon, HDR, NTSC, CRT, deband), %s upscalers%s, on %s",
+ half ? "half-precision" : "old fp32", g_nis_fast ? " + NIS luma prepass" : "", vkp_gpu_name());
return 0;
fail:
objects_destroy();
@@ -474,17 +644,35 @@ static void barrier(VkCommandBuffer cmd, VkImage img, VkImageLayout from, VkImag
g_vk.CmdPipelineBarrier(cmd, src_stage, dst_stage, 0, 0, NULL, 0, NULL, 1, &b);
}
-static void pass(VkCommandBuffer cmd, VkPipeline p, struct fx_target *dst, VkDescriptorSet src,
+static void pass_renderpass(VkCommandBuffer cmd, VkRenderPass render_pass,
+ VkPipeline p, struct fx_target *dst, VkDescriptorSet src,
const void *pc, uint32_t pcsz) {
- VkRenderPassBeginInfo rpi = {.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, .renderPass = g_rp, .framebuffer = dst->fb,
+ VkRenderPassBeginInfo rpi = {.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, .renderPass = render_pass, .framebuffer = dst->fb,
.renderArea = {{0, 0}, {(uint32_t)dst->w, (uint32_t)dst->h}}};
- VkViewport vp = {0, 0, (float)dst->w, (float)dst->h, 0, 1};
- VkRect2D sc = {{0, 0}, {(uint32_t)dst->w, (uint32_t)dst->h}};
g_vk.CmdBeginRenderPass(cmd, &rpi, VK_SUBPASS_CONTENTS_INLINE);
- g_vk.CmdSetViewport(cmd, 0, 1, &vp);
- g_vk.CmdSetScissor(cmd, 0, 1, &sc);
g_vk.CmdBindPipeline(cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, p);
g_vk.CmdBindDescriptorSets(cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, g_pl, 0, 1, &src, 0, NULL);
+ if (g_nis_fast && p == g_pipe[P_NIS] && g_coef_ds) /* nis3: coefficient banks at set 1 */
+ g_vk.CmdBindDescriptorSets(cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, g_pl_nis, 1, 1, &g_coef_ds, 0, NULL);
+ g_vk.CmdPushConstants(cmd, g_pl, VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT, 0, pcsz, pc);
+ g_vk.CmdDraw(cmd, 4, 1, 0, 0);
+ g_vk.CmdEndRenderPass(cmd);
+}
+
+static void pass(VkCommandBuffer cmd, VkPipeline p, struct fx_target *dst,
+ VkDescriptorSet src, const void *pc, uint32_t pcsz) {
+ pass_renderpass(cmd, g_rp, p, dst, src, pc, pcsz);
+}
+
+static void pass_dual(VkCommandBuffer cmd, VkPipeline p, struct fx_target *dst,
+ VkDescriptorSet src, VkDescriptorSet second,
+ const void *pc, uint32_t pcsz) {
+ VkRenderPassBeginInfo rpi = {.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, .renderPass = g_rp, .framebuffer = dst->fb,
+ .renderArea = {{0, 0}, {(uint32_t)dst->w, (uint32_t)dst->h}}};
+ VkDescriptorSet sets[2] = {src, second};
+ g_vk.CmdBeginRenderPass(cmd, &rpi, VK_SUBPASS_CONTENTS_INLINE);
+ g_vk.CmdBindPipeline(cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, p);
+ g_vk.CmdBindDescriptorSets(cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, g_pl, 0, 2, sets, 0, NULL);
g_vk.CmdPushConstants(cmd, g_pl, VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT, 0, pcsz, pc);
g_vk.CmdDraw(cmd, 4, 1, 0, 0);
g_vk.CmdEndRenderPass(cmd);
@@ -495,9 +683,13 @@ static const float FULL_NDC[4] = {-1.0f, -1.0f, 1.0f, 1.0f};
VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int scene_h,
int out_w, int out_h, int *res_w, int *res_h) {
+ struct fx_settings snapshot;
const struct fx_settings *s;
vkp_effects_sync();
- s = &g_cur;
+ pthread_mutex_lock(&g_lock);
+ snapshot = g_cur;
+ pthread_mutex_unlock(&g_lock);
+ s = &snapshot;
*res_w = scene_w; *res_h = scene_h;
int cw = out_w > 0 ? out_w : scene_w, ch = out_h > 0 ? out_h : scene_h;
@@ -508,18 +700,53 @@ VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int sce
const int upscaling = cw > scene_w || ch > scene_h;
int spatial = 0;
if (spatial_mode(s->scaling) && (s->scaling == 6 || upscaling)) spatial = s->scaling;
+ /* NIS here is the SDR implementation and is documented for <=2x upscales. */
+ const int nis_fallback = spatial == 7 &&
+ (g_scene_is_pq || cw < scene_w || ch < scene_h ||
+ (double)cw > (double)scene_w * 2.0 ||
+ (double)ch > (double)scene_h * 2.0);
+ static int last_nis_fallback = 0;
+ const int was_nis_fallback =
+ __atomic_exchange_n(&last_nis_fallback, nis_fallback, __ATOMIC_RELAXED);
+ if (nis_fallback) {
+ spatial = 4; /* FSR fallback; keep the saved NIS selection unchanged. */
+ if (!was_nis_fallback)
+ droiddeck_log("effects", "NIS unsupported for this output; FSR fallback active");
+ } else if (was_nis_fallback && s->scaling == 7) {
+ droiddeck_log("effects", "NIS supported again; NIS active");
+ }
const int nfx = effect_count(s);
const int resize = cw != scene_w || ch != scene_h;
- const int npasses = ((spatial || resize) ? 1 : 0) + nfx;
+ const int fuse_toon_color = s->toon && s->color_on && g_fx_fmt == FX_FORMAT;
+ const int fuse_fxaa_toon = 0;
+ const int chain_passes = ((spatial || resize) ? 1 : 0) +
+ effect_count(s) - (fuse_toon_color ? 1 : 0) -
+ (fuse_fxaa_toon ? 1 : 0);
if ((spatial || nfx) && objects_ensure() == 0 && scene_ensure(scene, scene_w, scene_h) == 0 &&
- target_ensure(&g_t[0], cw, ch, "chain") == 0 && (npasses < 2 || target_ensure(&g_t[1], cw, ch, "chain") == 0) &&
- (!(spatial == 4 || spatial == 5) || target_ensure(&g_mid, cw, ch, "EASU") == 0)) {
+ target_ensure(&g_t[0], cw, ch, FX_TARGET_USAGE, "chain") == 0 && (chain_passes < 2 || target_ensure(&g_t[1], cw, ch, FX_TARGET_USAGE, "chain") == 0) &&
+ (!(spatial == 4 || spatial == 5) || s->sharp_pct == 0 ||
+ target_ensure(&g_mid, cw, ch, FX_SCRATCH_USAGE, "EASU") == 0)) {
+ if (s->aa_mode == 2 &&
+ (target_ensure_format(&g_smaa_edges, cw, ch, FX_SCRATCH_USAGE,
+ "SMAA edges", FX_FORMAT, g_smaa_rp) != 0 ||
+ target_ensure_format(&g_smaa_weights, cw, ch, FX_SCRATCH_USAGE,
+ "SMAA weights", FX_FORMAT, g_smaa_rp) != 0)) {
+ droiddeck_log("error", "effects: SMAA scratch allocation failed; falling back to FXAA");
+ snapshot.aa_mode = 1;
+ s = &snapshot;
+ }
+
VkDescriptorSet cur_ds;
struct fx_target *cur = NULL;
#define FREE_TARGET() ((cur == &g_t[0]) ? &g_t[1] : &g_t[0])
const float sharp01 = (float)s->sharp_pct / 100.0f;
+ VkViewport chain_vp = {0, 0, (float)cw, (float)ch, 0, 1};
+ VkRect2D chain_sc = {{0, 0}, {(uint32_t)cw, (uint32_t)ch}};
+ g_vk.CmdSetViewport(cmd, 0, 1, &chain_vp);
+ g_vk.CmdSetScissor(cmd, 0, 1, &chain_sc);
+
if (spatial) {
barrier(cmd, scene, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
VK_PIPELINE_STAGE_TRANSFER_BIT, VK_ACCESS_TRANSFER_WRITE_BIT,
@@ -531,7 +758,31 @@ VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int sce
pc.vp[0] = 1.0f / (float)scene_w; pc.vp[1] = 1.0f / (float)scene_h;
pc.vp[2] = (float)scene_w; pc.vp[3] = (float)scene_h;
pc.edge = spatial == 7 ? sharp01 : 0.5f + sharp01 * 4.0f;
- pass(cmd, g_pipe[spatial == 3 ? P_SGSR : spatial == 8 ? P_SGSR_HQ : P_NIS], dst, g_scene.ds, &pc, sizeof(pc));
+ VkDescriptorSet src = g_scene.ds;
+ int nis_pipe = P_NIS;
+ if (spatial == 7 && g_nis_fast &&
+ target_ensure(&g_nissrc, scene_w, scene_h, FX_SCRATCH_USAGE, "NIS luma") != 0) {
+ /* nis3 needs the prepass image; without it this frame takes SGSR from the scene
+ * instead of dropping every effect */
+ static int warned;
+ if (!__atomic_exchange_n(&warned, 1, __ATOMIC_RELAXED))
+ droiddeck_log("error", "effects: NIS luma target allocation failed; SGSR instead");
+ nis_pipe = P_SGSR;
+ pc.edge = 0.5f + sharp01 * 4.0f;
+ } else if (spatial == 7 && g_nis_fast) {
+ /* NIS prepass: scene -> g_nissrc 1:1 (rgb + luma in alpha); only ndc is read. */
+ struct pc_res pl = {0};
+ SET_NDC(pl);
+ VkViewport scene_vp = {0, 0, (float)scene_w, (float)scene_h, 0, 1};
+ VkRect2D scene_sc = {{0, 0}, {(uint32_t)scene_w, (uint32_t)scene_h}};
+ g_vk.CmdSetViewport(cmd, 0, 1, &scene_vp);
+ g_vk.CmdSetScissor(cmd, 0, 1, &scene_sc);
+ pass(cmd, g_pipe[P_NIS_LUMA], &g_nissrc, g_scene.ds, &pl, sizeof(pl.ndc));
+ g_vk.CmdSetViewport(cmd, 0, 1, &chain_vp);
+ g_vk.CmdSetScissor(cmd, 0, 1, &chain_sc);
+ src = g_nissrc.ds;
+ }
+ pass(cmd, g_pipe[spatial == 3 ? P_SGSR : spatial == 8 ? P_SGSR_HQ : nis_pipe], dst, src, &pc, sizeof(pc));
} else if (spatial == 6) {
struct pc_rcas pc = {0};
SET_NDC(pc);
@@ -546,11 +797,14 @@ VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int sce
SET_NDC(e);
easu_con(&e, (float)scene_w, (float)scene_h, (float)cw, (float)ch);
e.outW = (float)cw; e.outH = (float)ch;
- pass(cmd, g_pipe[P_EASU], &g_mid, g_scene.ds, &e, sizeof(e));
- SET_NDC(r);
- rcas_con(&r, sharp01);
- r.outW = (float)cw; r.outH = (float)ch;
- pass(cmd, g_pipe[P_RCAS], dst, g_mid.ds, &r, sizeof(r));
+ struct fx_target *easu_dst = sharp01 == 0.0f ? dst : &g_mid;
+ pass(cmd, g_pipe[P_EASU], easu_dst, g_scene.ds, &e, sizeof(e));
+ if (sharp01 != 0.0f) {
+ SET_NDC(r);
+ rcas_con(&r, sharp01);
+ r.outW = (float)cw; r.outH = (float)ch;
+ pass(cmd, g_pipe[P_RCAS], dst, g_mid.ds, &r, sizeof(r));
+ }
}
cur = dst; cur_ds = dst->ds;
} else if (resize) {
@@ -563,7 +817,7 @@ VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int sce
VkImageBlit bl = {.srcSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}, .srcOffsets = {{0, 0, 0}, {scene_w, scene_h, 1}},
.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}, .dstOffsets = {{0, 0, 0}, {cw, ch, 1}}};
g_vk.CmdBlitImage(cmd, scene, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dst->img, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
- 1, &bl, vkp_effects_blit_filter());
+ 1, &bl, s->scaling == 2 ? VK_FILTER_NEAREST : VK_FILTER_LINEAR);
barrier(cmd, dst->img, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
VK_PIPELINE_STAGE_TRANSFER_BIT, VK_ACCESS_TRANSFER_WRITE_BIT,
VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, VK_ACCESS_SHADER_READ_BIT);
@@ -575,17 +829,22 @@ VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int sce
cur = NULL; cur_ds = g_scene.ds;
}
- enum { FX_FXAA, FX_SMAA, FX_TOON, FX_COLOR, FX_CAS, FX_HDR, FX_NTSC, FX_CRT, FX_DEBAND };
+ enum { FX_FXAA, FX_FXAA_TOON, FX_SMAA, FX_TOON, FX_COLOR, FX_TOON_COLOR, FX_CAS, FX_HDR, FX_NTSC, FX_CRT, FX_DEBAND };
int order[8], n = 0;
- if (s->aa_mode == 1) order[n++] = FX_FXAA;
+ if (s->aa_mode == 1)
+ order[n++] = fuse_fxaa_toon ? FX_FXAA_TOON : FX_FXAA;
else if (s->aa_mode == 2) order[n++] = FX_SMAA;
- if (s->toon) order[n++] = FX_TOON;
- if (s->color_on) order[n++] = FX_COLOR;
+ if (s->toon && s->color_on && g_fx_fmt == FX_FORMAT) {
+ order[n++] = FX_TOON_COLOR;
+ } else {
+ if (s->toon && !fuse_fxaa_toon) order[n++] = FX_TOON;
+ if (s->color_on) order[n++] = FX_COLOR;
+ }
if (cas_active(s)) order[n++] = FX_CAS;
if (s->hdr_on) order[n++] = FX_HDR;
if (s->ntsc) order[n++] = FX_NTSC;
if (s->crt) order[n++] = FX_CRT;
- if (s->deband_on) order[n++] = FX_DEBAND;
+ if (deband_active(s)) order[n++] = FX_DEBAND;
for (int i = 0; i < n; i++) {
struct fx_target *dst = FREE_TARGET();
struct pc_res pr = {0};
@@ -593,8 +852,29 @@ VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int sce
pr.res[0] = (float)cw; pr.res[1] = (float)ch;
switch (order[i]) {
case FX_FXAA: pass(cmd, g_pipe[P_FXAA], dst, cur_ds, &pr, sizeof(pr)); break;
- case FX_SMAA: pass(cmd, g_pipe[P_SMAA], dst, cur_ds, &pr, sizeof(pr)); break;
+ case FX_FXAA_TOON: pass(cmd, g_pipe[P_FXAA_TOON], dst, cur_ds, &pr, sizeof(pr)); break;
+ case FX_SMAA:
+ pass_renderpass(cmd, g_smaa_rp, g_pipe[P_SMAA_EDGE],
+ &g_smaa_edges, cur_ds, &pr, sizeof(pr));
+ pass_renderpass(cmd, g_smaa_rp, g_pipe[P_SMAA_WEIGHTS],
+ &g_smaa_weights, g_smaa_edges.ds, &pr, sizeof(pr));
+ pass_dual(cmd, g_pipe[P_SMAA_BLEND], dst, cur_ds,
+ g_smaa_weights.ds, &pr, sizeof(pr));
+ break;
case FX_TOON: pass(cmd, g_pipe[P_TOON], dst, cur_ds, &pr, sizeof(pr)); break;
+ case FX_TOON_COLOR: {
+ struct pc_toon_color pc = {0};
+ SET_NDC(pc);
+ pc.res[0] = (float)cw;
+ pc.res[1] = (float)ch;
+ pc.b = s->brightness;
+ pc.c = s->contrast;
+ pc.g = s->gamma;
+ pc.s = s->saturation;
+ pass(cmd, g_pipe[P_TOON_COLOR], dst, cur_ds,
+ &pc, sizeof(pc));
+ break;
+ }
case FX_COLOR: {
struct pc_color pc = {0};
SET_NDC(pc);
@@ -605,7 +885,6 @@ VkImage vkp_effects_run(VkCommandBuffer cmd, VkImage scene, int scene_w, int sce
case FX_CAS: pr.extra = (float)s->cas_pct / 100.0f; pass(cmd, g_pipe[P_CAS], dst, cur_ds, &pr, sizeof(pr)); break;
case FX_HDR: pass(cmd, g_pipe[P_HDR], dst, cur_ds, &pr, sizeof(pr)); break;
case FX_NTSC:
- pr.extra = (float)(g_ntsc_frame++ & 3u);
pass(cmd, g_pipe[P_NTSC], dst, cur_ds, &pr, sizeof(pr));
break;
case FX_CRT: pass(cmd, g_pipe[P_CRT], dst, cur_ds, &pr, sizeof(pr)); break;
diff --git a/app/src/main/cpp/waylandcomp/src/effects_chain.h b/app/src/main/cpp/waylandcomp/src/effects_chain.h
index bb1ca5ae1f..0617dd954f 100644
--- a/app/src/main/cpp/waylandcomp/src/effects_chain.h
+++ b/app/src/main/cpp/waylandcomp/src/effects_chain.h
@@ -23,7 +23,7 @@ void vkp_effects_destroy(void);
void vkp_effects_forget_image(VkImage img);
-void vkp_effects_set_formats(VkFormat scene_fmt, VkFormat target_fmt);
+void vkp_effects_set_formats(VkFormat scene_fmt, VkFormat target_fmt, int scene_is_pq);
void vkp_effects_set_scaling(int mode);
void vkp_effects_set_upscale_sharpness(int pct);
diff --git a/app/src/main/cpp/waylandcomp/src/framegen_bridge.c b/app/src/main/cpp/waylandcomp/src/framegen_bridge.c
index d29b328a05..007b2dcbde 100644
--- a/app/src/main/cpp/waylandcomp/src/framegen_bridge.c
+++ b/app/src/main/cpp/waylandcomp/src/framegen_bridge.c
@@ -194,7 +194,31 @@ void vkp_framegen_device_ready(VkDevice dev, VkQueue queue, uint32_t qfam, int f
fge_caps_ok(VKP_FG_ENGINE_DDFG) ? "available" : "unavailable");
}
-void vkp_framegen_device_lost(void) { atomic_store(&g_dev_lost, 1); }
+void vkp_framegen_device_lost(void) {
+ atomic_store(&g_dev_lost, 1);
+ atomic_store(&g_dev_ready, 0);
+ fge_device_lost();
+ if (g_dev) {
+ for (uint32_t i = 0; i < g_ring_n; i++) {
+ if (g_ring[i].view && vk.DestroyImageView) vk.DestroyImageView(g_dev, g_ring[i].view, NULL);
+ if (g_ring[i].img && vk.DestroyImage) vk.DestroyImage(g_dev, g_ring[i].img, NULL);
+ if (g_ring[i].mem && vk.FreeMemory) vk.FreeMemory(g_dev, g_ring[i].mem, NULL);
+ }
+ }
+ memset(g_ring, 0, sizeof(g_ring));
+ g_ring_n = g_ring_w = g_ring_h = 0;
+ g_ring_fmt = VK_FORMAT_UNDEFINED;
+ g_engine_ok = 0;
+ g_engine_kind = -1;
+ g_engine_cache_gen = -1;
+ g_built_w = g_built_h = 0;
+ g_built_fmt = VK_FORMAT_UNDEFINED;
+ g_planned = 0;
+ memset(&vk, 0, sizeof(vk));
+ g_dev = VK_NULL_HANDLE;
+ g_queue = VK_NULL_HANDLE;
+ g_qfam = 0;
+}
static void destroy_ring(void) {
diff --git a/app/src/main/cpp/waylandcomp/src/framegen_engine.cpp b/app/src/main/cpp/waylandcomp/src/framegen_engine.cpp
index be1b03e34a..014c7c7ec8 100644
--- a/app/src/main/cpp/waylandcomp/src/framegen_engine.cpp
+++ b/app/src/main/cpp/waylandcomp/src/framegen_engine.cpp
@@ -126,6 +126,23 @@ void fge_device_ready(PFN_vkGetInstanceProcAddr gipa, VkInstance inst, VkPhysica
(int)g_caps.storageOnSwapchainFormat);
}
+void fge_device_lost(void) {
+ g_lsfg.reset();
+ g_ddfg.reset();
+ g_kind = -1;
+ g_dev = VK_NULL_HANDLE;
+ g_queue = VK_NULL_HANDLE;
+ g_pd = VK_NULL_HANDLE;
+ g_qfam = 0;
+ g_ready = false;
+ g_probed = false;
+ g_table = {};
+ g_caps = {};
+ g_v12 = {};
+ g_f2 = {};
+ g_build[0] = 0;
+}
+
int fge_caps_ok(int kind) {
if (!g_ready) return 0;
if (kind == 1) return g_caps.storageOnSwapchainFormat ? 1 : 0;
diff --git a/app/src/main/cpp/waylandcomp/src/framegen_engine.h b/app/src/main/cpp/waylandcomp/src/framegen_engine.h
index 4257a7592e..d52ce3ffd4 100644
--- a/app/src/main/cpp/waylandcomp/src/framegen_engine.h
+++ b/app/src/main/cpp/waylandcomp/src/framegen_engine.h
@@ -12,6 +12,7 @@ extern "C" {
const void *fge_probe(PFN_vkGetInstanceProcAddr gipa, VkInstance inst, VkPhysicalDevice pd,
VkFormat ring_fmt);
+void fge_device_lost(void);
void fge_device_ready(PFN_vkGetInstanceProcAddr gipa, VkInstance inst, VkPhysicalDevice pd,
VkDevice dev, VkQueue queue, uint32_t qfam, int features_enabled);
int fge_caps_ok(int kind);
diff --git a/app/src/main/cpp/waylandcomp/src/framegen_engine_stub.c b/app/src/main/cpp/waylandcomp/src/framegen_engine_stub.c
index 310e10c341..3d11228577 100644
--- a/app/src/main/cpp/waylandcomp/src/framegen_engine_stub.c
+++ b/app/src/main/cpp/waylandcomp/src/framegen_engine_stub.c
@@ -9,6 +9,7 @@ void fge_device_ready(PFN_vkGetInstanceProcAddr gipa, VkInstance inst, VkPhysica
VkDevice dev, VkQueue queue, uint32_t qfam, int features_enabled) {
(void)gipa; (void)inst; (void)pd; (void)dev; (void)queue; (void)qfam; (void)features_enabled;
}
+void fge_device_lost(void) {}
int fge_caps_ok(int kind) { (void)kind; return 0; }
const char *fge_caps_reason(void) { return "frame-generation engines not built into this compositor"; }
int fge_format_ok(VkFormat fmt) { (void)fmt; return 0; }
diff --git a/app/src/main/cpp/waylandcomp/src/gpu_busy.c b/app/src/main/cpp/waylandcomp/src/gpu_busy.c
index 48d565c20a..d7835293bb 100644
--- a/app/src/main/cpp/waylandcomp/src/gpu_busy.c
+++ b/app/src/main/cpp/waylandcomp/src/gpu_busy.c
@@ -73,8 +73,19 @@ void vkp_gpu_busy_device(VkPhysicalDevice pd, VkDevice dev, uint32_t family) {
}
void vkp_gpu_busy_device_lost(void) {
+ pthread_mutex_lock(&g_lock);
atomic_store(&g_lost, 1);
atomic_store(&g_timing, 0);
+ if (g_v.device) {
+ gpuload_ring_release(&g_ring, &g_v);
+ g_ring.state = 0;
+ }
+ if (g_vk.QueueSubmit == timed_submit && g_submit) g_vk.QueueSubmit = g_submit;
+ g_submit = NULL;
+ memset(&g_v, 0, sizeof(g_v));
+ g_family = g_bits = 0;
+ g_was_on = 0;
+ pthread_mutex_unlock(&g_lock);
}
JNIEXPORT jlong JNICALL Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeGpuBusyNs(JNIEnv *env, jclass cls) {
diff --git a/app/src/main/cpp/waylandcomp/src/hdr_compose.c b/app/src/main/cpp/waylandcomp/src/hdr_compose.c
index 01d8be6f66..8cedd51b55 100644
--- a/app/src/main/cpp/waylandcomp/src/hdr_compose.c
+++ b/app/src/main/cpp/waylandcomp/src/hdr_compose.c
@@ -12,7 +12,7 @@
#define MIXED_FORMAT VK_FORMAT_A2B10G10R10_UNORM_PACK32
-struct pc_encode { float ndc[4]; float params[4]; float rects[HDRC_MAX_RECTS][4]; };
+struct pc_encode { float ndc[4]; float params[4]; uint32_t rects[HDRC_MAX_RECTS][2]; float conv[3][4]; };
static VkDevice g_dev;
static int g_ready;
@@ -266,7 +266,16 @@ int hdrc_encode(VkCommandBuffer cmd, VkImage mixed, VkImage out, VkFormat out_fm
pc.params[1] = p->peak_nits > 0.0f ? p->peak_nits : 1000.0f;
pc.params[2] = p->mode == HDRC_OUT_SDR ? 1.0f : 0.0f;
pc.params[3] = (float)count + 16.0f * (float)mask;
- for (int i = 0; i < count; i++) memcpy(pc.rects[i], p->rects[i], sizeof(pc.rects[i]));
+ for (int i = 0; i < count; i++) {
+ uint32_t v[4];
+ for (int k = 0; k < 4; k++) v[k] = p->rects[i][k] <= 0.0f ? 0u : p->rects[i][k] >= 65535.0f ? 65535u : (uint32_t)p->rects[i][k];
+ pc.rects[i][0] = v[0] | v[1] << 16;
+ pc.rects[i][1] = v[2] | v[3] << 16;
+ }
+ for (int k = 0; k < 3; k++) memcpy(pc.conv[k], &p->conv[3 * k], 3 * sizeof(float));
+ pc.conv[0][3] = (float)(p->conv_mask & mask);
+ pc.conv[1][3] = p->conv_linear ? 1.0f : 0.0f;
+ pc.conv[2][3] = p->conv_gain;
VkRenderPassBeginInfo rpi = {.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, .renderPass = g_out[slot].rp,
.framebuffer = fb, .renderArea = {{0, 0}, {(uint32_t)w, (uint32_t)h}}};
diff --git a/app/src/main/cpp/waylandcomp/src/hdr_compose.h b/app/src/main/cpp/waylandcomp/src/hdr_compose.h
index 5a37d42ad8..e49f575a3e 100644
--- a/app/src/main/cpp/waylandcomp/src/hdr_compose.h
+++ b/app/src/main/cpp/waylandcomp/src/hdr_compose.h
@@ -14,6 +14,10 @@ struct hdrc_params {
int count;
unsigned hdr_mask;
float rects[HDRC_MAX_RECTS][4];
+ unsigned conv_mask;
+ int conv_linear;
+ float conv_gain;
+ float conv[9];
};
void hdrc_bind_device(VkDevice dev, const VkPhysicalDeviceMemoryProperties *memprops);
diff --git a/app/src/main/cpp/waylandcomp/src/hdr_encode.frag b/app/src/main/cpp/waylandcomp/src/hdr_encode.frag
index db3ea8bcaf..1900bc4b9e 100644
--- a/app/src/main/cpp/waylandcomp/src/hdr_encode.frag
+++ b/app/src/main/cpp/waylandcomp/src/hdr_encode.frag
@@ -6,7 +6,8 @@ layout(binding = 0) uniform sampler2D Mixed;
layout(push_constant) uniform PC {
vec4 ndc;
vec4 params;
- vec4 rects[6];
+ uvec2 rects[6];
+ vec4 conv[3];
} pc;
layout(location = 0) in vec2 fragTexCoord;
@@ -55,28 +56,38 @@ float toneCurve(float x, float peak) {
return knee + (1.0 - knee) * (1.0 - exp(-(x - knee) / rate));
}
-bool isHdrPixel(vec2 p) {
- float packed = pc.params.w;
- float count = mod(packed, 16.0);
- float mask = floor(packed / 16.0);
+int rectAt(vec2 p) {
+ float count = mod(pc.params.w, 16.0);
for (int i = 0; i < 6; i++) {
if (float(i) >= count - 0.5) break;
- vec4 r = pc.rects[i];
- if (p.x >= r.x && p.y >= r.y && p.x < r.z && p.y < r.w) {
- float bit = mod(floor(mask / exp2(float(i))), 2.0);
- return bit > 0.5;
- }
+ uvec2 r = pc.rects[i];
+ vec2 lo = vec2(float(r.x & 0xFFFFu), float(r.x >> 16));
+ vec2 hi = vec2(float(r.y & 0xFFFFu), float(r.y >> 16));
+ if (p.x >= lo.x && p.y >= lo.y && p.x < hi.x && p.y < hi.y) return i;
}
- return false;
+ return -1;
+}
+
+bool bitOf(float mask, int i) {
+ return i >= 0 && mod(floor(mask / exp2(float(i))), 2.0) > 0.5;
+}
+
+vec3 convertedNits(vec3 c) {
+ vec3 lin = pc.conv[1].w > 0.5 ? c : pqToLinear(c);
+ return vec3(dot(pc.conv[0].xyz, lin), dot(pc.conv[1].xyz, lin), dot(pc.conv[2].xyz, lin)) * pc.conv[2].w;
}
void main() {
vec3 c = texelFetch(Mixed, ivec2(gl_FragCoord.xy), 0).rgb;
- bool hdr = isHdrPixel(gl_FragCoord.xy);
+ int at = rectAt(gl_FragCoord.xy);
+ bool hdr = bitOf(floor(pc.params.w / 16.0), at);
+ bool conv = hdr && bitOf(pc.conv[0].w, at);
float sdrWhite = max(pc.params.x, 1.0);
vec3 outc;
if (pc.params.z < 0.5) {
- if (hdr) {
+ if (conv) {
+ outc = linearToPq(max(convertedNits(c), 0.0) / 10000.0);
+ } else if (hdr) {
outc = c;
} else {
vec3 nits = (BT709_TO_BT2020 * srgbToLinear(c)) * sdrWhite;
@@ -86,7 +97,8 @@ void main() {
if (!hdr) {
outc = c;
} else {
- vec3 rel = max(BT2020_TO_BT709 * (pqToLinear(c) * 10000.0), 0.0) / sdrWhite;
+ vec3 nits = conv ? convertedNits(c) : pqToLinear(c) * 10000.0;
+ vec3 rel = max(BT2020_TO_BT709 * nits, 0.0) / sdrWhite;
float m = max(max(rel.r, rel.g), rel.b);
if (m > 1e-6) rel *= toneCurve(m, max(pc.params.y, sdrWhite) / sdrWhite) / m;
outc = linearToSrgb(clamp(rel, 0.0, 1.0));
diff --git a/app/src/main/cpp/waylandcomp/src/hdr_encode_frag.h b/app/src/main/cpp/waylandcomp/src/hdr_encode_frag.h
index ba52146fc7..68baea4f82 100644
--- a/app/src/main/cpp/waylandcomp/src/hdr_encode_frag.h
+++ b/app/src/main/cpp/waylandcomp/src/hdr_encode_frag.h
@@ -1,8 +1,8 @@
#pragma once
const uint32_t hdr_encode_code[] = {
- 0x07230203,0x00010000,0x0008000b,0x0000018e,0x00000000,0x00020011,0x00000001,0x0006000b,
+ 0x07230203,0x00010000,0x0008000b,0x000001ff,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
- 0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000010d,0x00000186,0x0000018d,
+ 0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000151,0x000001f7,0x000001fe,
0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,
0x6e69616d,0x00000000,0x00070005,0x0000000b,0x62677273,0x694c6f54,0x7261656e,0x33667628,
0x0000003b,0x00030005,0x0000000a,0x00000063,0x00070005,0x0000000e,0x656e696c,0x6f547261,
@@ -10,272 +10,354 @@ const uint32_t hdr_encode_code[] = {
0x6f547170,0x656e694c,0x76287261,0x003b3366,0x00030005,0x00000010,0x00000065,0x00060005,
0x00000014,0x656e696c,0x6f547261,0x76287150,0x003b3366,0x00030005,0x00000013,0x00000079,
0x00070005,0x0000001a,0x656e6f74,0x76727543,0x31662865,0x3b31663b,0x00000000,0x00030005,
- 0x00000018,0x00000078,0x00040005,0x00000019,0x6b616570,0x00000000,0x00060005,0x00000021,
- 0x64487369,0x78695072,0x76286c65,0x003b3266,0x00030005,0x00000020,0x00000070,0x00030005,
- 0x00000023,0x00006f6c,0x00030005,0x00000028,0x00006968,0x00030005,0x0000003c,0x00006f6c,
- 0x00030005,0x0000003f,0x00006968,0x00030005,0x00000050,0x00000070,0x00030005,0x0000006f,
- 0x00000070,0x00040005,0x0000008c,0x6e617073,0x00000000,0x00040005,0x00000091,0x65746172,
- 0x00000000,0x00040005,0x000000a2,0x6b636170,0x00006465,0x00030005,0x000000a7,0x00004350,
- 0x00040006,0x000000a7,0x00000000,0x0063646e,0x00050006,0x000000a7,0x00000001,0x61726170,
- 0x0000736d,0x00050006,0x000000a7,0x00000002,0x74636572,0x00000073,0x00030005,0x000000a9,
- 0x00006370,0x00040005,0x000000b0,0x6e756f63,0x00000074,0x00040005,0x000000b4,0x6b73616d,
- 0x00000000,0x00030005,0x000000b9,0x00000069,0x00030005,0x000000cd,0x00000072,0x00030005,
- 0x000000f5,0x00746962,0x00030005,0x00000106,0x00000063,0x00040005,0x0000010a,0x6578694d,
- 0x00000064,0x00060005,0x0000010d,0x465f6c67,0x43676172,0x64726f6f,0x00000000,0x00030005,
- 0x00000116,0x00726468,0x00040005,0x00000117,0x61726170,0x0000006d,0x00050005,0x0000011b,
- 0x57726473,0x65746968,0x00000000,0x00040005,0x00000127,0x6374756f,0x00000000,0x00040005,
- 0x0000012a,0x7374696e,0x00000000,0x00040005,0x00000139,0x61726170,0x0000006d,0x00040005,
- 0x00000143,0x61726170,0x0000006d,0x00030005,0x0000014c,0x006c6572,0x00040005,0x0000015a,
- 0x61726170,0x0000006d,0x00030005,0x00000164,0x0000006d,0x00040005,0x00000177,0x61726170,
- 0x0000006d,0x00040005,0x00000179,0x61726170,0x0000006d,0x00040005,0x00000183,0x61726170,
- 0x0000006d,0x00050005,0x00000186,0x4374756f,0x726f6c6f,0x00000000,0x00060005,0x0000018d,
- 0x67617266,0x43786554,0x64726f6f,0x00000000,0x00040047,0x000000a6,0x00000006,0x00000010,
- 0x00030047,0x000000a7,0x00000002,0x00050048,0x000000a7,0x00000000,0x00000023,0x00000000,
- 0x00050048,0x000000a7,0x00000001,0x00000023,0x00000010,0x00050048,0x000000a7,0x00000002,
- 0x00000023,0x00000020,0x00040047,0x0000010a,0x00000021,0x00000000,0x00040047,0x0000010a,
- 0x00000022,0x00000000,0x00040047,0x0000010d,0x0000000b,0x0000000f,0x00040047,0x00000186,
- 0x0000001e,0x00000000,0x00040047,0x0000018d,0x0000001e,0x00000000,0x00020013,0x00000002,
- 0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,
- 0x00000006,0x00000003,0x00040020,0x00000008,0x00000007,0x00000007,0x00040021,0x00000009,
- 0x00000007,0x00000008,0x00040020,0x00000016,0x00000007,0x00000006,0x00050021,0x00000017,
- 0x00000006,0x00000016,0x00000016,0x00040017,0x0000001c,0x00000006,0x00000002,0x00040020,
- 0x0000001d,0x00000007,0x0000001c,0x00020014,0x0000001e,0x00040021,0x0000001f,0x0000001e,
- 0x0000001d,0x0004002b,0x00000006,0x00000025,0x414eb852,0x0004002b,0x00000006,0x0000002a,
- 0x3d6147ae,0x0004002b,0x00000006,0x0000002d,0x3f870a3d,0x0004002b,0x00000006,0x00000030,
- 0x4019999a,0x0006002c,0x00000007,0x00000031,0x00000030,0x00000030,0x00000030,0x0004002b,
- 0x00000006,0x00000035,0x3d25aee6,0x0006002c,0x00000007,0x00000036,0x00000035,0x00000035,
- 0x00000035,0x0004002b,0x00000006,0x00000041,0x3ed55555,0x0006002c,0x00000007,0x00000042,
- 0x00000041,0x00000041,0x00000041,0x0004002b,0x00000006,0x00000049,0x3b4d2e1c,0x0006002c,
- 0x00000007,0x0000004a,0x00000049,0x00000049,0x00000049,0x0004002b,0x00000006,0x00000052,
- 0x00000000,0x0004002b,0x00000006,0x00000053,0x3f800000,0x0004002b,0x00000006,0x00000057,
- 0x3c4fcdac,0x0006002c,0x00000007,0x00000058,0x00000057,0x00000057,0x00000057,0x0004002b,
- 0x00000006,0x0000005b,0x3f560000,0x0004002b,0x00000006,0x00000060,0x4196d000,0x0004002b,
- 0x00000006,0x00000061,0x41958000,0x0004002b,0x00000006,0x00000066,0x358637bd,0x0004002b,
- 0x00000006,0x0000006a,0x40c8e06b,0x0006002c,0x00000007,0x0000006b,0x0000006a,0x0000006a,
- 0x0000006a,0x0004002b,0x00000006,0x00000074,0x3e232000,0x0006002c,0x00000007,0x00000075,
- 0x00000074,0x00000074,0x00000074,0x0004002b,0x00000006,0x00000080,0x429db000,0x0006002c,
- 0x00000007,0x00000081,0x00000080,0x00000080,0x00000080,0x0004002b,0x00000006,0x00000086,
- 0x3f4ccccd,0x0004002b,0x00000006,0x0000008f,0x3d4ccccd,0x0004002b,0x00000006,0x00000093,
- 0x407a5e35,0x0004002b,0x00000006,0x00000095,0x3e4ccccd,0x00040017,0x000000a3,0x00000006,
- 0x00000004,0x00040015,0x000000a4,0x00000020,0x00000000,0x0004002b,0x000000a4,0x000000a5,
- 0x00000006,0x0004001c,0x000000a6,0x000000a3,0x000000a5,0x0005001e,0x000000a7,0x000000a3,
- 0x000000a3,0x000000a6,0x00040020,0x000000a8,0x00000009,0x000000a7,0x0004003b,0x000000a8,
- 0x000000a9,0x00000009,0x00040015,0x000000aa,0x00000020,0x00000001,0x0004002b,0x000000aa,
- 0x000000ab,0x00000001,0x0004002b,0x000000a4,0x000000ac,0x00000003,0x00040020,0x000000ad,
- 0x00000009,0x00000006,0x0004002b,0x00000006,0x000000b2,0x41800000,0x00040020,0x000000b8,
- 0x00000007,0x000000aa,0x0004002b,0x000000aa,0x000000ba,0x00000000,0x0004002b,0x000000aa,
- 0x000000c1,0x00000006,0x0004002b,0x00000006,0x000000c6,0x3f000000,0x00040020,0x000000cc,
- 0x00000007,0x000000a3,0x0004002b,0x000000aa,0x000000ce,0x00000002,0x00040020,0x000000d0,
- 0x00000009,0x000000a3,0x0004002b,0x000000a4,0x000000d3,0x00000000,0x0004002b,0x000000a4,
- 0x000000db,0x00000001,0x0004002b,0x000000a4,0x000000e6,0x00000002,0x0004002b,0x00000006,
- 0x000000fc,0x40000000,0x0003002a,0x0000001e,0x00000103,0x00090019,0x00000107,0x00000006,
- 0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x00000108,
- 0x00000107,0x00040020,0x00000109,0x00000000,0x00000108,0x0004003b,0x00000109,0x0000010a,
- 0x00000000,0x00040020,0x0000010c,0x00000001,0x000000a3,0x0004003b,0x0000010c,0x0000010d,
- 0x00000001,0x00040017,0x00000110,0x000000aa,0x00000002,0x00040020,0x00000115,0x00000007,
- 0x0000001e,0x00040018,0x0000012b,0x00000007,0x00000003,0x0004002b,0x00000006,0x0000012c,
- 0x3f209d49,0x0004002b,0x00000006,0x0000012d,0x3d8d844d,0x0004002b,0x00000006,0x0000012e,
- 0x3c86594b,0x0006002c,0x00000007,0x0000012f,0x0000012c,0x0000012d,0x0000012e,0x0004002b,
- 0x00000006,0x00000130,0x3ea89a02,0x0004002b,0x00000006,0x00000131,0x3f6b645a,0x0004002b,
- 0x00000006,0x00000132,0x3db43958,0x0006002c,0x00000007,0x00000133,0x00000130,0x00000131,
- 0x00000132,0x0004002b,0x00000006,0x00000134,0x3d315b57,0x0004002b,0x00000006,0x00000135,
- 0x3c3ac711,0x0004002b,0x00000006,0x00000136,0x3f65460b,0x0006002c,0x00000007,0x00000137,
- 0x00000134,0x00000135,0x00000136,0x0006002c,0x0000012b,0x00000138,0x0000012f,0x00000133,
- 0x00000137,0x0004002b,0x00000006,0x00000140,0x461c4000,0x0004002b,0x00000006,0x0000014d,
- 0x3fd48b44,0x0004002b,0x00000006,0x0000014e,0xbdff2e49,0x0004002b,0x00000006,0x0000014f,
- 0xbc95182b,0x0006002c,0x00000007,0x00000150,0x0000014d,0x0000014e,0x0000014f,0x0004002b,
- 0x00000006,0x00000151,0xbf166cf4,0x0004002b,0x00000006,0x00000152,0x3f9102de,0x0004002b,
- 0x00000006,0x00000153,0xbdce075f,0x0006002c,0x00000007,0x00000154,0x00000151,0x00000152,
- 0x00000153,0x0004002b,0x00000006,0x00000155,0xbd95182b,0x0004002b,0x00000006,0x00000156,
- 0xbc07fcb9,0x0004002b,0x00000006,0x00000157,0x3f8f3190,0x0006002c,0x00000007,0x00000158,
- 0x00000155,0x00000156,0x00000157,0x0006002c,0x0000012b,0x00000159,0x00000150,0x00000154,
- 0x00000158,0x00040020,0x00000185,0x00000003,0x000000a3,0x0004003b,0x00000185,0x00000186,
- 0x00000003,0x00040020,0x0000018c,0x00000001,0x0000001c,0x0004003b,0x0000018c,0x0000018d,
+ 0x00000018,0x00000078,0x00040005,0x00000019,0x6b616570,0x00000000,0x00050005,0x00000021,
+ 0x74636572,0x76287441,0x003b3266,0x00030005,0x00000020,0x00000070,0x00060005,0x00000028,
+ 0x4f746962,0x31662866,0x3b31693b,0x00000000,0x00040005,0x00000026,0x6b73616d,0x00000000,
+ 0x00030005,0x00000027,0x00000069,0x00070005,0x0000002b,0x766e6f63,0x65747265,0x74694e64,
+ 0x66762873,0x00003b33,0x00030005,0x0000002a,0x00000063,0x00030005,0x0000002d,0x00006f6c,
+ 0x00030005,0x00000032,0x00006968,0x00030005,0x00000046,0x00006f6c,0x00030005,0x00000049,
+ 0x00006968,0x00030005,0x0000005a,0x00000070,0x00030005,0x00000079,0x00000070,0x00040005,
+ 0x00000096,0x6e617073,0x00000000,0x00040005,0x0000009b,0x65746172,0x00000000,0x00040005,
+ 0x000000ac,0x6e756f63,0x00000074,0x00030005,0x000000b4,0x00004350,0x00040006,0x000000b4,
+ 0x00000000,0x0063646e,0x00050006,0x000000b4,0x00000001,0x61726170,0x0000736d,0x00050006,
+ 0x000000b4,0x00000002,0x74636572,0x00000073,0x00050006,0x000000b4,0x00000003,0x766e6f63,
+ 0x00000000,0x00030005,0x000000b6,0x00006370,0x00030005,0x000000bd,0x00000069,0x00030005,
+ 0x000000d1,0x00000072,0x00030005,0x000000d7,0x00006f6c,0x00030005,0x000000e5,0x00006968,
+ 0x00030005,0x00000126,0x006e696c,0x00040005,0x00000130,0x61726170,0x0000006d,0x00030005,
+ 0x0000014a,0x00000063,0x00040005,0x0000014e,0x6578694d,0x00000064,0x00060005,0x00000151,
+ 0x465f6c67,0x43676172,0x64726f6f,0x00000000,0x00030005,0x00000159,0x00007461,0x00040005,
+ 0x0000015a,0x61726170,0x0000006d,0x00030005,0x0000015f,0x00726468,0x00040005,0x00000164,
+ 0x61726170,0x0000006d,0x00040005,0x00000165,0x61726170,0x0000006d,0x00040005,0x00000168,
+ 0x766e6f63,0x00000000,0x00040005,0x0000016c,0x61726170,0x0000006d,0x00040005,0x0000016f,
+ 0x61726170,0x0000006d,0x00050005,0x00000173,0x57726473,0x65746968,0x00000000,0x00040005,
+ 0x00000180,0x6374756f,0x00000000,0x00040005,0x00000181,0x61726170,0x0000006d,0x00040005,
+ 0x00000189,0x61726170,0x0000006d,0x00040005,0x00000191,0x7374696e,0x00000000,0x00040005,
+ 0x000001a0,0x61726170,0x0000006d,0x00040005,0x000001a9,0x61726170,0x0000006d,0x00040005,
+ 0x000001b2,0x7374696e,0x00000000,0x00040005,0x000001b7,0x61726170,0x0000006d,0x00040005,
+ 0x000001bb,0x61726170,0x0000006d,0x00030005,0x000001c0,0x006c6572,0x00030005,0x000001d5,
+ 0x0000006d,0x00040005,0x000001e8,0x61726170,0x0000006d,0x00040005,0x000001ea,0x61726170,
+ 0x0000006d,0x00040005,0x000001f4,0x61726170,0x0000006d,0x00050005,0x000001f7,0x4374756f,
+ 0x726f6c6f,0x00000000,0x00060005,0x000001fe,0x67617266,0x43786554,0x64726f6f,0x00000000,
+ 0x00040047,0x000000b1,0x00000006,0x00000008,0x00040047,0x000000b3,0x00000006,0x00000010,
+ 0x00030047,0x000000b4,0x00000002,0x00050048,0x000000b4,0x00000000,0x00000023,0x00000000,
+ 0x00050048,0x000000b4,0x00000001,0x00000023,0x00000010,0x00050048,0x000000b4,0x00000002,
+ 0x00000023,0x00000020,0x00050048,0x000000b4,0x00000003,0x00000023,0x00000050,0x00040047,
+ 0x0000014e,0x00000021,0x00000000,0x00040047,0x0000014e,0x00000022,0x00000000,0x00040047,
+ 0x00000151,0x0000000b,0x0000000f,0x00040047,0x000001f7,0x0000001e,0x00000000,0x00040047,
+ 0x000001fe,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,
+ 0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,0x00000006,0x00000003,0x00040020,
+ 0x00000008,0x00000007,0x00000007,0x00040021,0x00000009,0x00000007,0x00000008,0x00040020,
+ 0x00000016,0x00000007,0x00000006,0x00050021,0x00000017,0x00000006,0x00000016,0x00000016,
+ 0x00040017,0x0000001c,0x00000006,0x00000002,0x00040020,0x0000001d,0x00000007,0x0000001c,
+ 0x00040015,0x0000001e,0x00000020,0x00000001,0x00040021,0x0000001f,0x0000001e,0x0000001d,
+ 0x00040020,0x00000023,0x00000007,0x0000001e,0x00020014,0x00000024,0x00050021,0x00000025,
+ 0x00000024,0x00000016,0x00000023,0x0004002b,0x00000006,0x0000002f,0x414eb852,0x0004002b,
+ 0x00000006,0x00000034,0x3d6147ae,0x0004002b,0x00000006,0x00000037,0x3f870a3d,0x0004002b,
+ 0x00000006,0x0000003a,0x4019999a,0x0006002c,0x00000007,0x0000003b,0x0000003a,0x0000003a,
+ 0x0000003a,0x0004002b,0x00000006,0x0000003f,0x3d25aee6,0x0006002c,0x00000007,0x00000040,
+ 0x0000003f,0x0000003f,0x0000003f,0x0004002b,0x00000006,0x0000004b,0x3ed55555,0x0006002c,
+ 0x00000007,0x0000004c,0x0000004b,0x0000004b,0x0000004b,0x0004002b,0x00000006,0x00000053,
+ 0x3b4d2e1c,0x0006002c,0x00000007,0x00000054,0x00000053,0x00000053,0x00000053,0x0004002b,
+ 0x00000006,0x0000005c,0x00000000,0x0004002b,0x00000006,0x0000005d,0x3f800000,0x0004002b,
+ 0x00000006,0x00000061,0x3c4fcdac,0x0006002c,0x00000007,0x00000062,0x00000061,0x00000061,
+ 0x00000061,0x0004002b,0x00000006,0x00000065,0x3f560000,0x0004002b,0x00000006,0x0000006a,
+ 0x4196d000,0x0004002b,0x00000006,0x0000006b,0x41958000,0x0004002b,0x00000006,0x00000070,
+ 0x358637bd,0x0004002b,0x00000006,0x00000074,0x40c8e06b,0x0006002c,0x00000007,0x00000075,
+ 0x00000074,0x00000074,0x00000074,0x0004002b,0x00000006,0x0000007e,0x3e232000,0x0006002c,
+ 0x00000007,0x0000007f,0x0000007e,0x0000007e,0x0000007e,0x0004002b,0x00000006,0x0000008a,
+ 0x429db000,0x0006002c,0x00000007,0x0000008b,0x0000008a,0x0000008a,0x0000008a,0x0004002b,
+ 0x00000006,0x00000090,0x3f4ccccd,0x0004002b,0x00000006,0x00000099,0x3d4ccccd,0x0004002b,
+ 0x00000006,0x0000009d,0x407a5e35,0x0004002b,0x00000006,0x0000009f,0x3e4ccccd,0x00040017,
+ 0x000000ad,0x00000006,0x00000004,0x00040015,0x000000ae,0x00000020,0x00000000,0x00040017,
+ 0x000000af,0x000000ae,0x00000002,0x0004002b,0x000000ae,0x000000b0,0x00000006,0x0004001c,
+ 0x000000b1,0x000000af,0x000000b0,0x0004002b,0x000000ae,0x000000b2,0x00000003,0x0004001c,
+ 0x000000b3,0x000000ad,0x000000b2,0x0006001e,0x000000b4,0x000000ad,0x000000ad,0x000000b1,
+ 0x000000b3,0x00040020,0x000000b5,0x00000009,0x000000b4,0x0004003b,0x000000b5,0x000000b6,
+ 0x00000009,0x0004002b,0x0000001e,0x000000b7,0x00000001,0x00040020,0x000000b8,0x00000009,
+ 0x00000006,0x0004002b,0x00000006,0x000000bb,0x41800000,0x0004002b,0x0000001e,0x000000be,
+ 0x00000000,0x0004002b,0x0000001e,0x000000c5,0x00000006,0x0004002b,0x00000006,0x000000ca,
+ 0x3f000000,0x00040020,0x000000d0,0x00000007,0x000000af,0x0004002b,0x0000001e,0x000000d2,
+ 0x00000002,0x00040020,0x000000d4,0x00000009,0x000000af,0x0004002b,0x000000ae,0x000000d8,
+ 0x00000000,0x00040020,0x000000d9,0x00000007,0x000000ae,0x0004002b,0x000000ae,0x000000dc,
+ 0x0000ffff,0x0004002b,0x0000001e,0x000000e1,0x00000010,0x0004002b,0x000000ae,0x000000e6,
+ 0x00000001,0x0004002b,0x0000001e,0x00000113,0xffffffff,0x0004002b,0x00000006,0x00000120,
+ 0x40000000,0x0004002b,0x0000001e,0x00000127,0x00000003,0x00040020,0x00000134,0x00000009,
+ 0x000000ad,0x00090019,0x0000014b,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,
+ 0x00000001,0x00000000,0x0003001b,0x0000014c,0x0000014b,0x00040020,0x0000014d,0x00000000,
+ 0x0000014c,0x0004003b,0x0000014d,0x0000014e,0x00000000,0x00040020,0x00000150,0x00000001,
+ 0x000000ad,0x0004003b,0x00000150,0x00000151,0x00000001,0x00040017,0x00000154,0x0000001e,
+ 0x00000002,0x00040020,0x0000015e,0x00000007,0x00000024,0x0004002b,0x000000ae,0x00000177,
+ 0x00000002,0x0004002b,0x00000006,0x00000186,0x461c4000,0x00040018,0x00000192,0x00000007,
+ 0x00000003,0x0004002b,0x00000006,0x00000193,0x3f209d49,0x0004002b,0x00000006,0x00000194,
+ 0x3d8d844d,0x0004002b,0x00000006,0x00000195,0x3c86594b,0x0006002c,0x00000007,0x00000196,
+ 0x00000193,0x00000194,0x00000195,0x0004002b,0x00000006,0x00000197,0x3ea89a02,0x0004002b,
+ 0x00000006,0x00000198,0x3f6b645a,0x0004002b,0x00000006,0x00000199,0x3db43958,0x0006002c,
+ 0x00000007,0x0000019a,0x00000197,0x00000198,0x00000199,0x0004002b,0x00000006,0x0000019b,
+ 0x3d315b57,0x0004002b,0x00000006,0x0000019c,0x3c3ac711,0x0004002b,0x00000006,0x0000019d,
+ 0x3f65460b,0x0006002c,0x00000007,0x0000019e,0x0000019b,0x0000019c,0x0000019d,0x0006002c,
+ 0x00000192,0x0000019f,0x00000196,0x0000019a,0x0000019e,0x0004002b,0x00000006,0x000001c1,
+ 0x3fd48b44,0x0004002b,0x00000006,0x000001c2,0xbdff2e49,0x0004002b,0x00000006,0x000001c3,
+ 0xbc95182b,0x0006002c,0x00000007,0x000001c4,0x000001c1,0x000001c2,0x000001c3,0x0004002b,
+ 0x00000006,0x000001c5,0xbf166cf4,0x0004002b,0x00000006,0x000001c6,0x3f9102de,0x0004002b,
+ 0x00000006,0x000001c7,0xbdce075f,0x0006002c,0x00000007,0x000001c8,0x000001c5,0x000001c6,
+ 0x000001c7,0x0004002b,0x00000006,0x000001c9,0xbd95182b,0x0004002b,0x00000006,0x000001ca,
+ 0xbc07fcb9,0x0004002b,0x00000006,0x000001cb,0x3f8f3190,0x0006002c,0x00000007,0x000001cc,
+ 0x000001c9,0x000001ca,0x000001cb,0x0006002c,0x00000192,0x000001cd,0x000001c4,0x000001c8,
+ 0x000001cc,0x00040020,0x000001f6,0x00000003,0x000000ad,0x0004003b,0x000001f6,0x000001f7,
+ 0x00000003,0x00040020,0x000001fd,0x00000001,0x0000001c,0x0004003b,0x000001fd,0x000001fe,
0x00000001,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,
- 0x0004003b,0x00000008,0x00000106,0x00000007,0x0004003b,0x00000115,0x00000116,0x00000007,
- 0x0004003b,0x0000001d,0x00000117,0x00000007,0x0004003b,0x00000016,0x0000011b,0x00000007,
- 0x0004003b,0x00000008,0x00000127,0x00000007,0x0004003b,0x00000008,0x0000012a,0x00000007,
- 0x0004003b,0x00000008,0x00000139,0x00000007,0x0004003b,0x00000008,0x00000143,0x00000007,
- 0x0004003b,0x00000008,0x0000014c,0x00000007,0x0004003b,0x00000008,0x0000015a,0x00000007,
- 0x0004003b,0x00000016,0x00000164,0x00000007,0x0004003b,0x00000016,0x00000177,0x00000007,
- 0x0004003b,0x00000016,0x00000179,0x00000007,0x0004003b,0x00000008,0x00000183,0x00000007,
- 0x0004003d,0x00000108,0x0000010b,0x0000010a,0x0004003d,0x000000a3,0x0000010e,0x0000010d,
- 0x0007004f,0x0000001c,0x0000010f,0x0000010e,0x0000010e,0x00000000,0x00000001,0x0004006e,
- 0x00000110,0x00000111,0x0000010f,0x00040064,0x00000107,0x00000112,0x0000010b,0x0007005f,
- 0x000000a3,0x00000113,0x00000112,0x00000111,0x00000002,0x000000ba,0x0008004f,0x00000007,
- 0x00000114,0x00000113,0x00000113,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000106,
- 0x00000114,0x0004003d,0x000000a3,0x00000118,0x0000010d,0x0007004f,0x0000001c,0x00000119,
- 0x00000118,0x00000118,0x00000000,0x00000001,0x0003003e,0x00000117,0x00000119,0x00050039,
- 0x0000001e,0x0000011a,0x00000021,0x00000117,0x0003003e,0x00000116,0x0000011a,0x00060041,
- 0x000000ad,0x0000011c,0x000000a9,0x000000ab,0x000000d3,0x0004003d,0x00000006,0x0000011d,
- 0x0000011c,0x0007000c,0x00000006,0x0000011e,0x00000001,0x00000028,0x0000011d,0x00000053,
- 0x0003003e,0x0000011b,0x0000011e,0x00060041,0x000000ad,0x0000011f,0x000000a9,0x000000ab,
- 0x000000e6,0x0004003d,0x00000006,0x00000120,0x0000011f,0x000500b8,0x0000001e,0x00000121,
- 0x00000120,0x000000c6,0x000300f7,0x00000123,0x00000000,0x000400fa,0x00000121,0x00000122,
- 0x00000145,0x000200f8,0x00000122,0x0004003d,0x0000001e,0x00000124,0x00000116,0x000300f7,
- 0x00000126,0x00000000,0x000400fa,0x00000124,0x00000125,0x00000129,0x000200f8,0x00000125,
- 0x0004003d,0x00000007,0x00000128,0x00000106,0x0003003e,0x00000127,0x00000128,0x000200f9,
- 0x00000126,0x000200f8,0x00000129,0x0004003d,0x00000007,0x0000013a,0x00000106,0x0003003e,
- 0x00000139,0x0000013a,0x00050039,0x00000007,0x0000013b,0x0000000b,0x00000139,0x00050091,
- 0x00000007,0x0000013c,0x00000138,0x0000013b,0x0004003d,0x00000006,0x0000013d,0x0000011b,
- 0x0005008e,0x00000007,0x0000013e,0x0000013c,0x0000013d,0x0003003e,0x0000012a,0x0000013e,
- 0x0004003d,0x00000007,0x0000013f,0x0000012a,0x00060050,0x00000007,0x00000141,0x00000140,
- 0x00000140,0x00000140,0x00050088,0x00000007,0x00000142,0x0000013f,0x00000141,0x0003003e,
- 0x00000143,0x00000142,0x00050039,0x00000007,0x00000144,0x00000014,0x00000143,0x0003003e,
- 0x00000127,0x00000144,0x000200f9,0x00000126,0x000200f8,0x00000126,0x000200f9,0x00000123,
- 0x000200f8,0x00000145,0x0004003d,0x0000001e,0x00000146,0x00000116,0x000400a8,0x0000001e,
- 0x00000147,0x00000146,0x000300f7,0x00000149,0x00000000,0x000400fa,0x00000147,0x00000148,
- 0x0000014b,0x000200f8,0x00000148,0x0004003d,0x00000007,0x0000014a,0x00000106,0x0003003e,
- 0x00000127,0x0000014a,0x000200f9,0x00000149,0x000200f8,0x0000014b,0x0004003d,0x00000007,
- 0x0000015b,0x00000106,0x0003003e,0x0000015a,0x0000015b,0x00050039,0x00000007,0x0000015c,
- 0x00000011,0x0000015a,0x0005008e,0x00000007,0x0000015d,0x0000015c,0x00000140,0x00050091,
- 0x00000007,0x0000015e,0x00000159,0x0000015d,0x00060050,0x00000007,0x0000015f,0x00000052,
- 0x00000052,0x00000052,0x0007000c,0x00000007,0x00000160,0x00000001,0x00000028,0x0000015e,
- 0x0000015f,0x0004003d,0x00000006,0x00000161,0x0000011b,0x00060050,0x00000007,0x00000162,
- 0x00000161,0x00000161,0x00000161,0x00050088,0x00000007,0x00000163,0x00000160,0x00000162,
- 0x0003003e,0x0000014c,0x00000163,0x00050041,0x00000016,0x00000165,0x0000014c,0x000000d3,
- 0x0004003d,0x00000006,0x00000166,0x00000165,0x00050041,0x00000016,0x00000167,0x0000014c,
- 0x000000db,0x0004003d,0x00000006,0x00000168,0x00000167,0x0007000c,0x00000006,0x00000169,
- 0x00000001,0x00000028,0x00000166,0x00000168,0x00050041,0x00000016,0x0000016a,0x0000014c,
- 0x000000e6,0x0004003d,0x00000006,0x0000016b,0x0000016a,0x0007000c,0x00000006,0x0000016c,
- 0x00000001,0x00000028,0x00000169,0x0000016b,0x0003003e,0x00000164,0x0000016c,0x0004003d,
- 0x00000006,0x0000016d,0x00000164,0x000500ba,0x0000001e,0x0000016e,0x0000016d,0x00000066,
- 0x000300f7,0x00000170,0x00000000,0x000400fa,0x0000016e,0x0000016f,0x00000170,0x000200f8,
- 0x0000016f,0x00060041,0x000000ad,0x00000171,0x000000a9,0x000000ab,0x000000db,0x0004003d,
- 0x00000006,0x00000172,0x00000171,0x0004003d,0x00000006,0x00000173,0x0000011b,0x0007000c,
- 0x00000006,0x00000174,0x00000001,0x00000028,0x00000172,0x00000173,0x0004003d,0x00000006,
- 0x00000175,0x0000011b,0x00050088,0x00000006,0x00000176,0x00000174,0x00000175,0x0004003d,
- 0x00000006,0x00000178,0x00000164,0x0003003e,0x00000177,0x00000178,0x0003003e,0x00000179,
- 0x00000176,0x00060039,0x00000006,0x0000017a,0x0000001a,0x00000177,0x00000179,0x0004003d,
- 0x00000006,0x0000017b,0x00000164,0x00050088,0x00000006,0x0000017c,0x0000017a,0x0000017b,
- 0x0004003d,0x00000007,0x0000017d,0x0000014c,0x0005008e,0x00000007,0x0000017e,0x0000017d,
- 0x0000017c,0x0003003e,0x0000014c,0x0000017e,0x000200f9,0x00000170,0x000200f8,0x00000170,
- 0x0004003d,0x00000007,0x0000017f,0x0000014c,0x00060050,0x00000007,0x00000180,0x00000052,
- 0x00000052,0x00000052,0x00060050,0x00000007,0x00000181,0x00000053,0x00000053,0x00000053,
- 0x0008000c,0x00000007,0x00000182,0x00000001,0x0000002b,0x0000017f,0x00000180,0x00000181,
- 0x0003003e,0x00000183,0x00000182,0x00050039,0x00000007,0x00000184,0x0000000e,0x00000183,
- 0x0003003e,0x00000127,0x00000184,0x000200f9,0x00000149,0x000200f8,0x00000149,0x000200f9,
- 0x00000123,0x000200f8,0x00000123,0x0004003d,0x00000007,0x00000187,0x00000127,0x00050051,
- 0x00000006,0x00000188,0x00000187,0x00000000,0x00050051,0x00000006,0x00000189,0x00000187,
- 0x00000001,0x00050051,0x00000006,0x0000018a,0x00000187,0x00000002,0x00070050,0x000000a3,
- 0x0000018b,0x00000188,0x00000189,0x0000018a,0x00000053,0x0003003e,0x00000186,0x0000018b,
+ 0x0004003b,0x00000008,0x0000014a,0x00000007,0x0004003b,0x00000023,0x00000159,0x00000007,
+ 0x0004003b,0x0000001d,0x0000015a,0x00000007,0x0004003b,0x0000015e,0x0000015f,0x00000007,
+ 0x0004003b,0x00000016,0x00000164,0x00000007,0x0004003b,0x00000023,0x00000165,0x00000007,
+ 0x0004003b,0x0000015e,0x00000168,0x00000007,0x0004003b,0x00000016,0x0000016c,0x00000007,
+ 0x0004003b,0x00000023,0x0000016f,0x00000007,0x0004003b,0x00000016,0x00000173,0x00000007,
+ 0x0004003b,0x00000008,0x00000180,0x00000007,0x0004003b,0x00000008,0x00000181,0x00000007,
+ 0x0004003b,0x00000008,0x00000189,0x00000007,0x0004003b,0x00000008,0x00000191,0x00000007,
+ 0x0004003b,0x00000008,0x000001a0,0x00000007,0x0004003b,0x00000008,0x000001a9,0x00000007,
+ 0x0004003b,0x00000008,0x000001b2,0x00000007,0x0004003b,0x00000008,0x000001b4,0x00000007,
+ 0x0004003b,0x00000008,0x000001b7,0x00000007,0x0004003b,0x00000008,0x000001bb,0x00000007,
+ 0x0004003b,0x00000008,0x000001c0,0x00000007,0x0004003b,0x00000016,0x000001d5,0x00000007,
+ 0x0004003b,0x00000016,0x000001e8,0x00000007,0x0004003b,0x00000016,0x000001ea,0x00000007,
+ 0x0004003b,0x00000008,0x000001f4,0x00000007,0x0004003d,0x0000014c,0x0000014f,0x0000014e,
+ 0x0004003d,0x000000ad,0x00000152,0x00000151,0x0007004f,0x0000001c,0x00000153,0x00000152,
+ 0x00000152,0x00000000,0x00000001,0x0004006e,0x00000154,0x00000155,0x00000153,0x00040064,
+ 0x0000014b,0x00000156,0x0000014f,0x0007005f,0x000000ad,0x00000157,0x00000156,0x00000155,
+ 0x00000002,0x000000be,0x0008004f,0x00000007,0x00000158,0x00000157,0x00000157,0x00000000,
+ 0x00000001,0x00000002,0x0003003e,0x0000014a,0x00000158,0x0004003d,0x000000ad,0x0000015b,
+ 0x00000151,0x0007004f,0x0000001c,0x0000015c,0x0000015b,0x0000015b,0x00000000,0x00000001,
+ 0x0003003e,0x0000015a,0x0000015c,0x00050039,0x0000001e,0x0000015d,0x00000021,0x0000015a,
+ 0x0003003e,0x00000159,0x0000015d,0x00060041,0x000000b8,0x00000160,0x000000b6,0x000000b7,
+ 0x000000b2,0x0004003d,0x00000006,0x00000161,0x00000160,0x00050088,0x00000006,0x00000162,
+ 0x00000161,0x000000bb,0x0006000c,0x00000006,0x00000163,0x00000001,0x00000008,0x00000162,
+ 0x0003003e,0x00000164,0x00000163,0x0004003d,0x0000001e,0x00000166,0x00000159,0x0003003e,
+ 0x00000165,0x00000166,0x00060039,0x00000024,0x00000167,0x00000028,0x00000164,0x00000165,
+ 0x0003003e,0x0000015f,0x00000167,0x0004003d,0x00000024,0x00000169,0x0000015f,0x000300f7,
+ 0x0000016b,0x00000000,0x000400fa,0x00000169,0x0000016a,0x0000016b,0x000200f8,0x0000016a,
+ 0x00070041,0x000000b8,0x0000016d,0x000000b6,0x00000127,0x000000be,0x000000b2,0x0004003d,
+ 0x00000006,0x0000016e,0x0000016d,0x0003003e,0x0000016c,0x0000016e,0x0004003d,0x0000001e,
+ 0x00000170,0x00000159,0x0003003e,0x0000016f,0x00000170,0x00060039,0x00000024,0x00000171,
+ 0x00000028,0x0000016c,0x0000016f,0x000200f9,0x0000016b,0x000200f8,0x0000016b,0x000700f5,
+ 0x00000024,0x00000172,0x00000169,0x00000005,0x00000171,0x0000016a,0x0003003e,0x00000168,
+ 0x00000172,0x00060041,0x000000b8,0x00000174,0x000000b6,0x000000b7,0x000000d8,0x0004003d,
+ 0x00000006,0x00000175,0x00000174,0x0007000c,0x00000006,0x00000176,0x00000001,0x00000028,
+ 0x00000175,0x0000005d,0x0003003e,0x00000173,0x00000176,0x00060041,0x000000b8,0x00000178,
+ 0x000000b6,0x000000b7,0x00000177,0x0004003d,0x00000006,0x00000179,0x00000178,0x000500b8,
+ 0x00000024,0x0000017a,0x00000179,0x000000ca,0x000300f7,0x0000017c,0x00000000,0x000400fa,
+ 0x0000017a,0x0000017b,0x000001ab,0x000200f8,0x0000017b,0x0004003d,0x00000024,0x0000017d,
+ 0x00000168,0x000300f7,0x0000017f,0x00000000,0x000400fa,0x0000017d,0x0000017e,0x0000018b,
+ 0x000200f8,0x0000017e,0x0004003d,0x00000007,0x00000182,0x0000014a,0x0003003e,0x00000181,
+ 0x00000182,0x00050039,0x00000007,0x00000183,0x0000002b,0x00000181,0x00060050,0x00000007,
+ 0x00000184,0x0000005c,0x0000005c,0x0000005c,0x0007000c,0x00000007,0x00000185,0x00000001,
+ 0x00000028,0x00000183,0x00000184,0x00060050,0x00000007,0x00000187,0x00000186,0x00000186,
+ 0x00000186,0x00050088,0x00000007,0x00000188,0x00000185,0x00000187,0x0003003e,0x00000189,
+ 0x00000188,0x00050039,0x00000007,0x0000018a,0x00000014,0x00000189,0x0003003e,0x00000180,
+ 0x0000018a,0x000200f9,0x0000017f,0x000200f8,0x0000018b,0x0004003d,0x00000024,0x0000018c,
+ 0x0000015f,0x000300f7,0x0000018e,0x00000000,0x000400fa,0x0000018c,0x0000018d,0x00000190,
+ 0x000200f8,0x0000018d,0x0004003d,0x00000007,0x0000018f,0x0000014a,0x0003003e,0x00000180,
+ 0x0000018f,0x000200f9,0x0000018e,0x000200f8,0x00000190,0x0004003d,0x00000007,0x000001a1,
+ 0x0000014a,0x0003003e,0x000001a0,0x000001a1,0x00050039,0x00000007,0x000001a2,0x0000000b,
+ 0x000001a0,0x00050091,0x00000007,0x000001a3,0x0000019f,0x000001a2,0x0004003d,0x00000006,
+ 0x000001a4,0x00000173,0x0005008e,0x00000007,0x000001a5,0x000001a3,0x000001a4,0x0003003e,
+ 0x00000191,0x000001a5,0x0004003d,0x00000007,0x000001a6,0x00000191,0x00060050,0x00000007,
+ 0x000001a7,0x00000186,0x00000186,0x00000186,0x00050088,0x00000007,0x000001a8,0x000001a6,
+ 0x000001a7,0x0003003e,0x000001a9,0x000001a8,0x00050039,0x00000007,0x000001aa,0x00000014,
+ 0x000001a9,0x0003003e,0x00000180,0x000001aa,0x000200f9,0x0000018e,0x000200f8,0x0000018e,
+ 0x000200f9,0x0000017f,0x000200f8,0x0000017f,0x000200f9,0x0000017c,0x000200f8,0x000001ab,
+ 0x0004003d,0x00000024,0x000001ac,0x0000015f,0x000400a8,0x00000024,0x000001ad,0x000001ac,
+ 0x000300f7,0x000001af,0x00000000,0x000400fa,0x000001ad,0x000001ae,0x000001b1,0x000200f8,
+ 0x000001ae,0x0004003d,0x00000007,0x000001b0,0x0000014a,0x0003003e,0x00000180,0x000001b0,
+ 0x000200f9,0x000001af,0x000200f8,0x000001b1,0x0004003d,0x00000024,0x000001b3,0x00000168,
+ 0x000300f7,0x000001b6,0x00000000,0x000400fa,0x000001b3,0x000001b5,0x000001ba,0x000200f8,
+ 0x000001b5,0x0004003d,0x00000007,0x000001b8,0x0000014a,0x0003003e,0x000001b7,0x000001b8,
+ 0x00050039,0x00000007,0x000001b9,0x0000002b,0x000001b7,0x0003003e,0x000001b4,0x000001b9,
+ 0x000200f9,0x000001b6,0x000200f8,0x000001ba,0x0004003d,0x00000007,0x000001bc,0x0000014a,
+ 0x0003003e,0x000001bb,0x000001bc,0x00050039,0x00000007,0x000001bd,0x00000011,0x000001bb,
+ 0x0005008e,0x00000007,0x000001be,0x000001bd,0x00000186,0x0003003e,0x000001b4,0x000001be,
+ 0x000200f9,0x000001b6,0x000200f8,0x000001b6,0x0004003d,0x00000007,0x000001bf,0x000001b4,
+ 0x0003003e,0x000001b2,0x000001bf,0x0004003d,0x00000007,0x000001ce,0x000001b2,0x00050091,
+ 0x00000007,0x000001cf,0x000001cd,0x000001ce,0x00060050,0x00000007,0x000001d0,0x0000005c,
+ 0x0000005c,0x0000005c,0x0007000c,0x00000007,0x000001d1,0x00000001,0x00000028,0x000001cf,
+ 0x000001d0,0x0004003d,0x00000006,0x000001d2,0x00000173,0x00060050,0x00000007,0x000001d3,
+ 0x000001d2,0x000001d2,0x000001d2,0x00050088,0x00000007,0x000001d4,0x000001d1,0x000001d3,
+ 0x0003003e,0x000001c0,0x000001d4,0x00050041,0x00000016,0x000001d6,0x000001c0,0x000000d8,
+ 0x0004003d,0x00000006,0x000001d7,0x000001d6,0x00050041,0x00000016,0x000001d8,0x000001c0,
+ 0x000000e6,0x0004003d,0x00000006,0x000001d9,0x000001d8,0x0007000c,0x00000006,0x000001da,
+ 0x00000001,0x00000028,0x000001d7,0x000001d9,0x00050041,0x00000016,0x000001db,0x000001c0,
+ 0x00000177,0x0004003d,0x00000006,0x000001dc,0x000001db,0x0007000c,0x00000006,0x000001dd,
+ 0x00000001,0x00000028,0x000001da,0x000001dc,0x0003003e,0x000001d5,0x000001dd,0x0004003d,
+ 0x00000006,0x000001de,0x000001d5,0x000500ba,0x00000024,0x000001df,0x000001de,0x00000070,
+ 0x000300f7,0x000001e1,0x00000000,0x000400fa,0x000001df,0x000001e0,0x000001e1,0x000200f8,
+ 0x000001e0,0x00060041,0x000000b8,0x000001e2,0x000000b6,0x000000b7,0x000000e6,0x0004003d,
+ 0x00000006,0x000001e3,0x000001e2,0x0004003d,0x00000006,0x000001e4,0x00000173,0x0007000c,
+ 0x00000006,0x000001e5,0x00000001,0x00000028,0x000001e3,0x000001e4,0x0004003d,0x00000006,
+ 0x000001e6,0x00000173,0x00050088,0x00000006,0x000001e7,0x000001e5,0x000001e6,0x0004003d,
+ 0x00000006,0x000001e9,0x000001d5,0x0003003e,0x000001e8,0x000001e9,0x0003003e,0x000001ea,
+ 0x000001e7,0x00060039,0x00000006,0x000001eb,0x0000001a,0x000001e8,0x000001ea,0x0004003d,
+ 0x00000006,0x000001ec,0x000001d5,0x00050088,0x00000006,0x000001ed,0x000001eb,0x000001ec,
+ 0x0004003d,0x00000007,0x000001ee,0x000001c0,0x0005008e,0x00000007,0x000001ef,0x000001ee,
+ 0x000001ed,0x0003003e,0x000001c0,0x000001ef,0x000200f9,0x000001e1,0x000200f8,0x000001e1,
+ 0x0004003d,0x00000007,0x000001f0,0x000001c0,0x00060050,0x00000007,0x000001f1,0x0000005c,
+ 0x0000005c,0x0000005c,0x00060050,0x00000007,0x000001f2,0x0000005d,0x0000005d,0x0000005d,
+ 0x0008000c,0x00000007,0x000001f3,0x00000001,0x0000002b,0x000001f0,0x000001f1,0x000001f2,
+ 0x0003003e,0x000001f4,0x000001f3,0x00050039,0x00000007,0x000001f5,0x0000000e,0x000001f4,
+ 0x0003003e,0x00000180,0x000001f5,0x000200f9,0x000001af,0x000200f8,0x000001af,0x000200f9,
+ 0x0000017c,0x000200f8,0x0000017c,0x0004003d,0x00000007,0x000001f8,0x00000180,0x00050051,
+ 0x00000006,0x000001f9,0x000001f8,0x00000000,0x00050051,0x00000006,0x000001fa,0x000001f8,
+ 0x00000001,0x00050051,0x00000006,0x000001fb,0x000001f8,0x00000002,0x00070050,0x000000ad,
+ 0x000001fc,0x000001f9,0x000001fa,0x000001fb,0x0000005d,0x0003003e,0x000001f7,0x000001fc,
0x000100fd,0x00010038,0x00050036,0x00000007,0x0000000b,0x00000000,0x00000009,0x00030037,
- 0x00000008,0x0000000a,0x000200f8,0x0000000c,0x0004003b,0x00000008,0x00000023,0x00000007,
- 0x0004003b,0x00000008,0x00000028,0x00000007,0x0004003d,0x00000007,0x00000024,0x0000000a,
- 0x00060050,0x00000007,0x00000026,0x00000025,0x00000025,0x00000025,0x00050088,0x00000007,
- 0x00000027,0x00000024,0x00000026,0x0003003e,0x00000023,0x00000027,0x0004003d,0x00000007,
- 0x00000029,0x0000000a,0x00060050,0x00000007,0x0000002b,0x0000002a,0x0000002a,0x0000002a,
- 0x00050081,0x00000007,0x0000002c,0x00000029,0x0000002b,0x00060050,0x00000007,0x0000002e,
- 0x0000002d,0x0000002d,0x0000002d,0x00050088,0x00000007,0x0000002f,0x0000002c,0x0000002e,
- 0x0007000c,0x00000007,0x00000032,0x00000001,0x0000001a,0x0000002f,0x00000031,0x0003003e,
- 0x00000028,0x00000032,0x0004003d,0x00000007,0x00000033,0x00000023,0x0004003d,0x00000007,
- 0x00000034,0x00000028,0x0004003d,0x00000007,0x00000037,0x0000000a,0x0007000c,0x00000007,
- 0x00000038,0x00000001,0x00000030,0x00000036,0x00000037,0x0008000c,0x00000007,0x00000039,
- 0x00000001,0x0000002e,0x00000033,0x00000034,0x00000038,0x000200fe,0x00000039,0x00010038,
+ 0x00000008,0x0000000a,0x000200f8,0x0000000c,0x0004003b,0x00000008,0x0000002d,0x00000007,
+ 0x0004003b,0x00000008,0x00000032,0x00000007,0x0004003d,0x00000007,0x0000002e,0x0000000a,
+ 0x00060050,0x00000007,0x00000030,0x0000002f,0x0000002f,0x0000002f,0x00050088,0x00000007,
+ 0x00000031,0x0000002e,0x00000030,0x0003003e,0x0000002d,0x00000031,0x0004003d,0x00000007,
+ 0x00000033,0x0000000a,0x00060050,0x00000007,0x00000035,0x00000034,0x00000034,0x00000034,
+ 0x00050081,0x00000007,0x00000036,0x00000033,0x00000035,0x00060050,0x00000007,0x00000038,
+ 0x00000037,0x00000037,0x00000037,0x00050088,0x00000007,0x00000039,0x00000036,0x00000038,
+ 0x0007000c,0x00000007,0x0000003c,0x00000001,0x0000001a,0x00000039,0x0000003b,0x0003003e,
+ 0x00000032,0x0000003c,0x0004003d,0x00000007,0x0000003d,0x0000002d,0x0004003d,0x00000007,
+ 0x0000003e,0x00000032,0x0004003d,0x00000007,0x00000041,0x0000000a,0x0007000c,0x00000007,
+ 0x00000042,0x00000001,0x00000030,0x00000040,0x00000041,0x0008000c,0x00000007,0x00000043,
+ 0x00000001,0x0000002e,0x0000003d,0x0000003e,0x00000042,0x000200fe,0x00000043,0x00010038,
0x00050036,0x00000007,0x0000000e,0x00000000,0x00000009,0x00030037,0x00000008,0x0000000d,
- 0x000200f8,0x0000000f,0x0004003b,0x00000008,0x0000003c,0x00000007,0x0004003b,0x00000008,
- 0x0000003f,0x00000007,0x0004003d,0x00000007,0x0000003d,0x0000000d,0x0005008e,0x00000007,
- 0x0000003e,0x0000003d,0x00000025,0x0003003e,0x0000003c,0x0000003e,0x0004003d,0x00000007,
- 0x00000040,0x0000000d,0x0007000c,0x00000007,0x00000043,0x00000001,0x0000001a,0x00000040,
- 0x00000042,0x0005008e,0x00000007,0x00000044,0x00000043,0x0000002d,0x00060050,0x00000007,
- 0x00000045,0x0000002a,0x0000002a,0x0000002a,0x00050083,0x00000007,0x00000046,0x00000044,
- 0x00000045,0x0003003e,0x0000003f,0x00000046,0x0004003d,0x00000007,0x00000047,0x0000003c,
- 0x0004003d,0x00000007,0x00000048,0x0000003f,0x0004003d,0x00000007,0x0000004b,0x0000000d,
- 0x0007000c,0x00000007,0x0000004c,0x00000001,0x00000030,0x0000004a,0x0000004b,0x0008000c,
- 0x00000007,0x0000004d,0x00000001,0x0000002e,0x00000047,0x00000048,0x0000004c,0x000200fe,
- 0x0000004d,0x00010038,0x00050036,0x00000007,0x00000011,0x00000000,0x00000009,0x00030037,
- 0x00000008,0x00000010,0x000200f8,0x00000012,0x0004003b,0x00000008,0x00000050,0x00000007,
- 0x0004003d,0x00000007,0x00000051,0x00000010,0x00060050,0x00000007,0x00000054,0x00000052,
- 0x00000052,0x00000052,0x00060050,0x00000007,0x00000055,0x00000053,0x00000053,0x00000053,
- 0x0008000c,0x00000007,0x00000056,0x00000001,0x0000002b,0x00000051,0x00000054,0x00000055,
- 0x0007000c,0x00000007,0x00000059,0x00000001,0x0000001a,0x00000056,0x00000058,0x0003003e,
- 0x00000050,0x00000059,0x0004003d,0x00000007,0x0000005a,0x00000050,0x00060050,0x00000007,
- 0x0000005c,0x0000005b,0x0000005b,0x0000005b,0x00050083,0x00000007,0x0000005d,0x0000005a,
- 0x0000005c,0x00060050,0x00000007,0x0000005e,0x00000052,0x00000052,0x00000052,0x0007000c,
- 0x00000007,0x0000005f,0x00000001,0x00000028,0x0000005d,0x0000005e,0x0004003d,0x00000007,
- 0x00000062,0x00000050,0x0005008e,0x00000007,0x00000063,0x00000062,0x00000061,0x00060050,
- 0x00000007,0x00000064,0x00000060,0x00000060,0x00000060,0x00050083,0x00000007,0x00000065,
- 0x00000064,0x00000063,0x00060050,0x00000007,0x00000067,0x00000066,0x00000066,0x00000066,
- 0x0007000c,0x00000007,0x00000068,0x00000001,0x00000028,0x00000065,0x00000067,0x00050088,
- 0x00000007,0x00000069,0x0000005f,0x00000068,0x0007000c,0x00000007,0x0000006c,0x00000001,
- 0x0000001a,0x00000069,0x0000006b,0x000200fe,0x0000006c,0x00010038,0x00050036,0x00000007,
+ 0x000200f8,0x0000000f,0x0004003b,0x00000008,0x00000046,0x00000007,0x0004003b,0x00000008,
+ 0x00000049,0x00000007,0x0004003d,0x00000007,0x00000047,0x0000000d,0x0005008e,0x00000007,
+ 0x00000048,0x00000047,0x0000002f,0x0003003e,0x00000046,0x00000048,0x0004003d,0x00000007,
+ 0x0000004a,0x0000000d,0x0007000c,0x00000007,0x0000004d,0x00000001,0x0000001a,0x0000004a,
+ 0x0000004c,0x0005008e,0x00000007,0x0000004e,0x0000004d,0x00000037,0x00060050,0x00000007,
+ 0x0000004f,0x00000034,0x00000034,0x00000034,0x00050083,0x00000007,0x00000050,0x0000004e,
+ 0x0000004f,0x0003003e,0x00000049,0x00000050,0x0004003d,0x00000007,0x00000051,0x00000046,
+ 0x0004003d,0x00000007,0x00000052,0x00000049,0x0004003d,0x00000007,0x00000055,0x0000000d,
+ 0x0007000c,0x00000007,0x00000056,0x00000001,0x00000030,0x00000054,0x00000055,0x0008000c,
+ 0x00000007,0x00000057,0x00000001,0x0000002e,0x00000051,0x00000052,0x00000056,0x000200fe,
+ 0x00000057,0x00010038,0x00050036,0x00000007,0x00000011,0x00000000,0x00000009,0x00030037,
+ 0x00000008,0x00000010,0x000200f8,0x00000012,0x0004003b,0x00000008,0x0000005a,0x00000007,
+ 0x0004003d,0x00000007,0x0000005b,0x00000010,0x00060050,0x00000007,0x0000005e,0x0000005c,
+ 0x0000005c,0x0000005c,0x00060050,0x00000007,0x0000005f,0x0000005d,0x0000005d,0x0000005d,
+ 0x0008000c,0x00000007,0x00000060,0x00000001,0x0000002b,0x0000005b,0x0000005e,0x0000005f,
+ 0x0007000c,0x00000007,0x00000063,0x00000001,0x0000001a,0x00000060,0x00000062,0x0003003e,
+ 0x0000005a,0x00000063,0x0004003d,0x00000007,0x00000064,0x0000005a,0x00060050,0x00000007,
+ 0x00000066,0x00000065,0x00000065,0x00000065,0x00050083,0x00000007,0x00000067,0x00000064,
+ 0x00000066,0x00060050,0x00000007,0x00000068,0x0000005c,0x0000005c,0x0000005c,0x0007000c,
+ 0x00000007,0x00000069,0x00000001,0x00000028,0x00000067,0x00000068,0x0004003d,0x00000007,
+ 0x0000006c,0x0000005a,0x0005008e,0x00000007,0x0000006d,0x0000006c,0x0000006b,0x00060050,
+ 0x00000007,0x0000006e,0x0000006a,0x0000006a,0x0000006a,0x00050083,0x00000007,0x0000006f,
+ 0x0000006e,0x0000006d,0x00060050,0x00000007,0x00000071,0x00000070,0x00000070,0x00000070,
+ 0x0007000c,0x00000007,0x00000072,0x00000001,0x00000028,0x0000006f,0x00000071,0x00050088,
+ 0x00000007,0x00000073,0x00000069,0x00000072,0x0007000c,0x00000007,0x00000076,0x00000001,
+ 0x0000001a,0x00000073,0x00000075,0x000200fe,0x00000076,0x00010038,0x00050036,0x00000007,
0x00000014,0x00000000,0x00000009,0x00030037,0x00000008,0x00000013,0x000200f8,0x00000015,
- 0x0004003b,0x00000008,0x0000006f,0x00000007,0x0004003d,0x00000007,0x00000070,0x00000013,
- 0x00060050,0x00000007,0x00000071,0x00000052,0x00000052,0x00000052,0x00060050,0x00000007,
- 0x00000072,0x00000053,0x00000053,0x00000053,0x0008000c,0x00000007,0x00000073,0x00000001,
- 0x0000002b,0x00000070,0x00000071,0x00000072,0x0007000c,0x00000007,0x00000076,0x00000001,
- 0x0000001a,0x00000073,0x00000075,0x0003003e,0x0000006f,0x00000076,0x0004003d,0x00000007,
- 0x00000077,0x0000006f,0x0005008e,0x00000007,0x00000078,0x00000077,0x00000060,0x00060050,
- 0x00000007,0x00000079,0x0000005b,0x0000005b,0x0000005b,0x00050081,0x00000007,0x0000007a,
- 0x00000079,0x00000078,0x0004003d,0x00000007,0x0000007b,0x0000006f,0x0005008e,0x00000007,
- 0x0000007c,0x0000007b,0x00000061,0x00060050,0x00000007,0x0000007d,0x00000053,0x00000053,
- 0x00000053,0x00050081,0x00000007,0x0000007e,0x0000007d,0x0000007c,0x00050088,0x00000007,
- 0x0000007f,0x0000007a,0x0000007e,0x0007000c,0x00000007,0x00000082,0x00000001,0x0000001a,
- 0x0000007f,0x00000081,0x000200fe,0x00000082,0x00010038,0x00050036,0x00000006,0x0000001a,
+ 0x0004003b,0x00000008,0x00000079,0x00000007,0x0004003d,0x00000007,0x0000007a,0x00000013,
+ 0x00060050,0x00000007,0x0000007b,0x0000005c,0x0000005c,0x0000005c,0x00060050,0x00000007,
+ 0x0000007c,0x0000005d,0x0000005d,0x0000005d,0x0008000c,0x00000007,0x0000007d,0x00000001,
+ 0x0000002b,0x0000007a,0x0000007b,0x0000007c,0x0007000c,0x00000007,0x00000080,0x00000001,
+ 0x0000001a,0x0000007d,0x0000007f,0x0003003e,0x00000079,0x00000080,0x0004003d,0x00000007,
+ 0x00000081,0x00000079,0x0005008e,0x00000007,0x00000082,0x00000081,0x0000006a,0x00060050,
+ 0x00000007,0x00000083,0x00000065,0x00000065,0x00000065,0x00050081,0x00000007,0x00000084,
+ 0x00000083,0x00000082,0x0004003d,0x00000007,0x00000085,0x00000079,0x0005008e,0x00000007,
+ 0x00000086,0x00000085,0x0000006b,0x00060050,0x00000007,0x00000087,0x0000005d,0x0000005d,
+ 0x0000005d,0x00050081,0x00000007,0x00000088,0x00000087,0x00000086,0x00050088,0x00000007,
+ 0x00000089,0x00000084,0x00000088,0x0007000c,0x00000007,0x0000008c,0x00000001,0x0000001a,
+ 0x00000089,0x0000008b,0x000200fe,0x0000008c,0x00010038,0x00050036,0x00000006,0x0000001a,
0x00000000,0x00000017,0x00030037,0x00000016,0x00000018,0x00030037,0x00000016,0x00000019,
- 0x000200f8,0x0000001b,0x0004003b,0x00000016,0x0000008c,0x00000007,0x0004003b,0x00000016,
- 0x00000091,0x00000007,0x0004003d,0x00000006,0x00000085,0x00000018,0x000500bc,0x0000001e,
- 0x00000087,0x00000085,0x00000086,0x000300f7,0x00000089,0x00000000,0x000400fa,0x00000087,
- 0x00000088,0x00000089,0x000200f8,0x00000088,0x0004003d,0x00000006,0x0000008a,0x00000018,
- 0x000200fe,0x0000008a,0x000200f8,0x00000089,0x0004003d,0x00000006,0x0000008d,0x00000019,
- 0x00050083,0x00000006,0x0000008e,0x0000008d,0x00000086,0x0007000c,0x00000006,0x00000090,
- 0x00000001,0x00000028,0x0000008e,0x0000008f,0x0003003e,0x0000008c,0x00000090,0x0004003d,
- 0x00000006,0x00000092,0x0000008c,0x00050088,0x00000006,0x00000094,0x00000092,0x00000093,
- 0x0007000c,0x00000006,0x00000096,0x00000001,0x00000028,0x00000094,0x00000095,0x0003003e,
- 0x00000091,0x00000096,0x0004003d,0x00000006,0x00000097,0x00000018,0x00050083,0x00000006,
- 0x00000098,0x00000097,0x00000086,0x0004007f,0x00000006,0x00000099,0x00000098,0x0004003d,
- 0x00000006,0x0000009a,0x00000091,0x00050088,0x00000006,0x0000009b,0x00000099,0x0000009a,
- 0x0006000c,0x00000006,0x0000009c,0x00000001,0x0000001b,0x0000009b,0x00050083,0x00000006,
- 0x0000009d,0x00000053,0x0000009c,0x00050085,0x00000006,0x0000009e,0x00000095,0x0000009d,
- 0x00050081,0x00000006,0x0000009f,0x00000086,0x0000009e,0x000200fe,0x0000009f,0x00010038,
+ 0x000200f8,0x0000001b,0x0004003b,0x00000016,0x00000096,0x00000007,0x0004003b,0x00000016,
+ 0x0000009b,0x00000007,0x0004003d,0x00000006,0x0000008f,0x00000018,0x000500bc,0x00000024,
+ 0x00000091,0x0000008f,0x00000090,0x000300f7,0x00000093,0x00000000,0x000400fa,0x00000091,
+ 0x00000092,0x00000093,0x000200f8,0x00000092,0x0004003d,0x00000006,0x00000094,0x00000018,
+ 0x000200fe,0x00000094,0x000200f8,0x00000093,0x0004003d,0x00000006,0x00000097,0x00000019,
+ 0x00050083,0x00000006,0x00000098,0x00000097,0x00000090,0x0007000c,0x00000006,0x0000009a,
+ 0x00000001,0x00000028,0x00000098,0x00000099,0x0003003e,0x00000096,0x0000009a,0x0004003d,
+ 0x00000006,0x0000009c,0x00000096,0x00050088,0x00000006,0x0000009e,0x0000009c,0x0000009d,
+ 0x0007000c,0x00000006,0x000000a0,0x00000001,0x00000028,0x0000009e,0x0000009f,0x0003003e,
+ 0x0000009b,0x000000a0,0x0004003d,0x00000006,0x000000a1,0x00000018,0x00050083,0x00000006,
+ 0x000000a2,0x000000a1,0x00000090,0x0004007f,0x00000006,0x000000a3,0x000000a2,0x0004003d,
+ 0x00000006,0x000000a4,0x0000009b,0x00050088,0x00000006,0x000000a5,0x000000a3,0x000000a4,
+ 0x0006000c,0x00000006,0x000000a6,0x00000001,0x0000001b,0x000000a5,0x00050083,0x00000006,
+ 0x000000a7,0x0000005d,0x000000a6,0x00050085,0x00000006,0x000000a8,0x0000009f,0x000000a7,
+ 0x00050081,0x00000006,0x000000a9,0x00000090,0x000000a8,0x000200fe,0x000000a9,0x00010038,
0x00050036,0x0000001e,0x00000021,0x00000000,0x0000001f,0x00030037,0x0000001d,0x00000020,
- 0x000200f8,0x00000022,0x0004003b,0x00000016,0x000000a2,0x00000007,0x0004003b,0x00000016,
- 0x000000b0,0x00000007,0x0004003b,0x00000016,0x000000b4,0x00000007,0x0004003b,0x000000b8,
- 0x000000b9,0x00000007,0x0004003b,0x000000cc,0x000000cd,0x00000007,0x0004003b,0x00000016,
- 0x000000f5,0x00000007,0x00060041,0x000000ad,0x000000ae,0x000000a9,0x000000ab,0x000000ac,
- 0x0004003d,0x00000006,0x000000af,0x000000ae,0x0003003e,0x000000a2,0x000000af,0x0004003d,
- 0x00000006,0x000000b1,0x000000a2,0x0005008d,0x00000006,0x000000b3,0x000000b1,0x000000b2,
- 0x0003003e,0x000000b0,0x000000b3,0x0004003d,0x00000006,0x000000b5,0x000000a2,0x00050088,
- 0x00000006,0x000000b6,0x000000b5,0x000000b2,0x0006000c,0x00000006,0x000000b7,0x00000001,
- 0x00000008,0x000000b6,0x0003003e,0x000000b4,0x000000b7,0x0003003e,0x000000b9,0x000000ba,
- 0x000200f9,0x000000bb,0x000200f8,0x000000bb,0x000400f6,0x000000bd,0x000000be,0x00000000,
- 0x000200f9,0x000000bf,0x000200f8,0x000000bf,0x0004003d,0x000000aa,0x000000c0,0x000000b9,
- 0x000500b1,0x0000001e,0x000000c2,0x000000c0,0x000000c1,0x000400fa,0x000000c2,0x000000bc,
- 0x000000bd,0x000200f8,0x000000bc,0x0004003d,0x000000aa,0x000000c3,0x000000b9,0x0004006f,
- 0x00000006,0x000000c4,0x000000c3,0x0004003d,0x00000006,0x000000c5,0x000000b0,0x00050083,
- 0x00000006,0x000000c7,0x000000c5,0x000000c6,0x000500be,0x0000001e,0x000000c8,0x000000c4,
- 0x000000c7,0x000300f7,0x000000ca,0x00000000,0x000400fa,0x000000c8,0x000000c9,0x000000ca,
- 0x000200f8,0x000000c9,0x000200f9,0x000000bd,0x000200f8,0x000000ca,0x0004003d,0x000000aa,
- 0x000000cf,0x000000b9,0x00060041,0x000000d0,0x000000d1,0x000000a9,0x000000ce,0x000000cf,
- 0x0004003d,0x000000a3,0x000000d2,0x000000d1,0x0003003e,0x000000cd,0x000000d2,0x00050041,
- 0x00000016,0x000000d4,0x00000020,0x000000d3,0x0004003d,0x00000006,0x000000d5,0x000000d4,
- 0x00050041,0x00000016,0x000000d6,0x000000cd,0x000000d3,0x0004003d,0x00000006,0x000000d7,
- 0x000000d6,0x000500be,0x0000001e,0x000000d8,0x000000d5,0x000000d7,0x000300f7,0x000000da,
- 0x00000000,0x000400fa,0x000000d8,0x000000d9,0x000000da,0x000200f8,0x000000d9,0x00050041,
- 0x00000016,0x000000dc,0x00000020,0x000000db,0x0004003d,0x00000006,0x000000dd,0x000000dc,
- 0x00050041,0x00000016,0x000000de,0x000000cd,0x000000db,0x0004003d,0x00000006,0x000000df,
- 0x000000de,0x000500be,0x0000001e,0x000000e0,0x000000dd,0x000000df,0x000200f9,0x000000da,
- 0x000200f8,0x000000da,0x000700f5,0x0000001e,0x000000e1,0x000000d8,0x000000ca,0x000000e0,
- 0x000000d9,0x000300f7,0x000000e3,0x00000000,0x000400fa,0x000000e1,0x000000e2,0x000000e3,
- 0x000200f8,0x000000e2,0x00050041,0x00000016,0x000000e4,0x00000020,0x000000d3,0x0004003d,
- 0x00000006,0x000000e5,0x000000e4,0x00050041,0x00000016,0x000000e7,0x000000cd,0x000000e6,
- 0x0004003d,0x00000006,0x000000e8,0x000000e7,0x000500b8,0x0000001e,0x000000e9,0x000000e5,
- 0x000000e8,0x000200f9,0x000000e3,0x000200f8,0x000000e3,0x000700f5,0x0000001e,0x000000ea,
- 0x000000e1,0x000000da,0x000000e9,0x000000e2,0x000300f7,0x000000ec,0x00000000,0x000400fa,
- 0x000000ea,0x000000eb,0x000000ec,0x000200f8,0x000000eb,0x00050041,0x00000016,0x000000ed,
- 0x00000020,0x000000db,0x0004003d,0x00000006,0x000000ee,0x000000ed,0x00050041,0x00000016,
- 0x000000ef,0x000000cd,0x000000ac,0x0004003d,0x00000006,0x000000f0,0x000000ef,0x000500b8,
- 0x0000001e,0x000000f1,0x000000ee,0x000000f0,0x000200f9,0x000000ec,0x000200f8,0x000000ec,
- 0x000700f5,0x0000001e,0x000000f2,0x000000ea,0x000000e3,0x000000f1,0x000000eb,0x000300f7,
- 0x000000f4,0x00000000,0x000400fa,0x000000f2,0x000000f3,0x000000f4,0x000200f8,0x000000f3,
- 0x0004003d,0x00000006,0x000000f6,0x000000b4,0x0004003d,0x000000aa,0x000000f7,0x000000b9,
- 0x0004006f,0x00000006,0x000000f8,0x000000f7,0x0006000c,0x00000006,0x000000f9,0x00000001,
- 0x0000001d,0x000000f8,0x00050088,0x00000006,0x000000fa,0x000000f6,0x000000f9,0x0006000c,
- 0x00000006,0x000000fb,0x00000001,0x00000008,0x000000fa,0x0005008d,0x00000006,0x000000fd,
- 0x000000fb,0x000000fc,0x0003003e,0x000000f5,0x000000fd,0x0004003d,0x00000006,0x000000fe,
- 0x000000f5,0x000500ba,0x0000001e,0x000000ff,0x000000fe,0x000000c6,0x000200fe,0x000000ff,
- 0x000200f8,0x000000f4,0x000200f9,0x000000be,0x000200f8,0x000000be,0x0004003d,0x000000aa,
- 0x00000101,0x000000b9,0x00050080,0x000000aa,0x00000102,0x00000101,0x000000ab,0x0003003e,
- 0x000000b9,0x00000102,0x000200f9,0x000000bb,0x000200f8,0x000000bd,0x000200fe,0x00000103,
- 0x00010038
+ 0x000200f8,0x00000022,0x0004003b,0x00000016,0x000000ac,0x00000007,0x0004003b,0x00000023,
+ 0x000000bd,0x00000007,0x0004003b,0x000000d0,0x000000d1,0x00000007,0x0004003b,0x0000001d,
+ 0x000000d7,0x00000007,0x0004003b,0x0000001d,0x000000e5,0x00000007,0x00060041,0x000000b8,
+ 0x000000b9,0x000000b6,0x000000b7,0x000000b2,0x0004003d,0x00000006,0x000000ba,0x000000b9,
+ 0x0005008d,0x00000006,0x000000bc,0x000000ba,0x000000bb,0x0003003e,0x000000ac,0x000000bc,
+ 0x0003003e,0x000000bd,0x000000be,0x000200f9,0x000000bf,0x000200f8,0x000000bf,0x000400f6,
+ 0x000000c1,0x000000c2,0x00000000,0x000200f9,0x000000c3,0x000200f8,0x000000c3,0x0004003d,
+ 0x0000001e,0x000000c4,0x000000bd,0x000500b1,0x00000024,0x000000c6,0x000000c4,0x000000c5,
+ 0x000400fa,0x000000c6,0x000000c0,0x000000c1,0x000200f8,0x000000c0,0x0004003d,0x0000001e,
+ 0x000000c7,0x000000bd,0x0004006f,0x00000006,0x000000c8,0x000000c7,0x0004003d,0x00000006,
+ 0x000000c9,0x000000ac,0x00050083,0x00000006,0x000000cb,0x000000c9,0x000000ca,0x000500be,
+ 0x00000024,0x000000cc,0x000000c8,0x000000cb,0x000300f7,0x000000ce,0x00000000,0x000400fa,
+ 0x000000cc,0x000000cd,0x000000ce,0x000200f8,0x000000cd,0x000200f9,0x000000c1,0x000200f8,
+ 0x000000ce,0x0004003d,0x0000001e,0x000000d3,0x000000bd,0x00060041,0x000000d4,0x000000d5,
+ 0x000000b6,0x000000d2,0x000000d3,0x0004003d,0x000000af,0x000000d6,0x000000d5,0x0003003e,
+ 0x000000d1,0x000000d6,0x00050041,0x000000d9,0x000000da,0x000000d1,0x000000d8,0x0004003d,
+ 0x000000ae,0x000000db,0x000000da,0x000500c7,0x000000ae,0x000000dd,0x000000db,0x000000dc,
+ 0x00040070,0x00000006,0x000000de,0x000000dd,0x00050041,0x000000d9,0x000000df,0x000000d1,
+ 0x000000d8,0x0004003d,0x000000ae,0x000000e0,0x000000df,0x000500c2,0x000000ae,0x000000e2,
+ 0x000000e0,0x000000e1,0x00040070,0x00000006,0x000000e3,0x000000e2,0x00050050,0x0000001c,
+ 0x000000e4,0x000000de,0x000000e3,0x0003003e,0x000000d7,0x000000e4,0x00050041,0x000000d9,
+ 0x000000e7,0x000000d1,0x000000e6,0x0004003d,0x000000ae,0x000000e8,0x000000e7,0x000500c7,
+ 0x000000ae,0x000000e9,0x000000e8,0x000000dc,0x00040070,0x00000006,0x000000ea,0x000000e9,
+ 0x00050041,0x000000d9,0x000000eb,0x000000d1,0x000000e6,0x0004003d,0x000000ae,0x000000ec,
+ 0x000000eb,0x000500c2,0x000000ae,0x000000ed,0x000000ec,0x000000e1,0x00040070,0x00000006,
+ 0x000000ee,0x000000ed,0x00050050,0x0000001c,0x000000ef,0x000000ea,0x000000ee,0x0003003e,
+ 0x000000e5,0x000000ef,0x00050041,0x00000016,0x000000f0,0x00000020,0x000000d8,0x0004003d,
+ 0x00000006,0x000000f1,0x000000f0,0x00050041,0x00000016,0x000000f2,0x000000d7,0x000000d8,
+ 0x0004003d,0x00000006,0x000000f3,0x000000f2,0x000500be,0x00000024,0x000000f4,0x000000f1,
+ 0x000000f3,0x000300f7,0x000000f6,0x00000000,0x000400fa,0x000000f4,0x000000f5,0x000000f6,
+ 0x000200f8,0x000000f5,0x00050041,0x00000016,0x000000f7,0x00000020,0x000000e6,0x0004003d,
+ 0x00000006,0x000000f8,0x000000f7,0x00050041,0x00000016,0x000000f9,0x000000d7,0x000000e6,
+ 0x0004003d,0x00000006,0x000000fa,0x000000f9,0x000500be,0x00000024,0x000000fb,0x000000f8,
+ 0x000000fa,0x000200f9,0x000000f6,0x000200f8,0x000000f6,0x000700f5,0x00000024,0x000000fc,
+ 0x000000f4,0x000000ce,0x000000fb,0x000000f5,0x000300f7,0x000000fe,0x00000000,0x000400fa,
+ 0x000000fc,0x000000fd,0x000000fe,0x000200f8,0x000000fd,0x00050041,0x00000016,0x000000ff,
+ 0x00000020,0x000000d8,0x0004003d,0x00000006,0x00000100,0x000000ff,0x00050041,0x00000016,
+ 0x00000101,0x000000e5,0x000000d8,0x0004003d,0x00000006,0x00000102,0x00000101,0x000500b8,
+ 0x00000024,0x00000103,0x00000100,0x00000102,0x000200f9,0x000000fe,0x000200f8,0x000000fe,
+ 0x000700f5,0x00000024,0x00000104,0x000000fc,0x000000f6,0x00000103,0x000000fd,0x000300f7,
+ 0x00000106,0x00000000,0x000400fa,0x00000104,0x00000105,0x00000106,0x000200f8,0x00000105,
+ 0x00050041,0x00000016,0x00000107,0x00000020,0x000000e6,0x0004003d,0x00000006,0x00000108,
+ 0x00000107,0x00050041,0x00000016,0x00000109,0x000000e5,0x000000e6,0x0004003d,0x00000006,
+ 0x0000010a,0x00000109,0x000500b8,0x00000024,0x0000010b,0x00000108,0x0000010a,0x000200f9,
+ 0x00000106,0x000200f8,0x00000106,0x000700f5,0x00000024,0x0000010c,0x00000104,0x000000fe,
+ 0x0000010b,0x00000105,0x000300f7,0x0000010e,0x00000000,0x000400fa,0x0000010c,0x0000010d,
+ 0x0000010e,0x000200f8,0x0000010d,0x0004003d,0x0000001e,0x0000010f,0x000000bd,0x000200fe,
+ 0x0000010f,0x000200f8,0x0000010e,0x000200f9,0x000000c2,0x000200f8,0x000000c2,0x0004003d,
+ 0x0000001e,0x00000111,0x000000bd,0x00050080,0x0000001e,0x00000112,0x00000111,0x000000b7,
+ 0x0003003e,0x000000bd,0x00000112,0x000200f9,0x000000bf,0x000200f8,0x000000c1,0x000200fe,
+ 0x00000113,0x00010038,0x00050036,0x00000024,0x00000028,0x00000000,0x00000025,0x00030037,
+ 0x00000016,0x00000026,0x00030037,0x00000023,0x00000027,0x000200f8,0x00000029,0x0004003d,
+ 0x0000001e,0x00000116,0x00000027,0x000500af,0x00000024,0x00000117,0x00000116,0x000000be,
+ 0x000300f7,0x00000119,0x00000000,0x000400fa,0x00000117,0x00000118,0x00000119,0x000200f8,
+ 0x00000118,0x0004003d,0x00000006,0x0000011a,0x00000026,0x0004003d,0x0000001e,0x0000011b,
+ 0x00000027,0x0004006f,0x00000006,0x0000011c,0x0000011b,0x0006000c,0x00000006,0x0000011d,
+ 0x00000001,0x0000001d,0x0000011c,0x00050088,0x00000006,0x0000011e,0x0000011a,0x0000011d,
+ 0x0006000c,0x00000006,0x0000011f,0x00000001,0x00000008,0x0000011e,0x0005008d,0x00000006,
+ 0x00000121,0x0000011f,0x00000120,0x000500ba,0x00000024,0x00000122,0x00000121,0x000000ca,
+ 0x000200f9,0x00000119,0x000200f8,0x00000119,0x000700f5,0x00000024,0x00000123,0x00000117,
+ 0x00000029,0x00000122,0x00000118,0x000200fe,0x00000123,0x00010038,0x00050036,0x00000007,
+ 0x0000002b,0x00000000,0x00000009,0x00030037,0x00000008,0x0000002a,0x000200f8,0x0000002c,
+ 0x0004003b,0x00000008,0x00000126,0x00000007,0x0004003b,0x00000008,0x0000012b,0x00000007,
+ 0x0004003b,0x00000008,0x00000130,0x00000007,0x00070041,0x000000b8,0x00000128,0x000000b6,
+ 0x00000127,0x000000b7,0x000000b2,0x0004003d,0x00000006,0x00000129,0x00000128,0x000500ba,
+ 0x00000024,0x0000012a,0x00000129,0x000000ca,0x000300f7,0x0000012d,0x00000000,0x000400fa,
+ 0x0000012a,0x0000012c,0x0000012f,0x000200f8,0x0000012c,0x0004003d,0x00000007,0x0000012e,
+ 0x0000002a,0x0003003e,0x0000012b,0x0000012e,0x000200f9,0x0000012d,0x000200f8,0x0000012f,
+ 0x0004003d,0x00000007,0x00000131,0x0000002a,0x0003003e,0x00000130,0x00000131,0x00050039,
+ 0x00000007,0x00000132,0x00000011,0x00000130,0x0003003e,0x0000012b,0x00000132,0x000200f9,
+ 0x0000012d,0x000200f8,0x0000012d,0x0004003d,0x00000007,0x00000133,0x0000012b,0x0003003e,
+ 0x00000126,0x00000133,0x00060041,0x00000134,0x00000135,0x000000b6,0x00000127,0x000000be,
+ 0x0004003d,0x000000ad,0x00000136,0x00000135,0x0008004f,0x00000007,0x00000137,0x00000136,
+ 0x00000136,0x00000000,0x00000001,0x00000002,0x0004003d,0x00000007,0x00000138,0x00000126,
+ 0x00050094,0x00000006,0x00000139,0x00000137,0x00000138,0x00060041,0x00000134,0x0000013a,
+ 0x000000b6,0x00000127,0x000000b7,0x0004003d,0x000000ad,0x0000013b,0x0000013a,0x0008004f,
+ 0x00000007,0x0000013c,0x0000013b,0x0000013b,0x00000000,0x00000001,0x00000002,0x0004003d,
+ 0x00000007,0x0000013d,0x00000126,0x00050094,0x00000006,0x0000013e,0x0000013c,0x0000013d,
+ 0x00060041,0x00000134,0x0000013f,0x000000b6,0x00000127,0x000000d2,0x0004003d,0x000000ad,
+ 0x00000140,0x0000013f,0x0008004f,0x00000007,0x00000141,0x00000140,0x00000140,0x00000000,
+ 0x00000001,0x00000002,0x0004003d,0x00000007,0x00000142,0x00000126,0x00050094,0x00000006,
+ 0x00000143,0x00000141,0x00000142,0x00060050,0x00000007,0x00000144,0x00000139,0x0000013e,
+ 0x00000143,0x00070041,0x000000b8,0x00000145,0x000000b6,0x00000127,0x000000d2,0x000000b2,
+ 0x0004003d,0x00000006,0x00000146,0x00000145,0x0005008e,0x00000007,0x00000147,0x00000144,
+ 0x00000146,0x000200fe,0x00000147,0x00010038
};
diff --git a/app/src/main/cpp/waylandcomp/src/sc_layer.c b/app/src/main/cpp/waylandcomp/src/sc_layer.c
index c760d91c22..018664f9c3 100644
--- a/app/src/main/cpp/waylandcomp/src/sc_layer.c
+++ b/app/src/main/cpp/waylandcomp/src/sc_layer.c
@@ -3,6 +3,7 @@
#include "ahb_swapchain.h"
#include "droiddeck_color.h"
#include "vk_present.h"
+#include "framegen_bridge.h"
#include
#include
#include
@@ -64,6 +65,8 @@ static struct {
void (*setHdrMetadata_cta861_3)(ASurfaceTransaction *, ASurfaceControl *, const struct droiddeck_hdr_cta861_3 *);
const void *(*getNativeHandle)(const AHardwareBuffer *);
void (*setDesiredHdrHeadroom)(ASurfaceTransaction *, ASurfaceControl *, float);
+ void (*setEnableBackPressure)(ASurfaceTransaction *, ASurfaceControl *, bool);
+ void (*setDesiredPresentTime)(ASurfaceTransaction *, int64_t);
int state;
} api;
@@ -105,6 +108,8 @@ static int load_api(void) {
SYM(setHdrMetadata_smpte2086, "ASurfaceTransaction_setHdrMetadata_smpte2086");
SYM(setHdrMetadata_cta861_3, "ASurfaceTransaction_setHdrMetadata_cta861_3");
SYM(setDesiredHdrHeadroom, "ASurfaceTransaction_setDesiredHdrHeadroom");
+ SYM(setEnableBackPressure, "ASurfaceTransaction_setEnableBackPressure");
+ SYM(setDesiredPresentTime, "ASurfaceTransaction_setDesiredPresentTime");
#undef SYM
if (!api.createFromWindow || !api.release || !api.txCreate || !api.txDelete || !api.txApply ||
!api.setBuffer || !api.setZOrder || !api.setVisibility || !api.setGeometry ||
@@ -134,7 +139,7 @@ void sc_layer_set_frame_rate(float fps) {
}
-#define POOL_MAX 5
+#define POOL_MAX 8
struct slot {
AHardwareBuffer *ahb;
@@ -143,6 +148,7 @@ struct slot {
uint32_t fmt;
int release_fd;
int busy;
+ uint64_t generation;
};
struct layer {
@@ -158,6 +164,7 @@ struct layer {
ARect geo_src, geo_dst;
int geo_valid;
int alloc_tier;
+ unsigned import_failed_fmts;
uint64_t pool_modifier;
int first_logged;
int64_t drop_logged_ns;
@@ -169,6 +176,7 @@ struct layer {
int votes_rate;
float fps_applied;
int recreate_pending;
+ int pending_callbacks;
int32_t ds_applied;
@@ -183,6 +191,12 @@ static int g_layers_ready;
static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER;
static int g_pending_cb;
static unsigned g_stat_layer_frames;
+static pthread_mutex_t g_timeline_lock = PTHREAD_MUTEX_INITIALIZER;
+static int64_t g_timeline_present_ns, g_timeline_deadline_ns, g_timeline_period_ns;
+static int g_timeline_late;
+static int64_t g_cadence_seen_ns, g_cadence_gap_ns, g_cadence_target_ns;
+static int g_group_frames = 1, g_group_index;
+static unsigned g_stat_aimed_next, g_stat_aimed_later, g_stat_aimed_even;
static int g_two_logged;
static AHardwareBuffer *g_blank;
static ASurfaceControl *g_base_sc;
@@ -210,6 +224,7 @@ struct complete_ctx {
ASurfaceControl *sc;
int layer;
int prev_slot;
+ uint64_t prev_generation;
void *prev_token;
int retire;
};
@@ -219,17 +234,73 @@ static int64_t now_ns(void) {
return (int64_t)ts.tv_sec * 1000000000LL + ts.tv_nsec;
}
+void sc_layer_frame_timeline(int64_t present_ns, int64_t deadline_ns, int64_t period_ns) {
+ pthread_mutex_lock(&g_timeline_lock);
+ g_timeline_present_ns = present_ns;
+ g_timeline_deadline_ns = deadline_ns;
+ g_timeline_period_ns = period_ns;
+ pthread_mutex_unlock(&g_timeline_lock);
+}
+
+static int64_t cadence_target(int64_t now, int64_t earliest, int64_t period) {
+ const int64_t gap = now - g_cadence_seen_ns;
+ g_cadence_seen_ns = now;
+ if (gap <= 0 || gap > 8 * period) {
+ g_cadence_gap_ns = 0;
+ g_cadence_target_ns = earliest;
+ return earliest;
+ }
+ g_cadence_gap_ns = g_cadence_gap_ns ? (g_cadence_gap_ns * 15 + gap) / 16 : gap;
+ const int64_t steps = (g_cadence_gap_ns + period / 2) / period;
+ const int64_t even = g_cadence_target_ns + steps * period;
+ int64_t target = earliest;
+ if (steps >= 1 && llabs(g_cadence_gap_ns - steps * period) < period / 8 &&
+ even > earliest + period / 2 && even < earliest + steps * period + period / 2) {
+ target = even;
+ g_stat_aimed_even++;
+ }
+ g_cadence_target_ns = target;
+ return target;
+}
+
+static void apply_present_time(ASurfaceTransaction *tx, int game) {
+ if (!api.setDesiredPresentTime) return;
+ pthread_mutex_lock(&g_timeline_lock);
+ const int64_t present = g_timeline_present_ns, deadline = g_timeline_deadline_ns, period = g_timeline_period_ns;
+ pthread_mutex_unlock(&g_timeline_lock);
+ const int64_t now = now_ns();
+ if (period <= 0 || now - deadline > 4 * period) return;
+ int64_t ahead = now > deadline ? (now - deadline + period - 1) / period : -((deadline - now) / period);
+ const int64_t slack = deadline + ahead * period - now;
+ g_timeline_late = slack < (g_timeline_late ? period * 5 / 8 : period / 8);
+ if (g_timeline_late) { ahead++; g_stat_aimed_later++; } else g_stat_aimed_next++;
+ int64_t target = present + ahead * period;
+ if (game && g_group_index > 0) {
+ int64_t steps = (g_group_index * g_cadence_gap_ns / g_group_frames + period / 2) / period;
+ if (steps < g_group_index) steps = g_group_index;
+ if (target < g_cadence_target_ns + steps * period) target = g_cadence_target_ns + steps * period;
+ } else if (game) {
+ target = cadence_target(now, target, period);
+ }
+ if (game && g_group_frames > 1 && ++g_group_index >= g_group_frames) { g_group_index = 0; g_group_frames = 1; }
+ api.setDesiredPresentTime(tx, target - period / 2);
+}
+
static void on_complete(void *context, ASurfaceTransactionStats *stats) {
struct complete_ctx *ctx = context;
pthread_mutex_lock(&g_lock);
if (ctx->layer >= 0 && ctx->layer < SC_LAYER_COUNT && ctx->prev_slot >= 0 && ctx->prev_slot < POOL_MAX) {
struct slot *s = &g_layers[ctx->layer].slots[ctx->prev_slot];
- int fd = (stats && ctx->sc) ? api.prevReleaseFence(stats, ctx->sc) : -1;
- if (s->release_fd >= 0) close(s->release_fd);
- s->release_fd = fd;
- s->busy = 0;
+ if (s->generation == ctx->prev_generation) {
+ int fd = (stats && ctx->sc) ? api.prevReleaseFence(stats, ctx->sc) : -1;
+ if (s->release_fd >= 0) close(s->release_fd);
+ s->release_fd = fd;
+ s->busy = 0;
+ }
}
if (g_pending_cb > 0) g_pending_cb--;
+ if (ctx->layer >= 0 && ctx->layer < SC_LAYER_COUNT && g_layers[ctx->layer].pending_callbacks > 0)
+ g_layers[ctx->layer].pending_callbacks--;
pthread_mutex_unlock(&g_lock);
if (ctx->prev_token) {
int fd = (stats && ctx->sc) ? api.prevReleaseFence(stats, ctx->sc) : -1;
@@ -244,9 +315,15 @@ static int add_complete_on(ASurfaceTransaction *tx, struct layer *l, ASurfaceCon
struct complete_ctx *ctx = calloc(1, sizeof(*ctx));
if (!ctx) return -1;
ctx->sc = sc; ctx->layer = (int)(l - g_layers); ctx->prev_slot = prev_slot;
+ if (prev_slot >= 0 && prev_slot < POOL_MAX) {
+ pthread_mutex_lock(&g_lock);
+ ctx->prev_generation = l->slots[prev_slot].generation;
+ pthread_mutex_unlock(&g_lock);
+ }
ctx->prev_token = prev_token; ctx->retire = retire;
pthread_mutex_lock(&g_lock);
g_pending_cb++;
+ l->pending_callbacks++;
pthread_mutex_unlock(&g_lock);
api.setOnComplete(tx, ctx, on_complete);
return 0;
@@ -333,12 +410,16 @@ static void retire_sc(struct layer *l) {
ASurfaceTransaction *tx = api.txCreate();
if (tx) {
retire_ops(tx, l->sc);
- if (add_complete(tx, l, l->cur_slot, l->cur_token, 1) != 0) api.release(l->sc);
+ if (add_complete(tx, l, l->cur_slot, l->cur_token, 1) != 0) {
+ api.txDelete(tx);
+ droiddeck_log("layer", "%s: retirement deferred because its release callback could not be allocated", l->name);
+ return;
+ }
api.txApply(tx);
api.txDelete(tx);
} else {
- if (l->cur_token) ahb_swapchain_layer_released(l->cur_token, -1);
- api.release(l->sc);
+ droiddeck_log("layer", "%s: retirement deferred because a transaction could not be allocated", l->name);
+ return;
}
droiddeck_log("layer", "%s: SurfaceControl retired (window %p)", l->name, (void *)l->win);
l->sc = NULL; l->win = NULL;
@@ -357,20 +438,28 @@ static void drain_and_free_pools(void) {
if (!pending || now_ns() > deadline) break;
usleep(2000);
}
- pthread_mutex_lock(&g_lock);
for (int i = 0; i < SC_LAYER_COUNT; i++) {
+ struct layer *l = &g_layers[i];
+ pthread_mutex_lock(&g_lock);
+ const int pending = l->pending_callbacks;
+ if (pending || l->sc) {
+ pthread_mutex_unlock(&g_lock);
+ droiddeck_log("layer", "pool drain deferred for %s (%s)", l->name,
+ pending ? "SurfaceControl callbacks are pending" : "SurfaceControl retirement is deferred");
+ continue;
+ }
for (int j = 0; j < POOL_MAX; j++) {
- struct slot *s = &g_layers[i].slots[j];
+ struct slot *s = &l->slots[j];
if (s->release_fd >= 0) { struct pollfd p = {.fd = s->release_fd, .events = POLLIN}; poll(&p, 1, 100); close(s->release_fd); }
if (s->img) vkp_image_destroy(s->img);
if (s->ahb) AHardwareBuffer_release(s->ahb);
memset(s, 0, sizeof(*s));
s->release_fd = -1;
}
- g_layers[i].first_logged = 0;
- g_layers[i].logged_w = g_layers[i].logged_h = 0;
+ l->first_logged = 0;
+ l->logged_w = l->logged_h = 0;
+ pthread_mutex_unlock(&g_lock);
}
- pthread_mutex_unlock(&g_lock);
}
static int sniff_modifier(const struct droiddeck_native_handle *h, uint64_t *mod) {
@@ -401,10 +490,22 @@ static void describe_handle(const struct droiddeck_native_handle *h, char *out,
o += (size_t)snprintf(out + o, n - o, " %#x", (unsigned)h->data[h->numFds + i]);
}
+static int handle_fd(const struct droiddeck_native_handle *h, off_t need, int *which) {
+ for (int i = 0; h && i < h->numFds; i++) {
+ off_t sz = lseek(h->data[i], 0, SEEK_END);
+ if (sz >= 0) lseek(h->data[i], 0, SEEK_SET);
+ if (sz >= need) { if (which) *which = i; return h->data[i]; }
+ }
+ return -1;
+}
+
+int sc_layer_ahb_fd(AHardwareBuffer *ahb, uint64_t need) {
+ return load_api() == 0 ? handle_fd(api.getNativeHandle(ahb), (off_t)need, NULL) : -1;
+}
+
static int g_alloc_failed;
enum { TIER_UBWC, TIER_PLAIN, TIER_LINEAR };
-#define DROIDDECK_AHB_USAGE_VENDOR_UBWC (1ULL << 28)
static const char *tier_name(int tier) {
return tier == TIER_UBWC ? "asked for UBWC" : tier == TIER_PLAIN ? "no UBWC request" : "linear by request (CPU bit)";
@@ -412,14 +513,15 @@ static const char *tier_name(int tier) {
static int alloc_slot(struct layer *l, struct slot *s, int w, int h, uint32_t fmt) {
g_alloc_failed = 0;
- while (l->alloc_tier <= TIER_LINEAR) {
+ const unsigned fmt_bit = fmt == AHB_RGB10A2 ? 2u : 1u;
+ while (l->alloc_tier <= TIER_LINEAR && !(l->import_failed_fmts & fmt_bit)) {
const int tier = l->alloc_tier;
AHardwareBuffer_Desc d = {
.width = (uint32_t)w, .height = (uint32_t)h, .layers = 1,
.format = fmt,
.usage = AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT | AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE |
AHARDWAREBUFFER_USAGE_COMPOSER_OVERLAY |
- (tier == TIER_UBWC ? DROIDDECK_AHB_USAGE_VENDOR_UBWC : 0) |
+ (tier == TIER_UBWC ? SC_LAYER_AHB_USAGE_VENDOR_UBWC : 0) |
(tier == TIER_LINEAR ? AHARDWAREBUFFER_USAGE_CPU_READ_RARELY : 0)};
AHardwareBuffer *ahb = NULL;
if (AHardwareBuffer_allocate(&d, &ahb) != 0 || !ahb) {
@@ -443,6 +545,10 @@ static int alloc_slot(struct layer *l, struct slot *s, int w, int h, uint32_t fm
img = vkp_image_import_dmabuf(nh->data[0], fmt == AHB_RGB10A2 ? DRM_ABGR2101010 : DRM_ABGR8888, mod, w, h,
got.stride * 4, 0, 1);
path = "dma-buf (QTI handle)";
+ if (!img && mod == MOD_LINEAR && vkp_can_import_ahb()) {
+ img = vkp_image_import_ahb(ahb, info, sizeof(info));
+ if (img) { mod = SC_MOD_GRALLOC; path = "AHardwareBuffer"; }
+ }
} else {
if (tier == TIER_UBWC) {
char hd[256];
@@ -459,13 +565,8 @@ static int alloc_slot(struct layer *l, struct slot *s, int w, int h, uint32_t fm
path = "AHardwareBuffer";
img = vkp_image_import_ahb(ahb, info, sizeof(info));
if (!img && tier == TIER_LINEAR) {
- const off_t need = (off_t)got.stride * 4 * h;
- int fd = -1, which = -1;
- for (int i = 0; nh && i < nh->numFds; i++) {
- off_t sz = lseek(nh->data[i], 0, SEEK_END);
- if (sz >= 0) lseek(nh->data[i], 0, SEEK_SET);
- if (sz >= need) { fd = nh->data[i]; which = i; break; }
- }
+ int which = -1;
+ int fd = handle_fd(nh, (off_t)got.stride * 4 * h, &which);
if (fd < 0 && nh && nh->numFds > 0) { fd = nh->data[0]; which = 0; }
mod = MOD_LINEAR;
path = "linear dma-buf";
@@ -486,6 +587,7 @@ static int alloc_slot(struct layer *l, struct slot *s, int w, int h, uint32_t fm
nh ? nh->numFds : -1, nh ? nh->numInts : -1, hd);
AHardwareBuffer_release(ahb);
if (tier < TIER_LINEAR) { l->alloc_tier = tier + 1; continue; }
+ l->import_failed_fmts |= fmt_bit;
g_alloc_failed = 1;
return -1;
}
@@ -506,16 +608,27 @@ static int alloc_slot(struct layer *l, struct slot *s, int w, int h, uint32_t fm
return -1;
}
-static int fence_signalled(int fd) {
+static int fence_wait(int fd, int timeout_ms) {
struct pollfd p = {.fd = fd, .events = POLLIN};
int r;
- do { r = poll(&p, 1, 0); } while (r < 0 && errno == EINTR);
- return r > 0;
+ do { r = poll(&p, 1, timeout_ms); } while (r < 0 && errno == EINTR);
+ return r;
+}
+
+static int fence_signalled(int fd) {
+ return fence_wait(fd, 0) > 0;
+}
+
+static void slot_keep_fence(struct slot *s, int fd) {
+ pthread_mutex_lock(&g_lock);
+ if (s->release_fd < 0) s->release_fd = fd; else close(fd);
+ pthread_mutex_unlock(&g_lock);
}
static int take_free_slot(struct layer *l, int w, int h, uint32_t fmt, int *wait_fd) {
int idx = -1, pending = -1, fd = -1;
*wait_fd = -1;
+ g_alloc_failed = 0;
pthread_mutex_lock(&g_lock);
for (int i = 0; i < l->pool_n; i++) {
if (i == l->cur_slot || l->slots[i].busy) continue;
@@ -524,7 +637,10 @@ static int take_free_slot(struct layer *l, int w, int h, uint32_t fmt, int *wait
if (pending < 0) pending = i;
}
if (idx < 0) idx = pending;
- if (idx >= 0) { fd = l->slots[idx].release_fd; l->slots[idx].release_fd = -1; }
+ if (idx >= 0) {
+ fd = l->slots[idx].release_fd; l->slots[idx].release_fd = -1;
+ l->slots[idx].generation++;
+ }
pthread_mutex_unlock(&g_lock);
if (idx < 0) return -1;
if (fd >= 0 && fence_signalled(fd)) { close(fd); fd = -1; }
@@ -532,18 +648,11 @@ static int take_free_slot(struct layer *l, int w, int h, uint32_t fmt, int *wait
if (s->ahb && (s->w != w || s->h != h || s->fmt != fmt)) {
if (fd >= 0) { close(fd); fd = -1; }
vkp_image_destroy(s->img); AHardwareBuffer_release(s->ahb);
- memset(s, 0, sizeof(*s)); s->release_fd = -1;
+ const uint64_t generation = s->generation;
+ memset(s, 0, sizeof(*s)); s->release_fd = -1; s->generation = generation;
}
if (fd >= 0 && !vkp_can_wait_sync_fd()) {
- struct pollfd p = {.fd = fd, .events = POLLIN};
- int r;
- do { r = poll(&p, 1, 100); } while (r < 0 && errno == EINTR);
- if (r == 0) {
- pthread_mutex_lock(&g_lock);
- if (s->release_fd < 0) s->release_fd = fd; else close(fd);
- pthread_mutex_unlock(&g_lock);
- return -1;
- }
+ if (fence_wait(fd, 100) == 0) { slot_keep_fence(s, fd); return -1; }
close(fd);
fd = -1;
}
@@ -558,6 +667,8 @@ static int take_free_slot(struct layer *l, int w, int h, uint32_t fmt, int *wait
int sc_layer_available(void) { return load_api() == 0; }
+int sc_layer_queues(void) { return load_api() == 0 && api.setEnableBackPressure != NULL; }
+
void sc_layer_probe_dmabuf_fd(int fd) {
static int done;
if (done || fd < 0) return;
@@ -577,7 +688,13 @@ static int ensure_sc(struct layer *l) {
if (load_api() != 0) return -1;
ANativeWindow *win = vkp_window();
if (!win) return -1;
- if (l->sc && l->win != win) retire_sc(l);
+ if (l->sc && l->win != win) {
+ retire_sc(l);
+ if (l->sc) {
+ droiddeck_log("layer", "%s: keeping the old SurfaceControl until retirement completes", l->name);
+ return -1;
+ }
+ }
if (!l->sc) {
l->sc = api.createFromWindow(win, l->name);
if (!l->sc) { droiddeck_log("error", "layer: ASurfaceControl_createFromWindow(%s) failed", l->name); return -1; }
@@ -595,9 +712,10 @@ static int ensure_sc(struct layer *l) {
return 0;
}
-static int layer_geometry(int w, int h, int scene_w, int scene_h, int r[8]) {
+static int layer_geometry(int w, int h, int scene_w, int scene_h, const struct vkp_draw *draw, int r[8]) {
if (vkp_update_map(scene_w, scene_h) != 0) return -1;
- return vkp_map_rect(w, h, scene_w, scene_h, r) ? 1 : 0;
+ if (draw) return vkp_map_draw(draw, r) ? 1 : 0;
+ return vkp_map_rect(w, h, (const int[4]){0, 0, scene_w, scene_h}, r) ? 1 : 0;
}
static ARect g_game_src, g_game_dst;
@@ -735,6 +853,7 @@ static ASurfaceControl *swap_sc_begin(struct layer *l) {
if (!win || win != l->win) return NULL;
ASurfaceControl *fresh = api.createFromWindow(win, l->name);
if (!fresh) {
+ l->recreate_pending = 1;
droiddeck_log("error", "layer: %s: composition recovery could not create a new SurfaceControl", l->name);
return NULL;
}
@@ -749,26 +868,49 @@ static ASurfaceControl *swap_sc_begin(struct layer *l) {
return old;
}
+static void rollback_swap_sc(struct layer *l, ASurfaceControl *old, int was_shown,
+ int32_t ds_applied, uint32_t md_applied, float hr_applied) {
+ if (!old) return;
+ ASurfaceControl *fresh = l->sc;
+ l->sc = old;
+ l->shown = was_shown;
+ l->recreate_pending = 1;
+ l->geo_valid = 0;
+ l->fps_applied = -1.0f;
+ l->ds_applied = ds_applied; l->md_applied = md_applied; l->hr_applied = hr_applied;
+ if (fresh) api.release(fresh);
+}
+
static int present_slot(struct layer *l, int idx, const int r[8], const struct droiddeck_color *color,
int translucent) {
struct slot *s = &l->slots[idx];
ASurfaceTransaction *tx = api.txCreate();
if (!tx) return -1;
+ const int was_shown = l->shown;
+ const int32_t ds_applied = l->ds_applied;
+ const uint32_t md_applied = l->md_applied;
+ const float hr_applied = l->hr_applied;
ASurfaceControl *old = swap_sc_begin(l);
if (old) api.setZOrder(tx, l->sc, l->z);
api.setBuffer(tx, l->sc, s->ahb, -1);
+ if (api.setEnableBackPressure) api.setEnableBackPressure(tx, l->sc, true);
api.setBufferTransparency(tx, l->sc,
translucent ? ASC_TRANSPARENCY_TRANSLUCENT : ASC_TRANSPARENCY_OPAQUE);
+ if (!l->shown) api.setVisibility(tx, l->sc, ASC_VISIBILITY_SHOW);
+ if (old) retire_ops(tx, old);
+ if (add_complete_on(tx, l, old ? old : l->sc, l->cur_slot, l->cur_token, old ? 1 : 0) != 0) {
+ api.txDelete(tx);
+ rollback_swap_sc(l, old, was_shown, ds_applied, md_applied, hr_applied);
+ droiddeck_log("layer", "%s: frame transition skipped because its release callback could not be allocated", l->name);
+ return -1;
+ }
apply_geometry(tx, l, r);
apply_frame_rate(tx, l);
apply_colour(tx, l, color);
- if (!l->shown) api.setVisibility(tx, l->sc, ASC_VISIBILITY_SHOW);
- if (old) retire_ops(tx, old);
- if (add_complete_on(tx, l, old ? old : l->sc, l->cur_slot, l->cur_token, old ? 1 : 0) != 0 && old)
- api.release(old);
pthread_mutex_lock(&g_lock);
s->busy = 1;
pthread_mutex_unlock(&g_lock);
+ apply_present_time(tx, l == &g_layers[SC_LAYER_GAME]);
api.txApply(tx);
api.txDelete(tx);
l->cur_slot = idx;
@@ -799,11 +941,12 @@ unsigned sc_layer_drops_take(void) {
}
int sc_layer_present_ahb(AHardwareBuffer *ahb, int w, int h, int acquire_fd, void *token, int scene_w, int scene_h,
+ const struct vkp_draw *draw,
const struct droiddeck_color *color, uint32_t ahb_format) {
struct layer *l = layer_of(SC_LAYER_GAME);
int r[8];
if (!ahb || !token || ensure_sc(l) != 0) goto unavailable;
- int g = layer_geometry(w, h, scene_w, scene_h, r);
+ int g = layer_geometry(w, h, scene_w, scene_h, draw, r);
if (g < 0) goto unavailable;
if (g == 0) { if (acquire_fd >= 0) close(acquire_fd); sc_layer_hide(); return 1; }
if (token == l->cur_token && l->shown && !l->recreate_pending) {
@@ -818,22 +961,28 @@ int sc_layer_present_ahb(AHardwareBuffer *ahb, int w, int h, int acquire_fd, voi
}
ASurfaceTransaction *tx = api.txCreate();
if (!tx) goto unavailable;
+ const int was_shown = l->shown;
+ const int32_t ds_applied = l->ds_applied;
+ const uint32_t md_applied = l->md_applied;
+ const float hr_applied = l->hr_applied;
ASurfaceControl *old = swap_sc_begin(l);
if (old) api.setZOrder(tx, l->sc, l->z);
api.setBuffer(tx, l->sc, ahb, acquire_fd);
+ if (api.setEnableBackPressure) api.setEnableBackPressure(tx, l->sc, true);
api.setBufferTransparency(tx, l->sc, ASC_TRANSPARENCY_OPAQUE);
- apply_geometry(tx, l, r);
- apply_frame_rate(tx, l);
- apply_colour(tx, l, color);
if (!l->shown) api.setVisibility(tx, l->sc, ASC_VISIBILITY_SHOW);
if (old) retire_ops(tx, old);
if (add_complete_on(tx, l, old ? old : l->sc, l->cur_slot,
l->cur_token == token ? NULL : l->cur_token, old ? 1 : 0) != 0) {
api.txDelete(tx);
- if (old) api.release(old);
- l->ds_applied = -1; l->md_applied = 0; l->hr_applied = -1.0f;
+ rollback_swap_sc(l, old, was_shown, ds_applied, md_applied, hr_applied);
+ droiddeck_log("layer", "zero-copy: frame transition skipped because its release callback could not be allocated");
return -1;
}
+ apply_geometry(tx, l, r);
+ apply_frame_rate(tx, l);
+ apply_colour(tx, l, color);
+ apply_present_time(tx, 1);
api.txApply(tx);
api.txDelete(tx);
l->cur_slot = -1;
@@ -848,18 +997,19 @@ unavailable:
return -1;
}
-int sc_layer_present(struct vkp_image *src, int scene_w, int scene_h, const struct droiddeck_color *color) {
+int sc_layer_present(struct vkp_image *src, int scene_w, int scene_h, const struct vkp_draw *draw,
+ const struct droiddeck_color *color) {
struct layer *l = layer_of(SC_LAYER_GAME);
if (!src || ensure_sc(l) != 0) return -1;
int sw = vkp_image_width(src), sh = vkp_image_height(src);
int r[8];
- int g = layer_geometry(sw, sh, scene_w, scene_h, r);
+ int g = layer_geometry(sw, sh, scene_w, scene_h, draw, r);
if (g < 0) return -1;
if (g == 0) { sc_layer_hide(); return 0; }
int wait_fd;
int idx = take_free_slot(l, sw, sh, AHB_RGBA8, &wait_fd);
- if (idx < 0) { log_drop(l); return 0; }
+ if (idx < 0) { log_drop(l); return g_alloc_failed ? -1 : 0; }
if (vkp_blit_image(src, l->slots[idx].img, wait_fd) != 0) return -1;
if (present_slot(l, idx, r, color, 0) != 0) return -1;
if (color && color->dataspace) droiddeck_color_frame_shown(color, DROIDDECK_HDR_LAYER_COPY, AHB_RGBA8);
@@ -879,10 +1029,10 @@ int sc_layer_present_pass(const struct vkp_draw *draws, int n, int scene_w, int
if (!draws || n <= 0 || ensure_sc(l) != 0) return -1;
if (vkp_update_map(scene_w, scene_h) != 0) return -1;
if (vkp_pass_begin(scene_w, scene_h, draws, n, &rw, &rh) != 0) return -1;
- if (!vkp_map_rect(rw, rh, scene_w, scene_h, r)) { vkp_pass_abort(); sc_layer_hide(); return 0; }
+ if (!vkp_map_rect(rw, rh, (const int[4]){0, 0, scene_w, scene_h}, r)) { vkp_pass_abort(); sc_layer_hide(); return 0; }
int wait_fd;
int idx = take_free_slot(l, rw, rh, AHB_RGBA8, &wait_fd);
- if (idx < 0) { vkp_pass_abort(); log_drop(l); return 0; }
+ if (idx < 0) { vkp_pass_abort(); log_drop(l); return g_alloc_failed ? -1 : 0; }
if (vkp_pass_copy_to(l->slots[idx].img, wait_fd) != 0) return -1;
if (present_slot(l, idx, r, NULL, 0) != 0) return -1;
if (!l->first_logged) {
@@ -895,8 +1045,97 @@ int sc_layer_present_pass(const struct vkp_draw *draws, int n, int scene_w, int
return 0;
}
+static void slots_idle(struct layer *l, const int *idx, int from, int to) {
+ pthread_mutex_lock(&g_lock);
+ for (int i = from; i < to; i++) l->slots[idx[i]].busy = 0;
+ pthread_mutex_unlock(&g_lock);
+}
+
static uint32_t g_hdr_pool_fmt = AHB_RGB10A2;
+static int take_hdr_slot(struct layer *l, int w, int h, int *wait_fd) {
+ int idx = take_free_slot(l, w, h, g_hdr_pool_fmt, wait_fd);
+ if (idx < 0 && g_alloc_failed && g_hdr_pool_fmt == AHB_RGB10A2) {
+ g_hdr_pool_fmt = AHB_RGBA8;
+ droiddeck_log("color", "%s: this device will not make a 10-bit layer buffer (RGBA1010102): the HDR picture goes "
+ "on 8-bit buffers instead (still tagged BT2020_PQ; less precision)", l->name);
+ idx = take_free_slot(l, w, h, g_hdr_pool_fmt, wait_fd);
+ }
+ return idx;
+}
+
+int sc_layer_present_generated(const struct vkp_draw *draws, int n_draws, const struct vkp_hdr_frame *hf,
+ int scene_w, int scene_h, int composed, const struct droiddeck_color *color) {
+ struct layer *l = layer_of(SC_LAYER_GAME);
+ int rw = 0, rh = 0, r[8], idx[VKP_FG_MAX_GENERATIONS + 1], m = 0, first_fd = -1, have_fd = 0;
+ struct vkp_image *dst[VKP_FG_MAX_GENERATIONS], *real = NULL;
+ g_group_index = 0;
+ g_group_frames = 1;
+ if (!draws || n_draws <= 0 || ensure_sc(l) != 0) return -1;
+ if (vkp_update_map(scene_w, scene_h) != 0) return -1;
+ const int deep = hf && !hf->tonemap;
+ if (hf) composed = 1;
+ if (hf && hf->tonemap) color = NULL;
+ int n = vkp_pass_begin_generate(scene_w, scene_h, draws, n_draws, hf, &rw, &rh);
+ if (n < 0) return -1;
+ const int mapped = vkp_map_rect(rw, rh, (const int[4]){0, 0, scene_w, scene_h}, r);
+ if (!mapped) n = 0;
+ if (composed) {
+ if (!mapped) { vkp_pass_abort(); sc_layer_hide(); return 0; }
+ idx[VKP_FG_MAX_GENERATIONS] = deep ? take_hdr_slot(l, rw, rh, &first_fd)
+ : take_free_slot(l, rw, rh, AHB_RGBA8, &first_fd);
+ if (idx[VKP_FG_MAX_GENERATIONS] < 0) { vkp_pass_abort(); log_drop(l); return g_alloc_failed ? -1 : 0; }
+ pthread_mutex_lock(&g_lock);
+ l->slots[idx[VKP_FG_MAX_GENERATIONS]].busy = 1;
+ pthread_mutex_unlock(&g_lock);
+ real = l->slots[idx[VKP_FG_MAX_GENERATIONS]].img;
+ have_fd = 1;
+ }
+ for (; m < n; m++) {
+ int fd;
+ idx[m] = take_free_slot(l, rw, rh, deep ? g_hdr_pool_fmt : AHB_RGBA8, &fd);
+ if (idx[m] < 0) { log_drop(l); break; }
+ if (have_fd && fd >= 0) {
+ if (fence_wait(fd, 100) == 0) { slot_keep_fence(&l->slots[idx[m]], fd); log_drop(l); break; }
+ close(fd);
+ }
+ pthread_mutex_lock(&g_lock);
+ l->slots[idx[m]].busy = 1;
+ pthread_mutex_unlock(&g_lock);
+ dst[m] = l->slots[idx[m]].img;
+ if (!have_fd) { first_fd = fd; have_fd = 1; }
+ }
+ if (vkp_pass_copy_generated(dst, m, real, first_fd) != 0) {
+ slots_idle(l, idx, 0, m);
+ if (real) slots_idle(l, idx, VKP_FG_MAX_GENERATIONS, VKP_FG_MAX_GENERATIONS + 1);
+ return -1;
+ }
+ g_group_frames = m + 1;
+ for (int k = 0; k < m; k++) {
+ if (present_slot(l, idx[k], r, color, 0) == 0) continue;
+ slots_idle(l, idx, k, m);
+ if (real) slots_idle(l, idx, VKP_FG_MAX_GENERATIONS, VKP_FG_MAX_GENERATIONS + 1);
+ g_group_index = 0;
+ g_group_frames = 1;
+ return -1;
+ }
+ vkp_framegen_presented(m);
+ if (real) {
+ if (present_slot(l, idx[VKP_FG_MAX_GENERATIONS], r, color, 0) != 0) {
+ slots_idle(l, idx, VKP_FG_MAX_GENERATIONS, VKP_FG_MAX_GENERATIONS + 1);
+ g_group_index = 0;
+ g_group_frames = 1;
+ return -1;
+ }
+ l->first_logged = 1;
+ vkp_signal_first_frame();
+ }
+ if (hf && hf->color && hf->color->dataspace)
+ droiddeck_color_frame_shown(hf->color, deep ? DROIDDECK_HDR_COMPOSED : DROIDDECK_HDR_TONEMAPPED,
+ deep ? g_hdr_pool_fmt : AHB_RGBA8);
+ return m;
+}
+
int sc_layer_present_hdr_scene(const struct vkp_draw *draws, int n, const struct vkp_hdr_frame *hf,
int scene_w, int scene_h, const struct droiddeck_color *color) {
struct layer *l = layer_of(SC_LAYER_GAME);
@@ -904,19 +1143,11 @@ int sc_layer_present_hdr_scene(const struct vkp_draw *draws, int n, const struct
if (!draws || n <= 0 || !hf || ensure_sc(l) != 0) return -1;
if (vkp_update_map(scene_w, scene_h) != 0) return -1;
if (vkp_pass_begin_hdr(scene_w, scene_h, draws, n, hf, &rw, &rh) != 0) return -1;
- if (!vkp_map_rect(rw, rh, scene_w, scene_h, r)) { vkp_pass_abort(); sc_layer_hide(); return 0; }
+ if (!vkp_map_rect(rw, rh, (const int[4]){0, 0, scene_w, scene_h}, r)) { vkp_pass_abort(); sc_layer_hide(); return 0; }
const int tm = hf->tonemap;
- const uint32_t fmt = tm ? AHB_RGBA8 : g_hdr_pool_fmt;
- g_alloc_failed = 0;
int wait_fd;
- int idx = take_free_slot(l, rw, rh, fmt, &wait_fd);
- if (idx < 0 && g_alloc_failed && fmt == AHB_RGB10A2) {
- g_hdr_pool_fmt = AHB_RGBA8;
- droiddeck_log("color", "%s: this device will not make a 10-bit layer buffer (RGBA1010102): the HDR picture goes "
- "on 8-bit buffers instead (still tagged BT2020_PQ; less precision)", l->name);
- idx = take_free_slot(l, rw, rh, g_hdr_pool_fmt, &wait_fd);
- }
- if (idx < 0) { vkp_pass_abort(); log_drop(l); return 0; }
+ int idx = tm ? take_free_slot(l, rw, rh, AHB_RGBA8, &wait_fd) : take_hdr_slot(l, rw, rh, &wait_fd);
+ if (idx < 0) { vkp_pass_abort(); log_drop(l); return g_alloc_failed ? -1 : 0; }
if (vkp_pass_copy_to(l->slots[idx].img, wait_fd) != 0) return -1;
if (present_slot(l, idx, r, tm ? NULL : color, 0) != 0) return -1;
if (color && color->dataspace)
@@ -967,8 +1198,9 @@ int sc_layer_overlay_affordable(void) {
if (want)
droiddeck_log("layer", "overlay layer declined: this display rotates every layer %d° and the game "
"layer is scaled %dx%d -> %dx%d, and on that combination a second layer drops the "
- "whole frame to GPU composition for the rest of the session (measured). The window "
- "above the game goes on the copy path instead - same picture, one blit.",
+ "whole frame to GPU composition for the rest of the session (measured). A nested "
+ "compositor is asked to compose its own overlays into the game picture; any other "
+ "window above the game goes on the copy path instead.",
deg, sr[0], sr[1], ds[0], ds[1]);
else if (!first)
droiddeck_log("layer", "overlay layer allowed again: the game layer is no longer both rotated and "
@@ -986,7 +1218,7 @@ int sc_layer_present_overlay(struct vkp_image *src, const int geo[8], int transl
if (sw <= 0 || sh <= 0) return -1;
int wait_fd;
int idx = take_free_slot(l, sw, sh, AHB_RGBA8, &wait_fd);
- if (idx < 0) { log_drop(l); return 0; }
+ if (idx < 0) { log_drop(l); return g_alloc_failed ? -1 : 0; }
if (vkp_blit_image(src, l->slots[idx].img, wait_fd) != 0) return -1;
if (present_slot(l, idx, geo, NULL, translucent) != 0) return -1;
if (!l->first_logged) {
@@ -996,15 +1228,26 @@ int sc_layer_present_overlay(struct vkp_image *src, const int geo[8], int transl
return 0;
}
-static void hide_layer(struct layer *l) {
- if (!l->sc || !l->shown || api.state != 1) return;
+static int hide_layer(struct layer *l) {
+ if (!l->sc || !l->shown || api.state != 1) return 0;
ASurfaceTransaction *tx = api.txCreate();
- if (!tx) return;
- replace_with_blank(tx, l);
+ if (!tx) return -1;
api.setVisibility(tx, l->sc, ASC_VISIBILITY_HIDE);
- add_complete(tx, l, l->cur_slot, l->cur_token, 0);
+ if (add_complete(tx, l, l->cur_slot, l->cur_token, 0) != 0) {
+ /*
+ * Keep the current buffer attached when its release callback cannot
+ * be allocated. The hide can still apply without releasing the slot.
+ */
+ api.txApply(tx);
+ api.txDelete(tx);
+ l->shown = 0;
+ droiddeck_log("layer", "%s: hidden; buffer release deferred because its callback could not be allocated", l->name);
+ return 0;
+ }
+ replace_with_blank(tx, l);
api.txApply(tx); api.txDelete(tx);
l->shown = 0; l->cur_slot = -1; l->cur_token = NULL;
+ return 0;
}
void sc_layer_hide(void) {
@@ -1012,17 +1255,20 @@ void sc_layer_hide(void) {
int said = g_layers[SC_LAYER_GAME].shown || g_layers[SC_LAYER_OVERLAY].sc;
if (g_layers[SC_LAYER_OVERLAY].sc) sc_layer_hide_overlay();
if (g_layers[SC_LAYER_GAME].shown) hide_layer(&g_layers[SC_LAYER_GAME]);
- if (said) droiddeck_log("layer", "layers hidden (scene is not a single fullscreen window)");
+ if (said && !g_layers[SC_LAYER_GAME].shown && !g_layers[SC_LAYER_OVERLAY].shown)
+ droiddeck_log("layer", "layers hidden (scene is not a single fullscreen window)");
}
void sc_layer_hide_overlay(void) {
layers_init();
struct layer *l = &g_layers[SC_LAYER_OVERLAY];
if (!l->sc) return;
- if (l->shown) hide_layer(l);
+ if (l->shown && hide_layer(l) != 0) return;
retire_sc(l);
- droiddeck_log("layer", "%s: gone (nothing is above the game any more)", l->name);
- if (g_layers[SC_LAYER_GAME].sc) g_layers[SC_LAYER_GAME].recreate_pending = 1;
+ if (!l->sc) {
+ droiddeck_log("layer", "%s: gone (nothing is above the game any more)", l->name);
+ if (g_layers[SC_LAYER_GAME].sc) g_layers[SC_LAYER_GAME].recreate_pending = 1;
+ }
}
void sc_layer_window_gone(void) {
@@ -1033,6 +1279,13 @@ void sc_layer_window_gone(void) {
drain_and_free_pools();
}
+void sc_layer_aim_take(unsigned *next, unsigned *later, unsigned *even) {
+ *next = g_stat_aimed_next;
+ *later = g_stat_aimed_later;
+ *even = g_stat_aimed_even;
+ g_stat_aimed_next = g_stat_aimed_later = g_stat_aimed_even = 0;
+}
+
unsigned sc_layer_frames_take(void) {
unsigned n = g_stat_layer_frames;
g_stat_layer_frames = 0;
diff --git a/app/src/main/cpp/waylandcomp/src/sc_layer.h b/app/src/main/cpp/waylandcomp/src/sc_layer.h
index 58fe5f6d61..24a24fc25e 100644
--- a/app/src/main/cpp/waylandcomp/src/sc_layer.h
+++ b/app/src/main/cpp/waylandcomp/src/sc_layer.h
@@ -7,10 +7,13 @@
struct vkp_image;
struct vkp_draw;
struct droiddeck_color;
+struct vkp_hdr_frame;
enum sc_layer_id { SC_LAYER_GAME = 0, SC_LAYER_OVERLAY = 1, SC_LAYER_COUNT = 2 };
int sc_layer_available(void);
+#define SC_LAYER_AHB_USAGE_VENDOR_UBWC (1ULL << 28)
+int sc_layer_ahb_fd(AHardwareBuffer *ahb, uint64_t need);
void sc_layer_probe_dmabuf_fd(int fd);
@@ -18,21 +21,25 @@ int sc_layer_can_tag_hdr(void);
void sc_layer_hdr_symbols(char *out, size_t size);
-int sc_layer_present(struct vkp_image *src, int scene_w, int scene_h, const struct droiddeck_color *color);
+int sc_layer_present(struct vkp_image *src, int scene_w, int scene_h, const struct vkp_draw *draw,
+ const struct droiddeck_color *color);
int sc_layer_present_pass(const struct vkp_draw *draws, int n, int scene_w, int scene_h);
+int sc_layer_present_generated(const struct vkp_draw *draws, int n_draws, const struct vkp_hdr_frame *hf,
+ int scene_w, int scene_h, int composed, const struct droiddeck_color *color);
-struct vkp_hdr_frame;
int sc_layer_present_hdr_scene(const struct vkp_draw *draws, int n, const struct vkp_hdr_frame *hf,
int scene_w, int scene_h, const struct droiddeck_color *color);
int sc_layer_present_ahb(AHardwareBuffer *ahb, int w, int h, int acquire_fd, void *token,
- int scene_w, int scene_h, const struct droiddeck_color *color, uint32_t ahb_format);
+ int scene_w, int scene_h, const struct vkp_draw *draw, const struct droiddeck_color *color, uint32_t ahb_format);
void sc_layer_set_frame_rate(float fps);
int sc_layer_overlay_affordable(void);
+int sc_layer_queues(void);
+
int sc_layer_present_overlay(struct vkp_image *src, const int geo[8], int translucent);
void sc_layer_hide(void);
@@ -42,6 +49,8 @@ void sc_layer_hide_overlay(void);
void sc_layer_window_gone(void);
+void sc_layer_frame_timeline(int64_t present_ns, int64_t deadline_ns, int64_t period_ns);
+void sc_layer_aim_take(unsigned *next, unsigned *later, unsigned *even);
unsigned sc_layer_frames_take(void);
unsigned sc_layer_drops_take(void);
diff --git a/app/src/main/cpp/waylandcomp/src/vk_linear_dmabuf.h b/app/src/main/cpp/waylandcomp/src/vk_linear_dmabuf.h
new file mode 100644
index 0000000000..a820026930
--- /dev/null
+++ b/app/src/main/cpp/waylandcomp/src/vk_linear_dmabuf.h
@@ -0,0 +1,61 @@
+#ifndef VK_LINEAR_DMABUF_H
+#define VK_LINEAR_DMABUF_H
+
+#include
+#include
+
+static inline int vkp_linear_dmabuf_through_buffer(int drm_modifiers, uint64_t modifier, int blit_dst) {
+ return !drm_modifiers && modifier == 0 && !blit_dst;
+}
+
+static inline int vkp_linear_dmabuf_foreign_image(int dmabuf, int staged) {
+ return dmabuf && !staged;
+}
+
+static inline VkPipelineStageFlags vkp_linear_dmabuf_readback_stage(int in_general) {
+ return in_general ? VK_PIPELINE_STAGE_TRANSFER_BIT : VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT;
+}
+
+static inline VkAccessFlags vkp_linear_dmabuf_readback_access(int in_general) {
+ return in_general ? VK_ACCESS_TRANSFER_WRITE_BIT : 0;
+}
+
+static inline uint32_t vkp_linear_dmabuf_texel_bytes(VkFormat fmt) {
+ return fmt == VK_FORMAT_R16G16B16A16_SFLOAT ? 8u : 4u;
+}
+
+static inline int vkp_padded_linear_target_needs_layout(int drm_modifiers, uint64_t modifier, VkFormat fmt,
+ int w, uint32_t stride, uint32_t offset) {
+ return !drm_modifiers && modifier == 0 &&
+ (offset != 0 || (uint64_t)stride != (uint64_t)w * vkp_linear_dmabuf_texel_bytes(fmt));
+}
+
+static inline VkDeviceSize vkp_linear_dmabuf_copy(VkFormat fmt, int w, int h, uint32_t stride, uint32_t offset,
+ VkBufferImageCopy *copy) {
+ const uint32_t texel = vkp_linear_dmabuf_texel_bytes(fmt);
+ if (!copy || w <= 0 || h <= 0 || stride % texel || offset % texel || stride / texel < (uint32_t)w) return 0;
+ *copy = (VkBufferImageCopy){
+ .bufferOffset = offset,
+ .bufferRowLength = stride / texel,
+ .bufferImageHeight = (uint32_t)h,
+ .imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
+ .imageExtent = {(uint32_t)w, (uint32_t)h, 1},
+ };
+ return (VkDeviceSize)offset + (VkDeviceSize)stride * (VkDeviceSize)(h - 1) + (VkDeviceSize)w * texel;
+}
+
+static inline VkBufferMemoryBarrier vkp_linear_dmabuf_ownership(VkBuffer buffer, uint32_t queue_family,
+ VkAccessFlags access, int acquire) {
+ return (VkBufferMemoryBarrier){
+ .sType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER,
+ .srcAccessMask = acquire ? 0 : access,
+ .dstAccessMask = acquire ? access : 0,
+ .srcQueueFamilyIndex = acquire ? VK_QUEUE_FAMILY_FOREIGN_EXT : queue_family,
+ .dstQueueFamilyIndex = acquire ? queue_family : VK_QUEUE_FAMILY_FOREIGN_EXT,
+ .buffer = buffer,
+ .offset = 0,
+ .size = VK_WHOLE_SIZE,
+ };
+}
+
+#endif
diff --git a/app/src/main/cpp/waylandcomp/src/vk_loader.h b/app/src/main/cpp/waylandcomp/src/vk_loader.h
index 2742a1b82a..a54cc2cf3f 100644
--- a/app/src/main/cpp/waylandcomp/src/vk_loader.h
+++ b/app/src/main/cpp/waylandcomp/src/vk_loader.h
@@ -15,14 +15,16 @@
X(GetPhysicalDeviceImageFormatProperties2) X(GetPhysicalDeviceProperties2)
#define VK_DEVICE_FUNCS(X) \
- X(GetDeviceQueue) X(CreateSwapchainKHR) X(DestroySwapchainKHR) X(GetSwapchainImagesKHR) \
- X(CreateCommandPool) X(AllocateCommandBuffers) X(CreateSemaphore) X(CreateFence) \
- X(DeviceWaitIdle) X(CreateImage) X(GetImageMemoryRequirements) X(AllocateMemory) \
+ X(DestroyDevice) X(GetDeviceQueue) X(CreateSwapchainKHR) X(DestroySwapchainKHR) X(GetSwapchainImagesKHR) \
+ X(CreateCommandPool) X(DestroyCommandPool) X(AllocateCommandBuffers) X(CreateSemaphore) X(CreateFence) \
+ X(DeviceWaitIdle) X(DestroyFence) X(CreateImage) X(GetImageMemoryRequirements) X(AllocateMemory) \
X(BindImageMemory) X(DestroyImage) X(FreeMemory) X(AcquireNextImageKHR) \
X(ResetCommandBuffer) X(BeginCommandBuffer) X(CmdPipelineBarrier) X(CmdBlitImage) \
X(EndCommandBuffer) X(ResetFences) X(QueueSubmit) X(QueuePresentKHR) X(WaitForFences) \
X(QueueWaitIdle) X(GetMemoryFdPropertiesKHR) X(GetAndroidHardwareBufferPropertiesANDROID) \
- X(GetImageSubresourceLayout) X(MapMemory) X(UnmapMemory) X(CmdClearColorImage) \
+ X(GetImageSubresourceLayout) X(MapMemory) X(UnmapMemory) X(CmdClearColorImage) X(CmdCopyImageToBuffer) \
+ X(CreateBuffer) X(DestroyBuffer) X(GetBufferMemoryRequirements) X(BindBufferMemory) \
+ X(CmdCopyBufferToImage) \
\
X(CreateShaderModule) X(DestroyShaderModule) X(CreatePipelineLayout) X(DestroyPipelineLayout) \
X(CreateGraphicsPipelines) X(DestroyPipeline) X(CreateRenderPass) X(DestroyRenderPass) \
diff --git a/app/src/main/cpp/waylandcomp/src/vk_present.c b/app/src/main/cpp/waylandcomp/src/vk_present.c
index 53ddadaeb0..faa89e89b5 100644
--- a/app/src/main/cpp/waylandcomp/src/vk_present.c
+++ b/app/src/main/cpp/waylandcomp/src/vk_present.c
@@ -2,6 +2,7 @@
#include "vk_present.h"
#include "vk_loader.h"
#include "vk_external_image_sync.h"
+#include "vk_linear_dmabuf.h"
#include "sc_layer.h"
#include "effects_chain.h"
#include "cardboard.h"
@@ -30,6 +31,15 @@
#define LOGE(...) droiddeck_log("error", __VA_ARGS__)
#define MOD_INVALID VKP_MOD_INVALID
+enum vkp_image_source {
+ VKP_IMAGE_SOURCE_NONE = 0,
+ VKP_IMAGE_SOURCE_DMABUF,
+ VKP_IMAGE_SOURCE_AHB_WLEGL,
+ VKP_IMAGE_SOURCE_AHB_SOURCE,
+ VKP_IMAGE_SOURCE_AHB_TARGET,
+ VKP_IMAGE_SOURCE_SHM
+};
+
struct vkp_image {
VkImage image;
VkDeviceMemory mem;
@@ -42,13 +52,65 @@ struct vkp_image {
VkFormat fmt;
int sampled;
AHardwareBuffer *android_buffer;
+ int staged;
+ VkBuffer linear_buf;
+ VkDeviceMemory linear_mem;
+ VkBufferImageCopy linear_copy;
+ enum vkp_image_source source_type;
+ int source_fd;
+ uint32_t source_drm_format, source_stride, source_offset;
+ uint64_t source_modifier;
+ uint8_t *recovery_pixels;
+ struct vkp_image *next;
};
+static struct vkp_image *g_client_images;
+static struct vkp_image *g_rb;
+static int g_recovery_attempted;
+
+static void image_register(struct vkp_image *img) {
+ if (!img) return;
+ img->next = g_client_images;
+ g_client_images = img;
+}
+
+static void image_unregister(struct vkp_image *img) {
+ struct vkp_image **p = &g_client_images;
+ while (*p && *p != img) p = &(*p)->next;
+ if (*p) *p = img->next;
+ if (img) img->next = NULL;
+}
+
+static void image_track_dmabuf(struct vkp_image *img, int fd, uint32_t drm_format,
+ uint64_t modifier, uint32_t stride, uint32_t offset) {
+ img->source_fd = dup(fd);
+ img->source_type = img->source_fd >= 0 ? VKP_IMAGE_SOURCE_DMABUF : VKP_IMAGE_SOURCE_NONE;
+ img->source_drm_format = drm_format;
+ img->source_modifier = modifier;
+ img->source_stride = stride;
+ img->source_offset = offset;
+ image_register(img);
+ if (img->source_type == VKP_IMAGE_SOURCE_NONE)
+ droiddeck_log("gpu", "device recovery unavailable for one DMA-BUF: source FD could not be retained");
+}
+
+static void image_track_ahb(struct vkp_image *img, AHardwareBuffer *buffer,
+ enum vkp_image_source source_type) {
+ AHardwareBuffer_acquire(buffer);
+ img->android_buffer = buffer;
+ img->source_type = source_type;
+ image_register(img);
+}
+
+static void destroy_image_objects(struct vkp_image *img);
+
static ANativeWindow *g_window;
static int g_ahb_import;
+static int g_drm_modifiers;
static char *g_driver_path, *g_library_name, *g_native_lib_dir;
static int g_allow_driver_fallback;
static int g_dev_state;
+static int dev_init(void);
static void device_lost(const char *where);
static const char *vk_result_name(VkResult r);
@@ -99,7 +161,9 @@ static uint32_t g_qfam;
static VkCommandPool g_pool;
#define MAX_PRESENTS (1 + VKP_FG_MAX_GENERATIONS)
static VkCommandBuffer g_cmds[MAX_PRESENTS];
-static VkSemaphore g_acqs[MAX_PRESENTS], g_rnds[MAX_PRESENTS];
+static VkSemaphore g_acqs[MAX_PRESENTS];
+static VkSemaphore *g_rnds;
+static uint32_t g_rnd_count;
static VkFence g_fence;
static int g_swap_extra;
#define SCENE_FMT VK_FORMAT_R8G8B8A8_UNORM
@@ -168,6 +232,16 @@ static VkResult timed_wait(VkFence fence, uint64_t timeout) {
return g_dev_state == -2 ? VK_ERROR_DEVICE_LOST : VK_ERROR_UNKNOWN;
int64_t t0 = perf_now();
VkResult r = g_vk.WaitForFences(g_dev, 1, &fence, VK_TRUE, timeout);
+ if (r == VK_TIMEOUT) {
+ droiddeck_log("gpu", "GPU fence delayed: retaining frame resources until completion");
+ /* A scheduling delay does not invalidate the device. Keep this submission's
+ * resources and call stack alive, as the main render path already does. */
+ do {
+ r = g_vk.WaitForFences(g_dev, 1, &fence, VK_TRUE, UINT64_MAX);
+ } while (r == VK_TIMEOUT);
+ if (r == VK_SUCCESS)
+ droiddeck_log("gpu", "GPU fence completed: continuing presentation");
+ }
perf_add(&g_perf.wait_ns, &g_perf.wait_max_ns, &g_perf.waits, perf_now() - t0);
if (r != VK_SUCCESS && r != VK_ERROR_DEVICE_LOST)
quarantine_pending_work(r, "fence wait");
@@ -206,13 +280,16 @@ static pthread_cond_t g_req_condition = PTHREAD_COND_INITIALIZER;
static volatile int g_mode = VKP_MODE_STRETCH, g_align = VKP_ALIGN_CENTER;
+static volatile float g_zoom = 1.0f;
static struct {
int scene_w, scene_h, out_w, out_h, mode, align;
float kx, ky, off_x, off_y;
+ float base_kx, base_ky, base_off_x, base_off_y, zoom;
int rx, ry, rw, rh;
int valid;
} g_map;
+static pthread_mutex_t g_map_lock = PTHREAD_MUTEX_INITIALIZER;
static pthread_mutex_t g_game_picture_lock = PTHREAD_MUTEX_INITIALIZER;
static float g_game_picture_rect[4];
static int g_game_picture_placed;
@@ -258,12 +335,44 @@ static void reset_sync(void) {
VkSemaphoreCreateInfo semci = {.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO};
for (int k = 0; k < MAX_PRESENTS; k++) {
if (g_acqs[k]) g_vk.DestroySemaphore(g_dev, g_acqs[k], NULL);
- if (g_rnds[k]) g_vk.DestroySemaphore(g_dev, g_rnds[k], NULL);
- g_vk.CreateSemaphore(g_dev, &semci, NULL, &g_acqs[k]);
- g_vk.CreateSemaphore(g_dev, &semci, NULL, &g_rnds[k]);
+ g_acqs[k] = VK_NULL_HANDLE;
+ if (g_vk.CreateSemaphore(g_dev, &semci, NULL, &g_acqs[k]) != VK_SUCCESS)
+ droiddeck_log("error", "present: failed to recreate acquire semaphore %d", k);
}
}
+static void destroy_present_semaphores(void) {
+ if (g_dev && g_vk.DestroySemaphore) {
+ for (uint32_t i = 0; i < g_rnd_count; i++)
+ if (g_rnds[i]) g_vk.DestroySemaphore(g_dev, g_rnds[i], NULL);
+ }
+ free(g_rnds);
+ g_rnds = NULL;
+ g_rnd_count = 0;
+}
+
+static int create_present_semaphores(void) {
+ if (!g_nimg) return -1;
+ VkSemaphore *sems = calloc(g_nimg, sizeof(*sems));
+ if (!sems) return -1;
+ VkSemaphoreCreateInfo semci = {.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO};
+ for (uint32_t i = 0; i < g_nimg; i++) {
+ VkResult r = g_vk.CreateSemaphore(g_dev, &semci, NULL, &sems[i]);
+ if (r != VK_SUCCESS) {
+ droiddeck_log("error", "present: failed to create image semaphore %u (%s)",
+ i, vk_result_name(r));
+ for (uint32_t j = 0; j < i; j++)
+ if (sems[j]) g_vk.DestroySemaphore(g_dev, sems[j], NULL);
+ free(sems);
+ return -1;
+ }
+ }
+ destroy_present_semaphores();
+ g_rnds = sems;
+ g_rnd_count = g_nimg;
+ return 0;
+}
+
static void destroy_swapchain(void) {
g_base_black = 0;
if (g_dev_state != 1) return;
@@ -273,10 +382,11 @@ static void destroy_swapchain(void) {
else quarantine_pending_work(idle, "swapchain idle");
return;
}
- reset_sync();
for (uint32_t i = 0; i < g_nimg; i++) blendp_forget_image(g_images[i]);
if (g_swapchain) g_vk.DestroySwapchainKHR(g_dev, g_swapchain, NULL);
g_swapchain = VK_NULL_HANDLE;
+ destroy_present_semaphores();
+ reset_sync();
g_swap_md_identity = 0;
if (g_surface) g_vk.DestroySurfaceKHR(g_inst, g_surface, NULL);
g_surface = VK_NULL_HANDLE;
@@ -367,8 +477,21 @@ int vkp_completion_unknown(void) { return g_dev_state == -3; }
void vk_present_set_scale_mode(int mode, int alignment) {
if (mode < VKP_MODE_OFF || mode > VKP_MODE_INTEGER) mode = VKP_MODE_FIT;
if (alignment < VKP_ALIGN_CENTER || alignment > VKP_ALIGN_PICTURE_RIGHT) alignment = VKP_ALIGN_CENTER;
+ pthread_mutex_lock(&g_map_lock);
g_mode = mode;
g_align = alignment;
+ pthread_mutex_unlock(&g_map_lock);
+}
+
+void vk_present_set_zoom(float zoom) {
+ if (!(zoom >= 1.0f)) zoom = 1.0f;
+ if (zoom > 3.0f) zoom = 3.0f;
+ zoom = 1.0f + roundf((zoom - 1.0f) * 4.0f) * 0.25f;
+ pthread_mutex_lock(&g_map_lock);
+ if (g_zoom != zoom) {
+ g_zoom = zoom;
+ }
+ pthread_mutex_unlock(&g_map_lock);
}
static const char *mode_name(int m) {
@@ -394,13 +517,18 @@ static const char *align_name(int a) {
}
static void update_map(int scene_w, int scene_h) {
+ pthread_mutex_lock(&g_map_lock);
int mode = g_mode, align = g_align;
+ float zoom = g_zoom;
int W = (int)g_extent.width, H = (int)g_extent.height;
if (g_map.valid && g_map.scene_w == scene_w && g_map.scene_h == scene_h && g_map.out_w == W &&
- g_map.out_h == H && g_map.mode == mode && g_map.align == align)
+ g_map.out_h == H && g_map.mode == mode && g_map.align == align && g_map.zoom == zoom) {
+ pthread_mutex_unlock(&g_map_lock);
return;
+ }
+ g_map.valid = 0;
g_map.scene_w = scene_w; g_map.scene_h = scene_h; g_map.out_w = W; g_map.out_h = H;
- g_map.mode = mode; g_map.align = align;
+ g_map.mode = mode; g_map.align = align; g_map.zoom = zoom;
int half = H / 2;
switch (align) {
@@ -433,6 +561,82 @@ static void update_map(int scene_w, int scene_h) {
else if (align == VKP_ALIGN_PICTURE_BOTTOM) g_map.off_y = H - scene_h * g_map.ky;
else if (align == VKP_ALIGN_PICTURE_LEFT) g_map.off_x = 0;
else if (align == VKP_ALIGN_PICTURE_RIGHT) g_map.off_x = W - scene_w * g_map.kx;
+
+ g_map.base_kx = g_map.kx;
+ g_map.base_ky = g_map.ky;
+ g_map.base_off_x = g_map.off_x;
+ g_map.base_off_y = g_map.off_y;
+
+ if (!(g_map.base_kx > 0.0f) || !(g_map.base_ky > 0.0f) ||
+ !isfinite(g_map.base_kx) || !isfinite(g_map.base_ky) ||
+ !isfinite(g_map.base_off_x) || !isfinite(g_map.base_off_y)) {
+ pthread_mutex_lock(&g_game_picture_lock);
+ g_game_picture_placed = 0;
+ pthread_mutex_unlock(&g_game_picture_lock);
+ pthread_mutex_unlock(&g_map_lock);
+ return;
+ }
+
+ if (zoom > 1.0f) {
+ float cx = (float)g_map.rx + (float)g_map.rw * 0.5f;
+ float cy = (float)g_map.ry + (float)g_map.rh * 0.5f;
+ float image_w, image_h;
+
+ g_map.kx = g_map.base_kx * zoom;
+ g_map.ky = g_map.base_ky * zoom;
+ image_w = scene_w * g_map.kx;
+ image_h = scene_h * g_map.ky;
+
+ g_map.off_x = cx + (g_map.base_off_x - cx) * zoom;
+ g_map.off_y = cy + (g_map.base_off_y - cy) * zoom;
+
+ if (image_w >= g_map.rw) {
+ float min_x = (float)g_map.rx + g_map.rw - image_w;
+ if (g_map.off_x < min_x) g_map.off_x = min_x;
+ if (g_map.off_x > g_map.rx) g_map.off_x = (float)g_map.rx;
+ } else {
+ g_map.off_x = (float)g_map.rx + (g_map.rw - image_w) * 0.5f;
+ }
+
+ if (image_h >= g_map.rh) {
+ float min_y = (float)g_map.ry + g_map.rh - image_h;
+ if (g_map.off_y < min_y) g_map.off_y = min_y;
+ if (g_map.off_y > g_map.ry) g_map.off_y = (float)g_map.ry;
+ } else {
+ g_map.off_y = (float)g_map.ry + (g_map.rh - image_h) * 0.5f;
+ }
+ }
+
+ if (zoom > 1.0f &&
+ (!(g_map.kx > 0.0f) || !(g_map.ky > 0.0f) ||
+ !isfinite(g_map.kx) || !isfinite(g_map.ky) ||
+ !isfinite(g_map.off_x) || !isfinite(g_map.off_y))) {
+ if (g_map.base_kx > 0.0f && g_map.base_ky > 0.0f &&
+ isfinite(g_map.base_kx) && isfinite(g_map.base_ky) &&
+ isfinite(g_map.base_off_x) && isfinite(g_map.base_off_y)) {
+ g_map.kx = g_map.base_kx;
+ g_map.ky = g_map.base_ky;
+ g_map.off_x = g_map.base_off_x;
+ g_map.off_y = g_map.base_off_y;
+ } else {
+ pthread_mutex_lock(&g_game_picture_lock);
+ g_game_picture_placed = 0;
+ pthread_mutex_unlock(&g_game_picture_lock);
+ pthread_mutex_unlock(&g_map_lock);
+ return;
+ }
+ }
+
+ if (!(g_map.kx > 0.0f) || !(g_map.ky > 0.0f) ||
+ !isfinite(g_map.kx) || !isfinite(g_map.ky) ||
+ !isfinite(g_map.off_x) || !isfinite(g_map.off_y)) {
+ pthread_mutex_lock(&g_game_picture_lock);
+ g_game_picture_placed = 0;
+ pthread_mutex_unlock(&g_game_picture_lock);
+ pthread_mutex_unlock(&g_map_lock);
+ return;
+ }
+
g_map.valid = 1;
pthread_mutex_lock(&g_game_picture_lock);
g_game_picture_placed = mode == VKP_MODE_INTEGER || align == VKP_ALIGN_PICTURE_TOP || align == VKP_ALIGN_PICTURE_BOTTOM || align == VKP_ALIGN_PICTURE_LEFT || align == VKP_ALIGN_PICTURE_RIGHT;
@@ -445,6 +649,7 @@ static void update_map(int scene_w, int scene_h) {
mode_name(mode), align_name(align), scene_w, scene_h,
(int)(scene_w * g_map.kx + 0.5f), (int)(scene_h * g_map.ky + 0.5f),
(int)g_map.off_x, (int)g_map.off_y, W, H);
+ pthread_mutex_unlock(&g_map_lock);
}
int vkp_game_picture_rect(float rect[4]) {
@@ -456,16 +661,26 @@ int vkp_game_picture_rect(float rect[4]) {
}
int vkp_output_to_scene(double ox, double oy, double *sx, double *sy) {
- if (!g_map.valid || g_map.kx <= 0 || g_map.ky <= 0) return 0;
+ pthread_mutex_lock(&g_map_lock);
+ if (!g_map.valid || g_map.kx <= 0 || g_map.ky <= 0) {
+ pthread_mutex_unlock(&g_map_lock);
+ return 0;
+ }
*sx = (ox - g_map.off_x) / g_map.kx;
*sy = (oy - g_map.off_y) / g_map.ky;
+ pthread_mutex_unlock(&g_map_lock);
return 1;
}
int vkp_scene_to_output(double sx, double sy, double *ox, double *oy) {
- if (!g_map.valid || g_map.kx <= 0 || g_map.ky <= 0) return 0;
+ pthread_mutex_lock(&g_map_lock);
+ if (!g_map.valid || g_map.kx <= 0 || g_map.ky <= 0) {
+ pthread_mutex_unlock(&g_map_lock);
+ return 0;
+ }
*ox = sx * g_map.kx + g_map.off_x;
*oy = sy * g_map.ky + g_map.off_y;
+ pthread_mutex_unlock(&g_map_lock);
return 1;
}
@@ -474,6 +689,99 @@ void vkp_output_size(int *w, int *h) {
*h = (int)g_extent.height;
}
+int vkp_zoom_pan_cursor(double ox, double oy) {
+ double cursor_x, cursor_y;
+ float next_x, next_y;
+ float image_w, image_h;
+ int changed;
+
+ pthread_mutex_lock(&g_map_lock);
+ if (!g_map.valid || g_map.zoom != g_zoom || g_map.mode != g_mode ||
+ g_map.align != g_align || g_zoom <= 1.0f || g_zoom > 3.0f ||
+ g_map.scene_w <= 0 || g_map.scene_h <= 0 ||
+ g_map.rw <= 0 || g_map.rh <= 0 ||
+ g_map.base_kx <= 0.0f || g_map.base_ky <= 0.0f ||
+ g_map.kx <= 0.0f || g_map.ky <= 0.0f ||
+ !isfinite(g_map.base_kx) || !isfinite(g_map.base_ky) ||
+ !isfinite(g_map.kx) || !isfinite(g_map.ky) ||
+ !isfinite(g_map.off_x) || !isfinite(g_map.off_y)) {
+ pthread_mutex_unlock(&g_map_lock);
+ return 0;
+ }
+
+ if (!isfinite(ox) || !isfinite(oy)) {
+ pthread_mutex_unlock(&g_map_lock);
+ return 0;
+ }
+
+ cursor_x = (ox - g_map.off_x) / g_map.kx;
+ cursor_y = (oy - g_map.off_y) / g_map.ky;
+
+ if (cursor_x < 0.0) cursor_x = 0.0;
+ if (cursor_y < 0.0) cursor_y = 0.0;
+ if (cursor_x > g_map.scene_w - 1) cursor_x = g_map.scene_w - 1;
+ if (cursor_y > g_map.scene_h - 1) cursor_y = g_map.scene_h - 1;
+
+ next_x = g_map.off_x;
+ next_y = g_map.off_y;
+ image_w = g_map.scene_w * g_map.kx;
+ image_h = g_map.scene_h * g_map.ky;
+
+ if (image_w > g_map.rw) {
+ float left = ((float)g_map.rx - g_map.off_x) / g_map.kx;
+ float right = ((float)(g_map.rx + g_map.rw) - g_map.off_x) / g_map.kx;
+ float margin = (right - left) * 0.2f;
+
+ if (cursor_x < left + margin)
+ next_x += (float)(left + margin - cursor_x) * g_map.kx * 0.5f;
+ else if (cursor_x > right - margin)
+ next_x -= (float)(cursor_x - (right - margin)) * g_map.kx * 0.5f;
+
+ float min_x = (float)g_map.rx + g_map.rw - image_w;
+ if (next_x < min_x) next_x = min_x;
+ if (next_x > g_map.rx) next_x = (float)g_map.rx;
+ }
+
+ if (image_h > g_map.rh) {
+ float top = ((float)g_map.ry - g_map.off_y) / g_map.ky;
+ float bottom = ((float)(g_map.ry + g_map.rh) - g_map.off_y) / g_map.ky;
+ float margin = (bottom - top) * 0.2f;
+
+ if (cursor_y < top + margin)
+ next_y += (float)(top + margin - cursor_y) * g_map.ky * 0.5f;
+ else if (cursor_y > bottom - margin)
+ next_y -= (float)(cursor_y - (bottom - margin)) * g_map.ky * 0.5f;
+
+ float min_y = (float)g_map.ry + g_map.rh - image_h;
+ if (next_y < min_y) next_y = min_y;
+ if (next_y > g_map.ry) next_y = (float)g_map.ry;
+ }
+
+ if (!isfinite(next_x) || !isfinite(next_y)) {
+ pthread_mutex_unlock(&g_map_lock);
+ return 0;
+ }
+
+ changed = fabsf(next_x - g_map.off_x) >= 0.5f ||
+ fabsf(next_y - g_map.off_y) >= 0.5f;
+ if (!changed) {
+ pthread_mutex_unlock(&g_map_lock);
+ return 0;
+ }
+
+ g_map.off_x = next_x;
+ g_map.off_y = next_y;
+
+ pthread_mutex_lock(&g_game_picture_lock);
+ g_game_picture_rect[0] = g_map.off_x;
+ g_game_picture_rect[1] = g_map.off_y;
+ g_game_picture_rect[2] = g_map.off_x + g_map.scene_w * g_map.kx;
+ g_game_picture_rect[3] = g_map.off_y + g_map.scene_h * g_map.ky;
+ pthread_mutex_unlock(&g_game_picture_lock);
+ pthread_mutex_unlock(&g_map_lock);
+ return 1;
+}
+
static void init_black_image(void);
static int has_ext(VkExtensionProperties *e, uint32_t n, const char *name) {
@@ -512,7 +820,7 @@ static void log_display_driver(void) {
g_library_name);
}
-static int dev_init(void) {
+static int dev_init_once(void) {
if (g_dev_state != 0) return g_dev_state == 1 ? 0 : -1;
if (vk_loader_open(g_driver_path, g_library_name, g_native_lib_dir) != 0) {
@@ -628,6 +936,7 @@ static int dev_init(void) {
if (has_ext(exts, ne, import_exts[i])) dev_exts[n_dev_exts++] = import_exts[i];
else LOGE("present: driver MISSING %s (dmabuf import will fail)", import_exts[i]);
}
+ g_drm_modifiers = has_ext(exts, ne, "VK_EXT_image_drm_format_modifier");
int want_hdr_md = 0;
if (droiddeck_color_requested()) {
want_hdr_md = has_ext(exts, ne, VK_EXT_HDR_METADATA_EXTENSION_NAME);
@@ -713,6 +1022,189 @@ static int dev_init(void) {
return 0;
}
+static void suspend_client_images(void) {
+ for (struct vkp_image *img = g_client_images; img; img = img->next) {
+ if (img->source_type == VKP_IMAGE_SOURCE_SHM && !img->recovery_pixels)
+ img->source_type = VKP_IMAGE_SOURCE_NONE;
+ if (img->map && g_vk.UnmapMemory && g_dev) g_vk.UnmapMemory(g_dev, img->mem);
+ img->map = NULL;
+ destroy_image_objects(img);
+ }
+}
+
+static int restore_client_image(struct vkp_image *img) {
+ if (!img || img->source_type == VKP_IMAGE_SOURCE_NONE) return -1;
+ struct vkp_image *replacement = NULL;
+ switch (img->source_type) {
+ case VKP_IMAGE_SOURCE_DMABUF:
+ if (img->source_fd >= 0)
+ replacement = vkp_image_import_dmabuf(img->source_fd, img->source_drm_format, img->source_modifier,
+ img->w, img->h, img->source_stride, img->source_offset,
+ img->blit_dst);
+ break;
+ case VKP_IMAGE_SOURCE_AHB_WLEGL:
+ replacement = vkp_image_from_android_buffer(img->android_buffer);
+ break;
+ case VKP_IMAGE_SOURCE_AHB_SOURCE:
+ replacement = vkp_image_from_ahb(img->android_buffer);
+ break;
+ case VKP_IMAGE_SOURCE_AHB_TARGET:
+ replacement = vkp_image_import_ahb(img->android_buffer, NULL, 0);
+ break;
+ case VKP_IMAGE_SOURCE_SHM:
+ replacement = vkp_image_create_shm(img->w, img->h);
+ break;
+ default:
+ break;
+ }
+ if (!replacement) return -1;
+
+ struct vkp_image *next = img->next;
+ const enum vkp_image_source old_type = img->source_type;
+ const int old_fd = img->source_fd;
+ AHardwareBuffer *old_ahb = img->android_buffer;
+ uint8_t *pixels = img->recovery_pixels;
+ image_unregister(replacement);
+ *img = *replacement;
+ img->next = next;
+ free(replacement);
+ if (old_type == VKP_IMAGE_SOURCE_DMABUF && old_fd >= 0) close(old_fd);
+ if (old_ahb) AHardwareBuffer_release(old_ahb);
+ if (old_type == VKP_IMAGE_SOURCE_SHM && pixels && img->map) {
+ const size_t row_bytes = (size_t)img->w * 4;
+ for (int y = 0; y < img->h; y++)
+ memcpy((uint8_t *)img->map + img->offset + (size_t)y * img->row_pitch,
+ pixels + (size_t)y * row_bytes, row_bytes);
+ img->recovery_pixels = pixels;
+ pixels = NULL;
+ }
+ free(pixels);
+ return 0;
+}
+
+static int restore_client_images(void) {
+ int failed = 0;
+ for (struct vkp_image *img = g_client_images; img; ) {
+ struct vkp_image *next = img->next;
+ if (restore_client_image(img) != 0) {
+ failed++;
+ droiddeck_log("error", "GPU recovery: could not re-import a retained %dx%d client buffer",
+ img->w, img->h);
+ }
+ img = next;
+ }
+ return failed ? -1 : 0;
+}
+
+static void release_lost_device(void) {
+ vkp_pass_abort();
+ blendp_destroy();
+ vkp_effects_destroy();
+ hdrc_destroy();
+ vkp_cardboard_destroy();
+ vkp_framegen_device_lost();
+ vkp_gpu_busy_device_lost();
+ suspend_client_images();
+
+ if (g_rb) {
+ vkp_image_destroy(g_rb);
+ g_rb = NULL;
+ }
+ if (g_scene.img) g_vk.DestroyImage(g_dev, g_scene.img, NULL);
+ if (g_scene.mem) g_vk.FreeMemory(g_dev, g_scene.mem, NULL);
+ memset(&g_scene, 0, sizeof(g_scene));
+ struct vkp_img_slot *slots[] = {&g_mixed, &g_hdrscene, &g_fgscene};
+ for (size_t i = 0; i < sizeof(slots) / sizeof(slots[0]); i++) {
+ if (slots[i]->img) g_vk.DestroyImage(g_dev, slots[i]->img, NULL);
+ if (slots[i]->mem) g_vk.FreeMemory(g_dev, slots[i]->mem, NULL);
+ memset(slots[i], 0, sizeof(*slots[i]));
+ }
+ if (g_black_img) g_vk.DestroyImage(g_dev, g_black_img, NULL);
+ if (g_black_mem) g_vk.FreeMemory(g_dev, g_black_mem, NULL);
+ g_black_img = VK_NULL_HANDLE;
+ g_black_mem = VK_NULL_HANDLE;
+ g_black_state = 0;
+
+ for (int i = 0; i < MAX_PRESENTS; i++) {
+ if (g_acqs[i]) g_vk.DestroySemaphore(g_dev, g_acqs[i], NULL);
+ if (g_rnds[i]) g_vk.DestroySemaphore(g_dev, g_rnds[i], NULL);
+ g_acqs[i] = g_rnds[i] = VK_NULL_HANDLE;
+ }
+ if (g_wait_sem) g_vk.DestroySemaphore(g_dev, g_wait_sem, NULL);
+ g_wait_sem = VK_NULL_HANDLE;
+ if (g_fence) g_vk.DestroyFence(g_dev, g_fence, NULL);
+ g_fence = VK_NULL_HANDLE;
+ if (g_pool) g_vk.DestroyCommandPool(g_dev, g_pool, NULL);
+ g_pool = VK_NULL_HANDLE;
+ memset(g_cmds, 0, sizeof(g_cmds));
+
+ if (g_swapchain) g_vk.DestroySwapchainKHR(g_dev, g_swapchain, NULL);
+ g_swapchain = VK_NULL_HANDLE;
+ free(g_images);
+ g_images = NULL;
+ g_nimg = 0;
+ if (g_surface) g_vk.DestroySurfaceKHR(g_inst, g_surface, NULL);
+ g_surface = VK_NULL_HANDLE;
+ if (g_dev) g_vk.DestroyDevice(g_dev, NULL);
+ g_dev = VK_NULL_HANDLE;
+ if (g_inst) g_vk.DestroyInstance(g_inst, NULL);
+ g_inst = VK_NULL_HANDLE;
+ vk_loader_close();
+
+ g_pd = VK_NULL_HANDLE;
+ g_queue = VK_NULL_HANDLE;
+ g_qfam = 0;
+ memset(&g_memprops, 0, sizeof(g_memprops));
+ memset(&g_map, 0, sizeof(g_map));
+ memset(&g_extent, 0, sizeof(g_extent));
+ memset(&g_caps_extent, 0, sizeof(g_caps_extent));
+ g_surface_transform_known = 0;
+ g_surface_checked_ns = 0;
+ g_ahb_import = 0;
+ g_drm_modifiers = 0;
+ g_colorspace_ext = 0;
+ g_import_sem_fd = NULL;
+ g_ahb_properties = NULL;
+ g_set_hdr_metadata = NULL;
+ g_swap_extra = 0;
+ g_swap_is_hdr = 0;
+ g_swap_fmt = VK_FORMAT_UNDEFINED;
+ g_swap_md_identity = 0;
+ g_swap_retry_at_ns = 0;
+ g_swap_fail_logged = 0;
+ g_base_black = 0;
+ g_dev_state = 0;
+}
+
+static int dev_init(void) {
+ if (g_dev_state != -2) return dev_init_once();
+ if (g_recovery_attempted) return -1;
+ g_recovery_attempted = 1;
+ droiddeck_log("gpu", "VK_ERROR_DEVICE_LOST: attempting one in-process compositor recovery");
+ release_lost_device();
+ if (dev_init_once() != 0) {
+ if (g_dev_state == -3) {
+ droiddeck_log("error", "GPU recovery initialization left completion unknown; retaining resources");
+ return -1;
+ }
+ release_lost_device();
+ g_dev_state = -2;
+ droiddeck_log("error", "GPU recovery failed while recreating the Vulkan device; restart the session");
+ set_fault("the display GPU was lost and in-process recovery failed");
+ return -1;
+ }
+ if (restore_client_images() != 0) {
+ release_lost_device();
+ g_dev_state = -2;
+ droiddeck_log("error", "GPU recovery could not restore every client buffer; restart the session");
+ set_fault("the display GPU was lost and some client buffers could not be restored");
+ return -1;
+ }
+ g_recovery_attempted = 0;
+ droiddeck_log("gpu", "Vulkan device and retained client buffers recovered");
+ return 0;
+}
+
int vkp_ready(void) { return dev_init(); }
static int swap_init_locked(void);
@@ -918,12 +1410,35 @@ static int swap_init_locked(void) {
SWLOGE("present: vkCreateSwapchainKHR failed (%d)", (int)cr);
return -1;
}
- g_vk.GetSwapchainImagesKHR(g_dev, g_swapchain, &g_nimg, NULL);
+ cr = g_vk.GetSwapchainImagesKHR(g_dev, g_swapchain, &g_nimg, NULL);
+ if (cr != VK_SUCCESS || !g_nimg) {
+ SWLOGE("present: vkGetSwapchainImagesKHR count failed (%s)", vk_result_name(cr));
+ g_nimg = 0;
+ return -1;
+ }
g_images = calloc(g_nimg, sizeof(VkImage));
- g_vk.GetSwapchainImagesKHR(g_dev, g_swapchain, &g_nimg, g_images);
+ if (!g_images) {
+ SWLOGE("present: failed to allocate swapchain image list");
+ g_nimg = 0;
+ return -1;
+ }
+ cr = g_vk.GetSwapchainImagesKHR(g_dev, g_swapchain, &g_nimg, g_images);
+ if (cr != VK_SUCCESS) {
+ SWLOGE("present: vkGetSwapchainImagesKHR failed (%s)", vk_result_name(cr));
+ free(g_images);
+ g_images = NULL;
+ g_nimg = 0;
+ return -1;
+ }
+ if (create_present_semaphores() != 0) {
+ SWLOGE("present: failed to initialize per-image present semaphores");
+ return -1;
+ }
droiddeck_log("gpu", "screen output %ux%u, %u buffers, vsync%s", g_extent.width, g_extent.height, g_nimg,
g_swap_extra ? " (frame generation: several presents per frame)" : "");
+ droiddeck_log("gpu", "present synchronization: %u render-finished semaphores, one per swapchain image",
+ g_rnd_count);
return 0;
}
@@ -1088,6 +1603,10 @@ struct vkp_image *vkp_image_from_dmabuf(int fd, uint32_t drm_format, uint64_t mo
return vkp_image_import_dmabuf(fd, drm_format, modifier, w, h, stride, offset, 0);
}
+static int foreign_image(const struct vkp_image *img) {
+ return vkp_linear_dmabuf_foreign_image(img->dmabuf, img->staged);
+}
+
/* Return client sources to FOREIGN after their final read. The consuming paths
* wait for our fence before Wayland can release an ordinary dma-buf or an
* android_wlegl AHardwareBuffer. Producer-fence synchronization is separate from
@@ -1095,7 +1614,7 @@ struct vkp_image *vkp_image_from_dmabuf(int fd, uint32_t drm_format, uint64_t mo
static void release_external_client_image(VkCommandBuffer cmd, struct vkp_image *img) {
struct vkp_external_client_barrier_pair pair;
if (!img || !vkp_external_client_barrier_pair(
- img->image, g_qfam, img->dmabuf, img->blit_dst, &pair))
+ img->image, g_qfam, foreign_image(img), img->blit_dst, &pair))
return;
g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, 0, 0, NULL, 0, NULL, 1, &pair.release);
@@ -1109,6 +1628,37 @@ static void release_external_client_draws(VkCommandBuffer cmd, const struct vkp_
}
}
+static void stage_linear_dmabuf(VkCommandBuffer cmd, const struct vkp_image *img) {
+ if (!img || !img->linear_buf) return;
+ const VkImageSubresourceRange range = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
+ VkBufferMemoryBarrier acquire = vkp_linear_dmabuf_ownership(img->linear_buf, g_qfam, VK_ACCESS_TRANSFER_READ_BIT, 1);
+ VkImageMemoryBarrier write = {
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
+ .newLayout = VK_IMAGE_LAYOUT_GENERAL,
+ .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .image = img->image, .subresourceRange = range, .dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT};
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0,
+ 0, NULL, 1, &acquire, 1, &write);
+ g_vk.CmdCopyBufferToImage(cmd, img->linear_buf, img->image, VK_IMAGE_LAYOUT_GENERAL, 1, &img->linear_copy);
+ VkBufferMemoryBarrier release = vkp_linear_dmabuf_ownership(img->linear_buf, g_qfam, VK_ACCESS_TRANSFER_READ_BIT, 0);
+ VkImageMemoryBarrier read = {
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_GENERAL,
+ .newLayout = VK_IMAGE_LAYOUT_GENERAL,
+ .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .image = img->image, .subresourceRange = range, .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_SHADER_READ_BIT};
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, 0,
+ 0, NULL, 1, &release, 1, &read);
+}
+
+static void stage_linear_dmabufs(VkCommandBuffer cmd, const struct vkp_draw *draws, int count) {
+ for (int i = 0; i < count; i++) {
+ int seen = 0;
+ for (int j = 0; j < i; j++) if (draws[j].img == draws[i].img) { seen = 1; break; }
+ if (!seen) stage_linear_dmabuf(cmd, draws[i].img);
+ }
+}
+
int vkp_image_is_dmabuf(const struct vkp_image *img) {
return img && vkp_is_external_client_image(img->dmabuf, img->blit_dst);
}
@@ -1174,6 +1724,8 @@ struct vkp_image *vkp_image_from_android_buffer(AHardwareBuffer *buffer) {
if (result != VK_SUCCESS) goto fail;
AHardwareBuffer_acquire(buffer);
img->android_buffer = buffer;
+ img->source_type = VKP_IMAGE_SOURCE_AHB_WLEGL;
+ image_register(img);
return img;
fail:
LOGE("android_wlegl: Vulkan buffer import failed: %s", vk_result_name(result));
@@ -1181,18 +1733,122 @@ fail:
return NULL;
}
+static int optimal_sampled(VkFormat fmt) {
+ if (!g_vk.GetPhysicalDeviceFormatProperties2) return 0;
+ VkFormatProperties2 fp = {.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2};
+ g_vk.GetPhysicalDeviceFormatProperties2(g_pd, fmt, &fp);
+ const VkFormatFeatureFlags need = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT |
+ VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT;
+ return (fp.formatProperties.optimalTilingFeatures & need) == need;
+}
+
+static void destroy_image_objects(struct vkp_image *img) {
+ if (img->image) g_vk.DestroyImage(g_dev, img->image, NULL);
+ if (img->mem) g_vk.FreeMemory(g_dev, img->mem, NULL);
+ if (img->linear_buf) g_vk.DestroyBuffer(g_dev, img->linear_buf, NULL);
+ if (img->linear_mem) g_vk.FreeMemory(g_dev, img->linear_mem, NULL);
+ img->image = VK_NULL_HANDLE; img->mem = VK_NULL_HANDLE;
+ img->linear_buf = VK_NULL_HANDLE; img->linear_mem = VK_NULL_HANDLE;
+ img->staged = 0; img->in_general = 0;
+}
+
+static int import_linear_dmabuf(struct vkp_image *img, int fd, const VkBufferImageCopy *copy, VkDeviceSize need) {
+ int dupfd = dup(fd);
+ if (dupfd < 0) return -1;
+ VkDeviceSize size = need;
+ off_t end = lseek(dupfd, 0, SEEK_END);
+ if (end > 0 && (VkDeviceSize)end >= need) size = (VkDeviceSize)end;
+ lseek(dupfd, 0, SEEK_SET);
+ if (end > 0 && (VkDeviceSize)end < need) {
+ LOGE("dmabuf: the linear %dx%d buffer holds %lld bytes, its row pitch needs %llu", img->w, img->h,
+ (long long)end, (unsigned long long)need);
+ close(dupfd);
+ return -1;
+ }
+ VkExternalMemoryBufferCreateInfo ext = {
+ .sType = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO,
+ .handleTypes = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT};
+ VkBufferCreateInfo bci = {.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO, .pNext = &ext, .size = size,
+ .usage = img->blit_dst ? VK_BUFFER_USAGE_TRANSFER_DST_BIT : VK_BUFFER_USAGE_TRANSFER_SRC_BIT,
+ .sharingMode = VK_SHARING_MODE_EXCLUSIVE};
+ VkResult r = g_vk.CreateBuffer(g_dev, &bci, NULL, &img->linear_buf);
+ if (r != VK_SUCCESS) goto fail;
+ uint32_t allowed = 0xffffffff;
+ if (g_vk.GetMemoryFdPropertiesKHR) {
+ VkMemoryFdPropertiesKHR fp = {.sType = VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR};
+ if (g_vk.GetMemoryFdPropertiesKHR(g_dev, VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT,
+ dupfd, &fp) == VK_SUCCESS)
+ allowed = fp.memoryTypeBits;
+ }
+ VkMemoryRequirements breq;
+ g_vk.GetBufferMemoryRequirements(g_dev, img->linear_buf, &breq);
+ int bidx = memory_type(breq.memoryTypeBits & allowed, 0);
+ r = VK_ERROR_FORMAT_NOT_SUPPORTED;
+ if (bidx < 0) goto fail;
+ VkImportMemoryFdInfoKHR imp = {.sType = VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR,
+ .handleType = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT, .fd = dupfd};
+ VkMemoryDedicatedAllocateInfo ded = {.sType = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO,
+ .pNext = &imp, .buffer = img->linear_buf};
+ VkMemoryAllocateInfo mai = {.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, .pNext = &ded,
+ .allocationSize = breq.size, .memoryTypeIndex = (uint32_t)bidx};
+ r = g_vk.AllocateMemory(g_dev, &mai, NULL, &img->linear_mem);
+ if (r != VK_SUCCESS) goto fail;
+ dupfd = -1;
+ r = g_vk.BindBufferMemory(g_dev, img->linear_buf, img->linear_mem, 0);
+ if (r != VK_SUCCESS) goto fail;
+
+ VkImageCreateInfo ici = {
+ .sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, .imageType = VK_IMAGE_TYPE_2D, .format = img->fmt,
+ .extent = {(uint32_t)img->w, (uint32_t)img->h, 1}, .mipLevels = 1, .arrayLayers = 1,
+ .samples = VK_SAMPLE_COUNT_1_BIT, .tiling = VK_IMAGE_TILING_OPTIMAL,
+ .usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT |
+ (img->sampled ? VK_IMAGE_USAGE_SAMPLED_BIT : 0),
+ .sharingMode = VK_SHARING_MODE_EXCLUSIVE, .initialLayout = VK_IMAGE_LAYOUT_UNDEFINED};
+ r = g_vk.CreateImage(g_dev, &ici, NULL, &img->image);
+ if (r != VK_SUCCESS) goto fail;
+ VkMemoryRequirements ireq;
+ g_vk.GetImageMemoryRequirements(g_dev, img->image, &ireq);
+ int iidx = memory_type(ireq.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT);
+ if (iidx < 0) iidx = memory_type(ireq.memoryTypeBits, 0);
+ r = VK_ERROR_FORMAT_NOT_SUPPORTED;
+ if (iidx < 0) goto fail;
+ VkMemoryAllocateInfo iai = {.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO,
+ .allocationSize = ireq.size, .memoryTypeIndex = (uint32_t)iidx};
+ r = g_vk.AllocateMemory(g_dev, &iai, NULL, &img->mem);
+ if (r != VK_SUCCESS) goto fail;
+ r = g_vk.BindImageMemory(g_dev, img->image, img->mem, 0);
+ if (r != VK_SUCCESS) goto fail;
+ img->linear_copy = *copy;
+ img->staged = 1;
+ img->in_general = 1;
+ return 0;
+fail:
+ LOGE("dmabuf: %s the linear %dx%d buffer at its row pitch failed (%s)",
+ img->blit_dst ? "writing" : "reading", img->w, img->h, vk_result_name(r));
+ if (dupfd >= 0) close(dupfd);
+ destroy_image_objects(img);
+ return -1;
+}
+
struct vkp_image *vkp_image_import_dmabuf(int fd, uint32_t drm_format, uint64_t modifier, int w, int h,
uint32_t stride, uint32_t offset, int as_blit_dst) {
if (modifier == MOD_INVALID || w <= 0 || h <= 0) return NULL;
if (dev_init() != 0) return NULL;
+ const VkFormat format = drm_to_vk(drm_format);
+ const int padded_target = as_blit_dst &&
+ vkp_padded_linear_target_needs_layout(g_drm_modifiers, modifier, format, w, stride, offset);
+ if (padded_target && !g_vk.CmdCopyImageToBuffer) return NULL;
+
struct vkp_image *img = calloc(1, sizeof(*img));
if (!img) return NULL;
img->w = w; img->h = h; img->dmabuf = 1; img->blit_dst = as_blit_dst ? 1 : 0;
- img->fmt = drm_to_vk(drm_format);
+ img->fmt = format;
+ const int through_buffer = padded_target || vkp_linear_dmabuf_through_buffer(g_drm_modifiers, modifier, as_blit_dst);
const VkImageUsageFlags sampled_usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT;
- img->sampled = !as_blit_dst && g_vk.GetPhysicalDeviceImageFormatProperties2 &&
- modifier_importable(img->fmt, modifier, sampled_usage);
+ const int modifier_sampled = !as_blit_dst && g_drm_modifiers && g_vk.GetPhysicalDeviceImageFormatProperties2 &&
+ modifier_importable(img->fmt, modifier, sampled_usage);
+ img->sampled = !as_blit_dst && (through_buffer ? optimal_sampled(img->fmt) : modifier_sampled);
/* Each new format/modifier/size a client hands over, once, for the graphics report: a colour
* or swizzle mismatch on a non-Adreno driver shows up as the pair it arrived as. */
{
@@ -1203,10 +1859,11 @@ struct vkp_image *vkp_image_import_dmabuf(int fd, uint32_t drm_format, uint64_t
if (seen[i].fmt == drm_format && seen[i].mod == modifier && seen[i].w == w && seen[i].h == h) known = 1;
if (!known && nseen < 32) {
seen[nseen].fmt = drm_format; seen[nseen].mod = modifier; seen[nseen].w = w; seen[nseen].h = h; nseen++;
- droiddeck_log("gpu", "dmabuf import: %c%c%c%c %s %dx%d stride %u offset %u -> vk format %d, %s%s",
+ droiddeck_log("gpu", "dmabuf import: %c%c%c%c %s %dx%d stride %u offset %u -> vk format %d, %s%s%s",
drm_format & 0xff, (drm_format >> 8) & 0xff, (drm_format >> 16) & 0xff, (drm_format >> 24) & 0xff,
vkp_modifier_name(modifier), w, h, stride, offset, (int)img->fmt,
- img->sampled ? "sampled" : "copied", as_blit_dst ? ", blit target" : "");
+ img->sampled ? "sampled" : "copied", as_blit_dst ? ", blit target" : "",
+ through_buffer ? ", trying a copy at its row pitch (no VK_EXT_image_drm_format_modifier)" : "");
}
}
@@ -1214,6 +1871,18 @@ struct vkp_image *vkp_image_import_dmabuf(int fd, uint32_t drm_format, uint64_t
* vkCreateImage, which left the whole window unshown (David Cimo). One packed, 64-byte aligned
* row is what a linear buffer that small holds. */
if (stride == 0 && modifier == 0) stride = ((uint32_t)w * 4 + 63) & ~63u;
+ if (through_buffer) {
+ VkBufferImageCopy linear_copy;
+ const VkDeviceSize linear_size = vkp_linear_dmabuf_copy(img->fmt, w, h, stride, offset, &linear_copy);
+ if (linear_size && import_linear_dmabuf(img, fd, &linear_copy, linear_size) == 0) {
+ if (padded_target) droiddeck_log("gpu", "linear layer target %dx%d writes at pitch %u via DMA-BUF",
+ w, h, stride);
+ image_track_dmabuf(img, fd, drm_format, modifier, stride, offset);
+ return img;
+ }
+ if (padded_target) { free(img); return NULL; }
+ img->sampled = modifier_sampled;
+ }
VkSubresourceLayout plane = {.offset = offset, .rowPitch = stride};
VkImageDrmFormatModifierExplicitCreateInfoEXT modInfo = {
.sType = VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT,
@@ -1278,11 +1947,12 @@ struct vkp_image *vkp_image_import_dmabuf(int fd, uint32_t drm_format, uint64_t
g_vk.FreeMemory(g_dev, img->mem, NULL); g_vk.DestroyImage(g_dev, img->image, NULL);
free(img); return NULL;
}
+ image_track_dmabuf(img, fd, drm_format, modifier, stride, offset);
return img;
}
void vkp_wait_idle(void) {
- if (g_dev && g_vk.DeviceWaitIdle) g_vk.DeviceWaitIdle(g_dev);
+ if (g_dev_state == 1 && g_dev && g_vk.DeviceWaitIdle) g_vk.DeviceWaitIdle(g_dev);
}
struct vkp_image *vkp_image_from_ahb(AHardwareBuffer *ahb) {
@@ -1332,11 +2002,12 @@ struct vkp_image *vkp_image_from_ahb(AHardwareBuffer *ahb) {
if (img->mem) g_vk.FreeMemory(g_dev, img->mem, NULL);
g_vk.DestroyImage(g_dev, img->image, NULL); free(img); return NULL;
}
+ image_track_ahb(img, ahb, VKP_IMAGE_SOURCE_AHB_SOURCE);
return img;
}
int vkp_can_import_ahb(void) {
- return dev_init() == 0 && g_vendor_id != VKP_VENDOR_QUALCOMM && g_ahb_import &&
+ return dev_init() == 0 && g_vendor_id != VKP_VENDOR_QUALCOMM && !g_library_name && g_ahb_import &&
g_vk.GetAndroidHardwareBufferPropertiesANDROID;
}
@@ -1427,6 +2098,7 @@ struct vkp_image *vkp_image_import_ahb(struct AHardwareBuffer *ahb, char *info,
if (info && info_n)
snprintf(info, info_n, "VkFormat %d, %llu bytes, memory type %d of memoryTypeBits %#x", (int)fp.format,
(unsigned long long)hp.allocationSize, idx, hp.memoryTypeBits);
+ image_track_ahb(img, ahb, VKP_IMAGE_SOURCE_AHB_TARGET);
return img;
}
@@ -1480,13 +2152,34 @@ struct vkp_image *vkp_image_create_shm(int w, int h) {
if (g_vk.MapMemory(g_dev, img->mem, 0, req.size, 0, &img->map) != VK_SUCCESS) {
vkp_image_destroy(img); return NULL;
}
+ img->source_type = VKP_IMAGE_SOURCE_SHM;
+ image_register(img);
return img;
}
void vkp_image_upload_shm(struct vkp_image *img, const void *data, int stride) {
- if (g_dev_state != 1 || !img || !img->map || !data) return;
- size_t rowbytes = (size_t)img->w * 4;
+ if (!img || !data || img->w <= 0 || img->h <= 0 || stride <= 0 ||
+ (size_t)img->w > SIZE_MAX / 4)
+ return;
+
+ const size_t full_rowbytes = (size_t)img->w * 4;
+ size_t rowbytes = full_rowbytes;
if ((size_t)stride < rowbytes) rowbytes = (size_t)stride;
+
+ if (img->source_type == VKP_IMAGE_SOURCE_SHM && !img->recovery_pixels) {
+ if ((size_t)img->h <= SIZE_MAX / full_rowbytes) {
+ const size_t bytes = full_rowbytes * (size_t)img->h;
+ img->recovery_pixels = calloc(1, bytes);
+ }
+ if (!img->recovery_pixels) img->source_type = VKP_IMAGE_SOURCE_NONE;
+ }
+ if (img->source_type == VKP_IMAGE_SOURCE_SHM && img->recovery_pixels) {
+ for (int y = 0; y < img->h; y++)
+ memcpy(img->recovery_pixels + (size_t)y * full_rowbytes,
+ (const uint8_t *)data + (size_t)y * stride, rowbytes);
+ }
+
+ if (g_dev_state != 1 || !img->map) return;
for (int y = 0; y < img->h; y++)
memcpy((uint8_t *)img->map + img->offset + (size_t)y * img->row_pitch,
(const uint8_t *)data + (size_t)y * stride, rowbytes);
@@ -1501,10 +2194,12 @@ void vkp_image_destroy(struct vkp_image *img) {
if (g_dev) {
blendp_forget_image(img->image);
if (img->map) g_vk.UnmapMemory(g_dev, img->mem);
- if (img->image) g_vk.DestroyImage(g_dev, img->image, NULL);
- if (img->mem) g_vk.FreeMemory(g_dev, img->mem, NULL);
+ destroy_image_objects(img);
}
+ image_unregister(img);
+ if (img->source_type == VKP_IMAGE_SOURCE_DMABUF && img->source_fd >= 0) close(img->source_fd);
if (img->android_buffer) AHardwareBuffer_release(img->android_buffer);
+ free(img->recovery_pixels);
free(img);
}
@@ -1600,7 +2295,7 @@ static void effects_source_note(int scene_w, int scene_h, const struct vkp_draw
static void record_draw(VkCommandBuffer cmd, const struct vkp_draw *d, const VkImageBlit *blit, VkImage target,
VkFormat target_fmt, int target_w, int target_h, VkFilter filter) {
const struct vkp_image *im = d->img;
- const int external_client = vkp_image_is_dmabuf(im);
+ const int external_client = vkp_is_external_client_image(foreign_image(im), im->blit_dst);
if (d->blend && im->sampled &&
blendp_draw(cmd, im->image, im->fmt, im->w, im->h, !external_client,
target, target_fmt, target_w, target_h,
@@ -1734,6 +2429,11 @@ static int compose_hdr(VkCommandBuffer cmd, const struct vkp_draw *draws, int n,
struct hdrc_params p = {.mode = mode, .sdr_white_nits = droiddeck_color_sdr_white(),
.peak_nits = hf->peak_nits > 0.0f ? hf->peak_nits : 1000.0f};
+ if (hf->convert) {
+ p.conv_linear = hf->convert->convert == 2;
+ p.conv_gain = hf->convert->gain;
+ memcpy(p.conv, hf->convert->to2020, sizeof(p.conv));
+ }
int lowest_hdr = -1;
for (int i = 0; i < n; i++) {
VkImageBlit blit;
@@ -1750,6 +2450,7 @@ static int compose_hdr(VkCommandBuffer cmd, const struct vkp_draw *draws, int n,
p.rects[p.count][0] = (float)blit.dstOffsets[0].x; p.rects[p.count][1] = (float)blit.dstOffsets[0].y;
p.rects[p.count][2] = (float)blit.dstOffsets[1].x; p.rects[p.count][3] = (float)blit.dstOffsets[1].y;
if (hf->is_hdr[i]) p.hdr_mask |= 1u << p.count;
+ if (hf->is_hdr[i] == 2 && hf->convert) p.conv_mask |= 1u << p.count;
p.count++;
}
if (i >= lowest_hdr && !truncated_said) {
@@ -1762,14 +2463,23 @@ static int compose_hdr(VkCommandBuffer cmd, const struct vkp_draw *draws, int n,
}
static void device_lost(const char *where) {
- if (g_dev_state == -2) return;
+ if (g_dev_state == -2 || g_dev_state == -3) return;
+
+ if (g_dev_state == 1) {
+ VkResult idle = g_vk.DeviceWaitIdle ? g_vk.DeviceWaitIdle(g_dev) : VK_ERROR_UNKNOWN;
+ if (idle != VK_SUCCESS && idle != VK_ERROR_DEVICE_LOST) {
+ quarantine_pending_work(idle, "device-loss idle");
+ return;
+ }
+ }
+
g_dev_state = -2;
g_base_black = 0;
vkp_framegen_device_lost();
vkp_gpu_busy_device_lost();
- droiddeck_log("error", "GPU device lost (VK_ERROR_DEVICE_LOST in %s): the compositor has stopped presenting; "
- "restart the session", where);
- set_fault("the display GPU was lost (VK_ERROR_DEVICE_LOST in %s)", where);
+ droiddeck_log("error", "GPU device lost (VK_ERROR_DEVICE_LOST in %s): the compositor will try one in-process recovery",
+ where);
+ set_fault("the display GPU was lost (VK_ERROR_DEVICE_LOST in %s); recovery pending", where);
for (uint32_t i = 0; i < g_nimg; i++) blendp_forget_image(g_images[i]);
if (g_swapchain) g_vk.DestroySwapchainKHR(g_dev, g_swapchain, NULL);
g_swapchain = VK_NULL_HANDLE;
@@ -1994,11 +2704,10 @@ static void send_hdr_metadata(const struct droiddeck_color *c) {
static int render_impl(int scene_w, int scene_h, const struct vkp_draw *draws, int n,
const struct vkp_hdr_frame *hf, int *how) {
if (how) *how = 0;
- if (g_dev_state < 0) return -1;
+ if (g_dev_state == -1 || g_dev_state == -3) return -1;
vkp_apply_window_request();
sc_layer_hide_base();
check_surface_changed();
- if (g_dev_state == -2) return -1;
if (dev_init() != 0 || !g_window || scene_w <= 0 || scene_h <= 0) return -1;
if (g_swapchain && vkp_framegen_extra_images() != g_swap_extra) {
@@ -2084,6 +2793,7 @@ static int render_impl(int scene_w, int scene_h, const struct vkp_draw *draws, i
.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT};
g_vk.BeginCommandBuffer(cmd, &bi);
blendp_begin_frame();
+ stage_linear_dmabufs(cmd, draws, n);
VkImageSubresourceRange range = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
VkImageMemoryBarrier *bars = calloc((size_t)n + 1, sizeof(*bars));
@@ -2101,7 +2811,7 @@ static int render_impl(int scene_w, int scene_h, const struct vkp_draw *draws, i
if (seen || !im) continue;
struct vkp_external_client_barrier_pair pair;
if (vkp_external_client_barrier_pair(
- im->image, g_qfam, im->dmabuf, im->blit_dst, &pair)) {
+ im->image, g_qfam, foreign_image(im), im->blit_dst, &pair)) {
bars[nb++] = pair.acquire;
} else if (!im->blit_dst && !im->in_general) {
bars[nb++] = (VkImageMemoryBarrier){
@@ -2145,11 +2855,15 @@ static int render_impl(int scene_w, int scene_h, const struct vkp_draw *draws, i
int drawn = 0;
int hdr_how = 0;
- if (hf && pass && n > 0 &&
+ const int hdr_compose_requested = hf && pass && n > 0;
+ int hdr_unconverted = 0;
+ if (hdr_compose_requested &&
compose_hdr(cmd, draws, n, hf, scene_w, scene_h, scene_img, scene_fmt,
g_swap_is_hdr ? HDRC_OUT_PQ : HDRC_OUT_SDR) == 0) {
hdr_how = g_swap_is_hdr ? 1 : 2;
drawn = n;
+ } else if (hdr_compose_requested) {
+ hdr_unconverted = 1;
}
for (int i = 0; i < draw_n && !hdr_how; i++) {
VkImageBlit blit;
@@ -2180,7 +2894,7 @@ static int render_impl(int scene_w, int scene_h, const struct vkp_draw *draws, i
if (fx) {
int mapped_w = (int)(scene_w * g_map.kx + 0.5f), mapped_h = (int)(scene_h * g_map.ky + 0.5f);
if (fg && !vkp_effects_sharpening()) { mapped_w = scene_w; mapped_h = scene_h; }
- vkp_effects_set_formats(scene_fmt, scene_fmt);
+ vkp_effects_set_formats(scene_fmt, scene_fmt, hdr_how == 1 || hdr_unconverted);
result = vkp_effects_run(cmd, scene_img, input_w, input_h, mapped_w, mapped_h, &rw, &rh);
effects_overlay_draws(cmd, result, rw, rh, scene_w, scene_h,
draws ? draws + overlay_start : NULL, n - overlay_start);
@@ -2233,9 +2947,17 @@ static int render_impl(int scene_w, int scene_h, const struct vkp_draw *draws, i
}
const int last = (k + 1 == presents);
VkPipelineStageFlags wait = VK_PIPELINE_STAGE_TRANSFER_BIT;
+ /* A present-wait semaphore is reused only after this exact swapchain image
+ * has been acquired again; a frame-slot fence cannot prove present completion. */
+ if (img >= g_rnd_count || !g_rnds[img]) {
+ droiddeck_log("error", "present: image index %u exceeds semaphore count %u",
+ img, g_rnd_count);
+ destroy_swapchain();
+ return -1;
+ }
VkSubmitInfo si = {.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO, .waitSemaphoreCount = 1,
.pWaitSemaphores = &g_acqs[k], .pWaitDstStageMask = &wait, .commandBufferCount = 1,
- .pCommandBuffers = &g_cmds[k], .signalSemaphoreCount = 1, .pSignalSemaphores = &g_rnds[k]};
+ .pCommandBuffers = &g_cmds[k], .signalSemaphoreCount = 1, .pSignalSemaphores = &g_rnds[img]};
VkResult qr = g_vk.QueueSubmit(g_queue, 1, &si, last ? g_fence : VK_NULL_HANDLE);
if (qr != VK_SUCCESS) {
if (qr == VK_ERROR_DEVICE_LOST) device_lost("submit");
@@ -2245,7 +2967,7 @@ static int render_impl(int scene_w, int scene_h, const struct vkp_draw *draws, i
}
fence_submitted = last;
VkPresentInfoKHR pi = {.sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR, .waitSemaphoreCount = 1,
- .pWaitSemaphores = &g_rnds[k], .swapchainCount = 1,
+ .pWaitSemaphores = &g_rnds[img], .swapchainCount = 1,
.pSwapchains = &g_swapchain, .pImageIndices = &img};
const int64_t t_pres = perf_now();
pr = g_vk.QueuePresentKHR(g_queue, &pi);
@@ -2338,7 +3060,7 @@ void vkp_signal_first_frame(void) {
}
int vkp_update_map(int scene_w, int scene_h) {
- if (g_dev_state == -2 || dev_init() != 0 || !g_window || scene_w <= 0 || scene_h <= 0) return -1;
+ if (dev_init() != 0 || !g_window || scene_w <= 0 || scene_h <= 0) return -1;
if (vkp_quest_layer_presentation()) {
int w = ANativeWindow_getWidth(g_window), h = ANativeWindow_getHeight(g_window);
if (w <= 0 || h <= 0) return -1;
@@ -2353,9 +3075,9 @@ int vkp_update_map(int scene_w, int scene_h) {
return g_map.valid ? 0 : -1;
}
-int vkp_map_rect(int img_w, int img_h, int scene_w, int scene_h, int out[8]) {
+int vkp_map_rect(int img_w, int img_h, const int dst[4], int out[8]) {
struct vkp_image tmp = {.w = img_w, .h = img_h};
- struct vkp_draw d = {&tmp, 0, 0, (float)img_w, (float)img_h, 0, 0, scene_w, scene_h};
+ struct vkp_draw d = {&tmp, 0, 0, (float)img_w, (float)img_h, dst[0], dst[1], dst[2], dst[3]};
return vkp_map_draw(&d, out);
}
@@ -2369,8 +3091,50 @@ int vkp_map_draw(const struct vkp_draw *d, int out[8]) {
return 1;
}
+static void blit_to_layer(VkCommandBuffer cmd, VkImage src, VkImageLayout src_layout, struct vkp_image *dst,
+ const VkImageBlit *blit, VkFilter filter) {
+ const VkImageSubresourceRange range = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
+ const VkImageMemoryBarrier acquire = {
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
+ .newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
+ .srcQueueFamilyIndex = dst->staged ? VK_QUEUE_FAMILY_IGNORED : VK_QUEUE_FAMILY_FOREIGN_EXT,
+ .dstQueueFamilyIndex = dst->staged ? VK_QUEUE_FAMILY_IGNORED : g_qfam,
+ .image = dst->image, .subresourceRange = range, .dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT};
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT,
+ 0, 0, NULL, 0, NULL, 1, &acquire);
+ g_vk.CmdBlitImage(cmd, src, src_layout, dst->image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, blit, filter);
+ if (dst->staged) {
+ const VkImageMemoryBarrier read = {
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
+ .newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
+ .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .image = dst->image, .subresourceRange = range, .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT};
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT,
+ 0, 0, NULL, 0, NULL, 1, &read);
+ const VkBufferMemoryBarrier write = vkp_linear_dmabuf_ownership(dst->linear_buf, g_qfam, VK_ACCESS_TRANSFER_WRITE_BIT, 1);
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT,
+ 0, 0, NULL, 1, &write, 0, NULL);
+ VkBufferImageCopy copy = dst->linear_copy;
+ copy.imageExtent.width = (uint32_t)blit->dstOffsets[1].x;
+ copy.imageExtent.height = (uint32_t)blit->dstOffsets[1].y;
+ g_vk.CmdCopyImageToBuffer(cmd, dst->image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dst->linear_buf, 1, ©);
+ const VkBufferMemoryBarrier release = vkp_linear_dmabuf_ownership(dst->linear_buf, g_qfam, VK_ACCESS_TRANSFER_WRITE_BIT, 0);
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
+ 0, 0, NULL, 1, &release, 0, NULL);
+ return;
+ }
+ const VkImageMemoryBarrier release = {
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
+ .newLayout = VK_IMAGE_LAYOUT_GENERAL, .srcQueueFamilyIndex = g_qfam,
+ .dstQueueFamilyIndex = VK_QUEUE_FAMILY_FOREIGN_EXT, .image = dst->image, .subresourceRange = range,
+ .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT};
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
+ 0, 0, NULL, 0, NULL, 1, &release);
+}
+
int vkp_blit_image(struct vkp_image *src, struct vkp_image *dst, int wait_fd) {
- if (!src || src->blit_dst || !dst || !dst->blit_dst || g_dev_state == -2 || dev_init() != 0) {
+ if (!src || src->blit_dst || !dst || !dst->blit_dst || dev_init() != 0) {
if (wait_fd >= 0) close(wait_fd);
return -1;
}
@@ -2383,44 +3147,32 @@ int vkp_blit_image(struct vkp_image *src, struct vkp_image *dst, int wait_fd) {
VkCommandBufferBeginInfo bi = {.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,
.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT};
g_vk.BeginCommandBuffer(g_cmd, &bi);
+ stage_linear_dmabuf(g_cmd, src);
struct vkp_external_client_barrier_pair src_pair;
const int src_external = vkp_external_client_barrier_pair(
- src->image, g_qfam, src->dmabuf, src->blit_dst, &src_pair);
- VkImageMemoryBarrier acq[2] = {
- src_external ? src_pair.acquire : (VkImageMemoryBarrier){
+ src->image, g_qfam, foreign_image(src), src->blit_dst, &src_pair);
+ VkImageMemoryBarrier acq = src_external ? src_pair.acquire : (VkImageMemoryBarrier){
.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
.newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
- .image = src->image, .subresourceRange = range, .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT},
- {.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
- .newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
- .srcQueueFamilyIndex = VK_QUEUE_FAMILY_FOREIGN_EXT, .dstQueueFamilyIndex = g_qfam,
- .image = dst->image, .subresourceRange = range, .dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT}};
+ .image = src->image, .subresourceRange = range, .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT};
if (!src_external) {
- acq[0].oldLayout = src->in_general ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_PREINITIALIZED;
- acq[0].newLayout = VK_IMAGE_LAYOUT_GENERAL;
- acq[0].srcAccessMask = VK_ACCESS_HOST_WRITE_BIT;
+ acq.oldLayout = src->in_general ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_PREINITIALIZED;
+ acq.newLayout = VK_IMAGE_LAYOUT_GENERAL;
+ acq.srcAccessMask = VK_ACCESS_HOST_WRITE_BIT;
src->in_general = 1;
}
g_vk.CmdPipelineBarrier(g_cmd, VK_PIPELINE_STAGE_HOST_BIT | VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
- VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, NULL, 0, NULL, 2, acq);
+ VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, NULL, 0, NULL, 1, &acq);
int bw = src->w < dst->w ? src->w : dst->w, bh = src->h < dst->h ? src->h : dst->h;
VkImageBlit blit = {.srcSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
.srcOffsets = {{0, 0, 0}, {bw, bh, 1}},
.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
.dstOffsets = {{0, 0, 0}, {bw, bh, 1}}};
- g_vk.CmdBlitImage(g_cmd, src->image,
- src_external ? VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL,
- dst->image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &blit, VK_FILTER_NEAREST);
+ blit_to_layer(g_cmd, src->image, src_external ? VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL,
+ dst, &blit, VK_FILTER_NEAREST);
release_external_client_image(g_cmd, src);
- VkImageMemoryBarrier rel = {
- .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
- .newLayout = VK_IMAGE_LAYOUT_GENERAL, .srcQueueFamilyIndex = g_qfam,
- .dstQueueFamilyIndex = VK_QUEUE_FAMILY_FOREIGN_EXT, .image = dst->image, .subresourceRange = range,
- .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT};
- g_vk.CmdPipelineBarrier(g_cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
- 0, 0, NULL, 0, NULL, 1, &rel);
g_vk.EndCommandBuffer(g_cmd);
VkPipelineStageFlags wait_stage = VK_PIPELINE_STAGE_TRANSFER_BIT;
@@ -2445,11 +3197,9 @@ int vkp_blit_image(struct vkp_image *src, struct vkp_image *dst, int wait_fd) {
-static struct vkp_image *g_rb;
-
int vkp_image_readback(struct vkp_image *src, uint32_t *out, int max_px) {
if (!src || src->blit_dst || !out || src->w <= 0 || src->h <= 0 || src->w * src->h > max_px ||
- g_dev_state == -2 || dev_init() != 0)
+ dev_init() != 0)
return -1;
if (g_rb && (g_rb->w != src->w || g_rb->h != src->h)) { vkp_image_destroy(g_rb); g_rb = NULL; }
if (!g_rb) {
@@ -2489,22 +3239,26 @@ int vkp_image_readback(struct vkp_image *src, uint32_t *out, int max_px) {
VkCommandBufferBeginInfo bi = {.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,
.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT};
g_vk.BeginCommandBuffer(cmd, &bi);
+ stage_linear_dmabuf(cmd, src);
struct vkp_external_client_barrier_pair src_pair;
const int src_external = vkp_external_client_barrier_pair(
- src->image, g_qfam, src->dmabuf, src->blit_dst, &src_pair);
+ src->image, g_qfam, foreign_image(src), src->blit_dst, &src_pair);
VkImageMemoryBarrier acq[2] = {
src_external ? src_pair.acquire : (VkImageMemoryBarrier){
- .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
+ .oldLayout = src->in_general ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_UNDEFINED,
.newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
- .image = src->image, .subresourceRange = range, .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT},
+ .image = src->image, .subresourceRange = range,
+ .srcAccessMask = vkp_linear_dmabuf_readback_access(src->in_general),
+ .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT},
{.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
.newLayout = VK_IMAGE_LAYOUT_GENERAL, .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, .image = g_rb->image, .subresourceRange = range,
.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT}};
- g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT,
- 0, 0, NULL, 0, NULL, 2, acq);
+ g_vk.CmdPipelineBarrier(cmd, vkp_linear_dmabuf_readback_stage(src->in_general),
+ VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, NULL, 0, NULL, 2, acq);
VkImageBlit blit = {.srcSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
.srcOffsets = {{0, 0, 0}, {src->w, src->h, 1}},
.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
@@ -2551,24 +3305,33 @@ static struct {
int active;
VkImage result;
int rw, rh;
+ int ngen;
+ VkImage gens[VKP_FG_MAX_GENERATIONS];
} g_pass;
static int pass_begin_impl(int scene_w, int scene_h, const struct vkp_draw *draws, int n,
- const struct vkp_hdr_frame *hf, int *rw, int *rh);
+ const struct vkp_hdr_frame *hf, int generate, int *rw, int *rh);
int vkp_pass_begin(int scene_w, int scene_h, const struct vkp_draw *draws, int n, int *rw, int *rh) {
- return pass_begin_impl(scene_w, scene_h, draws, n, NULL, rw, rh);
+ return pass_begin_impl(scene_w, scene_h, draws, n, NULL, 0, rw, rh);
+}
+
+int vkp_pass_begin_generate(int scene_w, int scene_h, const struct vkp_draw *draws, int n,
+ const struct vkp_hdr_frame *hf, int *rw, int *rh) {
+ if (pass_begin_impl(scene_w, scene_h, draws, n, hf, 1, rw, rh) != 0) return -1;
+ return g_pass.ngen;
}
int vkp_pass_begin_hdr(int scene_w, int scene_h, const struct vkp_draw *draws, int n,
const struct vkp_hdr_frame *hf, int *rw, int *rh) {
if (!hf) return -1;
- return pass_begin_impl(scene_w, scene_h, draws, n, hf, rw, rh);
+ return pass_begin_impl(scene_w, scene_h, draws, n, hf, 0, rw, rh);
}
static int pass_begin_impl(int scene_w, int scene_h, const struct vkp_draw *draws, int n,
- const struct vkp_hdr_frame *hf, int *rw, int *rh) {
+ const struct vkp_hdr_frame *hf, int generate, int *rw, int *rh) {
if (g_pass.active) vkp_pass_abort();
+ g_pass.ngen = 0;
if (vkp_update_map(scene_w, scene_h) != 0) return -1;
int input_w = scene_w, input_h = scene_h;
int pass_n = n, overlay_start = n;
@@ -2588,13 +3351,31 @@ static int pass_begin_impl(int scene_w, int scene_h, const struct vkp_draw *draw
effects_source_note(scene_w, scene_h, draws, n, input_w, input_h,
(int)(scene_w * g_map.kx + 0.5f), (int)(scene_h * g_map.ky + 0.5f));
}
- if (hf) {
+ const int deep = hf && generate && !hf->tonemap && vkp_framegen_format_ok(FG_HDR_FMT) &&
+ ensure_img(&g_fgscene, scene_w, scene_h, FG_HDR_FMT,
+ VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT |
+ VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT,
+ "HDR frame generation (scene)") == 0;
+ const int narrow = hf && generate && !deep;
+ if (hf && !deep && !narrow) {
if (ensure_img(&g_hdrscene, scene_w, scene_h, HDR_FMT,
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT |
VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT,
"HDR composition (picture)") != 0)
return -1;
- } else if (ensure_scene_image(input_w, input_h) != 0) return -1;
+ } else if (!deep && ensure_scene_image(input_w, input_h) != 0) return -1;
+ const VkFormat scene_fmt = deep ? FG_HDR_FMT : narrow || !hf ? SCENE_FMT : HDR_FMT;
+ if (hf && generate) {
+ static int said = -1;
+ if (said != deep + 2 * hf->tonemap) {
+ said = deep + 2 * hf->tonemap;
+ droiddeck_log("color", hf->tonemap
+ ? "frame generation runs on the tone-mapped picture in 8 bits, onto the game's display layer"
+ : deep ? "frame generation runs on the HDR picture in FP16 (RGBA16F), onto the game's display layer"
+ : "frame generation runs on the HDR picture in 8 bits (the engine cannot take FP16 here), onto "
+ "the game's display layer: banding possible in smooth gradients");
+ }
+ }
VkCommandBuffer cmd = g_cmds[0];
g_vk.ResetCommandBuffer(cmd, 0);
@@ -2602,12 +3383,13 @@ static int pass_begin_impl(int scene_w, int scene_h, const struct vkp_draw *draw
.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT};
g_vk.BeginCommandBuffer(cmd, &bi);
blendp_begin_frame();
+ stage_linear_dmabufs(cmd, draws, n);
VkImageSubresourceRange range = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
VkImageMemoryBarrier *bars = calloc((size_t)n + 1, sizeof(*bars));
if (!bars) { g_vk.EndCommandBuffer(cmd); return -1; }
int nb = 0;
- VkImage scene_img = hf ? g_hdrscene.img : g_scene.img;
+ VkImage scene_img = deep ? g_fgscene.img : narrow || !hf ? g_scene.img : g_hdrscene.img;
bars[nb++] = (VkImageMemoryBarrier){
.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
.newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
@@ -2620,7 +3402,7 @@ static int pass_begin_impl(int scene_w, int scene_h, const struct vkp_draw *draw
if (seen || !im) continue;
struct vkp_external_client_barrier_pair pair;
if (vkp_external_client_barrier_pair(
- im->image, g_qfam, im->dmabuf, im->blit_dst, &pair)) {
+ im->image, g_qfam, foreign_image(im), im->blit_dst, &pair)) {
bars[nb++] = pair.acquire;
} else if (!im->blit_dst && !im->in_general) {
bars[nb++] = (VkImageMemoryBarrier){
@@ -2638,12 +3420,12 @@ static int pass_begin_impl(int scene_w, int scene_h, const struct vkp_draw *draw
free(bars);
if (hf) {
- if (compose_hdr(cmd, draws, n, hf, scene_w, scene_h, g_hdrscene.img, HDR_FMT,
+ if (compose_hdr(cmd, draws, n, hf, scene_w, scene_h, scene_img, scene_fmt,
hf->tonemap ? HDRC_OUT_SDR : HDRC_OUT_PQ) != 0) {
g_vk.EndCommandBuffer(cmd);
return -1;
}
- if (vkp_effects_active()) vkp_effects_set_formats(HDR_FMT, HDR_FMT);
+ if (vkp_effects_active()) vkp_effects_set_formats(scene_fmt, scene_fmt, !hf->tonemap);
} else {
VkClearColorValue black = {.float32 = {0.0f, 0.0f, 0.0f, 1.0f}};
g_vk.CmdClearColorImage(cmd, g_scene.img, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &black, 1, &range);
@@ -2658,57 +3440,61 @@ static int pass_begin_impl(int scene_w, int scene_h, const struct vkp_draw *draw
record_draw(cmd, &pass_draws[i], &blit, g_scene.img, SCENE_FMT, input_w, input_h,
VK_FILTER_LINEAR);
}
- if (vkp_effects_active()) vkp_effects_set_formats(VK_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_R8G8B8A8_UNORM);
+ if (vkp_effects_active()) vkp_effects_set_formats(VK_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_R8G8B8A8_UNORM, 0);
}
int mapped_w = (int)(scene_w * g_map.kx + 0.5f), mapped_h = (int)(scene_h * g_map.ky + 0.5f);
+ if (generate && !vkp_effects_sharpening()) { mapped_w = scene_w; mapped_h = scene_h; }
g_pass.rw = input_w; g_pass.rh = input_h;
g_pass.result = vkp_effects_run(cmd, scene_img, input_w, input_h, mapped_w, mapped_h,
&g_pass.rw, &g_pass.rh);
effects_overlay_draws(cmd, g_pass.result, g_pass.rw, g_pass.rh, scene_w, scene_h,
draws ? draws + overlay_start : NULL, n - overlay_start);
release_external_client_draws(cmd, draws, n);
+ if (generate) {
+ VkImageMemoryBarrier b = {
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
+ .newLayout = VK_IMAGE_LAYOUT_GENERAL,
+ .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .image = g_pass.result, .subresourceRange = range,
+ .srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_SHADER_READ_BIT};
+ g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
+ VK_PIPELINE_STAGE_TRANSFER_BIT | VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
+ 0, 0, NULL, 0, NULL, 1, &b);
+ int ngen = vkp_framegen_run(cmd, g_pass.result, VK_NULL_HANDLE, g_pass.rw, g_pass.rh, scene_fmt, g_pass.gens);
+ if (ngen < 0) ngen = 0;
+ g_pass.ngen = ngen > VKP_FG_MAX_GENERATIONS ? VKP_FG_MAX_GENERATIONS : ngen;
+ }
g_pass.active = 1;
if (rw) *rw = g_pass.rw;
if (rh) *rh = g_pass.rh;
return 0;
}
-int vkp_pass_copy_to(struct vkp_image *dst, int wait_fd) {
+static int pass_finish(const VkImage *srcs, VkImageLayout src_layout, struct vkp_image *const *dsts, int n,
+ int wait_fd) {
if (!g_pass.active) { if (wait_fd >= 0) close(wait_fd); return -1; }
g_pass.active = 0;
if (g_dev_state != 1) { if (wait_fd >= 0) close(wait_fd); return -1; }
VkCommandBuffer cmd = g_cmds[0];
- if (!dst || !dst->blit_dst) {
+ for (int i = 0; i < n; i++) {
+ if (dsts[i] && dsts[i]->blit_dst) continue;
if (wait_fd >= 0) close(wait_fd);
g_vk.EndCommandBuffer(cmd);
return -1;
}
const int gpu_wait = take_wait_fd(wait_fd);
if (gpu_wait < 0) { g_vk.EndCommandBuffer(cmd); return -1; }
- VkImageSubresourceRange range = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};
-
- VkImageMemoryBarrier acq = {
- .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_UNDEFINED,
- .newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, .srcQueueFamilyIndex = VK_QUEUE_FAMILY_FOREIGN_EXT,
- .dstQueueFamilyIndex = g_qfam, .image = dst->image, .subresourceRange = range,
- .dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT};
- g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT,
- 0, 0, NULL, 0, NULL, 1, &acq);
- VkImageBlit blit = {.srcSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
- .srcOffsets = {{0, 0, 0}, {g_pass.rw, g_pass.rh, 1}},
- .dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
- .dstOffsets = {{0, 0, 0}, {dst->w, dst->h, 1}}};
- g_vk.CmdBlitImage(cmd, g_pass.result, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dst->image,
- VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &blit,
+ for (int i = 0; i < n; i++) {
+ struct vkp_image *dst = dsts[i];
+ VkImageBlit blit = {.srcSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
+ .srcOffsets = {{0, 0, 0}, {g_pass.rw, g_pass.rh, 1}},
+ .dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1},
+ .dstOffsets = {{0, 0, 0}, {dst->w, dst->h, 1}}};
+ blit_to_layer(cmd, srcs[i], src_layout, dst, &blit,
(g_pass.rw == dst->w && g_pass.rh == dst->h) ? VK_FILTER_NEAREST : VK_FILTER_LINEAR);
- VkImageMemoryBarrier rel = {
- .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
- .newLayout = VK_IMAGE_LAYOUT_GENERAL, .srcQueueFamilyIndex = g_qfam,
- .dstQueueFamilyIndex = VK_QUEUE_FAMILY_FOREIGN_EXT, .image = dst->image, .subresourceRange = range,
- .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT};
- g_vk.CmdPipelineBarrier(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
- 0, 0, NULL, 0, NULL, 1, &rel);
+ }
g_vk.EndCommandBuffer(cmd);
VkPipelineStageFlags wait_stage = VK_PIPELINE_STAGE_TRANSFER_BIT;
@@ -2728,6 +3514,19 @@ int vkp_pass_copy_to(struct vkp_image *dst, int wait_fd) {
return 0;
}
+int vkp_pass_copy_to(struct vkp_image *dst, int wait_fd) {
+ return pass_finish(&g_pass.result, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, &dst, 1, wait_fd);
+}
+
+int vkp_pass_copy_generated(struct vkp_image *const *dsts, int n, struct vkp_image *real, int wait_fd) {
+ VkImage srcs[VKP_FG_MAX_GENERATIONS + 1];
+ struct vkp_image *all[VKP_FG_MAX_GENERATIONS + 1];
+ if (n > g_pass.ngen) n = g_pass.ngen;
+ for (int i = 0; i < n; i++) { srcs[i] = g_pass.gens[i]; all[i] = dsts[i]; }
+ if (real) { srcs[n] = g_pass.result; all[n] = real; }
+ return pass_finish(srcs, VK_IMAGE_LAYOUT_GENERAL, all, n + (real ? 1 : 0), wait_fd);
+}
+
void vkp_pass_abort(void) {
if (!g_pass.active) return;
g_pass.active = 0;
diff --git a/app/src/main/cpp/waylandcomp/src/vk_present.h b/app/src/main/cpp/waylandcomp/src/vk_present.h
index b8cd889219..bc35ac8b49 100644
--- a/app/src/main/cpp/waylandcomp/src/vk_present.h
+++ b/app/src/main/cpp/waylandcomp/src/vk_present.h
@@ -20,6 +20,8 @@ enum vkp_align { VKP_ALIGN_CENTER = 0, VKP_ALIGN_TOP = 1, VKP_ALIGN_BOTTOM = 2,
VKP_ALIGN_PICTURE_TOP = 3, VKP_ALIGN_PICTURE_BOTTOM = 4,
VKP_ALIGN_PICTURE_LEFT = 5, VKP_ALIGN_PICTURE_RIGHT = 6 };
void vk_present_set_scale_mode(int mode, int alignment);
+void vk_present_set_zoom(float zoom);
+int vkp_zoom_pan_cursor(double ox, double oy);
int vkp_game_picture_rect(float rect[4]);
int vkp_output_to_scene(double ox, double oy, double *sx, double *sy);
int vkp_scene_to_output(double sx, double sy, double *ox, double *oy);
@@ -96,6 +98,7 @@ struct vkp_hdr_frame {
float peak_nits;
int tonemap;
const struct droiddeck_color *color;
+ const struct droiddeck_color *convert;
};
int vkp_render_hdr(int scene_w, int scene_h, const struct vkp_draw *draws, int n,
const struct vkp_hdr_frame *hf, int *how);
@@ -106,7 +109,7 @@ int vkp_blit_image(struct vkp_image *src, struct vkp_image *dst, int wait_fd);
int vkp_image_readback(struct vkp_image *src, uint32_t *out, int max_px);
int vkp_update_map(int scene_w, int scene_h);
int vkp_map_draw(const struct vkp_draw *d, int out[8]);
-int vkp_map_rect(int img_w, int img_h, int scene_w, int scene_h, int out[8]);
+int vkp_map_rect(int img_w, int img_h, const int dst[4], int out[8]);
int vkp_surface_rotation_degrees(void);
ANativeWindow *vkp_window(void);
@@ -114,6 +117,9 @@ void vkp_signal_first_frame(void);
int vkp_pass_begin(int scene_w, int scene_h, const struct vkp_draw *draws, int n, int *rw, int *rh);
int vkp_pass_copy_to(struct vkp_image *dst, int wait_fd);
+int vkp_pass_begin_generate(int scene_w, int scene_h, const struct vkp_draw *draws, int n,
+ const struct vkp_hdr_frame *hf, int *rw, int *rh);
+int vkp_pass_copy_generated(struct vkp_image *const *dsts, int n, struct vkp_image *real, int wait_fd);
void vkp_pass_abort(void);
void droiddeck_log(const char *tag, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
diff --git a/app/src/main/cpp/waylandcomp/src/waylandcomp_jni.c b/app/src/main/cpp/waylandcomp/src/waylandcomp_jni.c
index 7879d51521..d070b8fd6f 100644
--- a/app/src/main/cpp/waylandcomp/src/waylandcomp_jni.c
+++ b/app/src/main/cpp/waylandcomp/src/waylandcomp_jni.c
@@ -22,6 +22,7 @@
extern int droiddeck_wayland_run(void);
extern void droiddeck_wayland_set_scale_mode(int mode, int alignment);
+extern void droiddeck_wayland_set_zoom(int zoom_percent);
extern void droiddeck_wayland_send_pointer(int action, int x, int y);
extern void droiddeck_wayland_send_touch(int action, int pointer_id, int x, int y);
extern void droiddeck_wayland_send_pen(int flags, int x, int y);
@@ -34,11 +35,13 @@ extern int droiddeck_cursor_input_pos(int *x, int *y);
extern void droiddeck_wayland_send_scene_input(int type, int a, int b);
extern void droiddeck_wayland_set_cursor_composite(int on);
extern void droiddeck_wayland_vsync(int64_t frame_time_ns);
+extern void sc_layer_frame_timeline(int64_t present_ns, int64_t deadline_ns, int64_t period_ns);
extern void droiddeck_stream_set(int on);
extern void droiddeck_stream_frame(AHardwareBuffer *ahb);
extern unsigned droiddeck_stream_frames(void);
extern void droiddeck_wayland_output_resized(void);
extern void droiddeck_wayland_set_output_refresh_rate(int mhz);
+extern void droiddeck_wayland_set_panel_rates(const int *rates, int count);
extern volatile int g_fps_limit;
extern volatile int g_release_unpaced;
extern volatile int g_render_on_commit;
@@ -48,6 +51,8 @@ extern volatile int g_hide_shell;
extern volatile int g_zero_copy;
extern volatile unsigned g_zero_copy_last;
extern volatile int g_ubwc;
+extern volatile int g_display_buffer_driver;
+void droiddeck_dmabuf_formats_stale(void);
extern volatile int g_no_render_node;
extern volatile int g_output_w, g_output_h;
@@ -59,10 +64,14 @@ static jclass g_compositor_cls;
static jmethodID g_on_first_frame;
static jmethodID g_on_game_surface;
static jmethodID g_on_game_frame;
+static jmethodID g_on_compositor_frame;
static jmethodID g_on_game_program;
static jmethodID g_on_pointer_lock;
static jmethodID g_on_clipboard;
static jmethodID g_on_text_input;
+static jmethodID g_on_overlay_planes;
+static jmethodID g_on_refresh_target;
+static jmethodID g_on_content_rate;
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
(void)reserved;
@@ -77,6 +86,7 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
g_on_game_surface = (*env)->GetStaticMethodID(env, g_compositor_cls, "onGameSurface",
"(Ljava/lang/String;Ljava/lang/String;)V");
g_on_game_frame = (*env)->GetStaticMethodID(env, g_compositor_cls, "onGameFrame", "()V");
+ g_on_compositor_frame = (*env)->GetStaticMethodID(env, g_compositor_cls, "onCompositorFrame", "()V");
g_on_game_program = (*env)->GetStaticMethodID(env, g_compositor_cls, "onGameProgram",
"(ILjava/lang/String;)V");
if ((*env)->ExceptionCheck(env)) { (*env)->ExceptionClear(env); g_on_game_program = NULL; }
@@ -84,6 +94,9 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
g_on_clipboard = (*env)->GetStaticMethodID(env, g_compositor_cls, "onClipboardText", "([B)V");
g_on_text_input = (*env)->GetStaticMethodID(env, g_compositor_cls, "onTextInput",
"(ZLjava/lang/String;IIII)V");
+ g_on_overlay_planes = (*env)->GetStaticMethodID(env, g_compositor_cls, "onOverlayPlanes", "(I)V");
+ g_on_refresh_target = (*env)->GetStaticMethodID(env, g_compositor_cls, "onRefreshTarget", "(II)V");
+ g_on_content_rate = (*env)->GetStaticMethodID(env, g_compositor_cls, "onContentRate", "(I)V");
}
}
return JNI_VERSION_1_6;
@@ -144,6 +157,34 @@ void droiddeck_on_game_frame(void) {
if ((*env)->ExceptionCheck(env)) (*env)->ExceptionClear(env);
}
+void droiddeck_on_compositor_frame(void) {
+ JNIEnv *env;
+ if (!g_compositor_cls || !g_on_compositor_frame || !(env = thread_env())) return;
+ (*env)->CallStaticVoidMethod(env, g_compositor_cls, g_on_compositor_frame);
+ if ((*env)->ExceptionCheck(env)) (*env)->ExceptionClear(env);
+}
+
+void droiddeck_on_refresh_target(int refresh, int frame_rate) {
+ JNIEnv *env;
+ if (!g_compositor_cls || !g_on_refresh_target || !(env = thread_env())) return;
+ (*env)->CallStaticVoidMethod(env, g_compositor_cls, g_on_refresh_target, (jint)refresh, (jint)frame_rate);
+ if ((*env)->ExceptionCheck(env)) (*env)->ExceptionClear(env);
+}
+
+void droiddeck_on_content_rate(int fps) {
+ JNIEnv *env;
+ if (!g_compositor_cls || !g_on_content_rate || !(env = thread_env())) return;
+ (*env)->CallStaticVoidMethod(env, g_compositor_cls, g_on_content_rate, (jint)fps);
+ if ((*env)->ExceptionCheck(env)) (*env)->ExceptionClear(env);
+}
+
+void droiddeck_on_overlay_planes(int planes) {
+ JNIEnv *env;
+ if (!g_compositor_cls || !g_on_overlay_planes || !(env = thread_env())) return;
+ (*env)->CallStaticVoidMethod(env, g_compositor_cls, g_on_overlay_planes, (jint)planes);
+ if ((*env)->ExceptionCheck(env)) (*env)->ExceptionClear(env);
+}
+
void droiddeck_on_pointer_lock(int locked, int x, int y) {
JNIEnv *env;
if (!g_compositor_cls || !g_on_pointer_lock || !(env = thread_env())) return;
@@ -365,6 +406,12 @@ Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeVsync(JNIEnv *env, j
droiddeck_wayland_vsync((int64_t)frameTimeNanos);
}
+JNIEXPORT void JNICALL
+Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeFrameTimeline(JNIEnv *env, jclass clazz, jlong presentNanos,
+ jlong deadlineNanos, jlong periodNanos) {
+ sc_layer_frame_timeline((int64_t)presentNanos, (int64_t)deadlineNanos, (int64_t)periodNanos);
+}
+
JNIEXPORT void JNICALL
Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetClockControl(JNIEnv *env, jclass clazz, jstring path) {
const char *value = path ? (*env)->GetStringUTFChars(env, path, NULL) : NULL;
@@ -380,11 +427,18 @@ Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetHideShell(JNIEnv
JNIEXPORT void JNICALL
Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetZeroCopy(JNIEnv *env, jclass clazz, jboolean on) {
int live = droiddeck_get_display() != NULL;
- if (!live) g_zero_copy = on ? 1 : 0;
+ if (!live) { g_zero_copy = on ? 1 : 0; droiddeck_dmabuf_formats_stale(); }
droiddeck_host_zero_copy(on ? 1 : 0, live);
__android_log_print(ANDROID_LOG_INFO, TAG, "zero-copy layer mode %s%s", on ? "on" : "off", live ? " (live)" : "");
}
+JNIEXPORT void JNICALL
+Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetDisplayBufferDriver(JNIEnv *env, jclass clazz, jboolean on) {
+ g_display_buffer_driver = on ? 1 : 0;
+ droiddeck_dmabuf_formats_stale();
+ __android_log_print(ANDROID_LOG_INFO, TAG, "session driver %s for display buffers", on ? "asks" : "does not ask");
+}
+
JNIEXPORT jint JNICALL
Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeZeroCopyLastFrameAgeMs(JNIEnv *env, jclass clazz) {
return (jint)ahb_swapchain_last_frame_age_ms();
@@ -418,6 +472,16 @@ Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetOutputRefreshRate
droiddeck_wayland_set_output_refresh_rate(hz > 1.0f ? (int)(hz * 1000.0f + 0.5f) : 0);
}
+JNIEXPORT void JNICALL
+Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetPanelRates(JNIEnv *env, jclass clazz, jintArray rates) {
+ (void)clazz;
+ jint values[16];
+ jsize count = rates ? (*env)->GetArrayLength(env, rates) : 0;
+ if (count > 16) count = 16;
+ if (count > 0) (*env)->GetIntArrayRegion(env, rates, 0, count, values);
+ droiddeck_wayland_set_panel_rates((const int *)values, (int)count);
+}
+
extern void vkp_reset_first_frame(void);
JNIEXPORT void JNICALL
Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeResetFirstFrame(JNIEnv *env, jclass clazz) {
@@ -448,6 +512,15 @@ Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetScaleMode(JNIEnv
__android_log_print(ANDROID_LOG_INFO, TAG, "scale mode %d alignment %d", mode, alignment);
}
+JNIEXPORT void JNICALL
+Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeSetZoom(JNIEnv *env, jclass clazz, jfloat zoom) {
+ (void)env;
+ (void)clazz;
+ if (!(zoom >= 1.0f)) zoom = 1.0f;
+ if (zoom > 3.0f) zoom = 3.0f;
+ droiddeck_wayland_set_zoom((int)(zoom * 100.0f + 0.5f));
+}
+
JNIEXPORT jboolean JNICALL
Java_com_droiddeck_launcher_wayland_WaylandCompositor_nativeGamePictureRect(JNIEnv *env, jclass clazz, jfloatArray out) {
diff --git a/app/src/main/cpp/waylandcomp/src/wl_color_mgmt.c b/app/src/main/cpp/waylandcomp/src/wl_color_mgmt.c
index 1ba254c4cd..a45d2691cf 100644
--- a/app/src/main/cpp/waylandcomp/src/wl_color_mgmt.c
+++ b/app/src/main/cpp/waylandcomp/src/wl_color_mgmt.c
@@ -84,15 +84,18 @@ static struct {
static _Atomic int g_gate = -1;
static char g_gate_why[320];
static _Atomic int g_output_on = 1;
+static _Atomic int g_output_wanted = 1;
+static pthread_mutex_t g_output_mu = PTHREAD_MUTEX_INITIALIZER;
void droiddeck_color_set_request(int mode, const char *source, int dxvk_hdr, int zero_copy_forced) {
pthread_mutex_lock(&g_mu);
- g_req.mode = mode < 0 ? 0 : mode > 2 ? 2 : mode;
+ g_req.mode = mode < 0 ? 0 : mode > 3 ? 3 : mode;
snprintf(g_req.source, sizeof(g_req.source), "%s", source ? source : "environment");
g_req.dxvk_hdr = dxvk_hdr ? 1 : 0;
g_req.zero_copy_forced = zero_copy_forced ? 1 : 0;
pthread_mutex_unlock(&g_mu);
atomic_store(&g_output_on, 1);
+ atomic_store(&g_output_wanted, 1);
}
void droiddeck_color_set_display(int id, const char *name, const char *formats, int hdr10, float max_lum,
@@ -610,11 +613,23 @@ int droiddeck_color_tonemapped_on_screen(void) {
void droiddeck_color_set_output(int on) {
on = on ? 1 : 0;
- if (atomic_load(&g_gate) != 1) {
- droiddeck_log(TAG, "HDR output switch (%s) ignored: HDR is not open in this session", on ? "on" : "off");
+ pthread_mutex_lock(&g_mu);
+ const int tonemap_only = g_req.mode == 3;
+ pthread_mutex_unlock(&g_mu);
+ pthread_mutex_lock(&g_output_mu);
+ atomic_store(&g_output_wanted, on);
+ const int gate = atomic_load(&g_gate);
+ const int changed = gate == 1 && !(on && tonemap_only) && atomic_exchange(&g_output_on, on) != on;
+ pthread_mutex_unlock(&g_output_mu);
+ if (gate != 1) {
+ if (gate == 0) droiddeck_log(TAG, "HDR output switch (%s) ignored: HDR is not open in this session", on ? "on" : "off");
return;
}
- if (atomic_exchange(&g_output_on, on) == on) return;
+ if (on && tonemap_only) {
+ droiddeck_log(TAG, "HDR output switch (on) ignored: this display cannot show HDR10, HDR frames stay tone-mapped");
+ return;
+ }
+ if (!changed) return;
char who[160];
int age = droiddeck_color_last_frame_age_ms(), tm = droiddeck_color_tonemapped_on_screen();
pthread_mutex_lock(&g_mu);
@@ -658,6 +673,8 @@ static void desc_unref(struct cm_desc *d) { if (d && --d->refs <= 0) free(d); }
struct cm_params {
uint32_t tf, primaries;
+ int has_prim; int32_t prim[8];
+ int has_lum; uint32_t lum_ref;
int has_mprim; int32_t mprim[8];
int has_mlum; uint32_t mlum_min, mlum_max;
int has_cll; uint32_t cll;
@@ -730,9 +747,83 @@ static void make_output_description(struct wl_client *c, struct wl_resource *par
droiddeck_client_name(c), what, col->text);
}
+static const float BT709_XY[8] = {0.64f, 0.33f, 0.30f, 0.60f, 0.15f, 0.06f, 0.3127f, 0.3290f};
+static const float BT2020_XY[8] = {0.708f, 0.292f, 0.170f, 0.797f, 0.131f, 0.046f, 0.3127f, 0.3290f};
+
+static void mat_mul(const double a[9], const double b[9], double out[9]) {
+ double m[9];
+ for (int i = 0; i < 3; i++)
+ for (int j = 0; j < 3; j++)
+ m[3 * i + j] = a[3 * i] * b[j] + a[3 * i + 1] * b[3 + j] + a[3 * i + 2] * b[6 + j];
+ memcpy(out, m, sizeof(m));
+}
+
+static int mat_invert(const double m[9], double out[9]) {
+ const double det = m[0] * (m[4] * m[8] - m[5] * m[7]) - m[1] * (m[3] * m[8] - m[5] * m[6]) +
+ m[2] * (m[3] * m[7] - m[4] * m[6]);
+ if (det > -1e-12 && det < 1e-12) return -1;
+ const double k = 1.0 / det;
+ double r[9] = {(m[4] * m[8] - m[5] * m[7]) * k, (m[2] * m[7] - m[1] * m[8]) * k, (m[1] * m[5] - m[2] * m[4]) * k,
+ (m[5] * m[6] - m[3] * m[8]) * k, (m[0] * m[8] - m[2] * m[6]) * k, (m[2] * m[3] - m[0] * m[5]) * k,
+ (m[3] * m[7] - m[4] * m[6]) * k, (m[1] * m[6] - m[0] * m[7]) * k, (m[0] * m[4] - m[1] * m[3]) * k};
+ memcpy(out, r, sizeof(r));
+ return 0;
+}
+
+static int rgb_to_xyz(const float xy[8], double out[9], double white[3]) {
+ for (int i = 0; i < 4; i++)
+ if (xy[2 * i + 1] < 1e-4f) return -1;
+ double p[9], inv[9];
+ for (int i = 0; i < 3; i++) {
+ const double x = xy[2 * i], y = xy[2 * i + 1];
+ p[i] = x / y; p[3 + i] = 1.0; p[6 + i] = (1.0 - x - y) / y;
+ }
+ white[0] = xy[6] / xy[7]; white[1] = 1.0; white[2] = (1.0 - xy[6] - xy[7]) / xy[7];
+ if (mat_invert(p, inv) != 0) return -1;
+ for (int i = 0; i < 3; i++) {
+ const double scale = inv[3 * i] * white[0] + inv[3 * i + 1] * white[1] + inv[3 * i + 2] * white[2];
+ out[i] = p[i] * scale; out[3 + i] = p[3 + i] * scale; out[6 + i] = p[6 + i] * scale;
+ }
+ return 0;
+}
+
+static int matrix_to_bt2020(const float xy[8], float out[9]) {
+ static const double bradford[9] = {0.8951, 0.2664, -0.1614, -0.7502, 1.7135, 0.0367, 0.0389, -0.0685, 1.0296};
+ double src[9], dst[9], dst_inv[9], sw[3], dw[3], cone_inv[9], adapt[9], m[9];
+ if (rgb_to_xyz(xy, src, sw) != 0 || rgb_to_xyz(BT2020_XY, dst, dw) != 0) return -1;
+ if (mat_invert(dst, dst_inv) != 0 || mat_invert(bradford, cone_inv) != 0) return -1;
+ double scale[9] = {0};
+ for (int i = 0; i < 3; i++) {
+ const double from = bradford[3 * i] * sw[0] + bradford[3 * i + 1] * sw[1] + bradford[3 * i + 2] * sw[2];
+ const double to = bradford[3 * i] * dw[0] + bradford[3 * i + 1] * dw[1] + bradford[3 * i + 2] * dw[2];
+ if (from > -1e-9 && from < 1e-9) return -1;
+ scale[4 * i] = to / from;
+ }
+ mat_mul(scale, bradford, adapt);
+ mat_mul(cone_inv, adapt, adapt);
+ mat_mul(adapt, src, m);
+ mat_mul(dst_inv, m, m);
+ for (int i = 0; i < 9; i++) out[i] = (float)m[i];
+ return 0;
+}
+
+static struct wl_resource *publish_description(struct wl_client *client, struct wl_resource *parent, uint32_t id,
+ struct cm_desc *d) {
+ struct wl_resource *out = wl_resource_create(client, &wp_image_description_v1_interface,
+ wl_resource_get_version(parent), id);
+ if (!out) { free(d); wl_client_post_no_memory(client); return NULL; }
+ d->refs = 1;
+ wl_resource_set_implementation(out, &image_description_impl, d, image_description_resource_destroy);
+ wp_image_description_v1_send_ready(out, d->c.identity);
+ pthread_mutex_lock(&g_mu);
+ g_hdr.descs++;
+ pthread_mutex_unlock(&g_mu);
+ return out;
+}
+
static void params_create(struct wl_client *client, struct wl_resource *r, uint32_t id) {
struct cm_params *p = wl_resource_get_user_data(r);
- if (!p->tf || !p->primaries) {
+ if (!p->tf || (!p->primaries && !p->has_prim)) {
wl_resource_post_error(r, WP_IMAGE_DESCRIPTION_CREATOR_PARAMS_V1_ERROR_INCOMPLETE_SET,
"transfer function and primaries must both be set");
return;
@@ -744,10 +835,29 @@ static void params_create(struct wl_client *client, struct wl_resource *r, uint3
if (!g_next_identity) g_next_identity = 1;
c->primaries = p->primaries;
c->tf = p->tf;
- if (p->primaries == WP_COLOR_MANAGER_V1_PRIMARIES_BT2020 && p->tf == WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ)
+ const float ref = p->has_lum ? (float)p->lum_ref : 203.0f;
+ float xy[8];
+ for (int i = 0; i < 8; i++)
+ xy[i] = p->has_prim ? p->prim[i] / 1e6f
+ : p->primaries == WP_COLOR_MANAGER_V1_PRIMARIES_SRGB ? BT709_XY[i] : BT2020_XY[i];
+ if (p->primaries == WP_COLOR_MANAGER_V1_PRIMARIES_BT2020 && ref == 203.0f) {
c->dataspace = DROIDDECK_ADATASPACE_BT2020_PQ;
- else if (p->primaries == WP_COLOR_MANAGER_V1_PRIMARIES_BT2020 && p->tf == WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_HLG)
- c->dataspace = DROIDDECK_ADATASPACE_BT2020_HLG;
+ } else if (matrix_to_bt2020(xy, c->to2020) == 0) {
+ c->convert = 1;
+ c->gain = 10000.0f * 203.0f / ref;
+ } else {
+ struct wl_resource *bad = wl_resource_create(client, &wp_image_description_v1_interface,
+ wl_resource_get_version(r), id);
+ free(d);
+ if (!bad) { wl_client_post_no_memory(client); return; }
+ wl_resource_set_implementation(bad, &image_description_impl, NULL, NULL);
+ wp_image_description_v1_send_failed(bad, WP_IMAGE_DESCRIPTION_V1_CAUSE_UNSUPPORTED,
+ "the primaries do not form a colour space");
+ droiddeck_log(TAG, "image description from %s refused: its primaries do not form a colour space",
+ droiddeck_client_name(client));
+ wl_resource_destroy(r);
+ return;
+ }
char dropped[160] = "";
float mlum_min = 0.005f, mlum_max = 10000.0f;
@@ -781,7 +891,12 @@ static void params_create(struct wl_client *client, struct wl_resource *r, uint3
}
if (cll > 0.0f || fall > 0.0f) { c->has_cta861 = 1; c->max_cll = cll; c->max_fall = fall; }
- int n = snprintf(c->text, sizeof(c->text), "%s, %s", primaries_name(c->primaries), tf_name(c->tf));
+ int n = snprintf(c->text, sizeof(c->text), "%s, %s", p->has_prim ? "custom primaries" : primaries_name(c->primaries),
+ tf_name(c->tf));
+ if (c->convert && n < (int)sizeof(c->text))
+ n += snprintf(c->text + n, sizeof(c->text) - (size_t)n,
+ "; R %.4f,%.4f G %.4f,%.4f B %.4f,%.4f W %.4f,%.4f, reference white %.0f nits",
+ xy[0], xy[1], xy[2], xy[3], xy[4], xy[5], xy[6], xy[7], ref);
if (c->has_st2086 && n < (int)sizeof(c->text))
n += snprintf(c->text + n, sizeof(c->text) - (size_t)n,
"; mastering R %.4f,%.4f G %.4f,%.4f B %.4f,%.4f W %.4f,%.4f, %.4f-%.0f nits%s",
@@ -793,19 +908,13 @@ static void params_create(struct wl_client *client, struct wl_resource *r, uint3
if (!c->has_st2086 && !c->has_cta861 && n < (int)sizeof(c->text))
snprintf(c->text + n, sizeof(c->text) - (size_t)n, " (no HDR metadata: the game has not called vkSetHdrMetadataEXT)");
- struct wl_resource *out = wl_resource_create(client, &wp_image_description_v1_interface,
- wl_resource_get_version(r), id);
- if (!out) { free(d); wl_client_post_no_memory(client); return; }
- d->refs = 1;
- wl_resource_set_implementation(out, &image_description_impl, d, image_description_resource_destroy);
- wp_image_description_v1_send_ready(out, c->identity);
- if (c->dataspace) {
- pthread_mutex_lock(&g_mu);
- g_hdr.descs++;
- pthread_mutex_unlock(&g_mu);
- }
- droiddeck_log(TAG, "image description #%u from %s: %s -> ready (on a display layer: dataspace %s)", c->identity,
- droiddeck_client_name(client), c->text, dataspace_name(c->dataspace));
+ if (!publish_description(client, r, id, d)) return;
+ if (c->convert)
+ droiddeck_log(TAG, "image description #%u from %s: %s -> ready (converted to BT.2020 PQ when the scene is "
+ "composed)", c->identity, droiddeck_client_name(client), c->text);
+ else
+ droiddeck_log(TAG, "image description #%u from %s: %s -> ready (on a display layer: dataspace %s)", c->identity,
+ droiddeck_client_name(client), c->text, dataspace_name(c->dataspace));
if (dropped[0]) {
size_t l = strlen(dropped);
if (l && dropped[l - 1] == ',') dropped[l - 1] = 0;
@@ -840,8 +949,8 @@ static void params_set_tf_power(struct wl_client *c, struct wl_resource *r, uint
}
static void params_set_primaries_named(struct wl_client *c, struct wl_resource *r, uint32_t primaries) {
struct cm_params *p = wl_resource_get_user_data(r);
- PARAMS_ONCE(p->primaries, "primaries");
- if (primaries != WP_COLOR_MANAGER_V1_PRIMARIES_BT2020) {
+ PARAMS_ONCE(p->primaries || p->has_prim, "primaries");
+ if (primaries != WP_COLOR_MANAGER_V1_PRIMARIES_BT2020 && primaries != WP_COLOR_MANAGER_V1_PRIMARIES_SRGB) {
wl_resource_post_error(r, WP_IMAGE_DESCRIPTION_CREATOR_PARAMS_V1_ERROR_INVALID_PRIMARIES_NAMED,
"primaries %u were not advertised", primaries);
return;
@@ -850,12 +959,21 @@ static void params_set_primaries_named(struct wl_client *c, struct wl_resource *
}
static void params_set_primaries(struct wl_client *c, struct wl_resource *r, int32_t rx, int32_t ry, int32_t gx,
int32_t gy, int32_t bx, int32_t by, int32_t wx, int32_t wy) {
- wl_resource_post_error(r, WP_IMAGE_DESCRIPTION_CREATOR_PARAMS_V1_ERROR_UNSUPPORTED_FEATURE,
- "set_primaries is not supported");
+ struct cm_params *p = wl_resource_get_user_data(r);
+ PARAMS_ONCE(p->primaries || p->has_prim, "primaries");
+ p->has_prim = 1;
+ p->prim[0] = rx; p->prim[1] = ry; p->prim[2] = gx; p->prim[3] = gy;
+ p->prim[4] = bx; p->prim[5] = by; p->prim[6] = wx; p->prim[7] = wy;
}
static void params_set_luminances(struct wl_client *c, struct wl_resource *r, uint32_t mn, uint32_t mx, uint32_t ref) {
- wl_resource_post_error(r, WP_IMAGE_DESCRIPTION_CREATOR_PARAMS_V1_ERROR_UNSUPPORTED_FEATURE,
- "set_luminances is not supported");
+ struct cm_params *p = wl_resource_get_user_data(r);
+ PARAMS_ONCE(p->has_lum, "luminances");
+ if ((uint64_t)mx * 10000u <= mn || (uint64_t)ref * 10000u <= mn) {
+ wl_resource_post_error(r, WP_IMAGE_DESCRIPTION_CREATOR_PARAMS_V1_ERROR_INVALID_LUMINANCE,
+ "maximum and reference luminance must be above the minimum");
+ return;
+ }
+ p->has_lum = 1; p->lum_ref = ref;
}
static void params_set_mastering_display_primaries(struct wl_client *c, struct wl_resource *r, int32_t rx, int32_t ry,
int32_t gx, int32_t gy, int32_t bx, int32_t by, int32_t wx, int32_t wy) {
@@ -1083,7 +1201,20 @@ static void cm_create_parametric_creator(struct wl_client *c, struct wl_resource
}
static void cm_create_windows_scrgb(struct wl_client *c, struct wl_resource *r, uint32_t id) {
- wl_resource_post_error(r, WP_COLOR_MANAGER_V1_ERROR_UNSUPPORTED_FEATURE, "windows_scrgb is not supported");
+ struct cm_desc *d = calloc(1, sizeof(*d));
+ if (!d) { wl_client_post_no_memory(c); return; }
+ struct droiddeck_color *col = &d->c;
+ col->identity = g_next_identity++;
+ if (!g_next_identity) g_next_identity = 1;
+ col->primaries = WP_COLOR_MANAGER_V1_PRIMARIES_SRGB;
+ col->tf = WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_EXT_LINEAR;
+ col->convert = 2;
+ col->gain = 80.0f;
+ matrix_to_bt2020(BT709_XY, col->to2020);
+ snprintf(col->text, sizeof(col->text), "%s, %s (1.0 = 80 nits)", primaries_name(col->primaries), tf_name(col->tf));
+ if (!publish_description(c, r, id, d)) return;
+ droiddeck_log(TAG, "image description #%u from %s: %s -> ready (converted to BT.2020 PQ when the scene is composed)",
+ col->identity, droiddeck_client_name(c), col->text);
}
static const struct wp_color_manager_v1_interface cm_impl = {
@@ -1103,14 +1234,20 @@ static void bind_cm(struct wl_client *c, void *data, uint32_t ver, uint32_t id)
wl_resource_set_implementation(r, &cm_impl, NULL, NULL);
wp_color_manager_v1_send_supported_intent(r, WP_COLOR_MANAGER_V1_RENDER_INTENT_PERCEPTUAL);
wp_color_manager_v1_send_supported_feature(r, WP_COLOR_MANAGER_V1_FEATURE_PARAMETRIC);
+ wp_color_manager_v1_send_supported_feature(r, WP_COLOR_MANAGER_V1_FEATURE_SET_PRIMARIES);
+ wp_color_manager_v1_send_supported_feature(r, WP_COLOR_MANAGER_V1_FEATURE_SET_LUMINANCES);
wp_color_manager_v1_send_supported_feature(r, WP_COLOR_MANAGER_V1_FEATURE_SET_MASTERING_DISPLAY_PRIMARIES);
+ wp_color_manager_v1_send_supported_feature(r, WP_COLOR_MANAGER_V1_FEATURE_EXTENDED_TARGET_VOLUME);
+ wp_color_manager_v1_send_supported_feature(r, WP_COLOR_MANAGER_V1_FEATURE_WINDOWS_SCRGB);
+ wp_color_manager_v1_send_supported_primaries_named(r, WP_COLOR_MANAGER_V1_PRIMARIES_SRGB);
wp_color_manager_v1_send_supported_primaries_named(r, WP_COLOR_MANAGER_V1_PRIMARIES_BT2020);
wp_color_manager_v1_send_supported_tf_named(r, WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ);
wp_color_manager_v1_send_done(r);
if (last_named != c) {
last_named = c;
droiddeck_log(TAG, "%s bound wp_color_manager_v1 version %u (offered: perceptual intent; parametric descriptions "
- "with mastering metadata; BT.2020 primaries; ST 2084 PQ) - its Vulkan driver can now list "
+ "with custom primaries, luminances and mastering metadata; Windows scRGB; sRGB and BT.2020 primaries; "
+ "ST 2084 PQ) - its Vulkan driver can now list "
"VK_COLOR_SPACE_HDR10_ST2084_EXT", droiddeck_client_name(c), ver > 1 ? 1u : ver);
}
}
@@ -1150,6 +1287,7 @@ void droiddeck_color_init(struct wl_display *display) {
char asked[128];
if (mode == 2) snprintf(asked, sizeof(asked), "DROIDDECK_WAYLAND_HDR=force (%s)", source);
+ else if (mode == 3) snprintf(asked, sizeof(asked), "HDR is on, tone-mapped for this display (%s)", source);
else if (strstr(source, "env")) snprintf(asked, sizeof(asked), "DROIDDECK_WAYLAND_HDR=1 (%s)", source);
else snprintf(asked, sizeof(asked), "HDR output is on (%s)", source);
@@ -1168,7 +1306,7 @@ void droiddeck_color_init(struct wl_display *display) {
snprintf(why, sizeof(why), "this Android has no display layers with dataspace control "
"(ASurfaceControl + ASurfaceTransaction_setBufferDataSpace, Android 10+)");
else if (!ahb_ok)
- snprintf(why, sizeof(why), "zero-copy presentation is unavailable here (banner_ahb_v1 not advertised), and an "
+ snprintf(why, sizeof(why), "zero-copy presentation is unavailable here (droiddeck_ahb_v1 not advertised), and an "
"HDR frame is only honest on the game's own display layer");
if (why[0]) {
@@ -1198,13 +1336,20 @@ void droiddeck_color_init(struct wl_display *display) {
log_verdict(1);
return;
}
+ pthread_mutex_lock(&g_output_mu);
atomic_store(&g_gate, 1);
+ if (mode == 3 || !atomic_load(&g_output_wanted)) atomic_store(&g_output_on, 0);
+ pthread_mutex_unlock(&g_output_mu);
char syms[160];
sc_layer_hdr_symbols(syms, sizeof(syms));
droiddeck_log(TAG, "HDR gate %s: %s and %s. Offering games HDR10: wp_color_manager_v1 version 1 (BT.2020 primaries "
"+ ST 2084 PQ, parametric descriptions with mastering metadata) and 10-bit AB30/XB30 dma-buf formats; HDR "
"frames go on the game's own display layer as BT2020_PQ (%s)",
mode == 2 ? "FORCED OPEN (testing)" : "OPEN", asked, disp, syms);
+ if (mode == 3) {
+ droiddeck_log(TAG, "this display cannot show HDR10: games still render HDR and every HDR frame is tone-mapped to "
+ "SDR on the game's display layer");
+ }
if (mode == 2 && !hdr10)
droiddeck_log(TAG, "DROIDDECK_WAYLAND_HDR=force on a display without HDR10 - testing only: SurfaceFlinger will tone-map "
"the game layer for this panel (expect GPU/CLIENT composition for it), nothing looks HDR");
diff --git a/app/src/main/cpp/waylandcomp/src/wl_dmabuf.c b/app/src/main/cpp/waylandcomp/src/wl_dmabuf.c
index cc85bd32e6..a6e0eac3a6 100644
--- a/app/src/main/cpp/waylandcomp/src/wl_dmabuf.c
+++ b/app/src/main/cpp/waylandcomp/src/wl_dmabuf.c
@@ -14,6 +14,7 @@
#include "droiddeck_ext.h"
#include "droiddeck_color.h"
#include "compositor_internal.h"
+#include "display_buffers.h"
static void dbuf_buffer_resource_destroy(struct wl_resource *r) {
@@ -58,6 +59,7 @@ static struct wl_resource *params_do_create(struct wl_client *c, struct wl_resou
wl_resource_set_implementation(buf, &dbuf_buffer_impl, b, dbuf_buffer_resource_destroy);
struct client_info *ci = client_info_of(c);
if (ci) ci->dmabuf_buffers++;
+ display_buffers_match(c, buf, b);
return buf;
}
static void params_create(struct wl_client *c, struct wl_resource *r, int32_t w, int32_t h,
@@ -111,13 +113,16 @@ static const struct zwp_linux_dmabuf_v1_interface dmabuf_impl = {
static struct { uint32_t fmt; uint64_t mods[DMABUF_NMOD]; int n; } g_dmabuf_fmts[DMABUF_NFMT_MAX] = {
{DRM_ARGB8888}, {DRM_XRGB8888}, {DRM_ABGR8888}, {DRM_XBGR8888}, {DRM_ABGR2101010}, {DRM_XBGR2101010}};
static int g_dmabuf_nfmt = DMABUF_NFMT_SDR;
-static int g_dmabuf_fmts_ready;
+static volatile int g_dmabuf_fmts_ready;
static void dmabuf_build_feedback(void);
+void droiddeck_dmabuf_formats_stale(void) { g_dmabuf_fmts_ready = 0; }
+
static void dmabuf_build_formats(void) {
char line[320];
- int pos = 0, compressed = 0;
+ int pos = 0, compressed = 0, backed = 0;
g_dmabuf_fmts_ready = 1;
+ display_buffers_withdraw_ubwc();
g_dmabuf_nfmt = droiddeck_color_hdr_open() ? DMABUF_NFMT_MAX : DMABUF_NFMT_SDR;
for (int f = 0; f < g_dmabuf_nfmt; f++) {
uint64_t got[DMABUF_NMOD];
@@ -129,6 +134,12 @@ static void dmabuf_build_formats(void) {
g_dmabuf_fmts[f].mods[k++] = got[i];
if (got[i] == VKP_MOD_QCOM_COMPRESSED) compressed++;
}
+ int listed = 0;
+ for (int i = 0; i < k; i++) if (g_dmabuf_fmts[f].mods[i] == VKP_MOD_QCOM_COMPRESSED) listed = 1;
+ if (display_buffers_offer_ubwc(g_dmabuf_fmts[f].fmt) && !listed) {
+ g_dmabuf_fmts[f].mods[k++] = VKP_MOD_QCOM_COMPRESSED;
+ backed++;
+ }
g_dmabuf_fmts[f].mods[k++] = MOD_INVALID;
g_dmabuf_fmts[f].n = k;
uint32_t fmt = g_dmabuf_fmts[f].fmt;
@@ -141,7 +152,10 @@ static void dmabuf_build_formats(void) {
}
droiddeck_log("dmabuf", "formats: %s%s", line,
!g_ubwc ? " (DROIDDECK_WAYLAND_UBWC=0: qcom_compressed not advertised)" : "");
- if (g_ubwc && !compressed)
+ if (backed)
+ droiddeck_log("dmabuf", "qcom_compressed is advertised for %d formats the compositor's driver (%s) does not "
+ "import as dma-bufs: this session's driver renders them into gralloc buffers", backed, vkp_gpu_name());
+ else if (g_ubwc && !compressed)
droiddeck_log("dmabuf", "the compositor's driver (%s) reports no importable qcom_compressed layout: "
"game swapchains stay linear", vkp_gpu_name());
if (g_dmabuf_nfmt > DMABUF_NFMT_SDR) {
@@ -212,6 +226,7 @@ static void dmabuf_build_feedback(void) {
return;
}
fcntl(fd, F_ADD_SEALS, F_SEAL_SEAL | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE);
+ if (g_fmt_table_fd >= 0) close(g_fmt_table_fd);
g_fmt_table_fd = fd;
g_fmt_table_size = size;
g_fmt_table_n = (uint16_t)n;
diff --git a/app/src/main/java/com/droiddeck/launcher/App.kt b/app/src/main/java/com/droiddeck/launcher/App.kt
index 1a45ab8512..53a0c89298 100644
--- a/app/src/main/java/com/droiddeck/launcher/App.kt
+++ b/app/src/main/java/com/droiddeck/launcher/App.kt
@@ -21,6 +21,7 @@ class App : Application() {
override fun onCreate() {
super.onCreate()
com.droiddeck.launcher.runtime.NativeGuest.init(this)
+ com.droiddeck.launcher.session.Onboarding.attach(this)
Thread({ runCatching { EnhancedSessionLogShare.cleanupAbandonedStages(this) } }, "diagnostic-stage-cleanup").start()
com.droiddeck.launcher.ui.Themes.loadGradient(this)
com.droiddeck.launcher.ui.BuildWatermark.install(this)
@@ -46,6 +47,7 @@ class App : Application() {
com.droiddeck.launcher.input.ShortcutsRelay.Holder.install(this)
com.droiddeck.launcher.agent.AgentHost.refresh(this)
com.droiddeck.launcher.ui.NavTabs.load(this)
+ com.droiddeck.launcher.ui.DrawerPages.load(this)
com.droiddeck.launcher.ui.DeveloperTools.load(this)
com.droiddeck.launcher.ui.AgentPet.install(this)
if (com.droiddeck.launcher.agent.AgentTab.visible) com.droiddeck.launcher.lab.LabNotice.openOnInstall = "agent"
@@ -53,7 +55,7 @@ class App : Application() {
com.droiddeck.launcher.session.QuestExperimental.initialize(this)
com.droiddeck.launcher.session.SessionPrefs.applyNtsyncDefault(this)
com.droiddeck.launcher.session.SessionPrefs.settleGpuDriverMode(this)
- com.droiddeck.launcher.session.SessionPrefs.settleStoresTabOrder(this, com.droiddeck.launcher.stores.Store.entries.map { it.id })
+ com.droiddeck.launcher.session.SessionPrefs.settleStoresTabOrder(this, com.droiddeck.launcher.stores.Store.tabbed.map { it.id })
com.droiddeck.launcher.update.AppUpdates.init(this)
com.droiddeck.launcher.update.UpdateWatch.sync(this, com.droiddeck.launcher.update.AppUpdates.follow(this, null))
com.droiddeck.launcher.core.DownloadSource.init(this)
@@ -78,6 +80,7 @@ class App : Application() {
com.droiddeck.launcher.stores.ea.EaBackend.app = this
com.droiddeck.launcher.stores.StoresState.register(com.droiddeck.launcher.stores.ea.EaBackend)
com.droiddeck.launcher.stores.StoresState.register(com.droiddeck.launcher.stores.rockstar.RockstarBackend)
+ com.droiddeck.launcher.stores.StoresState.register(com.droiddeck.launcher.stores.steam.SteamBackend)
}
private fun prefetchAddonPacks() {
@@ -96,6 +99,8 @@ class App : Application() {
com.droiddeck.launcher.session.SessionFiles.ensureUbisoftService(app)
if (com.droiddeck.launcher.stores.StoreAccounts.signedInAs(app, com.droiddeck.launcher.stores.Store.ROCKSTAR) != null)
com.droiddeck.launcher.session.SessionFiles.ensureRockstarService(app)
+ if (com.droiddeck.launcher.stores.StoreAccounts.signedInAs(app, com.droiddeck.launcher.stores.Store.EPIC) != null)
+ com.droiddeck.launcher.session.SessionFiles.ensureEpicParent(app)
com.droiddeck.launcher.handtracking.HandTracking.load(app)
}.onFailure { android.util.Log.w("App", "add-on pack prefetch failed", it) }
}, "addon-packs").start()
diff --git a/app/src/main/java/com/droiddeck/launcher/ComponentsMenu.kt b/app/src/main/java/com/droiddeck/launcher/ComponentsMenu.kt
index e5e74f791f..79e2017962 100644
--- a/app/src/main/java/com/droiddeck/launcher/ComponentsMenu.kt
+++ b/app/src/main/java/com/droiddeck/launcher/ComponentsMenu.kt
@@ -79,7 +79,7 @@ internal class ComponentsMenu(private val activity: android.app.Activity, privat
checkAgain = null
checkComponentUpdates(again)
}
- if (notes.isNotEmpty()) android.widget.Toast.makeText(activity, notes.joinToString("\n"), android.widget.Toast.LENGTH_LONG).show()
+ if (notes.isNotEmpty()) Log.i(TAG, notes.joinToString("; "))
refreshComponents()
}
}, "component-updates").start()
diff --git a/app/src/main/java/com/droiddeck/launcher/DeckyMenu.kt b/app/src/main/java/com/droiddeck/launcher/DeckyMenu.kt
index 240202daec..983eea5ea0 100644
--- a/app/src/main/java/com/droiddeck/launcher/DeckyMenu.kt
+++ b/app/src/main/java/com/droiddeck/launcher/DeckyMenu.kt
@@ -6,6 +6,7 @@ import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import com.droiddeck.launcher.runtime.DeckyManager
+import com.droiddeck.launcher.runtime.DeckyStore
import com.droiddeck.launcher.session.SessionState
import java.io.File
@@ -21,6 +22,59 @@ internal class DeckyMenu(private val activity: android.app.Activity, private val
var deckySupervisor by mutableStateOf(false)
var deckyPendingZip by mutableStateOf(null)
var deckyReleaseRequest = 0
+ var deckyPlugins by mutableStateOf>(emptyList())
+ var deckyStore by mutableStateOf?>(null)
+ var deckyStoreFailed by mutableStateOf(false)
+ private var storeRequest = 0
+
+ fun refreshPlugins() {
+ Thread({
+ val found = DeckyStore.installed(activity)
+ ui.post { deckyPlugins = found }
+ }, "decky-plugins").start()
+ }
+
+ fun refreshStore() {
+ val request = ++storeRequest
+ deckyStore = null; deckyStoreFailed = false
+ Thread({
+ val listing = DeckyStore.fetch()
+ ui.post {
+ if (request != storeRequest) return@post
+ deckyStore = listing.orEmpty(); deckyStoreFailed = listing == null
+ }
+ }, "decky-store").start()
+ }
+
+ fun installStorePlugin(plugin: DeckyStore.Plugin) {
+ val version = plugin.latest ?: return
+ if (deckyStage != null || SessionState.running || deckyInstalled == null) return
+ deckyStage = activity.getString(R.string.decky_plugin_starting); deckyPercent = -1
+ Thread({
+ val problem = runCatching {
+ DeckyStore.install(activity, plugin, version) { label, value ->
+ val binary = DeckyManager.downloadingBinary
+ ui.post { deckyStage = label; deckyPercent = value; deckyDownloadingBinary = binary }
+ }
+ }.getOrElse { error -> activity.getString(R.string.decky_plugin_failed, error.message ?: error.javaClass.simpleName) }
+ ui.post {
+ deckyStage = null; deckyPercent = -1; deckyDownloadingBinary = false
+ android.widget.Toast.makeText(activity, problem ?: activity.getString(R.string.decky_plugin_installed), android.widget.Toast.LENGTH_LONG).show()
+ refreshPlugins()
+ }
+ }, "install-decky-store").start()
+ }
+
+ fun removePlugin(plugin: DeckyStore.Installed) {
+ if (deckyStage != null || SessionState.running) return
+ Thread({
+ val problem = DeckyStore.remove(activity, plugin)
+ ui.post {
+ if (problem != null) android.widget.Toast.makeText(activity, problem, android.widget.Toast.LENGTH_LONG).show()
+ refreshPlugins()
+ }
+ }, "remove-decky-plugin").start()
+ }
fun refreshDecky() {
val request = ++deckyReleaseRequest
@@ -90,6 +144,7 @@ internal class DeckyMenu(private val activity: android.app.Activity, private val
deckyStage = null; deckyPercent = -1; deckyDownloadingBinary = false
val message = problem ?: activity.getString(R.string.decky_plugin_installed)
android.widget.Toast.makeText(activity, message, android.widget.Toast.LENGTH_LONG).show()
+ refreshPlugins()
}
}, "import-decky-plugin").start()
}
diff --git a/app/src/main/java/com/droiddeck/launcher/DriverMenus.kt b/app/src/main/java/com/droiddeck/launcher/DriverMenus.kt
index 689279742f..94b0e6c744 100644
--- a/app/src/main/java/com/droiddeck/launcher/DriverMenus.kt
+++ b/app/src/main/java/com/droiddeck/launcher/DriverMenus.kt
@@ -319,7 +319,7 @@ internal class DriverMenus(private val activity: Activity, private val ui: Handl
refreshDrivers()
return
}
- if (gpu.family.mali && DriverPairs.recommendedKey(gpu, emptyList()) == null &&
+ if (gpu.family.mali && !DriverPairs.autoEligible(gpu) &&
com.droiddeck.launcher.gpu.VulkanInfo.cachedOrNull() == null) {
releaseChecking = true
autoStatus = activity.getString(R.string.drivers_checking_latest)
@@ -335,14 +335,14 @@ internal class DriverMenus(private val activity: Activity, private val ui: Handl
}, "gpu-name").start()
return
}
- Log.i(TAG, "auto: ${gpu.name} (${gpu.family}) -> " + (DriverPairs.recommendedKey(gpu, emptyList()) ?: "no pair"))
- if (gpu.family.mali && DriverPairs.recommendedKey(gpu, emptyList()) == null) {
+ Log.i(TAG, "auto: ${gpu.name} (${gpu.family}) eligible=${DriverPairs.autoEligible(gpu)}")
+ if (gpu.family.mali && !DriverPairs.autoEligible(gpu)) {
// No PanVK build covers this Mali (e.g. the G1 series, arch v14): the phone's own driver.
autoStatus = useMaliFallback(null)
refreshDrivers()
return
}
- if (DriverPairs.recommendedKey(gpu, emptyList()) == null) {
+ if (!DriverPairs.autoEligible(gpu)) {
autoStatus = activity.getString(R.string.drivers_none_to_set, gpu.supportText(activity, com.droiddeck.launcher.core.DeviceSupport.vkBridge(activity)).lowercase())
return
}
@@ -372,7 +372,11 @@ internal class DriverMenus(private val activity: Activity, private val ui: Handl
}
gpu.family == GpuInfo.Family.POWERVR && (pair == null || !pair.complete) -> {
// RADV is not published right now: the Xclipse falls back to the system route.
- SessionPrefs.ensurePowerVrAutoDrivers(activity)
+ if (gpu.name.contains("Xclipse", ignoreCase = true) && DriverPairs.xclipseNeedsUpstream(gpu.name)) {
+ if (!SessionState.running) SessionPrefs.ensurePowerVrAutoDrivers(activity, powerVr = true, autoOwnedOnly = true)
+ } else {
+ SessionPrefs.ensurePowerVrAutoDrivers(activity)
+ }
autoStatus = activity.getString(R.string.drivers_powervr_builtin)
refreshDrivers()
}
@@ -426,21 +430,28 @@ internal class DriverMenus(private val activity: Activity, private val ui: Handl
*/
private fun useMaliFallback(missing: String?): String {
val oldVulkan = com.droiddeck.launcher.session.VenusComponent.hostVulkanTooOld(activity)
- val venus = oldVulkan == null && com.droiddeck.launcher.session.VenusComponent.available(activity)
+ val venusByUser = venusExplicit()
+ val venus = MaliAutoRoute.venusStandsIn(
+ com.droiddeck.launcher.session.VenusComponent.available(activity), oldVulkan == null,
+ SessionPrefs.venus(activity), venusByUser, gpu.name,
+ )
if (oldVulkan != null) Log.i(TAG, "auto: Mali driver reports Vulkan $oldVulkan; Venus needs 1.2, the bridge stands in")
val ownership = MaliAutoRoute.fallbackOwnership(
venus,
SessionPrefs.vkBridge(activity), bridgeExplicit(),
- SessionPrefs.venus(activity), venusExplicit(),
+ SessionPrefs.venus(activity), venusByUser,
)
if (venus && !SessionPrefs.venus(activity)) {
SessionPrefs.setVenus(activity, true)
if (SessionPrefs.vkBridge(activity) && !bridgeExplicit())
SessionPrefs.setVkBridge(activity, false)
SessionPrefs.setMaliFallbackByAuto(activity, ownership)
- } else if (!venus && !SessionPrefs.vkBridge(activity)) {
- SessionPrefs.setVkBridge(activity, true)
- SessionPrefs.setMaliFallbackByAuto(activity, ownership)
+ } else if (!venus) {
+ val venusOff = SessionPrefs.venus(activity) && !venusByUser
+ val bridgeOn = !SessionPrefs.vkBridge(activity)
+ if (venusOff) SessionPrefs.clearVenus(activity)
+ if (bridgeOn) SessionPrefs.setVkBridge(activity, true)
+ if (venusOff || bridgeOn || ownership != MaliAutoRoute.NONE) SessionPrefs.setMaliFallbackByAuto(activity, ownership)
} else if (ownership != MaliAutoRoute.NONE) {
SessionPrefs.setMaliFallbackByAuto(activity, ownership)
}
@@ -463,7 +474,7 @@ internal class DriverMenus(private val activity: Activity, private val ui: Handl
/** A pair is installed for this Mali: the route Auto switched on in its place goes off again. */
private fun endMaliFallback() {
when (SessionPrefs.maliFallbackByAuto(activity)) {
- "venus" -> SessionPrefs.setVenus(activity, false)
+ "venus" -> SessionPrefs.clearVenus(activity)
"bridge" -> SessionPrefs.setVkBridge(activity, false)
else -> return
}
diff --git a/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt b/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt
index cfed246068..938075f4c7 100644
--- a/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt
+++ b/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt
@@ -17,8 +17,11 @@ import android.os.Looper
import android.util.Log
import android.view.Display
import android.view.KeyEvent
+import android.view.MotionEvent
import android.view.View
+import android.view.ViewConfiguration
import android.view.WindowManager
+import android.widget.EditText
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts
@@ -50,6 +53,8 @@ import com.droiddeck.launcher.session.SessionLogShare
import com.droiddeck.launcher.session.SessionPaths
import com.droiddeck.launcher.session.SessionPrefs
import com.droiddeck.launcher.session.SteamRepair
+import com.droiddeck.launcher.session.LaunchCoordinator
+import com.droiddeck.launcher.session.LaunchTicket
import com.droiddeck.launcher.core.CpuCores
import com.droiddeck.launcher.core.DownloadSource
import com.droiddeck.launcher.core.PhantomProcessLimit
@@ -99,6 +104,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
this, ui,
idle = { !busy && flood == null && compatLaunch == null && pkgStage == null && components.compBusy == null },
onInstalled = { if (!OfflineMode.enabled(this)) components.checkComponentUpdates(force = false) },
+ onRemoved = { components.refreshComponents() },
)
private var installed by mutableStateOf(null)
@@ -135,6 +141,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private var glThread by mutableStateOf(true)
private var noGlError by mutableStateOf(true)
private var returnAfterGame by mutableStateOf(true)
+ private var valveProtonOnDemand by mutableStateOf(true)
private var shaderPrecache by mutableStateOf(null)
private var steamRepairQueued by mutableStateOf(false)
private var mangoapp by mutableStateOf(true)
@@ -162,6 +169,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private var battleNetInstalled by mutableStateOf(false)
private var offlineAccount by mutableStateOf(null)
private var offline by mutableStateOf(false)
+ private var offlineAuto by mutableStateOf(true)
private var showPerformance by mutableStateOf(false)
private var clientOverride by mutableStateOf(false)
private var clientCores by mutableStateOf>(emptySet())
@@ -180,15 +188,11 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private var fsyncFirst by mutableStateOf(false)
private var gamescopeRealtime by mutableStateOf(false)
private var paceCores by mutableStateOf(true)
- private var ramCapMb by mutableStateOf(0)
- private var zramClient by mutableStateOf(true)
- private var zramIdle by mutableStateOf(true)
- private var vramCapMb by mutableStateOf(0)
private var gpuClockPin by mutableStateOf(false)
private var prootNoSeccomp by mutableStateOf(false)
private var prootFastPath by mutableStateOf(true)
- private var nativeUserland by mutableStateOf(false)
- private var cursorComposite by mutableStateOf(false)
+ private var nativeUserland by mutableStateOf(true)
+ private var cursorComposite by mutableStateOf(true)
private var guestHostname by mutableStateOf(SessionPrefs.DEFAULT_GUEST_HOSTNAME)
private var phantomWarning by mutableStateOf(null)
private var phantomProcessStatus by mutableStateOf(PhantomProcessStatus.NOT_APPLICABLE)
@@ -197,10 +201,12 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private var picturePosition by mutableStateOf("center")
private var integerScaling by mutableStateOf(false)
private var stretch16x9 by mutableStateOf(false)
+ private var avoidNotch by mutableStateOf(false)
private var orientation by mutableStateOf(android.content.pm.ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE)
private var launcherOrientation by mutableStateOf(android.content.pm.ActivityInfo.SCREEN_ORIENTATION_USER)
private var homePage by mutableStateOf(com.droiddeck.launcher.core.AppUiPrefs.HOME_PAGE_STEAM)
private var launcherFullscreen by mutableStateOf(true)
+ private var controllerHaptics by mutableStateOf(true)
private var downloadSource by mutableStateOf(DownloadSource.MODE_AUTO)
private var downloadMirror by mutableStateOf("")
private var downloadPrefix by mutableStateOf("")
@@ -213,7 +219,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private var soundtracksLoaded by mutableStateOf(false)
private var gameStoresSpeedTier by mutableStateOf("fast")
private var navRequest by mutableStateOf(null)
- private val gameLaunchRequest = java.util.concurrent.atomic.AtomicLong()
+ private val launchCoordinator = LaunchCoordinator()
private var preparingGames by mutableStateOf(emptySet())
private var storesShowMature by mutableStateOf(false)
private var storesSort by mutableStateOf(SessionPrefs.STORES_SORTS.first())
@@ -252,6 +258,12 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
SessionPrefs.setWifiDiscoveryEnabled(this, WifiDiscovery.permissionGranted(this))
refreshWifiDiscovery()
}
+ private val bluetoothPermission = registerForActivityResult(ActivityResultContracts.RequestPermission()) { granted ->
+ if (!granted && !shouldShowRequestPermissionRationale(android.Manifest.permission.BLUETOOTH_CONNECT)) {
+ integrationSettings(SteamIntegration.appInfo(this))
+ }
+ integrationState = readIntegration()
+ }
private val cameraPermission = registerForActivityResult(ActivityResultContracts.RequestPermission()) {
com.droiddeck.launcher.handtracking.HandTracking.refreshPermission(this)
}
@@ -279,6 +291,11 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private val pickAnyDriver = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { r ->
if (r.resultCode == RESULT_OK) InAppFilePicker.pickedUri(r.data)?.let { drivers.importDriver(it, linux = null) }
}
+ private val pickExperimentalProton = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { r ->
+ if (r.resultCode == RESULT_OK) InAppFilePicker.pickedFile(r.data)?.let { zip ->
+ protons.installExperimental { progress -> com.droiddeck.launcher.session.ExperimentalProtons.installFromFile(this, zip, progress) }
+ }
+ }
private val pickLossless = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { r ->
if (r.resultCode == RESULT_OK) InAppFilePicker.pickedFile(r.data)?.let { importLossless(it) }
}
@@ -368,6 +385,10 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
SteamIntegration.Feature.SHORTCUTS -> {
if (integrationState.shortcuts) openShortcutSettings() else installShortcuts()
}
+ SteamIntegration.Feature.BLUETOOTH -> {
+ if (SteamIntegration.bluetoothAllowed(this)) integrationSettings(SteamIntegration.appInfo(this))
+ else bluetoothPermission.launch(android.Manifest.permission.BLUETOOTH_CONNECT)
+ }
}
}
@@ -526,7 +547,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
saveAction(getString(R.string.main_addons_importing, name)) {
if (SessionState.running) return@saveAction getString(R.string.main_addons_close_session)
val imported = try {
- com.droiddeck.launcher.runtime.WowAddons.import(zip, target)
+ com.droiddeck.launcher.runtime.WowAddons.import(zip, target, context = this@FrontEndActivity)
} catch (_: com.droiddeck.launcher.runtime.WowAddons.TooLarge) {
return@saveAction getString(R.string.main_addons_too_large, zip.name)
}
@@ -535,7 +556,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
}
val downloads = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DOWNLOADS).path
- pickSaveZip.launch(InAppFilePicker.buildIntent(this, listOf("zip"), getString(R.string.main_addons_pick_zip, name), downloads))
+ pickSaveZip.launch(InAppFilePicker.buildIntent(this, listOf("zip", "rar", "7z"), getString(R.string.main_addons_pick_zip, name), downloads))
}
private fun exportSaves(name: String, layout: GameSaves.Layout, game: () -> GameSaves.Game) {
@@ -582,6 +603,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
private var settingsMode by mutableStateOf(null)
private var resolution by mutableStateOf(com.droiddeck.launcher.session.SessionDisplay.DEFAULT_RESOLUTION)
+ private var resolutionPortrait by mutableStateOf(com.droiddeck.launcher.session.SessionDisplay.LINK_LANDSCAPE)
private var fexPreset by mutableStateOf("")
private var forceSsbs by mutableStateOf(false)
private var steamClientArch by mutableStateOf("arm64")
@@ -594,9 +616,11 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private var theme by mutableStateOf("graphite")
private var appScale by mutableStateOf(com.droiddeck.launcher.core.AppUiPrefs.DEFAULT_SCALE)
private var hdrOn by mutableStateOf(false)
+ private var zeroCopyOn by mutableStateOf(true)
private var upscaler by mutableStateOf(0)
private var upscaleSharpness by mutableStateOf(75)
private var hdrReason by mutableStateOf(null)
+ private var hdrDisplay by mutableStateOf(true)
private var touchMode by mutableStateOf(SessionPrefs.TOUCH_AUTO)
private var pen by mutableStateOf(null)
private var suspendPolicy by mutableStateOf(SessionPrefs.SUSPEND_MANUAL)
@@ -617,6 +641,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
private var storageDiagnostics by mutableStateOf(false)
private var storageOptions by mutableStateOf>(emptyList())
+ private var storageFat32 by mutableStateOf(false)
private val pickGameStorage = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { r ->
if (r.resultCode == RESULT_OK) InAppFilePicker.pickedPath(r.data)?.let { path -> setGameStorage(path, GameStorage.labelFor(this, path)) }
}
@@ -632,6 +657,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private fun addSteamLibrary(path: String) {
Thread({
val result = SteamLibraries.add(this, path)
+ val fat32 = result is SteamLibraries.AddResult.Added && GameStorage.isFat32(result.entry.path)
ui.post {
steamLibraries = SteamLibraries.list(this)
refreshFoundSteamLibraries()
@@ -642,6 +668,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
result is SteamLibraries.AddResult.Added && result.entry.path != path ->
android.widget.Toast.makeText(this, getString(R.string.libraries_used_inner, result.entry.label), android.widget.Toast.LENGTH_LONG).show()
}
+ if (fat32) android.widget.Toast.makeText(this, R.string.main_storage_fat32, android.widget.Toast.LENGTH_LONG).show()
}
}, "steam-library-add").start()
}
@@ -697,6 +724,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
}
private var secondScreenDisplays by mutableStateOf>(emptyList())
+ private var ownScreen by mutableStateOf(null)
private var dualDisplayId by mutableStateOf(-1)
private var dualScreenDevice by mutableStateOf(false)
private var dualScreenMode by mutableStateOf(com.droiddeck.launcher.input.DualScreen.MODE_AUTO)
@@ -873,7 +901,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
runCatching { com.droiddeck.launcher.frontend.AutoComponents.restoreMissing(this) }.onFailure { Log.w(TAG, "components: restore failed", it) }
}, "components-restore").start()
}
- private var pendingGameLink: String? = null
private var gameLinkReading = false
private var gameLinkTried = false
private var gameSyncFolder by mutableStateOf(null)
@@ -899,12 +926,24 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
LauncherIcon.set(this, style)
launcherIcon = LauncherIcon.current(this)
if (launcherIcon == before) return false
+ restartLauncher()
+ return true
+ }
+
+ // recreate() leaves this activity's window drawing nothing and ignoring input on some devices (#2668).
+ private fun restartLauncher() {
+ LauncherHandoff.put(Bundle().also(::saveLauncherState))
+ switchPoll?.let { ui.removeCallbacks(it) }
+ switchPoll = null
+ switchingTo = null
+ queuedLaunch.clear()
+ cancelCompatLaunch()
startActivity(Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER)
.setComponent(LauncherIcon.activity(this))
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_MULTIPLE_TASK)
- .putExtra(com.droiddeck.launcher.stores.download.StoreDownloadService.EXTRA_NAV, "setup:launcher"))
+ .putExtra(com.droiddeck.launcher.stores.download.StoreDownloadService.EXTRA_NAV, "setup:launcher")
+ .putExtra(EXTRA_RESTARTED, true))
finishAndRemoveTask()
- return true
}
private fun readGameIntent(request: Intent) {
@@ -912,11 +951,10 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
request.getStringExtra(com.droiddeck.launcher.stores.download.StoreDownloadService.EXTRA_NAV)?.let { navRequest = it; request.removeExtra(com.droiddeck.launcher.stores.download.StoreDownloadService.EXTRA_NAV) }
request.data?.takeIf { it.scheme == "droiddeck" && it.host == "settings" }?.let { uri ->
val section = uri.pathSegments.firstOrNull()
- navRequest = if (section in setOf("storage", "sync", "downloads")) section
+ navRequest = if (section in setOf("storage", "sync", "downloads", "decky", "boot-movies")) section
else "settings:" + (com.droiddeck.launcher.ui.SettingsSection.of(section) ?: com.droiddeck.launcher.ui.SettingsSection.OVERVIEW).key
request.data = null
gameLinkReading = false
- pendingGameLink = null
syncDualPanel()
return
}
@@ -929,7 +967,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
steamGames = emptyList()
shortcutLibraryScanning = true
} else shortcutLibraryScanning = false
- pendingGameLink = null
gameLinkReading = false
gameLinkTried = false
soundtrackLaunch = false
@@ -942,20 +979,26 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
return
}
if (GameLaunchIntent.accepts(request.action)) {
+ val ticket = launchCoordinator.beginLink(request)
gameLinkReading = true
com.droiddeck.launcher.ui.DualScreenPanel.hide(taskId)
val copy = Intent(request)
Thread({
- val id = GameLaunchIntent.read(this, copy)
+ val game = GameLaunchIntent.read(this, copy)
ui.post {
if (intent === request && !isDestroyed) {
gameLinkReading = false
- pendingGameLink = id
- if (id == null) {
+ if (!launchCoordinator.resolve(ticket, game)) {
+ clearGameLinkIntent(request)
+ syncDualPanel()
+ return@post
+ }
+ if (game == null) {
+ launchCoordinator.consume(ticket)
syncDualPanel()
android.widget.Toast.makeText(this, R.string.game_link_invalid, android.widget.Toast.LENGTH_LONG).show()
} else {
- handleGameLink(steamGames, scanned = false)
+ handleGameLink(steamGames, scanned = false, ticket = ticket)
refresh()
}
}
@@ -964,14 +1007,66 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
}
- private fun launchGame(game: Library.SteamGame, returnHome: Boolean = false, onHandled: () -> Unit = {}): Boolean {
+ private fun beginUiLaunch(): LaunchTicket {
+ val dropped = launchCoordinator.pendingLink()
+ val ticket = launchCoordinator.beginLaunch()
+ dropped?.let { if (intent === it.owner) clearGameLinkIntent(it.owner) }
+ return ticket
+ }
+
+ private fun clearGameLinkIntent(link: Intent) {
+ link.data = null
+ link.action = Intent.ACTION_MAIN
+ link.removeExtra(GameLaunchIntent.EXTRA_APP_ID)
+ }
+
+ private fun launchGame(
+ game: Library.SteamGame,
+ returnHome: Boolean = false,
+ onHandled: () -> Unit = {},
+ onSettled: () -> Unit = {},
+ ticket: LaunchTicket? = null,
+ ) {
if (!SessionPrefs.soundtracksIngame(this)) com.droiddeck.launcher.playback.SoundtrackController.pause(this)
if (pkgStage != null) {
+ ticket?.let(launchCoordinator::releaseHandling)
onHandled()
android.widget.Toast.makeText(this, R.string.main_wait_install_game, android.widget.Toast.LENGTH_SHORT).show()
- return false
+ return
}
- if (com.droiddeck.launcher.session.NoSteamLaunch.enabled(this, game)) return launchWithoutSteam(game, returnHome, onHandled)
+ val request = ticket ?: beginUiLaunch()
+ if (!launchCoordinator.isCurrent(request)) {
+ onHandled()
+ return
+ }
+ val files = game.gameFiles
+ if (game.source != com.droiddeck.launcher.stores.Store.XBOX.id || files == null) {
+ if (startGame(game, returnHome, onHandled, request)) onSettled()
+ else launchCoordinator.releaseHandling(request)
+ return
+ }
+ Thread({
+ val refused = com.droiddeck.launcher.stores.xbox.XboxManifest.needsAppModel(files)
+ ui.post {
+ when {
+ !launchCoordinator.isCurrent(request) || isFinishing || isDestroyed -> {
+ launchCoordinator.releaseHandling(request)
+ onHandled()
+ }
+ refused -> {
+ onHandled()
+ android.widget.Toast.makeText(this, getString(R.string.game_needs_app_model, game.name), android.widget.Toast.LENGTH_LONG).show()
+ onSettled()
+ }
+ startGame(game, returnHome, onHandled, request) -> onSettled()
+ else -> launchCoordinator.releaseHandling(request)
+ }
+ }
+ }, "xbox-app-model").start()
+ }
+
+ private fun startGame(game: Library.SteamGame, returnHome: Boolean, onHandled: () -> Unit, ticket: LaunchTicket): Boolean {
+ if (com.droiddeck.launcher.session.NoSteamLaunch.enabled(this, game)) return launchWithoutSteam(game, returnHome, onHandled, ticket)
onHandled()
if (SessionState.running) {
if (SessionState.mode != SessionService.MODE_STEAM || SessionState.stopRequested) {
@@ -1016,15 +1111,34 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
.apply { if (returnHome) putExtra(SessionActivity.EXTRA_LINK_TASK, task) }
}
- private fun launchWithoutSteam(game: Library.SteamGame, returnHome: Boolean, onHandled: () -> Unit = {}): Boolean {
+ private fun launchWithoutSteam(
+ game: Library.SteamGame,
+ returnHome: Boolean,
+ onHandled: () -> Unit = {},
+ ticket: LaunchTicket? = null,
+ ): Boolean {
+ if (pkgStage != null) {
+ onHandled()
+ android.widget.Toast.makeText(this, R.string.main_wait_install_game, android.widget.Toast.LENGTH_SHORT).show()
+ return false
+ }
val app = applicationContext
+ val request = ticket ?: beginUiLaunch()
+ if (!launchCoordinator.isCurrent(request)) {
+ onHandled()
+ return false
+ }
Thread({
val added = if (com.droiddeck.launcher.session.NoSteamLaunch.needsAddedGame(game)) runCatching { com.droiddeck.launcher.session.NoSteamLaunch.addedGame(app, game) }.getOrNull() else null
val command = com.droiddeck.launcher.session.NoSteamLaunch.command(game, added)
ui.post {
onHandled()
- if (isDestroyed) return@post
+ if (!launchCoordinator.isCurrent(request) || isFinishing || isDestroyed) {
+ launchCoordinator.releaseHandling(request)
+ return@post
+ }
if (command == null) {
+ launchCoordinator.releaseHandling(request)
android.widget.Toast.makeText(this, R.string.game_link_failed, android.widget.Toast.LENGTH_LONG).show()
return@post
}
@@ -1146,6 +1260,10 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
private fun startAfterSession(next: Intent) {
+ if (com.droiddeck.launcher.stores.steam.SteamStore.blocksSession(next)) {
+ android.widget.Toast.makeText(this, R.string.steam_store_session_wait, android.widget.Toast.LENGTH_SHORT).show()
+ return
+ }
SessionService.stop(this)
awaitSessionEnd(next, android.os.SystemClock.uptimeMillis() + SESSION_SWITCH_WAIT_MS)
}
@@ -1181,27 +1299,37 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
ui.postDelayed(poll, SESSION_SWITCH_POLL_MS)
}
- private fun handleGameLink(games: List, scanned: Boolean = true) {
+ private fun handleGameLink(games: List, scanned: Boolean = true, ticket: LaunchTicket? = null) {
if (!lifecycle.currentState.isAtLeast(androidx.lifecycle.Lifecycle.State.RESUMED)) return
- val id = pendingGameLink ?: return
- if (!scanned && games.none { it.gameIdString == id }) return
+ val link = launchCoordinator.pendingLink() ?: return
+ if (ticket != null && link.ticket !== ticket) return
+ val request = link.request ?: return
+ if (launchCoordinator.isHandling(link.ticket)) return
+ if (ticket == null && !link.ownedBy(intent)) {
+ // A refresh may only finish the link that belongs to the intent this activity shows.
+ launchCoordinator.consume(link.ticket)
+ return
+ }
+ val game = request.find(games, byTitle = scanned)
+ if (!scanned && game == null) return
gameLinkTried = true
ui.postDelayed({
if (!isDestroyed && lifecycle.currentState.isAtLeast(androidx.lifecycle.Lifecycle.State.RESUMED)) syncDualPanel()
}, LINK_PANEL_MS)
- val game = games.firstOrNull { it.gameIdString == id }
+ val linkIntent = link.owner
+ fun consume() {
+ if (!launchCoordinator.consume(link.ticket)) return
+ if (intent === linkIntent) clearGameLinkIntent(linkIntent)
+ }
if (game == null) {
- pendingGameLink = null
- intent.data = null
- intent.action = Intent.ACTION_MAIN
- intent.removeExtra(GameLaunchIntent.EXTRA_APP_ID)
+ consume()
syncDualPanel()
- android.widget.Toast.makeText(this, R.string.game_link_missing, android.widget.Toast.LENGTH_LONG).show()
- } else if (launchGame(game, returnHome = true)) {
- pendingGameLink = null
- intent.data = null
- intent.action = Intent.ACTION_MAIN
- intent.removeExtra(GameLaunchIntent.EXTRA_APP_ID)
+ android.widget.Toast.makeText(this,
+ if (request.program != null) R.string.game_link_program_unknown else R.string.game_link_missing,
+ android.widget.Toast.LENGTH_LONG).show()
+ } else {
+ if (!launchCoordinator.beginHandling(link.ticket)) return
+ launchGame(game, returnHome = true, onSettled = ::consume, ticket = link.ticket)
}
}
@@ -1214,13 +1342,22 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
super.onCreate(savedInstanceState)
drivers.restartBlocked = ::runtimeChangesBlocked
drivers.loadTpUbwcMode()
- pendingSessionLogExport = savedInstanceState?.getString(KEY_PENDING_SESSION_LOG_EXPORT)?.let(::File)
- homeChoiceOpen = savedInstanceState?.getBoolean(STATE_HOME_CHOICE_OPEN) == true
- gameSpaceOffered = savedInstanceState?.getBoolean(STATE_GAME_SPACE_OFFERED) == true
+ val handoff = if (savedInstanceState == null && intent.getBooleanExtra(EXTRA_RESTARTED, false)) LauncherHandoff.take() else null
+ val saved = savedInstanceState ?: handoff
+ pendingSessionLogExport = saved?.getString(KEY_PENDING_SESSION_LOG_EXPORT)?.let(::File)
+ queuedLaunch.restore(
+ saved?.let { androidx.core.os.BundleCompat.getParcelable(it, STATE_PENDING_GATE_LAUNCH, Intent::class.java) },
+ saved?.getLong(STATE_PENDING_GATE_LAUNCH_AT, 0L) ?: 0L, System.currentTimeMillis(),
+ )
+ homeChoiceOpen = saved?.getBoolean(STATE_HOME_CHOICE_OPEN) == true
+ gameSpaceOffered = saved?.getBoolean(STATE_GAME_SPACE_OFFERED) == true
if (savedInstanceState == null) readIntegrationIntent(intent)
val shortcutsFilter = android.content.IntentFilter(SteamIntegration.SHORTCUTS_STATUS)
if (android.os.Build.VERSION.SDK_INT >= 33) registerReceiver(shortcutsInstallStatus, shortcutsFilter, RECEIVER_NOT_EXPORTED)
else registerReceiver(shortcutsInstallStatus, shortcutsFilter)
+ if (GameLaunchIntent.accepts(intent.action) &&
+ GameLaunchIntent.replayed(intent, savedInstanceState != null, savedInstanceState?.getString(STATE_PROCESS), PROCESS))
+ clearGameLinkIntent(intent)
readGameIntent(intent)
// A Lab build is usually the agent's work, so the app comes back where the agent is.
if (savedInstanceState == null && navRequest == null && com.droiddeck.launcher.lab.LabOverlay.promoted && com.droiddeck.launcher.agent.AgentTab.visible) navRequest = "agent"
@@ -1240,6 +1377,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
requestedOrientation = launcherOrientation
homePage = com.droiddeck.launcher.core.AppUiPrefs.homePage(this)
launcherFullscreen = SessionPrefs.launcherFullscreen(this)
+ controllerHaptics = SessionPrefs.controllerHaptics(this)
downloadSource = DownloadSource.mode(this)
downloadMirror = DownloadSource.mirror(this)
downloadPrefix = DownloadSource.custom(this)
@@ -1292,7 +1430,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
gameSyncFolder = gameSyncFolder,
busy = busy, stage = stage, percent = percent,
desktopInstalled = desktopInstalled, desktopPresent = desktopPresent,
- offlineAccount = offlineAccount, offline = offline,
+ offlineAccount = offlineAccount, offline = offline, offlineAuto = offlineAuto,
frameGenLabel = frameGenLabel, romsDir = romsDir, logsEnabled = logsEnabled,
enhancedDiagnosticsArmed = enhancedDiagnosticsArmed,
gameDebugLogsEnabled = gameDebugLogsEnabled, gameDebugLogsNeedsRestart = gameDebugLogsNeedsRestart,
@@ -1315,6 +1453,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
integrationFocus = integrationFocus,
androidApps = androidApps,
secondScreenDisplays = secondScreenDisplays,
+ ownScreen = ownScreen,
dualScreen = dualDisplayId >= 0 && com.droiddeck.launcher.ui.DualScreenPanel.available,
dualScreenDevice = dualScreenDevice,
dualScreenMode = dualScreenMode,
@@ -1339,6 +1478,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
launcherOrientation = launcherOrientation,
homePage = homePage,
launcherFullscreen = launcherFullscreen,
+ controllerHaptics = controllerHaptics,
downloadSource = downloadSource,
downloadMirror = downloadMirror,
downloadPrefix = downloadPrefix,
@@ -1361,6 +1501,9 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
),
FrontEndActions(
onPlay = { playSteam() },
+ onQueuePlaySteam = {
+ queuedLaunch.queue(Intent(this, SessionActivity::class.java).putExtra(SessionActivity.EXTRA_STEAMVR, false), System.currentTimeMillis())
+ },
onPlaySteamVr = { playSteamVr() },
onSteamUrl = { url ->
if (!SessionState.running) startSession(
@@ -1383,16 +1526,20 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
},
onStoreGame = { store, id ->
val key = "${store.id}:$id"
- if (key !in preparingGames) {
+ if (pkgStage != null) {
+ android.widget.Toast.makeText(this, R.string.main_wait_install_game, android.widget.Toast.LENGTH_SHORT).show()
+ } else if (key !in preparingGames) {
preparingGames = preparingGames + key
+ val ticket = beginUiLaunch()
val app = applicationContext
Thread({
val g = runCatching { com.droiddeck.launcher.stores.StoreLaunch.installedGame(app, store, id) }.getOrNull()
runOnUiThread {
- if (g != null && !isFinishing && !isDestroyed) prepareAndLaunch(g, key)
- else {
+ if (g != null && launchCoordinator.isCurrent(ticket) && !isFinishing && !isDestroyed) {
+ prepareAndLaunch(g, key, ticket)
+ } else {
preparingGames = preparingGames - key
- if (g == null && !isFinishing && !isDestroyed) android.widget.Toast.makeText(this, R.string.stores_launch_not_registered, android.widget.Toast.LENGTH_LONG).show()
+ if (g == null && launchCoordinator.isCurrent(ticket) && !isFinishing && !isDestroyed) android.widget.Toast.makeText(this, R.string.stores_launch_not_registered, android.widget.Toast.LENGTH_LONG).show()
}
}
}, "store-play").start()
@@ -1483,15 +1630,15 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
onComponents = { focusContent -> openComponents(focusContent) },
onGameComponents = { game -> openComponents(gameKey = game.profileKey) },
onComponentsTab = { tab -> openComponents(focusContent = true, tab = tab) },
- onSaveImport = { sg -> importSaves(sg.name) { GameSaves.game(sg) } },
+ onSaveImport = { sg -> importSaves(sg.name) { GameSaves.game(this@FrontEndActivity, sg) } },
onAddonImport = { sg, target -> importAddons(sg.name, target) },
onAddonDelete = { target, name ->
saveAction(getString(R.string.main_addons_deleting, name)) {
- com.droiddeck.launcher.runtime.WowAddons.delete(target, name)
+ com.droiddeck.launcher.ui.deleteAddon(this, target, name)
getString(R.string.main_addons_deleted, name)
}
},
- onSaveExport = { sg, layout -> exportSaves(sg.name, layout) { GameSaves.game(sg) } },
+ onSaveExport = { sg, layout -> exportSaves(sg.name, layout) { GameSaves.game(this@FrontEndActivity, sg) } },
onPerformance = { refreshCores(); showComponents = false; showMapping = false; showPerformance = true },
performancePanel = { PerformanceHost(embedded = true) },
onRoms = { showRoms = true },
@@ -1608,6 +1755,11 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
OfflineMode.setEnabled(this, !OfflineMode.enabled(this))
offline = OfflineMode.enabled(this)
},
+ onOfflineAuto = {
+ OfflineMode.setAuto(this, !OfflineMode.auto(this))
+ offlineAuto = OfflineMode.auto(this)
+ offline = OfflineMode.enabled(this)
+ },
onPageBack = { showPerformance = false; showComponents = false; showMapping = false },
onSoundtracksIngame = { on ->
SessionPrefs.setSoundtracksIngame(this, on)
@@ -1622,7 +1774,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
onLanguage = { tag ->
if (tag != com.droiddeck.launcher.core.AppLanguage.chosen(this)) {
com.droiddeck.launcher.core.AppLanguage.setChosen(this, tag)
- recreate()
+ restartLauncher()
}
},
onAppScale = { percent ->
@@ -1642,6 +1794,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
com.droiddeck.launcher.core.AppUiPrefs.setHomePage(this, value)
homePage = value
},
+ onControllerHaptics = { on -> SessionPrefs.setControllerHaptics(this, on); controllerHaptics = on },
onLauncherFullscreen = { on ->
SessionPrefs.setLauncherFullscreen(this, on)
launcherFullscreen = on
@@ -1718,31 +1871,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
},
onRefreshPhantomStatus = { refreshPhantomStatus() },
onOpenDeveloperOptions = { displayId -> openDeveloperOptions(displayId) },
- onWirelessAdbPair = { host, port, code, complete ->
- Thread({
- val result = runCatching {
- kotlinx.coroutines.runBlocking { WirelessAdbFix.pair(this@FrontEndActivity, host, port, code) }
- }
- val error = result.exceptionOrNull()?.let { it.localizedMessage ?: getString(R.string.main_wadb_pair_failed) }
- ui.post { complete(error) }
- }, "wireless-adb-pair").start()
- },
- onFindWirelessAdbPort = { host, complete ->
- Thread({
- val port = WirelessAdbFix.findConnectPort(this@FrontEndActivity, host)
- ui.post { complete(port) }
- }, "wireless-adb-discovery").start()
- },
- onWirelessAdbApply = { host, port, enabled, complete ->
- Thread({
- val result = runCatching { WirelessAdbFix.setChildProcessLimit(this@FrontEndActivity, host, port, enabled) }
- val error = result.exceptionOrNull()?.let { it.localizedMessage ?: getString(R.string.main_wadb_command_failed) }
- ui.post {
- if (error == null) refreshPhantomStatus()
- complete(error)
- }
- }, "wireless-adb-fix").start()
- },
onSetPhantomProcessLimit = { enabled, complete ->
Thread({
val result = runCatching { WirelessAdbFix.setUsingSavedPairing(this@FrontEndActivity, enabled) }
@@ -1759,18 +1887,14 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
)
android.widget.Toast.makeText(this, R.string.main_adb_copied, android.widget.Toast.LENGTH_SHORT).show()
},
- onDismissPhantomGate = { showPhantomGate = false },
+ onDismissPhantomGate = { queuedLaunch.clear(); showPhantomGate = false },
onShowPhantomGate = {
refreshPhantomStatus()
showPhantomGate = true
},
- onStartWirelessAdbPairing = { WirelessAdbPairingService.start(this) },
+ onStartWirelessAdbPairing = { enabled -> WirelessAdbPairingService.start(this, enabled) },
onStartPairingGuide = { displayId, toggleOnly -> PairingGuideActivity.start(this, displayId, toggleOnly) },
- onOpenNotificationSettings = {
- startActivity(Intent(android.provider.Settings.ACTION_APP_NOTIFICATION_SETTINGS)
- .putExtra(android.provider.Settings.EXTRA_APP_PACKAGE, packageName)
- .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))
- },
+ onEnsureNotifications = { done -> ensureNotifications(done) },
updates = updates.actions(),
controller = ControllerActions(
onMapping = { showPerformance = false; showComponents = false; showMapping = true },
@@ -1871,26 +1995,18 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
}
- val askAllFiles = Build.VERSION.SDK_INT >= 30 && com.droiddeck.launcher.files.AllFilesAccess.missing() &&
- !SessionPrefs.allFilesAsked(this)
- if (savedInstanceState == null) {
- if (!askAllFiles) ui.post { startSteamAtStartupIfEnabled(cold = true) }
- } else {
- restoreCompatLaunch(savedInstanceState)
- pendingSwitch = savedIntent(savedInstanceState, KEY_PENDING_SWITCH)
- com.droiddeck.launcher.session.DesktopLock.handoff(savedInstanceState.getString(KEY_UNLOCK_MODE),
- savedInstanceState.getString(KEY_UNLOCK_UI), savedInstanceState.getString(KEY_UNLOCK_URL))?.copy(source = savedInstanceState.getString(KEY_UNLOCK_SOURCE))?.let(::askHandoff)
- savedIntent(savedInstanceState, KEY_SWITCHING_TO)?.let { awaitSessionEnd(it, savedInstanceState.getLong(KEY_SWITCH_DEADLINE)) }
+ if (savedInstanceState == null) ui.post { startSteamAtStartupIfEnabled(cold = true) }
+ saved?.let { state ->
+ restoreCompatLaunch(state)
+ pendingSwitch = savedIntent(state, KEY_PENDING_SWITCH)
+ com.droiddeck.launcher.session.DesktopLock.handoff(state.getString(KEY_UNLOCK_MODE),
+ state.getString(KEY_UNLOCK_UI), state.getString(KEY_UNLOCK_URL))?.copy(source = state.getString(KEY_UNLOCK_SOURCE))?.let(::askHandoff)
+ savedIntent(state, KEY_SWITCHING_TO)?.let { awaitSessionEnd(it, state.getLong(KEY_SWITCH_DEADLINE)) }
}
val wanted = ArrayList()
- if (Build.VERSION.SDK_INT >= 30) {
- // From targetSdk 30, shared storage outside the app's own folders is all-files access or nothing.
- if (askAllFiles) {
- SessionPrefs.setAllFilesAsked(this)
- com.droiddeck.launcher.files.AllFilesAccess.open(this)
- }
- } else if (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {
+ // From Android 11, shared storage outside the app's own folders is all-files access, which the file picker asks for when a shared drive is opened.
+ if (Build.VERSION.SDK_INT < 30 && checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {
wanted.add(Manifest.permission.WRITE_EXTERNAL_STORAGE)
}
if (SessionPrefs.micEnabled(this) && !SessionPrefs.micAsked(this)
@@ -1899,6 +2015,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
SessionPrefs.setMicAsked(this)
}
if (wanted.isNotEmpty()) requestPermissions(wanted.toTypedArray(), 1)
+ com.droiddeck.launcher.session.Onboarding.onFirstRunReady = firstRunReady
Thread({ com.droiddeck.launcher.stores.StoreAccounts.encryptAll(this) }, "store-credentials").start()
if (!SessionState.running) Thread({
com.droiddeck.launcher.session.LogMigration.run(this)
@@ -1918,9 +2035,9 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
setIntent(intent)
+ supersedeUncommittedLaunch()
if (intent.action == SteamIntegration.ACTION_SETUP) {
gameLinkReading = false
- pendingGameLink = null
syncDualPanel()
readIntegrationIntent(intent)
return
@@ -1930,10 +2047,19 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
startSteamAtStartupIfEnabled()
}
+ /** A replacement activity intent supersedes anything this activity has not dispatched yet. */
+ private fun supersedeUncommittedLaunch() {
+ launchCoordinator.cancelAll()
+ }
+
private var soundtrackLaunch = false
+ // A restarted launcher starts before the old one stops, so each clears the hooks only if they are still its own.
+ private val libraryHook: () -> Unit = { refreshAddedGames(); refresh() }
+ private val battleNetHook: (List) -> Unit = { args -> openBattleNet(args) }
+
private fun startSteamAtStartupIfEnabled(cold: Boolean = false) {
- if (soundtrackLaunch || pendingUnlock != null) return
+ if (soundtrackLaunch || pendingUnlock != null || intent.getBooleanExtra(EXTRA_RESTARTED, false)) return
if (intent.action != Intent.ACTION_MAIN && !(cold && intent.action == null)) return
if (isFinishing || isDestroyed) return
when (SessionPrefs.startupSession(this)) {
@@ -2047,7 +2173,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
private fun startSteamSession(steamVr: Boolean = false) {
- startSession(Intent(this, SessionActivity::class.java).putExtra(SessionActivity.EXTRA_STEAMVR, steamVr), steamSession = true)
+ startSession(Intent(this, SessionActivity::class.java).putExtra(SessionActivity.EXTRA_STEAMVR, steamVr), steamSession = true, queueIfBlocked = !steamVr)
}
@Suppress("OVERRIDE_DEPRECATION")
@@ -2068,6 +2194,10 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
override fun onWindowFocusChanged(hasFocus: Boolean) {
super.onWindowFocusChanged(hasFocus)
+ if (!hasFocus) {
+ triggerKeys.cancel()
+ stopRightStickScroll()
+ }
if (hasFocus) {
com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
applyLauncherFullscreen()
@@ -2097,6 +2227,36 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
}
+ private var touchDownX = 0f
+ private var touchDownY = 0f
+ private var touchDragged = false
+
+ override fun dispatchTouchEvent(event: MotionEvent): Boolean {
+ when (event.actionMasked) {
+ MotionEvent.ACTION_DOWN -> {
+ com.droiddeck.launcher.ui.ScreenTaps.count++
+ touchDownX = event.rawX
+ touchDownY = event.rawY
+ touchDragged = false
+ }
+ // A drag that wanders back to where it began is still a drag, not a tap.
+ MotionEvent.ACTION_MOVE -> if (!touchDragged &&
+ kotlin.math.hypot(event.rawX - touchDownX, event.rawY - touchDownY) > ViewConfiguration.get(this).scaledTouchSlop
+ ) touchDragged = true
+ MotionEvent.ACTION_CANCEL -> touchDragged = true
+ }
+ val handled = super.dispatchTouchEvent(event)
+ if (event.actionMasked == MotionEvent.ACTION_UP) leaveTextFieldOnOutsideTap(event)
+ return handled
+ }
+
+ private fun leaveTextFieldOnOutsideTap(event: MotionEvent) {
+ val field = currentFocus as? EditText ?: return
+ val slop = ViewConfiguration.get(this).scaledTouchSlop
+ if (touchDragged || kotlin.math.hypot(event.rawX - touchDownX, event.rawY - touchDownY) > slop) return
+ com.droiddeck.launcher.ui.releaseTextField(field, IntArray(2).also(field::getLocationOnScreen), event.rawX, event.rawY)
+ }
+
override fun dispatchKeyEvent(event: KeyEvent): Boolean {
if (com.droiddeck.launcher.ui.AgentPet.handleBack(this, event)) return true
if (compatLaunch != null) {
@@ -2107,6 +2267,16 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
if (!compatLaunch!!.loading.ended && event.keyCode !in listOf(
KeyEvent.KEYCODE_VOLUME_UP, KeyEvent.KEYCODE_VOLUME_DOWN, KeyEvent.KEYCODE_VOLUME_MUTE)) return true
}
+ if (!triggerKeys.synthesizing && triggerKeys.nativeKey(event)) return true
+ val tabStep = com.droiddeck.launcher.ui.dualPageStep(event)
+ val tabs = com.droiddeck.launcher.ui.MainTabSteps.handler
+ if (tabStep == null && event.action == KeyEvent.ACTION_DOWN) com.droiddeck.launcher.ui.MainTabSteps.otherKeys++
+ if (tabStep != null && tabs != null) {
+ if (controllerHaptics) com.droiddeck.launcher.ui.ControllerHaptics.onKey(this, event)
+ if (event.action == KeyEvent.ACTION_DOWN && event.repeatCount == 0) tabs(tabStep)
+ return true
+ }
+ if (controllerHaptics) com.droiddeck.launcher.ui.ControllerHaptics.onKey(this, event)
if (event.keyCode == KeyEvent.KEYCODE_BUTTON_A) com.droiddeck.launcher.ui.HeldKeys.confirm = event.action == KeyEvent.ACTION_DOWN
if (showComponents && (event.keyCode == KeyEvent.KEYCODE_BUTTON_L1 || event.keyCode == KeyEvent.KEYCODE_BUTTON_R1)) {
if (event.action == KeyEvent.ACTION_DOWN && event.repeatCount == 0) {
@@ -2123,13 +2293,112 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
}
+ private val triggerKeys = com.droiddeck.launcher.input.TriggerKeys { dispatchKeyEvent(it) }
+ private val rightStickLayouts = HashMap()
+ private val rightStickScrollHandler = android.os.Handler(android.os.Looper.getMainLooper())
+ private var rightStickScrollDeviceId = -1
+ private var rightStickScrollDeflection = 0f
+ private var rightStickScrollScheduled = false
+ private var rightStickNextDispatchAt = 0L
+ private val rightStickScrollTick = object : Runnable {
+ override fun run() {
+ val deviceId = rightStickScrollDeviceId
+ if (!hasWindowFocus() || (compatLaunch != null && !compatLaunch!!.loading.ended) ||
+ deviceId == -1 ||
+ android.view.InputDevice.getDevice(deviceId) == null ||
+ kotlin.math.abs(rightStickScrollDeflection) < 0.55f) {
+ stopRightStickScroll()
+ return
+ }
+ rightStickScrollScheduled = false
+ dispatchRightStickScroll(rightStickScrollDeflection, deviceId)
+ rightStickNextDispatchAt = android.os.SystemClock.uptimeMillis() + 130L
+ rightStickScrollHandler.postDelayed(this, 130L)
+ rightStickScrollScheduled = true
+ }
+ }
+
+ private fun stopRightStickScroll() {
+ rightStickScrollHandler.removeCallbacks(rightStickScrollTick)
+ rightStickScrollDeviceId = -1
+ rightStickScrollDeflection = 0f
+ rightStickScrollScheduled = false
+ }
+
+ private fun dispatchRightStickScroll(value: Float, deviceId: Int) {
+ val now = android.os.SystemClock.uptimeMillis()
+ val root = window.decorView
+ if (root.width <= 0 || root.height <= 0) return
+ val properties = android.view.MotionEvent.PointerProperties().apply {
+ id = 0
+ toolType = android.view.MotionEvent.TOOL_TYPE_MOUSE
+ }
+ val coordinates = android.view.MotionEvent.PointerCoords().apply {
+ x = root.width * 0.65f
+ y = root.height * 0.5f
+ setAxisValue(android.view.MotionEvent.AXIS_VSCROLL, -value * 3f)
+ }
+ val scroll = android.view.MotionEvent.obtain(
+ now, now, android.view.MotionEvent.ACTION_SCROLL, 1,
+ arrayOf(properties), arrayOf(coordinates), 0, 0, 1f, 1f,
+ deviceId, 0, android.view.InputDevice.SOURCE_MOUSE, 0,
+ )
+ try {
+ super.dispatchGenericMotionEvent(scroll)
+ } finally {
+ scroll.recycle()
+ }
+ }
+
+ private fun scrollPageWithRightStick(event: android.view.MotionEvent) {
+ if (event.actionMasked != android.view.MotionEvent.ACTION_MOVE ||
+ !com.droiddeck.launcher.input.PadBridge.isControllerMotionEvent(event)) return
+ val device = event.device ?: return
+ val rxRy = com.droiddeck.launcher.input.PadBridge.rightStickUsesRxRy(event, device, rightStickLayouts)
+ ?: return
+ val axis = if (rxRy) android.view.MotionEvent.AXIS_RY else android.view.MotionEvent.AXIS_RZ
+ val value = event.getAxisValue(axis)
+ if (kotlin.math.abs(value) < 0.55f) {
+ if (rightStickScrollDeviceId == event.deviceId) stopRightStickScroll()
+ return
+ }
+ rightStickScrollDeviceId = event.deviceId
+ rightStickScrollDeflection = value
+ if (!rightStickScrollScheduled) {
+ val delay = (rightStickNextDispatchAt - android.os.SystemClock.uptimeMillis()).coerceAtLeast(0L)
+ rightStickScrollHandler.postDelayed(rightStickScrollTick, delay)
+ rightStickScrollScheduled = true
+ }
+ }
+
override fun dispatchGenericMotionEvent(event: android.view.MotionEvent): Boolean {
if (compatLaunch != null && !compatLaunch!!.loading.ended &&
- com.droiddeck.launcher.input.PadBridge.isControllerMotionEvent(event)) return true
+ com.droiddeck.launcher.input.PadBridge.isControllerMotionEvent(event)) {
+ stopRightStickScroll()
+ return true
+ }
+ triggerKeys.onMotion(event)
+ scrollPageWithRightStick(event)
return super.dispatchGenericMotionEvent(event)
}
+ @Volatile private var inFront = false
+ private var autoSteamPending = false
+
+ /** Runs on the worker thread that finishes setup, so the foreground state is read as setup completes, not when the UI thread gets to it. */
+ private val firstRunReady: () -> Unit = {
+ val front = inFront
+ runOnUiThread { if (front) autoStartSteam() }
+ }
+
+ private fun autoStartSteam() {
+ if (isFinishing || isDestroyed || SessionState.running || !inFront) return
+ if (busy) autoSteamPending = true else playSteam()
+ }
+
override fun onPause() {
+ inFront = false
+ stopRightStickScroll()
compatLaunchVisible = false
if (android.os.Build.VERSION.SDK_INT >= 29) com.droiddeck.launcher.ui.DualScreenPanel.ownerPaused(taskId, true)
super.onPause()
@@ -2137,11 +2406,13 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
override fun onResume() {
super.onResume()
+ inFront = true
if (!homeChoiceOpen) {
HomeApp.releaseUnusedHomeEntry(this)
refreshHomeAppState()
}
if (settingsMode == SessionService.MODE_STEAM) refreshFoundSteamLibraries()
+ settingsMode?.let { hdrOn = SessionPrefs.hdr(this, it) }
compatLaunchVisible = true
com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
com.droiddeck.launcher.ui.DualScreenPanel.ownerPaused(taskId, false)
@@ -2151,8 +2422,8 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
homePage = com.droiddeck.launcher.core.AppUiPrefs.homePage(this)
refreshWifiDiscovery()
com.droiddeck.launcher.stores.StoresState.refresh(this)
- com.droiddeck.launcher.stores.StoresState.libraryListener = { refreshAddedGames(); refresh() }
- com.droiddeck.launcher.stores.battlenet.BattleNetClient.opener = { args -> openBattleNet(args) }
+ com.droiddeck.launcher.stores.StoresState.libraryListener = libraryHook
+ com.droiddeck.launcher.stores.battlenet.BattleNetClient.opener = battleNetHook
com.droiddeck.launcher.ui.Motion.refresh(this)
com.droiddeck.launcher.ui.QuitFlood.take()?.let { c ->
returning = ReturningFlood(c, com.droiddeck.launcher.ui.LaunchOrigin.takeReturn())
@@ -2174,9 +2445,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
if (!OfflineMode.enabled(this)) {
val updated = runCatching { ComponentUpdater.ensure(this, force = false) }
.onFailure { android.util.Log.w("ComponentUpdater", "automatic component updates", it) }.getOrDefault(emptyList())
- if (updated.isNotEmpty()) ui.post {
- android.widget.Toast.makeText(this, updated.joinToString("\n"), android.widget.Toast.LENGTH_LONG).show()
- }
+ if (updated.isNotEmpty()) android.util.Log.i("ComponentUpdater", updated.joinToString("; "))
}
ui.post {
componentsQueueBusy = false
@@ -2225,9 +2494,18 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
override fun onSaveInstanceState(outState: Bundle) {
super.onSaveInstanceState(outState)
+ saveLauncherState(outState)
+ }
+
+ private fun saveLauncherState(outState: Bundle) {
+ outState.putString(STATE_PROCESS, PROCESS)
outState.putBoolean(STATE_HOME_CHOICE_OPEN, homeChoiceOpen)
outState.putBoolean(STATE_GAME_SPACE_OFFERED, gameSpaceOffered)
pendingSessionLogExport?.let { outState.putString(KEY_PENDING_SESSION_LOG_EXPORT, it.absolutePath) }
+ queuedLaunch.launch?.let {
+ outState.putParcelable(STATE_PENDING_GATE_LAUNCH, it)
+ outState.putLong(STATE_PENDING_GATE_LAUNCH_AT, queuedLaunch.queuedAt)
+ }
if (slowUsbNever) SessionPrefs.setSlowUsbWarningOff(this)
saveCompatLaunch(outState)
pendingSwitch?.let { outState.putParcelable(KEY_PENDING_SWITCH, it) }
@@ -2247,20 +2525,33 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
if (Build.VERSION.SDK_INT >= 33) state.getParcelable(key, Intent::class.java)
else @Suppress("DEPRECATION") state.getParcelable(key)
- private fun prepareAndLaunch(g: Library.SteamGame, key: String) {
- val request = gameLaunchRequest.incrementAndGet()
+ private fun prepareAndLaunch(g: Library.SteamGame, key: String, ticket: LaunchTicket? = null) {
+ if (pkgStage != null) {
+ preparingGames = preparingGames - key
+ android.widget.Toast.makeText(this, R.string.main_wait_install_game, android.widget.Toast.LENGTH_SHORT).show()
+ return
+ }
+ val request = ticket ?: beginUiLaunch()
+ if (!launchCoordinator.isCurrent(request)) {
+ preparingGames = preparingGames - key
+ return
+ }
val done = { preparingGames = preparingGames - key }
com.droiddeck.launcher.frontend.AutoComponents.beforeLaunch(this, g, onBlocked = done) {
- if (request != gameLaunchRequest.get() || isFinishing || isDestroyed) { done(); return@beforeLaunch }
+ if (!launchCoordinator.isCurrent(request) || isFinishing || isDestroyed) { done(); return@beforeLaunch }
com.droiddeck.launcher.stores.StoreLaunch.prepare(this, g) {
- if (request == gameLaunchRequest.get() && !isFinishing && !isDestroyed) launchGame(g, onHandled = done)
+ if (launchCoordinator.isCurrent(request) && !isFinishing && !isDestroyed) launchGame(g, onHandled = done, ticket = request)
else done()
}
}
}
override fun onDestroy() {
- gameLaunchRequest.incrementAndGet()
+ // The queued launch was saved before this; a restored activity keeps its copy, and this one must not start it too.
+ if (com.droiddeck.launcher.session.Onboarding.onFirstRunReady === firstRunReady) com.droiddeck.launcher.session.Onboarding.onFirstRunReady = null
+ queuedLaunchRunner.destroy()
+ triggerKeys.cancel()
+ launchCoordinator.cancelAll()
cancelCompatLaunch()
updates.unregister()
runCatching { unregisterReceiver(shortcutsInstallStatus) }
@@ -2281,8 +2572,8 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
getSystemService(android.content.pm.LauncherApps::class.java).unregisterCallback(packageCallback)
HomeWidgets.stopListening(this)
ui.removeCallbacks(mediaRefresh)
- com.droiddeck.launcher.stores.StoresState.libraryListener = null
- com.droiddeck.launcher.stores.battlenet.BattleNetClient.opener = null
+ if (com.droiddeck.launcher.stores.StoresState.libraryListener === libraryHook) com.droiddeck.launcher.stores.StoresState.libraryListener = null
+ if (com.droiddeck.launcher.stores.battlenet.BattleNetClient.opener === battleNetHook) com.droiddeck.launcher.stores.battlenet.BattleNetClient.opener = null
displayManager.unregisterDisplayListener(secondScreenDisplayListener)
com.droiddeck.launcher.input.DualScreen.unwatchTaken(bottomScreenListener)
getSystemService(android.hardware.input.InputManager::class.java)?.unregisterInputDeviceListener(secondScreenTouchListener)
@@ -2299,6 +2590,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
homeScreenEnabled = HomeApp.isHomeScreenEnabled(this)
homeAppSelected = homeScreenEnabled && HomeApp.isDefault(this)
defaultHomeLabel = HomeApp.defaultLabel(this)
+ com.droiddeck.launcher.ui.NavTabs.syncHomeApps(this, homeAppSelected)
refreshAndroidApps()
integrationState = readIntegration()
}
@@ -2322,6 +2614,9 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
val ownDisplayId = if (android.os.Build.VERSION.SDK_INT >= 30) display?.displayId ?: android.view.Display.DEFAULT_DISPLAY else @Suppress("DEPRECATION") windowManager.defaultDisplay.displayId
dualScreenMode = SessionPrefs.dualScreenMode(this)
secondScreenDisplays = SecondScreenDisplays.available(displayManager, ownDisplayId)
+ ownScreen = ownDisplayId.takeIf { it != Display.DEFAULT_DISPLAY }?.let { id ->
+ displayManager.getDisplay(id)?.takeIf { it.isValid }?.let { SecondScreenDisplay(id, "${it.name} · ${it.mode.physicalWidth}×${it.mode.physicalHeight}") }
+ }
dualScreenDevice = com.droiddeck.launcher.input.DualScreen.anyDisplay(displayManager, ownDisplayId) != null
dualScreenSessions = SessionPrefs.dualScreenSessionMode(this)
dualScreenControls = SessionPrefs.dualScreenSessionControls(this)
@@ -2337,22 +2632,29 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
else com.droiddeck.launcher.ui.DualScreenPanel.hide(taskId)
}
- private fun launchPending(): Boolean = gameLinkReading || (pendingGameLink != null && !gameLinkTried)
+ private fun launchPending(): Boolean = gameLinkReading || (launchCoordinator.hasPending() && !gameLinkTried)
private fun launchAndroidApp(app: HomeApp.LaunchableApp, displayId: Int?) {
val onOwnScreen = displayId == null || displayId == (display?.displayId ?: Display.DEFAULT_DISPLAY)
if (onOwnScreen) com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, true)
- try {
- HomeApp.launch(this, app, displayId)
- } catch (_: Exception) {
- com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
- val label = secondScreenDisplays.firstOrNull { it.id == displayId }?.label
- val message = when {
- displayId == null || displayId == Display.DEFAULT_DISPLAY -> getString(R.string.android_app_open_failed_primary, app.label)
- label != null -> getString(R.string.android_app_open_failed_on, app.label, label)
- else -> getString(R.string.android_app_open_failed_display, app.label, displayId)
+ val open = {
+ try {
+ HomeApp.launch(this, app, displayId)
+ } catch (_: Exception) {
+ com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
+ val label = secondScreenDisplays.firstOrNull { it.id == displayId }?.label
+ val message = when {
+ displayId == null || displayId == Display.DEFAULT_DISPLAY -> getString(R.string.android_app_open_failed_primary, app.label)
+ label != null -> getString(R.string.android_app_open_failed_on, app.label, label)
+ else -> getString(R.string.android_app_open_failed_display, app.label, displayId)
+ }
+ android.widget.Toast.makeText(this, message, android.widget.Toast.LENGTH_SHORT).show()
}
- android.widget.Toast.makeText(this, message, android.widget.Toast.LENGTH_SHORT).show()
+ }
+ if (displayId != null && displayId == com.droiddeck.launcher.ui.DualScreenPanel.shownOn) {
+ com.droiddeck.launcher.ui.DualScreenPanel.makeRoomForApp(this, displayId, open)
+ } else {
+ open()
}
}
@@ -2505,13 +2807,20 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
),
protons = com.droiddeck.launcher.ui.ProtonsState(
rows = protons.protonRows, busyId = protons.protonBusyId, stage = protons.protonStage, percent = protons.protonPercent,
- runtimeReady = ready && !busy, sessionRunning = SessionState.running,
+ runtimeReady = ready && !busy, sessionRunning = SessionState.running, experimental = protons.experimentalDirs,
+ experimentalReleases = protons.experimentalReleases,
),
protonActions = com.droiddeck.launcher.ui.ProtonsActions(
onInstall = { id -> protons.installProton(id) },
onCancel = { id -> ProtonExtras.tools.firstOrNull { it.id == id }?.let { ProtonExtras.unqueue(this, it) }; protons.refreshProtons() },
onRemove = { id, dir -> protons.removeProton(id, dir) },
onRemoveOlder = { id -> protons.removeProton(id, older = true) },
+ onExperimentalFile = {
+ pickExperimentalProton.launch(InAppFilePicker.buildIntent(this, EXPERIMENTAL_PROTON_EXT, getString(R.string.xproton_install_file),
+ android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DOWNLOADS).path))
+ },
+ onExperimentalRelease = { release -> protons.installExperimentalRelease(release) },
+ onRemoveExperimental = { dir -> protons.removeExperimental(dir) },
),
protonOptions = {
com.droiddeck.launcher.ui.ProtonOptions(
@@ -2647,9 +2956,9 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
if (settingsMode != mode) return
com.droiddeck.launcher.ui.ModeSheetRows(
ModeSettings(
- mode = mode, resolution = resolution,
+ mode = mode, resolution = resolution, resolutionPortrait = resolutionPortrait,
panelSize = com.droiddeck.launcher.session.SessionDisplay.panelSize(this),
- hdr = hdrOn, hdrReason = hdrReason,
+ hdr = hdrOn, hdrReason = hdrReason, hdrDisplay = hdrDisplay, zeroCopy = zeroCopyOn,
upscaler = upscaler, upscaleSharpness = upscaleSharpness,
gpuDrivers = drivers.summary(),
touchMode = touchMode,
@@ -2667,9 +2976,11 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
picturePosition = if (mode == SessionService.MODE_STEAM) picturePosition else null,
integerScaling = if (mode == SessionService.MODE_STEAM) integerScaling else null,
stretch16x9 = if (mode == SessionService.MODE_STEAM) stretch16x9 else null,
+ avoidNotch = if (mode == SessionService.MODE_STEAM) avoidNotch else null,
mic = if (mode == SessionService.MODE_STEAM) mic else null,
gameStorage = if (mode == SessionService.MODE_STEAM) gameStorage else null,
storageOptions = storageOptions,
+ storageFat32 = storageFat32,
steamLibraries = steamLibraries,
foundSteamLibraries = foundSteamLibraries,
allFilesAccessMissing = allFilesAccessMissing,
@@ -2680,6 +2991,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
steamClientArch = if (mode == SessionService.MODE_STEAM) steamClientArch else null,
returnAfterGame = if (mode == SessionService.MODE_STEAM) returnAfterGame else null,
shaderPrecache = if (mode == SessionService.MODE_STEAM) shaderPrecache else null,
+ valveProtonOnDemand = if (mode == SessionService.MODE_STEAM) valveProtonOnDemand else null,
steamRepairQueued = steamRepairQueued,
mangoapp = mangoapp,
steamController = if (mode == SessionService.MODE_STEAM) steamController else null,
@@ -2697,13 +3009,21 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
deckyChecking = decky.deckyChecking, deckyStage = decky.deckyStage, deckyPercent = decky.deckyPercent,
deckyDownloadingBinary = decky.deckyDownloadingBinary,
deckyEnabled = decky.deckySupervisor, deckySessionRunning = SessionState.running,
+ deckyPlugins = decky.deckyPlugins, deckyStore = decky.deckyStore, deckyStoreFailed = decky.deckyStoreFailed,
),
ModeSettingsActions(
onIntegration = ::configureIntegration,
onIntegrationAppInfo = ::openAppInfo,
onIntegrationLocation = ::openWifiDiscoverySettings,
- onResolution = { value -> SessionPrefs.setResolutionChoice(this, mode, value); resolution = value },
- onHdr = { on -> SessionPrefs.setHdr(this, mode, on); hdrOn = on },
+ onResolution = { value -> SessionPrefs.setResolutionChoice(this, mode, value); loadResolutions(mode) },
+ onResolutionPortrait = { value -> SessionPrefs.setResolutionChoice(this, mode, value, portrait = true); loadResolutions(mode) },
+ onHdr = { on -> com.droiddeck.launcher.session.SessionHdr.set(this, mode, on); hdrOn = on },
+ onZeroCopy = { on ->
+ SessionPrefs.setZeroCopy(this, mode, on); zeroCopyOn = on
+ if (com.droiddeck.launcher.wayland.CompositorHost.isStarted && !SessionState.hdr &&
+ SessionPrefs.prefMode(SessionState.mode) == SessionPrefs.prefMode(mode))
+ com.droiddeck.launcher.wayland.WaylandCompositor.nativeSetZeroCopy(on)
+ },
onGpuDrivers = { openComponents(focusContent = true, tab = com.droiddeck.launcher.ui.GPU_TAB) },
onUpscaler = { m -> SessionPrefs.setUpscaler(this, m); upscaler = m },
onUpscaleSharpness = { pct -> SessionPrefs.setUpscaleSharpness(this, pct); upscaleSharpness = pct },
@@ -2730,6 +3050,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
onPicturePosition = { value -> SessionPrefs.setPicturePosition(this, value); picturePosition = value },
onIntegerScaling = { on -> SessionPrefs.setIntegerScaling(this, on); integerScaling = on },
onStretch16x9 = { on -> SessionPrefs.setStretch16x9(this, on); stretch16x9 = on },
+ onAvoidNotch = { on -> SessionPrefs.setAvoidNotch(this, on); avoidNotch = on },
onMic = { on ->
SessionPrefs.setMicEnabled(this, on)
mic = on
@@ -2779,6 +3100,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
onMangoapp = { on -> SessionPrefs.setMangoapp(this, on); mangoapp = on },
onReturnAfterGame = { on -> SessionPrefs.setReturnAfterGame(this, on); returnAfterGame = on },
onShaderPrecache = { on -> SessionPrefs.setShaderPrecache(this, on); shaderPrecache = on },
+ onValveProtonOnDemand = { on -> SessionPrefs.setValveProtonOnDemand(this, on); valveProtonOnDemand = on },
onSteamController = { id -> SessionPrefs.setSteamController(this, id); steamController = id },
onDesktopLock = { on -> toggleDesktopLock(on) },
onStartupSession = { id ->
@@ -2800,6 +3122,9 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
decky.deckyInstalled = null
decky.deckySupervisor = false
},
+ onDeckyStoreRefresh = { decky.refreshStore() },
+ onDeckyStoreInstall = { plugin -> decky.installStorePlugin(plugin) },
+ onDeckyRemove = { plugin -> decky.removePlugin(plugin) },
onPickDeckyPluginZip = {
pickDeckyPluginZip.launch(InAppFilePicker.buildIntent(this, ZIP_EXT, getString(R.string.main_pick_decky_zip)))
},
@@ -2821,10 +3146,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
fsyncFirst = fsyncFirst,
gamescopeRealtime = gamescopeRealtime,
gpuClockPin = gpuClockPin,
- ramCapMb = ramCapMb, vramCapMb = vramCapMb, zramClient = zramClient, zramIdle = zramIdle,
- deviceRamMb = (android.app.ActivityManager.MemoryInfo()
- .also((getSystemService(ACTIVITY_SERVICE) as android.app.ActivityManager)::getMemoryInfo).totalMem / (1024 * 1024)).toInt(),
- ramCapAvailable = com.droiddeck.launcher.core.ZramSupport.supported(),
prootNoSeccomp = prootNoSeccomp, prootFastPath = prootFastPath, nativeUserland = nativeUserland, cursorComposite = cursorComposite,
guestHostname = guestHostname, phantomWarning = phantomWarning,
onClientOverride = { on -> SessionPrefs.setClientCpusOverride(this, on); clientOverride = on },
@@ -2839,10 +3160,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
onFsyncFirst = { on -> SessionPrefs.setFsyncFirst(this, on); fsyncFirst = on },
onGamescopeRealtime = { on -> SessionPrefs.setGamescopeRealtime(this, on); gamescopeRealtime = on },
onGpuClockPin = { on -> SessionPrefs.setGpuClockPin(this, on); gpuClockPin = on },
- onRamCapMb = { mb -> SessionPrefs.setRamCapMb(this, mb); ramCapMb = mb },
- onZramClient = { on -> SessionPrefs.setZramClient(this, on); zramClient = on },
- onZramIdle = { on -> SessionPrefs.setZramIdle(this, on); zramIdle = on },
- onVramCapMb = { mb -> SessionPrefs.setVramCapMb(this, mb); vramCapMb = mb },
onProotNoSeccomp = { on -> SessionPrefs.setProotNoSeccomp(this, on); prootNoSeccomp = on },
onProotFastPath = { on -> SessionPrefs.setProotFastPath(this, on); prootFastPath = on },
onNativeUserland = { on -> SessionPrefs.setNativeUserland(this, on); nativeUserland = on },
@@ -2980,6 +3297,10 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
return
}
val target = com.droiddeck.launcher.frontend.GameRemoval.steamFiles(g) ?: return
+ if (Library.fromSteamClient(g)) {
+ com.droiddeck.launcher.stores.steam.SteamStore.uninstall(this, g.appId, target.manifest, fallback = { com.droiddeck.launcher.frontend.GameRemoval.delete(target) }) { refreshAddedGames(); refresh() }
+ return
+ }
Thread({
com.droiddeck.launcher.frontend.GameRemoval.delete(target)
ui.post { refreshAddedGames(); refresh() }
@@ -3037,11 +3358,17 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}, "shader-precache").start()
}
+ private fun loadResolutions(mode: String) {
+ val panel = com.droiddeck.launcher.session.SessionDisplay.panelSize(this)
+ resolution = SessionPrefs.resolutionStored(this, mode, panel, false)
+ resolutionPortrait = SessionPrefs.resolutionStored(this, mode, panel, true)
+ }
+
private fun loadModeSettings(mode: String) {
pipAutoEnter = SessionPrefs.pipAutoEnter(this)
unfoldedControls = SessionPrefs.unfoldedControls(this)
unfoldedControlsWithController = SessionPrefs.unfoldedControlsWithController(this)
- resolution = SessionPrefs.resolutionChoice(this, mode, com.droiddeck.launcher.session.SessionDisplay.panelSize(this))
+ loadResolutions(mode)
fexPreset = SessionPrefs.fexPreset(this)
forceSsbs = SessionPrefs.forceSsbs(this)
fastSync = SessionPrefs.fastSync(this)
@@ -3051,15 +3378,18 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
steamRepairQueued = SteamRepair.queued(this)
mangoapp = SessionPrefs.mangoapp(this)
returnAfterGame = SessionPrefs.returnAfterGame(this)
+ valveProtonOnDemand = SessionPrefs.valveProtonOnDemand(this)
loadShaderPrecache(mode)
steamController = SessionPrefs.steamController(this)
startupSession = SessionPrefs.startupSession(this)
desktopLock = com.droiddeck.launcher.session.DesktopLock.enabled(this)
loadBootMovie()
hdrOn = SessionPrefs.hdr(this, mode)
+ zeroCopyOn = SessionPrefs.zeroCopy(this, mode)
upscaler = SessionPrefs.upscaler(this)
upscaleSharpness = SessionPrefs.upscaleSharpness(this)
- hdrReason = com.droiddeck.launcher.wayland.HdrSupport.probe(this).reason
+ hdrReason = com.droiddeck.launcher.wayland.HdrSupport.blocked(this)
+ hdrDisplay = com.droiddeck.launcher.wayland.HdrSupport.probe(this).reason == null
touchMode = SessionPrefs.touchMode(this)
if (!SessionPrefs.penSeen(this) && com.droiddeck.launcher.input.PenStream.penConnected()) SessionPrefs.setPenSeen(this)
pen = SessionPrefs.pen(this).takeIf { SessionPrefs.penSeen(this) }
@@ -3072,6 +3402,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
picturePosition = SessionPrefs.picturePosition(this)
integerScaling = SessionPrefs.integerScaling(this)
stretch16x9 = SessionPrefs.stretch16x9(this)
+ avoidNotch = SessionPrefs.avoidNotch(this)
mic = SessionPrefs.micEnabled(this)
refreshWifiDiscovery()
gameStorage = SessionPrefs.gameStorage(this)
@@ -3082,14 +3413,17 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
Thread({
drivers.refreshDrivers()
val storage = GameStorage.options(this)
+ val fat32 = GameStorage.effective(this)?.path?.let(GameStorage::isFat32) == true
val deckyInstalled = if (mode == SessionService.MODE_STEAM) DeckyManager.installed(this) else null
val deckySupervisor = mode == SessionService.MODE_STEAM && DeckyManager.supervisorEnabled(this)
ui.post {
storageOptions = storage
+ storageFat32 = fat32
if (mode == SessionService.MODE_STEAM) {
decky.deckyInstalled = deckyInstalled
decky.deckySupervisor = deckySupervisor
decky.refreshDecky()
+ decky.refreshPlugins()
}
fetchAddedGameArt()
}
@@ -3106,6 +3440,8 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
SessionPrefs.setGameStorage(this, path, label)
gameStorage = path
+ storageFat32 = GameStorage.effective(this)?.path?.let(GameStorage::isFat32) == true
+ if (storageFat32) android.widget.Toast.makeText(this, R.string.main_storage_fat32, android.widget.Toast.LENGTH_LONG).show()
checkUsbLink()
if (settingsMode == SessionService.MODE_STEAM) refreshFoundSteamLibraries()
}
@@ -3142,10 +3478,6 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
fsyncFirst = SessionPrefs.fsyncFirst(this)
gamescopeRealtime = SessionPrefs.gamescopeRealtime(this)
paceCores = SessionPrefs.paceCores(this)
- ramCapMb = SessionPrefs.ramCapMb(this)
- zramClient = SessionPrefs.zramClient(this)
- zramIdle = SessionPrefs.zramIdle(this)
- vramCapMb = SessionPrefs.vramCapMb(this)
gpuClockPin = SessionPrefs.gpuClockPin(this)
prootNoSeccomp = SessionPrefs.prootNoSeccomp(this)
prootFastPath = SessionPrefs.prootFastPath(this)
@@ -3199,13 +3531,17 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
battleNetInstalled = com.droiddeck.launcher.runtime.BattleNet.installed(this)
offlineAccount = OfflineMode.account(this)
offline = OfflineMode.enabled(this)
+ offlineAuto = OfflineMode.auto(this)
installed = LinuxRuntimeInstaller.installedVersion(this)
ready = LinuxRuntime.isInstalled(this)
vkBridge = SessionPrefs.vkBridge(this)
+ venus = SessionPrefs.venus(this)
+ venusHostVulkan = com.droiddeck.launcher.session.VenusComponent.hostVulkanTooOld(this)
vkBridgeSafe = SessionPrefs.vkBridgeSafe(this)
bridgeProtonDxvk = SessionPrefs.bridgeProtonDxvk(this)
removalPending = LinuxRuntimeInstaller.hasRemovalPending(this)
ui.post { autoUpdateRuntime() }
+ Thread({ com.droiddeck.launcher.session.Onboarding.recheck(this) }, "onboarding-recheck").start()
frameGenLabel = FrameGen.label(this)
romsDir = SessionPrefs.romsDir(this).takeIf { it.isNotEmpty() }
logsEnabled = SessionPrefs.logsEnabled(this)
@@ -3331,7 +3667,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
install(release)
}
- private fun startSession(intent: Intent, steamSession: Boolean = false): Boolean {
+ private fun startSession(intent: Intent, steamSession: Boolean = false, queueIfBlocked: Boolean = false): Boolean {
if (busy || LinuxRuntimeInstaller.isBusy()) return false
if (SessionState.installing != null && !SessionState.running) {
android.widget.Toast.makeText(this, R.string.main_wait_desktop_install, android.widget.Toast.LENGTH_SHORT).show()
@@ -3341,8 +3677,13 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
android.widget.Toast.makeText(this, R.string.storage_cleanup_busy, android.widget.Toast.LENGTH_SHORT).show()
return false
}
+ if (!SessionState.running && com.droiddeck.launcher.stores.steam.SteamStore.blocksSession(intent)) {
+ android.widget.Toast.makeText(this, R.string.steam_store_session_wait, android.widget.Toast.LENGTH_SHORT).show()
+ return false
+ }
refreshPhantomStatus()
if (steamSession && PhantomProcessLimit.blocksSteam(phantomProcessStatus)) {
+ if (queueIfBlocked) queuedLaunch.queue(intent, System.currentTimeMillis())
showPhantomGate = true
return false
}
@@ -3352,8 +3693,65 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
return true
}
+ private var notificationsDone: ((Boolean) -> Unit)? = null
+
+ private fun ensureNotifications(done: (Boolean) -> Unit) {
+ if (WirelessAdbPairingService.notificationsEnabled(this)) {
+ done(true)
+ return
+ }
+ if (Build.VERSION.SDK_INT >= 33 && checkSelfPermission(Manifest.permission.POST_NOTIFICATIONS) != PackageManager.PERMISSION_GRANTED) {
+ notificationsDone = done
+ requestPermissions(arrayOf(Manifest.permission.POST_NOTIFICATIONS), REQUEST_NOTIFICATIONS)
+ return
+ }
+ openNotificationSettings()
+ done(false)
+ }
+
+ private fun openNotificationSettings() {
+ android.widget.Toast.makeText(this, R.string.gate_notifications_toast, android.widget.Toast.LENGTH_LONG).show()
+ val appAllowed = getSystemService(android.app.NotificationManager::class.java)?.areNotificationsEnabled() != false
+ val intent = if (appAllowed && WirelessAdbPairingService.channelBlocked(this)) {
+ Intent(android.provider.Settings.ACTION_CHANNEL_NOTIFICATION_SETTINGS)
+ .putExtra(android.provider.Settings.EXTRA_CHANNEL_ID, WirelessAdbPairingService.channelId())
+ } else {
+ Intent(android.provider.Settings.ACTION_APP_NOTIFICATION_SETTINGS)
+ }
+ startActivity(intent.putExtra(android.provider.Settings.EXTRA_APP_PACKAGE, packageName).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))
+ }
+
+ override fun onRequestPermissionsResult(requestCode: Int, permissions: Array, grantResults: IntArray) {
+ super.onRequestPermissionsResult(requestCode, permissions, grantResults)
+ if (requestCode != REQUEST_NOTIFICATIONS) return
+ val done = notificationsDone ?: return
+ notificationsDone = null
+ val granted = WirelessAdbPairingService.notificationsEnabled(this)
+ if (!granted) openNotificationSettings()
+ done(granted)
+ }
+
+ private val queuedLaunch = com.droiddeck.launcher.session.QueuedLaunch(GATE_LAUNCH_MS)
+ private val queuedLaunchRunner = com.droiddeck.launcher.session.QueuedLaunchRunner(
+ queue = queuedLaunch,
+ now = System::currentTimeMillis,
+ blocked = { PhantomProcessLimit.blocksSteam(phantomProcessStatus) },
+ busy = ::steamStartBusy,
+ schedule = { delay, task -> if (delay <= 0L) ui.post(task) else ui.postDelayed(task, delay) },
+ unschedule = ui::removeCallbacks,
+ start = { launch -> startSession(launch, steamSession = true, queueIfBlocked = true) },
+ retryMs = GATE_LAUNCH_RETRY_MS,
+ )
+
+ /** The conditions under which a Steam start waits instead of being refused: setup, a runtime or desktop install, a storage cleanup, or a Steam store download. */
+ private fun steamStartBusy(): Boolean = busy || LinuxRuntimeInstaller.isBusy() || com.droiddeck.launcher.session.Onboarding.settling() ||
+ (SessionState.installing != null && !SessionState.running) || com.droiddeck.launcher.storage.StorageState.cleaning ||
+ (!SessionState.running && com.droiddeck.launcher.stores.steam.SteamStore.downloading())
+
private fun refreshPhantomStatus() {
phantomProcessStatus = PhantomProcessLimit.read(this)
+ if (queuedLaunch.launch != null && !PhantomProcessLimit.blocksSteam(phantomProcessStatus)) showPhantomGate = false
+ queuedLaunchRunner.poke()
adbPaired = WirelessAdbFix.hasSavedPairing(this)
phantomWarning = if (PhantomProcessLimit.blocksSteam(phantomProcessStatus)) {
getString(
@@ -3365,7 +3763,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private fun openDeveloperOptions(displayId: Int?) {
val highlight = if (PhantomProcessLimit.hasDeveloperToggle() &&
- WirelessAdbPairingService.stage.value == WirelessAdbPairingService.Stage.Idle) null else "toggle_adb_wireless"
+ WirelessAdbPairingService.stage.value == WirelessAdbPairingService.Stage.Idle) "disable_phantom_process_monitor" else "toggle_adb_wireless"
val intent = Intent(android.provider.Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.apply { if (highlight != null) putExtra(":settings:fragment_args_key", highlight) }
@@ -3404,13 +3802,14 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
Thread({
val ok = com.droiddeck.launcher.session.SettingsReset.resetAll(this, gameProfiles, scopes)
ui.post {
+ com.droiddeck.launcher.ui.DrawerPages.load(applicationContext)
if (isDestroyed) return@post
com.droiddeck.launcher.core.AppLanguage.setChosen(this, com.droiddeck.launcher.core.AppLanguage.SYSTEM)
if (!ok) android.widget.Toast.makeText(this, R.string.setup_reset_settings_partial, android.widget.Toast.LENGTH_LONG).show()
com.droiddeck.launcher.ui.Motion.refresh(this)
com.droiddeck.launcher.ui.DeveloperTools.load(this)
com.droiddeck.launcher.ui.NavTabs.load(this)
- if (!switchLauncherIcon(LauncherIcon.DARK)) recreate()
+ if (!switchLauncherIcon(LauncherIcon.DARK)) restartLauncher()
}
}, "reset-settings").start()
}
@@ -3426,18 +3825,24 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private fun install(release: LinuxRuntimeInstaller.Release) {
com.droiddeck.launcher.runtime.RuntimeInstallService.start(this, release)
- followRuntimeOperation { listener -> LinuxRuntimeInstaller.install(this, release, listener) }
+ followRuntimeOperation(onboarding = true) { listener -> LinuxRuntimeInstaller.install(this, release, listener) }
}
- private fun followRuntimeOperation(run: (LinuxRuntimeInstaller.ProgressListener) -> Boolean?) {
+ private fun followRuntimeOperation(onboarding: Boolean = false, run: (LinuxRuntimeInstaller.ProgressListener) -> Boolean?) {
busy = true
failed = false
stage = getString(if (LinuxRuntimeInstaller.isMaintaining()) R.string.desktop_removing else if (LinuxRuntimeInstaller.isRemoving()) R.string.main_removing_runtime else R.string.store_starting)
percent = -1
Thread({
val ok = run(LinuxRuntimeInstaller.ProgressListener { s, p ->
+ if (onboarding) com.droiddeck.launcher.session.Onboarding.report(com.droiddeck.launcher.session.Onboarding.Step.RUNTIME, s, p)
ui.post { stage = s; percent = p }
})
+ if (onboarding) {
+ if (ok == false) com.droiddeck.launcher.session.Onboarding.fail(com.droiddeck.launcher.session.Onboarding.Step.RUNTIME, LinuxRuntimeInstaller.removalError() ?: "")
+ else com.droiddeck.launcher.session.Onboarding.finish(com.droiddeck.launcher.session.Onboarding.Step.RUNTIME)
+ }
+ com.droiddeck.launcher.session.Onboarding.recheck(this)
ui.post {
busy = false
if (ok != null) failed = !ok
@@ -3446,7 +3851,8 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
refresh()
com.droiddeck.launcher.agent.AgentHost.refresh(this)
- if (ok == true && LinuxRuntime.isInstalled(this)) protons.checkUpdates()
+ if (ok == true && LinuxRuntime.isInstalled(this)) { protons.checkUpdates(); protons.ensureSteamClient() }
+ if (autoSteamPending) { autoSteamPending = false; autoStartSteam() }
}
}, "runtime-operation").start()
}
@@ -3457,9 +3863,10 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
if (installed != null) com.droiddeck.launcher.runtime.RuntimeAutoUpdate.seed(this)
if (release.version == installed) return
if (installed == null && (OfflineMode.enabled(this) || !com.droiddeck.launcher.core.DeviceSupport.canDraw(this) ||
- !com.droiddeck.launcher.frontend.AutoComponents.online(this) || com.droiddeck.launcher.frontend.AutoComponents.unfavourable(this))) return
+ !com.droiddeck.launcher.frontend.AutoComponents.online(this) || com.droiddeck.launcher.frontend.AutoComponents.firstRunHeldBack(this))) return
if (com.droiddeck.launcher.runtime.RuntimeAutoUpdate.claim(this, installed, release.version)) {
Log.i(TAG, "runtime: installing ${release.version} over ${installed ?: "nothing"} by itself")
+ if (installed == null) protons.prefetchOwn()
install(release)
}
}
@@ -3476,7 +3883,15 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
}
companion object {
+ private val PROCESS = java.util.UUID.randomUUID().toString()
+ private const val STATE_PROCESS = "process"
+ private const val REQUEST_NOTIFICATIONS = 7103
+ private const val EXTRA_RESTARTED = "com.droiddeck.launcher.extra.RESTARTED"
private const val STATE_HOME_CHOICE_OPEN = "home_choice_open"
+ private const val STATE_PENDING_GATE_LAUNCH = "pending_gate_launch"
+ private const val STATE_PENDING_GATE_LAUNCH_AT = "pending_gate_launch_at"
+ private const val GATE_LAUNCH_MS = 15 * 60_000L
+ private const val GATE_LAUNCH_RETRY_MS = 2_000L
private const val KEY_PENDING_SESSION_LOG_EXPORT = "pending_session_log_export"
private const val STATE_GAME_SPACE_OFFERED = "game_space_offered"
private const val TAG = "MainActivity"
@@ -3497,6 +3912,7 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private const val KEY_UNLOCK_URL = "desktop_unlock_url"
private val SESSION_ENDED = setOf(SessionPhase.IDLE, SessionPhase.FAILED)
private val ZIP_EXT = listOf("zip")
+ private val EXPERIMENTAL_PROTON_EXT = listOf("zip", "7z", "tar", "gz", "xz", "zst", "bz2", "tgz", "txz", "tbz2", "tzst")
private val WCP_EXT = listOf("wcp")
}
}
diff --git a/app/src/main/java/com/droiddeck/launcher/HomeWidgets.kt b/app/src/main/java/com/droiddeck/launcher/HomeWidgets.kt
index 886f5f0e89..967ba6ee47 100644
--- a/app/src/main/java/com/droiddeck/launcher/HomeWidgets.kt
+++ b/app/src/main/java/com/droiddeck/launcher/HomeWidgets.kt
@@ -118,12 +118,18 @@ object HomeWidgets {
if (live.size != parsed.size) save(context)
}
+ private val listeners: MutableSet = java.util.Collections.newSetFromMap(java.util.IdentityHashMap())
+
fun startListening(context: Context) {
+ listeners.add(context)
load(context)
runCatching { host(context).startListening() }
}
+ // A restarted launcher starts before the old one stops; the host keeps listening until the last owner stops.
fun stopListening(context: Context) {
+ listeners.remove(context)
+ if (listeners.isNotEmpty()) return
runCatching { host(context).stopListening() }
}
diff --git a/app/src/main/java/com/droiddeck/launcher/LauncherHandoff.kt b/app/src/main/java/com/droiddeck/launcher/LauncherHandoff.kt
new file mode 100644
index 0000000000..2284a531c8
--- /dev/null
+++ b/app/src/main/java/com/droiddeck/launcher/LauncherHandoff.kt
@@ -0,0 +1,27 @@
+package com.droiddeck.launcher
+
+import android.os.Bundle
+import android.os.SystemClock
+
+/**
+ * State a restarting launcher passes to its replacement inside this process. Intent extras are not used
+ * because FrontEndActivity is exported and any app could fill them.
+ */
+internal object LauncherHandoff {
+ private const val LIFETIME_MS = 10_000L
+ private var state: Bundle? = null
+ private var at = 0L
+
+ @Synchronized
+ fun put(carried: Bundle) {
+ state = carried
+ at = SystemClock.elapsedRealtime()
+ }
+
+ @Synchronized
+ fun take(): Bundle? {
+ val carried = state
+ state = null
+ return carried?.takeIf { SystemClock.elapsedRealtime() - at <= LIFETIME_MS }
+ }
+}
diff --git a/app/src/main/java/com/droiddeck/launcher/MaliAutoRoute.kt b/app/src/main/java/com/droiddeck/launcher/MaliAutoRoute.kt
index f4ebf2f0f7..1906b6aa51 100644
--- a/app/src/main/java/com/droiddeck/launcher/MaliAutoRoute.kt
+++ b/app/src/main/java/com/droiddeck/launcher/MaliAutoRoute.kt
@@ -26,6 +26,12 @@ internal object MaliAutoRoute {
fun userChoice(keyStored: Boolean, owner: String, route: String): Boolean = keyStored && owner != route
+ fun venusStandsIn(available: Boolean, hostVulkanOk: Boolean, venusOn: Boolean, venusExplicit: Boolean, gpuName: String): Boolean =
+ available && hostVulkanOk && if (venusExplicit) venusOn else !venusStallsOn(gpuName)
+
+ // Steam's web helper dies on its first window through Venus on these (#2879), so the bridge stands in.
+ fun venusStallsOn(gpuName: String): Boolean = gpuName.contains("G2-Ultra", ignoreCase = true)
+
fun shouldEnd(ownsRoute: String, mali: Boolean, installedPair: Boolean): Boolean =
mali && installedPair && ownsRoute != NONE
}
diff --git a/app/src/main/java/com/droiddeck/launcher/PairingGuideActivity.kt b/app/src/main/java/com/droiddeck/launcher/PairingGuideActivity.kt
index 5632c08546..8347bb65c4 100644
--- a/app/src/main/java/com/droiddeck/launcher/PairingGuideActivity.kt
+++ b/app/src/main/java/com/droiddeck/launcher/PairingGuideActivity.kt
@@ -93,6 +93,14 @@ class PairingGuideActivity : ComponentActivity() {
launchPending = true
}
+ override fun onDestroy() {
+ super.onDestroy()
+ val stage = WirelessAdbPairingService.stage.value
+ if (isFinishing && (stage is WirelessAdbPairingService.Stage.Waiting || stage is WirelessAdbPairingService.Stage.CodeNeeded)) {
+ WirelessAdbPairingService.cancel(this)
+ }
+ }
+
override fun onResume() {
super.onResume()
if (!launchPending) return
diff --git a/app/src/main/java/com/droiddeck/launcher/ProtonMenu.kt b/app/src/main/java/com/droiddeck/launcher/ProtonMenu.kt
index c8fe30c9e1..385081cc7d 100644
--- a/app/src/main/java/com/droiddeck/launcher/ProtonMenu.kt
+++ b/app/src/main/java/com/droiddeck/launcher/ProtonMenu.kt
@@ -7,7 +7,10 @@ import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
+import com.droiddeck.launcher.session.ExperimentalProtons
+import com.droiddeck.launcher.session.Onboarding
import com.droiddeck.launcher.session.ProtonExtras
+import com.droiddeck.launcher.session.SteamClientPrefetch
import com.droiddeck.launcher.ui.ProtonRow
import com.droiddeck.launcher.session.SessionState
import com.droiddeck.launcher.session.SessionPhase
@@ -19,6 +22,7 @@ internal class ProtonMenu(
private val activity: android.app.Activity,
private val ui: Handler,
private val onInstalled: () -> Unit = {},
+ private val onRemoved: () -> Unit = {},
private val idle: () -> Boolean = { true },
) {
private object Operation {
@@ -27,15 +31,25 @@ internal class ProtonMenu(
val stage = mutableStateOf(null)
val percent = mutableIntStateOf(-1)
val problem = mutableStateOf(null)
+ val experimental = mutableStateOf>(emptyList())
+ val experimentalReleases = mutableStateOf>(emptyList())
+ var fetchedReleases = emptyList()
+ val checking = java.util.concurrent.atomic.AtomicBoolean(false)
}
var protonRows by Operation.rows
var protonBusyId by Operation.busyId
var protonStage by Operation.stage
var protonPercent by Operation.percent
var protonProblem by Operation.problem
- private val checking = java.util.concurrent.atomic.AtomicBoolean(false)
+ var experimentalDirs by Operation.experimental
+ var experimentalReleases by Operation.experimentalReleases
+ companion object {
+ const val EXPERIMENTAL = "experimental"
+ }
+ @VisibleForTesting internal var latestCheck: (Boolean) -> Boolean = { force -> ProtonExtras.checkLatest(activity, force) }
+ @VisibleForTesting internal var experimentalRefresh: () -> List? = { ExperimentalProtons.refresh(activity) }
@VisibleForTesting internal var installer: (ProtonExtras.Tool, (String, Int) -> Unit) -> String? =
- { tool, progress -> ProtonExtras.install(activity, tool, progress) }
+ { tool, progress -> ProtonExtras.install(activity, tool, onProgress = progress) }
fun installProton(id: String, automatic: Boolean = false) {
val tool = ProtonExtras.tools.firstOrNull { it.id == id } ?: return
@@ -48,10 +62,15 @@ internal class ProtonMenu(
Thread({
val problem = runCatching {
installer(tool) { label, value ->
+ if (tool.id == ProtonExtras.OWN) Onboarding.report(Onboarding.Step.PROTON, label, value)
ui.post { protonStage = label; protonPercent = value }
}
}.getOrElse { it.message ?: it.javaClass.simpleName }
if (problem == null && !automatic && tool.id == ProtonExtras.OWN) ProtonExtras.setDeclined(activity, false)
+ if (tool.id == ProtonExtras.OWN) {
+ if (problem == null) Onboarding.finish(Onboarding.Step.PROTON) else Onboarding.fail(Onboarding.Step.PROTON, problem)
+ Onboarding.recheck(activity)
+ }
ui.post {
protonProblem = problem
protonBusyId = null
@@ -86,29 +105,118 @@ internal class ProtonMenu(
}, "remove-proton-$id").start()
}
+ fun installExperimental(work: ((String, Int) -> Unit) -> String?) {
+ if (protonBusyId != null || ProtonExtras.installInProgress || SessionState.running) return
+ protonBusyId = EXPERIMENTAL
+ protonProblem = null
+ protonStage = activity.getString(R.string.store_starting)
+ protonPercent = -1
+ Thread({
+ val problem = runCatching {
+ work { label, value -> ui.post { protonStage = label; protonPercent = value } }
+ }.getOrElse { it.message ?: it.javaClass.simpleName }
+ ui.post {
+ protonProblem = problem
+ protonBusyId = null
+ protonStage = null
+ protonPercent = -1
+ refreshProtons()
+ android.widget.Toast.makeText(activity, problem ?: activity.getString(R.string.xproton_installed), android.widget.Toast.LENGTH_LONG).show()
+ if (problem == null) onInstalled()
+ }
+ }, "install-proton-experimental").start()
+ }
+
+ fun installExperimentalRelease(release: ExperimentalProtons.Release) {
+ installExperimental { progress -> ExperimentalProtons.installRelease(activity, release, progress) }
+ }
+
+ fun removeExperimental(dir: String) {
+ if (protonBusyId != null || SessionState.running) return
+ protonBusyId = EXPERIMENTAL
+ protonProblem = null
+ protonStage = activity.getString(R.string.main_removing_named, dir)
+ protonPercent = -1
+ Thread({
+ val removed = runCatching { ExperimentalProtons.remove(activity, dir) }.getOrDefault(false)
+ ui.post {
+ protonBusyId = null
+ protonStage = null
+ refreshProtons()
+ if (!removed) android.widget.Toast.makeText(activity, activity.getString(R.string.xproton_remove_failed, dir), android.widget.Toast.LENGTH_LONG).show()
+ }
+ }, "remove-proton-experimental").start()
+ }
+
+ private fun refreshExperimental() {
+ val installed = ExperimentalProtons.installed(activity)
+ experimentalDirs = installed.map { it.dir }
+ experimentalReleases = ExperimentalProtons.available(Operation.fetchedReleases, installed)
+ }
+
fun refreshProtons() {
- protonRows = ProtonExtras.tools.map {
+ refreshExperimental()
+ protonRows = ProtonExtras.offered(activity).map {
val all = ProtonExtras.installedAll(activity, it)
ProtonRow(it.id, it.name, all.lastOrNull(), ProtonExtras.queued(activity, it), all, ProtonExtras.update(activity, it))
}
}
fun checkUpdates(force: Boolean = false) {
- if (!checking.compareAndSet(false, true)) return
+ if (!Operation.checking.compareAndSet(false, true)) return
Thread({
- val asked = try { ProtonExtras.checkLatest(activity, force) } catch (_: Throwable) { false } finally { checking.set(false) }
- ui.post {
- if (asked) refreshProtons()
+ val asked = runCatching { latestCheck(force) }.getOrDefault(false)
+ val experimental = runCatching { experimentalRefresh() }.getOrNull()
+ val published = ui.post {
+ try {
+ val before = experimentalDirs
+ Operation.fetchedReleases = experimental ?: emptyList()
+ if (asked) refreshProtons() else refreshExperimental()
+ if (!experimentalDirs.containsAll(before)) onRemoved()
+ } finally {
+ Operation.checking.set(false)
+ }
ensureAutoUpdates()
+ ensureSteamClient()
}
+ if (!published) Operation.checking.set(false)
}, "proton-updates").start()
}
+ /** Downloads the DroidDeck Proton archive while the runtime installs; the install step later finds it whole. */
+ fun prefetchOwn() {
+ val tool = ProtonExtras.tools.first { it.id == ProtonExtras.OWN }
+ if (ProtonExtras.declined(activity) || ProtonExtras.installedAll(activity, tool).isNotEmpty() ||
+ ProtonExtras.installInProgress || !AutoComponents.online(activity) || AutoComponents.firstRunHeldBack(activity)) return
+ Thread({
+ val problem = runCatching {
+ ProtonExtras.prefetch(activity, tool) { label, value -> Onboarding.report(Onboarding.Step.PROTON, label, value) }
+ }.getOrElse { it.message ?: it.javaClass.simpleName }
+ if (problem == null) Onboarding.finish(Onboarding.Step.PROTON) else Onboarding.fail(Onboarding.Step.PROTON, problem)
+ Onboarding.recheck(activity)
+ ui.post { ensureAutoUpdates() }
+ }, "proton-prefetch").start()
+ }
+
+ /** Fetches Steam's client in the background once the runtime exists, so the first Play does not wait for it. */
+ fun ensureSteamClient() {
+ if (activity.isFinishing || activity.isDestroyed || !idle() || SessionState.running || LinuxRuntimeInstaller.isBusy() ||
+ SessionState.phase !in setOf(SessionPhase.IDLE, SessionPhase.FAILED) || !LinuxRuntime.isInstalled(activity) ||
+ !AutoComponents.online(activity) || AutoComponents.firstRunHeldBack(activity) || SteamClientPrefetch.running()) return
+ SteamClientPrefetch.start(
+ activity,
+ { mb -> activity.getString(if (mb > 0) R.string.onboarding_steam_downloading_mb else R.string.onboarding_steam_downloading, mb) },
+ activity.getString(R.string.onboarding_steam_failed),
+ )
+ }
+
internal fun ensureAutoUpdates(now: Long = System.currentTimeMillis()) {
if (activity.isFinishing || activity.isDestroyed || !idle() || protonBusyId != null ||
- ProtonExtras.installInProgress || SessionState.running || LinuxRuntimeInstaller.isBusy() ||
+ ProtonExtras.installInProgress || ProtonExtras.prefetching || SessionState.running || LinuxRuntimeInstaller.isBusy() ||
SessionState.phase !in setOf(SessionPhase.IDLE, SessionPhase.FAILED) ||
- !LinuxRuntime.isInstalled(activity) || !AutoComponents.online(activity) || AutoComponents.unfavourable(activity)) return
+ !LinuxRuntime.isInstalled(activity) || !AutoComponents.online(activity)) return
+ val firstInstall = !ProtonExtras.declined(activity) && ProtonExtras.installedAll(activity, ProtonExtras.tools.first { it.id == ProtonExtras.OWN }).isEmpty()
+ if (if (firstInstall) AutoComponents.firstRunHeldBack(activity) else AutoComponents.unfavourable(activity)) return
if (ProtonExtras.installedAll(activity, ProtonExtras.tools.first { it.id == ProtonExtras.OWN }).size > 1) {
protonBusyId = ProtonExtras.OWN
protonProblem = null
diff --git a/app/src/main/java/com/droiddeck/launcher/QuestSteamVrWatch.kt b/app/src/main/java/com/droiddeck/launcher/QuestSteamVrWatch.kt
new file mode 100644
index 0000000000..eab1ee2f37
--- /dev/null
+++ b/app/src/main/java/com/droiddeck/launcher/QuestSteamVrWatch.kt
@@ -0,0 +1,36 @@
+package com.droiddeck.launcher
+
+import com.droiddeck.launcher.gpu.SteamVr
+
+internal class QuestSteamVrWatch(start: Long) {
+ private var startupDeadline = start + STARTUP_MS
+ private var lastRunning: Long? = null
+ private var graceUntil = start
+ private var wasPaused = false
+
+ // A frozen guest cannot answer the status call, so a status read during a freeze, or one that
+ // started before it, says nothing about SteamVR.
+ fun stopped(now: Long, status: SteamVr.Status, paused: Boolean): Boolean {
+ if (paused) {
+ wasPaused = true
+ return false
+ }
+ if (wasPaused) {
+ wasPaused = false
+ graceUntil = now + RESUME_GRACE_MS
+ }
+ if (status == SteamVr.Status.RUNNING) {
+ lastRunning = now
+ graceUntil = now
+ return false
+ }
+ val deadline = lastRunning?.plus(RUNNING_GRACE_MS) ?: startupDeadline
+ return now >= maxOf(deadline, graceUntil)
+ }
+
+ companion object {
+ const val STARTUP_MS = 30_000L
+ const val RUNNING_GRACE_MS = 5_000L
+ const val RESUME_GRACE_MS = 15_000L
+ }
+}
diff --git a/app/src/main/java/com/droiddeck/launcher/QuestXrActivity.kt b/app/src/main/java/com/droiddeck/launcher/QuestXrActivity.kt
index 98e5a0b227..5bde3ef872 100644
--- a/app/src/main/java/com/droiddeck/launcher/QuestXrActivity.kt
+++ b/app/src/main/java/com/droiddeck/launcher/QuestXrActivity.kt
@@ -52,18 +52,17 @@ class QuestXrActivity : NativeActivity() {
if (!closing) leaveXr("SteamVR start failed", sessionAlive())
return@Thread
}
- val startupDeadline = SystemClock.elapsedRealtime() + 30_000
- var lastRunning: Long? = null
+ val watch = QuestSteamVrWatch(SystemClock.elapsedRealtime())
while (!closing) {
if (!sessionAlive()) {
leaveXr("Steam session ended", false)
break
}
- steamVrStatus = SteamVr.status(this)
- val now = SystemClock.elapsedRealtime()
- if (steamVrStatus == SteamVr.Status.RUNNING) lastRunning = now
- val deadline = lastRunning?.plus(5_000) ?: startupDeadline
- if (steamVrStatus != SteamVr.Status.RUNNING && now >= deadline) {
+ val pausedBefore = guestPaused()
+ val status = SteamVr.status(this)
+ val paused = pausedBefore || guestPaused()
+ if (!paused) steamVrStatus = status
+ if (watch.stopped(SystemClock.elapsedRealtime(), status, paused)) {
leaveXr("SteamVR stopped or did not finish starting", true)
break
}
@@ -81,6 +80,8 @@ class QuestXrActivity : NativeActivity() {
}
}
+ private fun guestPaused() = SessionState.suspending || SessionState.suspended || SessionState.resuming
+
private fun sessionAlive() = SessionState.running && !SessionState.stopRequested &&
sessionId != null && SessionState.sessionId == sessionId
diff --git a/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt b/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt
index 4603395dee..5db3836dc3 100644
--- a/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt
+++ b/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt
@@ -77,6 +77,7 @@ import com.droiddeck.launcher.input.KeyboardHost
import com.droiddeck.launcher.input.ControllerPrefs
import com.droiddeck.launcher.input.SessionClipboard
import com.droiddeck.launcher.input.OnScreenControls
+import com.droiddeck.launcher.input.OnScreenLayout
import com.droiddeck.launcher.input.InputRouter
import com.droiddeck.launcher.input.InputOutput
import com.droiddeck.launcher.input.InputCommand
@@ -109,12 +110,14 @@ import com.droiddeck.launcher.input.TouchpadGestures
import com.droiddeck.launcher.input.TouchscreenGestures
import com.droiddeck.launcher.input.ScrollTouchGestures
import com.droiddeck.launcher.runtime.LinuxRuntime
+import com.droiddeck.launcher.session.ContentCadence
import com.droiddeck.launcher.session.LoadingState
import com.droiddeck.launcher.hud.DroidDeckHudConfig
import com.droiddeck.launcher.hud.DroidDeckHudHost
import com.droiddeck.launcher.session.PerfMode
import com.droiddeck.launcher.session.SteamRepair
import com.droiddeck.launcher.session.GameEnvironmentStore
+import com.droiddeck.launcher.session.GpuClockPin
import com.droiddeck.launcher.session.GameProfileFollowState
import com.droiddeck.launcher.session.GameProfileInventoryCache
import com.droiddeck.launcher.session.GameProfileRefreshState
@@ -151,6 +154,8 @@ import com.droiddeck.launcher.session.ComponentsManager
import com.droiddeck.launcher.session.LatestRequestCoordinator
import com.droiddeck.launcher.ui.SessionDrawerPage
import com.droiddeck.launcher.ui.sessionDrawerPages
+import com.droiddeck.launcher.ui.strip
+import com.droiddeck.launcher.ui.tabFor
import com.droiddeck.launcher.ui.step
import kotlin.math.abs
@@ -174,6 +179,39 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
private var quickButtons by mutableStateOf