Compare commits

..
450 changed files with 0 additions and 126117 deletions

No files matched your search

-40
View File
@@ -1,40 +0,0 @@
#!/usr/bin/env bash
# Regenerates the contributions table in README.md, between its markers, from the repository's
# pull requests: one row per pull request by anyone but the owner, and a line of totals per
# contributor. Run by the Contributions ledger workflow when a pull request is opened, merged or
# closed, and by hand with: gh auth status && .github/scripts/contributions.sh OWNER/REPO
set -euo pipefail
REPO=${1:-The412Banner/SteamDeck}
OWNER=${REPO%%/*}
ROWS=$(gh api "repos/$REPO/pulls?state=all&per_page=100" --paginate \
--jq '.[] | select(.user.login != "'"$OWNER"'")
| [.user.login, .number, (.title | gsub("\\|"; "\\\\|")), (.created_at[0:10]),
(if .merged_at then "merged " + .merged_at[0:10] elif .state == "closed" then "closed" elif .draft then "draft" else "open" end),
.html_url] | @tsv' | sort -t"$(printf '\t')" -k1,1 -k2,2n)
{
echo "<!-- contributions:start -->"
echo "_From the repository's pull requests; rewritten when one is opened, merged or closed._"
echo
echo "| Contributor | Pull request | Opened | State |"
echo "|---|---|---|---|"
if [ -z "$ROWS" ]; then
echo "| — | none yet | | |"
else
while IFS=$'\t' read -r login num title opened state url; do
echo "| [@$login](https://github.com/$login) | [#$num]($url) $title | $opened | $state |"
done <<< "$ROWS"
echo
printf '%s\n' "$ROWS" | awk -F'\t' 'NF { t[$1]++; if ($5 ~ /^merged/) m[$1]++ } END { for (l in t) printf("- **@%s**: %d submitted, %d merged\n", l, t[l], m[l] + 0) }' | sort
fi
echo "<!-- contributions:end -->"
} > /tmp/contributions.md
python3 - <<'PY'
import re
s = open('README.md').read()
new = open('/tmp/contributions.md').read().rstrip('\n')
out, n = re.subn(r'<!-- contributions:start -->.*?<!-- contributions:end -->', lambda m: new, s, flags=re.S)
if n != 1:
raise SystemExit("README.md has no contributions markers")
open('README.md', 'w').write(out)
PY
echo "README.md: contributions table rewritten"
-378
View File
@@ -1,378 +0,0 @@
name: Build APK
# One job: the two glibc preload libraries the session needs, then the app around them.
# Nothing is built on a developer machine — this workflow is the only thing that produces an apk.
#
# This repo is private, so every minute here is billed. Three caches carry the cost of a rebuild
# down to what actually changed:
# • Gradle's own (dependencies, wrapper, build cache, configuration cache) via setup-gradle
# • the CMake/ninja tree, so a Kotlin-only change does not recompile the compositor
# • the two cross-compiled preloads, which also skips installing the cross toolchain
# A run that changes only Kotlin should not touch the C compiler at all.
on:
push:
branches: [ main ]
# Documentation changes cannot alter the apk, so they do not buy a build.
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.gitignore'
# A pull request against main builds by itself: the contributor's branch, as it would be once
# merged onto main, comes back as an apk on the run without anyone here pressing a button.
# Every push to the pull request rebuilds it and cancels the build it replaces; a draft waits
# until it is marked ready. pull_request_target rather than pull_request: GitHub does not run
# the latter at all while a pull request conflicts with main, and saying what conflicts is the
# point. The workflow file is always main's; the pull request's own code is checked out below.
pull_request_target:
branches: [ main ]
types: [ opened, synchronize, reopened, ready_for_review ]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.gitignore'
workflow_dispatch:
permissions:
contents: read
# The pull-request report below is one comment on the pull request, kept up to date.
pull-requests: write
# A newer push makes the running build pointless; stop paying for it.
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
# Bump to force the preload cache to miss (e.g. after changing a compiler flag below).
PRELOAD_CACHE_VERSION: v1
jobs:
build:
if: ${{ github.event_name != 'pull_request_target' || !github.event.pull_request.draft }}
runs-on: ubuntu-24.04
timeout-minutes: 45
steps:
# A pull request is checked out at its own head with full history, not at GitHub's merge
# ref: that ref does not exist while the pull request conflicts with main, and the point of
# the next step is to say so and show where.
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }}
# Full history: the merge below needs it (a shallow clone refuses to merge at all).
fetch-depth: 0
# The pull request as it would be once merged onto main is what gets built. When it cannot
# be merged, the conflicting files and the conflicting hunks go into the run summary and the
# pull-request comment, and the job stops here: there is nothing coherent to build.
- name: Merge onto main, or say what conflicts
if: github.event_name == 'pull_request_target'
run: |
set -uo pipefail
git config user.name "ci"
git config user.email "ci@users.noreply.github.com"
git fetch --no-tags origin main
BASE=$(git rev-parse --short origin/main)
HEAD=$(git rev-parse --short HEAD)
if git merge --no-ff --no-edit origin/main >/tmp/merge.out 2>&1; then
{
echo "### ✅ Mergeable"
echo
echo "\`$HEAD\` merges cleanly onto main (\`$BASE\`). What follows was built from the merged result."
} > /tmp/pr-merge.md
cat /tmp/pr-merge.md >> "$GITHUB_STEP_SUMMARY"
exit 0
fi
FILES=$(git diff --name-only --diff-filter=U)
if [ -z "$FILES" ]; then
# The merge did not even start (git said why): quote it rather than list nothing.
{
echo "### ❌ Could not merge onto main (\`$BASE\`)"
echo
echo '```'
cat /tmp/merge.out
echo '```'
} > /tmp/pr-merge.md
cat /tmp/pr-merge.md >> "$GITHUB_STEP_SUMMARY"
echo "::error::git could not merge main: $(head -3 /tmp/merge.out | tr '\n' ' ')"
exit 1
fi
{
echo "### ❌ Not mergeable — conflicts with main (\`$BASE\`)"
echo
echo "Files that conflict:"
echo
for f in $FILES; do echo "- \`$f\`"; done
echo
echo "Each conflicting hunk, as git leaves it: \`<<<<<<< HEAD\` is this pull request, \`>>>>>>> origin/main\` is main."
echo
for f in $FILES; do
echo "<details><summary><code>$f</code></summary>"
echo
echo '```'
awk '/^<<<<<<< /{p=1} p{print} /^>>>>>>> /{p=0}' "$f" | head -300
echo '```'
echo "</details>"
echo
done
echo "Not built: rebase or merge main into the branch and push again."
} > /tmp/pr-merge.md
cat /tmp/pr-merge.md >> "$GITHUB_STEP_SUMMARY"
git merge --abort || true
echo "::error::the pull request conflicts with main: $(echo $FILES | tr '\n' ' ')"
exit 1
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
# Caches ~/.gradle (dependencies, wrapper distribution, build cache, configuration cache)
# and prunes what the run did not use, so the entry cannot grow without bound.
- uses: gradle/actions/setup-gradle@v4
with:
cache-cleanup: on-success
- name: Resolve the runner's NDK
run: |
NDK="${ANDROID_NDK_LATEST_HOME:-${ANDROID_NDK_HOME:-$ANDROID_NDK_ROOT}}"
VERSION=$(sed -n 's/^Pkg.Revision *= *//p' "$NDK/source.properties")
echo "NDK $VERSION at $NDK"
echo "NDK_VERSION=$VERSION" >> "$GITHUB_ENV"
# ── The session's preloads ───────────────────────────────────────────────────────────
# Both are glibc aarch64 libraries that live inside the rootfs, so they are cross-compiled
# here rather than by the NDK. They ship in assets (not in the runtime tarball) so a fix in
# either reaches an already-installed runtime on the next launch instead of waiting on a
# ~790 MB runtime re-host. Their inputs change rarely, so most runs restore them.
- name: Cache the preloads
id: preloads
uses: actions/cache@v4
with:
path: app/src/main/assets/linuxfs
key: preloads-${{ env.PRELOAD_CACHE_VERSION }}-${{ hashFiles('app/src/main/cpp/fakeinput_steam.cpp', 'tools/linuxfs/preload/*.c', 'tools/linuxfs/overlay/usr/local/bin/*', 'tools/linuxfs/desktop/*') }}
- name: Build libfakeinput.so and libblsession.so (glibc aarch64)
if: steps.preloads.outputs.cache-hit != 'true'
run: |
set -euo pipefail
sudo apt-get update -qq
sudo apt-get install -y -qq gcc-aarch64-linux-gnu g++-aarch64-linux-gnu >/dev/null
D=app/src/main/assets/linuxfs
mkdir -p "$D"
# Statically linked C++ runtime: this is preloaded into every Steam process, and Steam
# ships its own libstdc++ while rewriting LD_LIBRARY_PATH. Pulling the system one in
# ahead of it is a version conflict waiting to happen. Only libc is left as a dependency.
aarch64-linux-gnu-g++ -shared -fPIC -O2 -Wall -Wno-attributes -Wno-nonnull-compare \
-pthread -std=c++17 -static-libstdc++ -static-libgcc \
-o "$D/libfakeinput.so" app/src/main/cpp/fakeinput_steam.cpp -ldl
aarch64-linux-gnu-strip --strip-unneeded "$D/libfakeinput.so"
aarch64-linux-gnu-gcc -shared -fPIC -O2 -Wall -pthread \
-o "$D/libblsession.so" tools/linuxfs/preload/*.c -ldl
aarch64-linux-gnu-strip --strip-unneeded "$D/libblsession.so"
# The session's scripts travel the same way, for the same reason.
for script in tools/linuxfs/overlay/usr/local/bin/bannerlator-*; do
install -Dm644 "$script" "$D/usr/local/bin/$(basename "$script")"
done
# And the desktop's launcher and labwc defaults, staged over the desktop package's copies.
install -Dm644 tools/linuxfs/desktop/steamdeck-desktop "$D/usr/local/bin/steamdeck-desktop"
install -Dm644 tools/linuxfs/desktop/autostart "$D/etc/xdg/labwc/autostart"
install -Dm644 tools/linuxfs/desktop/rc.xml "$D/etc/xdg/labwc/rc.xml"
install -Dm644 tools/linuxfs/desktop/panel.conf "$D/etc/xdg/lxqt/panel.conf"
install -Dm644 tools/linuxfs/desktop/firefox-steamdeck.js "$D/usr/lib/firefox/defaults/pref/steamdeck.js"
ls -lR "$D"
# Runs whether the preloads were built or restored: readelf reads any ELF whatever the host,
# so these assertions cost nothing and need no cross toolchain.
- name: Check the preloads
run: |
set -euo pipefail
D=app/src/main/assets/linuxfs
NEED=$(readelf -d "$D/libfakeinput.so" | sed -n 's/.*NEEDED.*\[\(.*\)\]/\1/p')
echo "libfakeinput NEEDED: $NEED"
for bad in libstdc++.so.6 libgcc_s.so.1; do
if printf '%s\n' "$NEED" | grep -qx "$bad"; then
echo "::error::libfakeinput.so links $bad — the C++ runtime must stay static"; exit 1
fi
done
syms() { readelf -Ws "$1" | awk '$4 == "FUNC" && $5 == "GLOBAL" {sub(/@.*/, "", $8); print $8}'; }
# The interposers are the whole point: if one is missing the client sees no controller.
FAKE=$(syms "$D/libfakeinput.so")
for sym in open openat ioctl read close poll ppoll select stat fstat access scandir; do
grep -qx "$sym" <<<"$FAKE" || { echo "::error::libfakeinput.so does not export $sym"; exit 1; }
done
SESSION=$(syms "$D/libblsession.so")
for sym in socket bind getsockname setsockopt statfs statvfs; do
grep -qx "$sym" <<<"$SESSION" || { echo "::error::libblsession.so does not export $sym"; exit 1; }
done
test -f "$D/usr/local/bin/bannerlator-session"
test -f "$D/usr/local/bin/bannerlator-proton-extra"
echo "preloads check out"
# ── The native build ─────────────────────────────────────────────────────────────────
# The compositor and adrenotools are the slowest part of a build and change least often.
# The key pins the C sources and the NDK; the restore-key still hands an older tree to
# ninja, which then rebuilds only the files that differ.
- name: Cache the CMake build tree
uses: actions/cache@v4
with:
path: |
app/.cxx
app/build/intermediates/cxx
key: cxx-${{ env.NDK_VERSION }}-${{ hashFiles('app/src/main/cpp/**') }}
restore-keys: |
cxx-${{ env.NDK_VERSION }}-
# Release, not debug: AGP quietly drops v1 (JAR) signing from a debug build once minSdk is
# 24 or higher, and the apk has to carry all three schemes. Nothing is minified either way.
# The whole log is kept so a failed build's errors can be quoted back on a pull request.
- name: Build
id: build
run: |
set -o pipefail
./gradlew assembleRelease --console=plain -PndkVersion="$NDK_VERSION" 2>&1 | tee /tmp/build.log
- name: Describe the apk
run: |
set -euo pipefail
APK=$(find app/build/outputs/apk -name '*.apk' | head -1)
echo "apk: $APK"
ls -l "$APK"
sha256sum "$APK"
unzip -l "$APK" | grep -E 'lib/arm64-v8a|assets/linuxfs' | head -30
# Every NEEDED of every library we ship must resolve inside the apk or on the device. The
# first build shipped libwayland-server.so without libffi.so, and the app died on
# System.loadLibrary the moment a session started — a check this step would have caught.
- name: Check the native dependency closure
run: |
set -euo pipefail
APK=$(find app/build/outputs/apk -name '*.apk' | head -1)
WORK=$(mktemp -d)
unzip -q "$APK" 'lib/arm64-v8a/*' -d "$WORK"
cd "$WORK/lib/arm64-v8a"
# Provided by the platform, so never packaged.
SYSTEM="libc.so libm.so libdl.so liblog.so libandroid.so libz.so libvulkan.so
libGLESv2.so libEGL.so libnativewindow.so libjnigraphics.so libaaudio.so
libOpenSLES.so libmediandk.so libcamera2ndk.so libsync.so libneuralnetworks.so"
fail=0
for so in *.so; do
for need in $(readelf -d "$so" | sed -n 's/.*NEEDED.*\[\(.*\)\]/\1/p'); do
[ -f "$need" ] && continue
# $SYSTEM spans lines; unquoted echo folds its newlines to spaces, or the last
# name on each line could never match (libaaudio.so did not, for the relay helper).
case " $(echo $SYSTEM) " in *" $need "*) continue ;; esac
echo "::error::$so needs $need, which is neither in the apk nor a platform library"
fail=1
done
done
[ "$fail" = 0 ] && echo "every NEEDED resolves"
exit $fail
# AGP signs with v2+v3 and drops v1 whenever minSdk is 24 or higher, and setting
# enableV1Signing in the DSL does not move it. Re-signing here with apksigner is the one way
# to be sure of what the apk carries: zipalign first, then all three schemes explicitly.
- name: Sign with the testkey (v1 + v2 + v3)
run: |
set -euo pipefail
APK=$(find app/build/outputs/apk -name '*.apk' | head -1)
TOOLS=$(find "$ANDROID_HOME/build-tools" -maxdepth 1 -type d | sort -V | tail -1)
"$TOOLS/zipalign" -p -f 4 "$APK" "$APK.aligned"
"$TOOLS/apksigner" sign \
--ks keystore/testkey.p12 --ks-type PKCS12 --ks-pass pass:android \
--ks-key-alias testkey --key-pass pass:android \
--v1-signing-enabled true --v2-signing-enabled true --v3-signing-enabled true \
--out "$APK" "$APK.aligned"
rm -f "$APK.aligned" "$APK.idsig"
# The apk must stay installable over the last one, and on every Android version: that means
# one stable key and all three signature schemes. Cheap to assert, easy to lose silently.
- name: Check the signature
run: |
set -euo pipefail
APK=$(find app/build/outputs/apk -name '*.apk' | head -1)
APKSIGNER=$(find "$ANDROID_HOME/build-tools" -name apksigner | sort -V | tail -1)
# --min-sdk-version 21: apksigner only verifies the schemes an apk's own minSdk requires,
# so at minSdk 26 it reports v1 as false whether or not the JAR signature is there.
# Asking it to verify from 21 makes it actually look.
"$APKSIGNER" verify --min-sdk-version 21 --verbose --print-certs "$APK" | tee /tmp/sig.txt
# And the files themselves, which is what an old installer reads.
unzip -l "$APK" | grep -qE 'META-INF/.*\.(SF|RSA|DSA)$' \
|| { echo "::error::apk carries no JAR signature files"; exit 1; }
for scheme in "v1 scheme (JAR signing): true" "v2 scheme (APK Signature Scheme v2): true" \
"v3 scheme (APK Signature Scheme v3): true"; do
grep -qF "$scheme" /tmp/sig.txt || { echo "::error::apk is not signed with $scheme"; exit 1; }
done
grep -qi "CN=Android, OU=Android, O=Android" /tmp/sig.txt \
|| { echo "::error::apk is not signed with the AOSP testkey"; exit 1; }
# ── The pull-request report ──────────────────────────────────────────────────────────
# One comment per pull request, rewritten on every push: whether it merges, and when the
# build failed, the compiler's own errors with paths made short. Fork pull requests carry a
# read-only token and cannot comment; the same text is in the run summary either way.
- name: Report on the pull request
if: always() && github.event_name == 'pull_request_target'
continue-on-error: true
env:
GH_TOKEN: ${{ github.token }}
PR: ${{ github.event.pull_request.number }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
BUILD_OUTCOME: ${{ steps.build.outcome }}
run: |
set -uo pipefail
MARK="<!-- steamdeck-pr-build -->"
{
echo "$MARK"
echo "## Build of this pull request"
echo
[ -f /tmp/pr-merge.md ] && cat /tmp/pr-merge.md
echo
case "$BUILD_OUTCOME" in
success)
echo "### ✅ Build passed"
echo
echo "The apk is the \`steamdeck-apk\` artifact on [this run]($RUN_URL) (signed with the same test key as every build, so it installs over any other)."
;;
failure)
echo "### ❌ Build failed"
echo
echo "The compiler's errors ([full log]($RUN_URL)):"
echo
echo '```'
{ grep -E '^e: |^w: .*error|error:|CMake Error|fatal error|ninja: error|FAILED|What went wrong|Execution failed for task|Unresolved reference|Type mismatch|Unresolved' /tmp/build.log 2>/dev/null \
| sed -e 's#file:///home/runner/work/[^/]*/[^/]*/##' -e 's#/home/runner/work/[^/]*/[^/]*/##' \
| grep -v '^w: ' | awk '!seen[$0]++' | head -80; } || true
echo '```'
echo
echo "<details><summary>What went wrong (Gradle)</summary>"
echo
echo '```'
awk '/^\* What went wrong/{p=1} /^\* Try:/{p=0} p{print}' /tmp/build.log 2>/dev/null | head -60
echo '```'
echo "</details>"
;;
skipped|cancelled)
echo "### ⏭ Not built"
echo
echo "The build did not run (see above, or [the run]($RUN_URL))."
;;
esac
echo
echo "_Updated on every push to this pull request._"
} > /tmp/pr-report.md
cat /tmp/pr-report.md >> "$GITHUB_STEP_SUMMARY"
ID=$(gh api "repos/${GITHUB_REPOSITORY}/issues/${PR}/comments" --paginate --jq ".[] | select(.body | startswith(\"$MARK\")) | .id" | head -1 || true)
if [ -n "$ID" ]; then
gh api -X PATCH "repos/${GITHUB_REPOSITORY}/issues/comments/${ID}" -F body=@/tmp/pr-report.md >/dev/null
else
gh api -X POST "repos/${GITHUB_REPOSITORY}/issues/${PR}/comments" -F body=@/tmp/pr-report.md >/dev/null
fi
- uses: actions/upload-artifact@v4
with:
name: steamdeck-apk
path: app/build/outputs/apk/release/*.apk
if-no-files-found: error
retention-days: 30
# An apk is a zip already; compressing it again buys nothing and costs seconds.
compression-level: 0
-40
View File
@@ -1,40 +0,0 @@
name: Contributions ledger
# Keeps the Contributors section of the README current: every pull request by a contributor,
# with its state, and a line of totals each. Runs when a pull request is opened, merged or
# closed and commits the README to main as the Actions bot. The README is documentation, so
# that commit does not buy an apk build.
on:
pull_request_target:
types: [ opened, reopened, closed, edited ]
workflow_dispatch:
permissions:
contents: write
pull-requests: read
concurrency:
group: contributions
cancel-in-progress: false
jobs:
ledger:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Rewrite the table
env:
GH_TOKEN: ${{ github.token }}
run: .github/scripts/contributions.sh "$GITHUB_REPOSITORY"
- name: Commit it when it changed
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md
if git diff --cached --quiet; then echo "ledger unchanged"; exit 0; fi
git commit -m "README: contributions ledger"
git push origin HEAD:main
-16
View File
@@ -1,16 +0,0 @@
*.iml
.gradle/
local.properties
.idea/
.DS_Store
build/
captures/
.externalNativeBuild/
.cxx/
.kotlin/
# Built in CI from tools/linuxfs and app/src/main/cpp/fakeinput.cpp, never committed, so the two
# copies cannot drift.
app/src/main/assets/linuxfs/
# Kotlin compiler session files (build-tool state, never source).
.kotlin/
-674
View File
@@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Pluvia is an unofficial Steam client app for Android
Copyright (C) 2024 Oxters Wyzgowski
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Pluvia Copyright (C) 2024 Oxters Wyzgowski
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
-164
View File
@@ -1,164 +0,0 @@
# SteamDeck — Progress Log
Running engineering log for the SteamDeck app (`com.steamdeck.launcher`). Newest state first, then
the timeline, then lessons and backlog. Companion to the README (what the app *does*) and to
`docs/releases/` (what each version said) — this is *how it got here and where it stands*.
---
## 🔖 0.1.5 RELEASED 2026-09-23 03:17 — known-good point
- **Tag `0.1.5` = `d2f4a84`** (bump commit, versionCode 6), notes `docs/releases/0.1.5.md` on main after it. Private release [0.1.5](https://github.com/The412Banner/SteamDeck/releases/tag/0.1.5) and public [`SteamDeck-0.1.5`](https://github.com/The412Banner/winlator-contents/releases/tag/SteamDeck-0.1.5) on winlator-contents, both Latest, asset `SteamDeck-0.1.5.apk` 21,093,959 bytes, sha256 `85b42954…`, run 35813465422. Staged as `/sdcard/Download/SteamDeck-0.1.5.apk`.
- What went in since 0.1.4 (58 commits): the motion front end, settings as pages with anchored menus, the session drawer, three themes (Paper default) and the new icon, run-as-a-game + libpci fix (117 fps Big Picture on a Fold), client-interface switches, FEX presets, 720p default, TZ, non-Adreno gate, 16 KB app libs, two on-screen sticks + bar-aware layout, folded categories at launch, Kurt's #3 (Back key) / #4 (icon) / #5 (local build helpers), pull-request CI + contributions ledger.
- Untested at release: sticks/bar layout, FEX presets, Deck mode, desktop → Steam hand-off, the `perf:` line. Rollback: `git reset --hard 8e58e8e` (0.1.4) + `SteamDeck-0.1.4.apk`.
- After the cut: the public release on winlator-contents got the private title, and that repo's README a SteamDeck section (latest release, `linuxfs.json`, `desktop.json`) — refresh both at every cut. Verified on the FIT's client binary: there is no `-steampal` flag; the Deck flags are `-steamdeck` / `-steamos3` (Deck mode on the Performance page), `-gamepadui`, `-steamos`.
- **Next, in order:** (1) device pass of 0.1.5 — sticks in a game and the bar layout on the Fold, the `perf:` line and 720p in a session log, a FEX preset, the desktop → Steam hand-off; (2) decide the stick click gesture (double tap or long press); (3) Kurt's draft PR #1 (Decky installer) builds when he marks it ready — it compiles against main, minus two stray `.kotlin` files; (4) rebuild the six PulseAudio prebuilts 16 KB-aligned; (5) optional FIFO/mailbox switch on the compositor's Vulkan present path; (6) the rename away from Valve marks is still open (icon is now the "A").
## 2026-09-22 (late) — motion front end + run-as-a-game, branch `feat/frontend-motion` (unmerged)
- Front end rebuilt around a motion system (`ui/FrontEndScreen.kt`, same state/actions API): the rail's selection is one pill that springs between rows; sub-lists unfold and stagger their children; a page change sinks out and cascades in over a blurred wash of the selection's art; tiles lift/ring/shine on focus and pop a play badge; the launch button sweeps a sheen and squashes on press; the session activity rises over the front end (`res/anim/session_*`). Durations follow the system animator scale.
- The session now runs as a game: manifest `appCategory=game` + `game_mode_config` (Performance mode welcome; the OS FPS cap and downscaling refused), sustained performance mode, the panel's fastest mode at its size, GameManager game state, and an ADPF hint session over the compositor thread fed with each presented frame's interval (`session/PerfMode.kt`, `session/PerfHints.kt`, `nativeCompositorTid`). One `perf:` line in the session log says what took on the device.
- App libraries link 16 KB-aligned. Still 4 KB-only (prebuilt, need a rebuild): libpulse, libpulseaudio, libpulsecommon-13.0, libpulsecore-13.0, libsndfile, libltdl.
- The session's display caps at 720p by default now, client and desktop alike (`SessionPrefs.defaultResolutionCap`); a cap the user chose still wins. The cog's list marks the default per mode.
- Builds: r1 `7ddfb57` (motion only), r2 `546c063` (+ run-as-a-game), r3 `d1ced87` (+ client 720p), r4 `fb2a3d4` (+ desktop 720p) — all CI-green, none device-tested. Staged as `SteamDeck-motion-r1..r4.apk`; r4 has everything.
- r5 `1ba803b` + TZ in the guest; r6 `39272cf` Setup folds, "Linux desktop environment", help link above the grid (r4 seen running on the FIT); r7 `af3f377` settings without a pop-up: the cog and Performance are pages in the pane with anchored menus under each value, frame generation / logs / offline open in place on the rail. **r7 merged fast-forward to `main` (`af3f377`) and main's auto-build staged as `SteamDeck-r52.apk`; no tag, no release.**
- r8 `90ff23a` (branch only, unmerged): the session drawer in the front end's dress with the same rows and menus (Now / Next session / leave), FEXCore presets carried over from Bannerlator (`core/FexPreset`, Steam settings page + drawer, FEX_* into the Steam session's environment; default = FEX defaults as before), file manager and picker locked to landscape.
- Collaborators: `maxjivi05` (push) and `xXJSONDeruloXx` (push, invited 2026-09-22) on the private repo.
- CI for pull requests (2026-09-23 early): `Build APK` runs on `pull_request_target` against main (a conflicting pull request never fires `pull_request`), checks the pull request out at its head with full history, merges main itself, and leaves one comment kept current: mergeable + built (apk on the run), or the conflicting files and hunks, or the compiler's errors from the kept Gradle log. Drafts wait. Fork pull requests may run without approval (repo setting). Proven with a throwaway pull request (#2, closed) both ways. `Contributions ledger` rewrites the README's contributors table on open/merge/close via `.github/scripts/contributions.sh`, committed to main by the Actions bot.
## 🔖 Checkpoint 2026-09-22 22:xx — known-good point for the front end
- **`main` @ `36cde7d`**, APK `SteamDeck-r51.apk` staged (sha `adb5acf5…`, run 35761437514) =
frontend-r6 + docs. Same versionCode 5 / 0.1.4 inside; **0.1.5 not cut yet**.
- **Proven on the Pocket FIT this evening:** the front end renders and navigates (rail, art,
square emulator icons, focus outline); RPCS3 lists Tomb Raider (ISO in a subfolder) and God of
War II HD (its HDD); ▶ God of War II HD boots the game under gamescope at ~40 fps
(`session-20260922-133044`: `run: rpcs3.AppImage --no-gui …NPUA80491/USRDIR/EBOOT.BIN`, 399
frames on screen in 10 s).
- **Not yet proven:** desktop→Steam hand-off after the three fixes (r47–r50); ▶ FlatOut from the
rail (Steam session with rungameid); Running tile; volume keys; automatic SD game storage
(Install drive drop-down); Steam desktop-UI session; Tomb Raider ISO boot.
- **Open decision:** rename the app away from Valve's marks before it spreads (shortlist offered:
Linuxlator / Pocketscope / Portascope); rename = label, icon text, `applicationId` (fresh
install + runtime re-download), `Download/SteamDeck/` log folder, repo, release-tag pattern.
- **Rollback:** `git checkout 36cde7d` (or 0.1.4 tag `8e58e8e` for the last release), reinstall
`SteamDeck-r51.apk` / `SteamDeck-0.1.4.apk` from Downloads.
- Loose ends: `ui/MainScreen.kt` keeps ConfirmDialog/CreditsDialog/EmulatorHelpDialog but its
`MainScreen`/tiles are dead; worktree `~/steamdeck-frontend` still exists (branch merged).
## Current state (2026-09-22, evening)
- **`main` @ the front end merge** (`feat/frontend` fast-forwarded): the launcher main screen -
Steam ▸ games, Desktop ▸ emulators ▸ games, Running tile, focus outline. ✅ First emulator game
proven from the app: God of War II HD in RPCS3 under gamescope at ~40 fps on the Pocket FIT.
- Since 0.1.4 on main, unreleased: volume keys to Android; ▶ emulators under gamescope; ROMs chip
+ ? explainer; sysmem copy + ENOSYS hint; automatic game storage (a card = a Steam library);
the client's games on the desktop with a `steam` shim; desktop→Steam hand-off (three causes
fixed from FIT logs: Surface detach race, the replaced session's exit ending the new one,
shared log folder); the front end. Next release = 0.1.5 once the hand-off is seen working.
## State at 0.1.4 (2026-09-22)
- **Latest release: 0.1.4** — private: https://github.com/The412Banner/SteamDeck/releases/tag/0.1.4
· public: https://github.com/The412Banner/winlator-contents/releases/tag/SteamDeck-0.1.4
`main` @ `8e58e8e`, CI run 35682844106, versionCode 5, APK sha256 `4b53ce6a…` (20,957,823 B).
- **Runtime:** `linuxfs-r9` on winlator-contents (790 MB), the only runtime release left; desktop
packages from `steamdeck-desktop-r1`. The app rewrites its own scripts (`bannerlator-*`), the
driver, `bannerlator-netmanager` and the DirectAudio pieces into the installed runtime at every
launch, so a fix in those reaches an installed runtime without a re-download.
- **Shipped feature set:** the native ARM64 Steam client under gamescope on the in-app Wayland
compositor; a LXQt-on-labwc desktop with Firefox and a shelf of emulators; Proton tools
(GE / CachyOS) as downloads; graphics drivers importable per mode; DirectAudio + microphone;
client/game core masks + four session switches; NetworkManager stand-in (Max's); overlay
restored; ROMs folder + Storage bound into the session's home; Bannerlator's File Manager;
a cog per launch mode (resolution, shape, HDR10, drivers, touch, OSC/audio, renderer); per-session
log folders that survive a crash; leftover-process sweep; frame generation (Win-FG, LSFG).
- **Verification level:** every release is CI-green and staged to the maintainer's device. Proven
on hardware (Pocket FIT / Fold): sign-in, store, install + launch (FlatOut 144 Hz), frame
generation, controllers + OSC, sound, desktop + Firefox, folding mid-session, driver import, the
log folder, the ANR fix, the network page. **Not yet proven:** everything 0.1.4 added (ROMs
folder inside an emulator, File Manager, resolution cap, HDR10, crash sweep, orphan sweep, the
drawer's Steam menu), DirectAudio *voice*, the core masks' effect, offline start, the soft
keyboard, any emulator with a game, Adreno 710.
- **Open field reports (Thor Pro, 8 Gen 2):** trackpad-mode tap does not click (code sends the
click; cause not found by reading); crash after 1–2 min in Ballionaire / Geometry Wars (no log
survived — 0.1.4's sweep will leave `crash.log`); a Fold's 10–20 fps client menus (Chromium →
ANGLE → Zink on an experimental A8xx Turnip); Fold crash loop (xalia ENOSYS storm — switches
shipped, untested); FlatOut shrinking after Resume (gamescope forcing the swapchain extent).
## Release pipeline (how every version is cut)
1. Work on `main`, pushed → `Build APK` runs `assembleRelease` (AOSP test key, v1+v2+v3 re-signed
by CI with zipalign + apksigner) → artifact `steamdeck-apk`. Dev builds keep the last release's
versionCode/versionName; a release bumps both in `app/build.gradle` in its own commit.
2. Verify: `gh run view <id> --json conclusion` (never trust a run listing's first row — a
`workflow_dispatch` run gets cancelled by concurrency in favour of the push-triggered one),
download the artifact, sha256 it.
3. Stage: `cp` to `/sdcard/Download/SteamDeck-rN.apk` (dev) or `SteamDeck-X.Y.Z.apk` (release).
Never `pm install` — the maintainer installs.
4. Private release `X.Y.Z` targeting the **full 40-char sha** (a short sha is refused), notes from
the draft in the session scratchpad, `--latest`. Public release `SteamDeck-X.Y.Z` on
winlator-contents with the README-style notes; one public release per version.
5. README ledger, this log, memory.
## Timeline
- **2026-09-19 — 0.1 groundwork.** Lifted out of Bannerlator's gamescope runtime on the user's
ask: one screen, one button. r2 reached Big Picture sign-in on the Pocket FIT. Package renamed to
`com.steamdeck.launcher` (r4), foreground service, test key, on-screen controls.
- **2026-09-20 — 0.1.** The Linux Steam client and a desktop; runtime r6→r9 in a day (Proton
self-selection, proot shipped, refresh rate, video, first run reaches a game). Public explainer
page for non-Linux users.
- **2026-09-21 — 0.1.1.** Catch-up with Bannerlator: driver selection (two lists, per mode),
overlay restored + GameHub force-stop, DirectAudio + microphone, core masks, four session
switches as toggles, per-session log folders with credentials scrubbed, Adreno 710 path via
Banners-Turnip r3.
- **2026-09-22 — 0.1.2.** The teardown ANR (log collection on the main thread) fixed; two
compositor log lines (frame-size change, window rename); README ledger.
- **2026-09-22 — 0.1.3.** Max's NetworkManager stand-in ported (the client's network page); shim
audit vs WinNative = zero functional drift.
- **2026-09-22 (later) — after 0.1.4, on main.** Volume keys; ▶ emulators under gamescope (the
desktop cannot: labwc on pixman offers no dma-buf); ROMs chip; sysmem warning + ENOSYS hint;
automatic game storage; the client's games on the desktop (`steam` shim hands off to a
gamescope session); the hand-off's three faults found in FIT logs and fixed; the front end
merged (branch `feat/frontend`, r1–r6); God of War II HD booted in RPCS3 from the rail.
- **2026-09-22 — 0.1.4.** ROMs folder + Storage in the session's home; Bannerlator's File Manager
ported whole; a cog per mode (railed settings window) with resolution cap, shape, HDR10 gated on
the panel, drivers, touch, OSC/audio/renderer; two-column main menu; crash-safe log folders +
Session logs toggle; OrphanReaper; drawer Steam menu. Public releases reorganised: one per
version, old `Steamdeck` release and runtimes r1–r8 deleted.
## Architecture (where things live)
- `MainActivity` / `ui/MainScreen.kt` — the main screen; `ui/ModeSettingsDialog.kt` the cogs;
`ui/*Dialog.kt` the rest.
- `SessionActivity` — the Surface, input (touch, touchpad, pads, keyboard), the drawer, the HDR
decision, the compositor start (`wayland/CompositorHost`, `wayland/WaylandCompositor`).
- `session/SessionService` — proot + gamescope/labwc + PulseAudio + DirectAudio relay + network
link; binds (`/root/Storage`, `/root/ROMs`); env for the guest; teardown; `OrphanReaper`;
`SessionArtifacts` + `CrashHandler` + `SessionPaths` for the log folders; `SessionPrefs`.
- `files/` — Bannerlator's File Manager (`FileManagerScreen.kt` and its helpers), the picker
activity and `InAppFilePicker` intent API.
- `gpu/` — Turnip (bionic, for the compositor) and Linux Turnip (glibc, for the runtime) managers.
- `tools/linuxfs/overlay/usr/local/bin/bannerlator-*` — the guest scripts, staged into the
runtime by `SessionFiles` at every launch (CI packages only `bannerlator-*` names).
- `app/src/main/cpp/waylandcomp/` — the compositor (shared lineage with Bannerlator).
## Lessons learned (don't repeat these)
- Nothing in teardown may do bulk filesystem work on the main thread (0.1.1's ANR).
- A CI closure check on a multi-line variable must flatten it first (`libaaudio.so` refusal).
- A runtime script must be named `bannerlator-*` or CI never packages it.
- `gh release create --target` needs the full sha.
- A proot bind is invisible to a program's "Computer" list; put what users need under home.
- The compositor decides its driver and its HDR gate once per app process — anything that changes
them applies after the app is fully closed, and the UI must say so.
- Bannerlator's File Manager ports mechanically (`port_fm.py` anchors) once the container hooks
are cut; do not hand-edit 2,500 lines.
- Deleting a release asset on GitHub can drop a sibling asset — re-list and restore.
## Backlog / next
- Device-prove 0.1.4 on the FIT (list above).
- Thor Pro: trackpad tap; the 1–2 min in-game crash once a `crash.log` arrives.
- Xfce as a second desktop shell (Max's branch runs XFCE 4.20 on labwc) — a catalog package + a
shell choice in the Desktop cog; comfort, not performance.
- Quick Access Menu for non-Deck pads — no confirmed chord; needs research, not a guess.
- FlatOut shrink: try `vk_wsi_force_swapchain_to_current_extent=false` via `steamdeck-env`.
- Max's stricter `winnative-directaudio` guards; `winnative-epic-launch` (a feature).
- Rename before anything truly public: "SteamDeck" is Valve's mark.
-569
View File
@@ -1,569 +0,0 @@
# SteamDeck
Valve's **native aarch64 Linux Steam client**, running on an Android phone or handheld: a glibc
rootfs under proot, gamescope as a Wayland client of an in-app Vulkan compositor, Xwayland and
Zink for the client's CEF, and the device's Turnip driver underneath. There is no Wine here, and
no x86 translation for the client itself — it is ARM code running as ARM code. Windows games it
launches go through Valve's own ARM64 Proton build, which is where FEX comes in.
One screen, one button: install the runtime, press Play, Big Picture comes up. Or start the
**desktop** instead — LXQt, a browser and a shelf of emulators, in the same session.
Around that: the Vulkan driver each half of the session draws with is yours to import and change,
audio can bypass PulseAudio and carry a microphone, the cores the client and a game get are
separate, and every session writes a folder of logs meant to be attached to a report as it is.
## Contributors
Building this alongside the owner. A pull request from either of them builds by itself and gets
a comment saying whether it merges, what conflicts, or what failed to compile.
- **MaxsTechReview** — [@maxjivi05](https://github.com/maxjivi05)
- **Kurt Himebauch** — [@xXJSONDeruloXx](https://github.com/xXJSONDeruloXx)
<!-- contributions:start -->
_From the repository's pull requests; rewritten when one is opened, merged or closed._
| Contributor | Pull request | Opened | State |
|---|---|---|---|
| [@xXJSONDeruloXx](https://github.com/xXJSONDeruloXx) | [#1](https://github.com/The412Banner/SteamDeck/pull/1) initial decky installer stuff | 2026-09-23 | closed |
| [@xXJSONDeruloXx](https://github.com/xXJSONDeruloXx) | [#3](https://github.com/The412Banner/SteamDeck/pull/3) Fix hardware back in Steam session | 2026-09-23 | merged 2026-09-23 |
| [@xXJSONDeruloXx](https://github.com/xXJSONDeruloXx) | [#4](https://github.com/The412Banner/SteamDeck/pull/4) Update app launcher icon | 2026-09-23 | merged 2026-09-23 |
| [@xXJSONDeruloXx](https://github.com/xXJSONDeruloXx) | [#5](https://github.com/The412Banner/SteamDeck/pull/5) Add reproducible local build and deploy helpers | 2026-09-23 | merged 2026-09-23 |
| [@xXJSONDeruloXx](https://github.com/xXJSONDeruloXx) | [#6](https://github.com/The412Banner/SteamDeck/pull/6) Add Steam and QAM touch controls | 2026-09-23 | merged 2026-09-23 |
- **@xXJSONDeruloXx**: 5 submitted, 4 merged
<!-- contributions:end -->
## Requirements
- An **arm64 Android device with an Adreno GPU that Turnip supports** — in practice Adreno **730 or
newer** (Snapdragon 8 Gen 1 onward) and the **8xx** series. Mali, Xclipse and PowerVR are not
supported here, and neither is the low-end Adreno 710 (Snapdragon 6 Gen 1): Mesa has no entry
for it at all, so the session log ends at `device (chip_id = 7010000, gpu_id = 710) is
unsupported` before anything is drawn.
- **Android 9 or newer**, and roughly **3 GB free** for the runtime before any games. The desktop
and its emulator packages are another ~1.1 GB if you install them.
- **No root required.** Root only helps if you want to copy an existing Bannerlator runtime across
instead of downloading one.
## Installing
1. Install the APK from the release page.
2. Launch it and press **Install Linux runtime** — about 790 MB, once.
3. Press **Play**. On the very first run the app fetches Valve's client (a minute or two with
nothing on screen), then Big Picture comes up and you sign in.
For a desktop, open **Desktop & apps**, install the *Desktop* package, then press **Desktop** on
the main screen.
**Do this once per device if the client dies with nothing in its log**: Android 12 and later kill
the extra processes an app starts for itself, and a session is made of dozens of them. Some phones
have a **"restrict child processes"** switch in Developer options — turn it off. See
[If Steam dies with nothing in the log](#if-steam-dies-with-nothing-in-the-log).
## What works today
This is version 0.1.2, and most of it has been exercised on one or two devices only. An honest
ledger rather than a feature list — where something has not been run on hardware, it says so:
| | State |
|---|---|
| Steam sign-in, store, install, launch | ✅ proven — *FlatOut* at 144 Hz through ARM64 Proton |
| Importing and choosing a driver | ✅ proven — an imported Mesa 26.3.0 glibc Turnip drew a whole session, and an imported AdrenoTools build ran the compositor |
| Frame generation (LSFG 2×) | ✅ proven — 30 → 61, 60 → 118, 61 → 123 fps |
| Performance HUD | ✅ proven |
| Desktop, panel, file manager | ✅ proven at the panel's native resolution |
| Firefox and the network (IPv4 + IPv6) | ✅ proven — live pages at 93 fps |
| Controller as an Xbox 360 pad | ✅ proven |
| Foldable, opened and closed mid-session | ✅ proven |
| Background / foreground, wake locks | ✅ proven |
| The session log folder | ✅ proven — all of it written, including this app's own log |
| Session folder finished after a crash or a kill | ⚠️ built: crash handler + next-start sweep; not yet forced on a device |
| ROMs folder and Storage in the session's home | ⚠️ built; not yet opened from an emulator on a device |
| The File Manager (Bannerlator's) and its pick mode | ⚠️ built; not yet used on a device |
| The cog beside Play / Desktop: resolution, shape, HDR, drivers, touch, audio, renderer | ⚠️ built; the resolution cap and HDR not yet seen on a device |
| Leftover session processes swept at the next start | ⚠️ built; not yet forced on a device |
| The drawer's "Steam menu" (Guide) | ⚠️ built; not yet tried |
| Emulators launched under gamescope (▶ on the rail) | ✅ proven — God of War II HD in RPCS3, ~40 fps on the FIT |
| The front end (rail, games, focus outline, Running tile) | ⚠️ built and used on the FIT; the Running tile and Steam-game ▶ not yet exercised |
| The device's volume keys during a session | ⚠️ fixed (they were swallowed); not yet re-tried |
| Game storage: a second Steam library on a card or a folder | ⚠️ built; not yet seen installing to it |
| The client's games in the desktop menu, launching Steam's desktop UI under gamescope | ⚠️ built; not yet tried |
| Stopping a competing Steam client | ⚠️ it is asked to stop and says so, but one that restarts itself from boot wins the race — uninstall it |
| DirectAudio for games, and the microphone | ⚠️ wired and the modules load; voice not yet confirmed in Steam's tester |
| Client and game core masks | ⚠️ applied and logged; no measured difference yet |
| The four session fixes (xalia, proot seccomp, sysmem, Zink) | ⚠️ they set what they say; each is a hypothesis for a device that misbehaves |
| GE-Proton / proton-cachyos | ⚠️ adopted and registered on device; no game launched through one yet |
| The emulators | ⚠️ they build, publish and install — none has been run with a game |
| Starting Steam offline | ⚠️ built, not yet tested |
| The soft keyboard | ⚠️ built, not yet tested |
| Adreno 710 / 720 / 722 | ⚠️ a path exists through imported drivers; **nobody has run this on one yet** |
## Known limits
- **The desktop composites in software.** wlroots allocates through gbm on a real DRM render node,
and the Adreno stand-in is not one, so labwc falls back to pixman. Programs on the desktop still
reach the GPU themselves through Vulkan and Turnip — it is the desktop's own compositing that
runs on the CPU.
- **Firefox's child-process sandboxes are off.** Seccomp and namespace sandboxes cannot be set up
under proot, and its tabs crash otherwise. This is a genuine reduction in isolation: treat
browsing here as less protected than on an ordinary desktop.
- **The display shape changes at the next session**, not immediately — gamescope fixes its display
size when it starts.
- **No Switch emulator.** Eden's repository was taken down in February; there is nothing to mirror
or to build from.
- PS3 (RPCS3) and Wii U (Cemu) are demanding even on desktop hardware — expect light titles only.
## How it fits together
```
Android app (this repo)
├── libbannerwayland.so Wayland compositor, presents into the activity's Surface
│ on a bionic Turnip: bundled, or one you imported
├── PulseAudio 13 + AAudio the guest's audio server, on a socket bound into the session
├── directaudio relay owns AAudio out and the mic for the games that ask for it
├── fake-evdev rings a physical pad, republished as /dev/input/eventN for the client
├── frame generation Win-FG or LSFG, on gamescope's finished output
└── proot ── linuxfs (~790 MB, downloaded once)
├── gamescope ── Xwayland ── Zink
│ drawing on a glibc Turnip: the runtime's, or one you imported
└── Steam (steamrtarm64, fetched from Valve on first run) ── Proton ARM64 ── FEX
└── a game's audio: Proton's own, or DirectAudio straight to Android
```
The two Turnips are separate copies of the same driver and cannot be swapped: the compositor's is
built against Android's C library, the runtime's against glibc. That is why there are two import
lists rather than one.
The runtime image is the one published for Bannerlator (`linuxfs.json` in
`The412Banner/winlator-contents`); this app installs and updates it from that catalog. **No Valve
software is redistributed** — the client is fetched from Valve's own manifest on the device at
first use.
## Building
The repeatable local build is `tools/build_local.sh`. It uses Docker's Ubuntu cross-toolchain for
the two glibc ARM64 preloads (`libfakeinput.so`, `libblsession.so`), the Android SDK/NDK already
installed on the machine, and the same release signing and native dependency checks as CI. The
APK is written to `app/build/outputs/apk/release/app-release.apk`.
```sh
tools/build_local.sh
```
CI remains available through the `Build APK` workflow. Both paths cross-compile the preloads from
the sources in this repo before the app build, so those cannot drift from what ships.
With an authorized Android device attached over USB or ADB, install the locally built APK with:
```sh
tools/deploy_local.sh
```
Set `ADB_SERIAL` when more than one device is attached. The deploy helper installs over the
existing `com.steamdeck.launcher` package using the repository's stable test key and verifies the
package path afterward; it does not launch a session automatically.
## If Bannerlator is already installed
The runtime image is the same one Bannerlator installs, so on a device that already has it the
790 MB download can be skipped entirely — copy it across with root, once, before the first launch:
```sh
su -c 'cp -a /data/data/com.tencent.ig/files/linuxfs /data/data/com.steamdeck.launcher/files/ \
&& chown -R $(stat -c %u /data/data/com.steamdeck.launcher/files) \
/data/data/com.steamdeck.launcher/files/linuxfs \
&& chcon -R u:object_r:app_data_file:s0 /data/data/com.steamdeck.launcher/files/linuxfs'
```
The two runtimes are independent after that: each app has its own Steam install, its own login and
its own games.
## Controls
A physical controller is republished into the session as a synthetic Xbox 360 pad, which is the
identity SDL and Steam have a mapping for. With nothing attached, an on-screen pad appears —
d-pad, A/B/X/Y, shoulders, select/start and the Steam button — writing into the same rings, so the
client sees one pad either way. Connect a controller and the on-screen one disappears; unplug it
and it comes back. Anywhere the controls are not is a touchpad: touch moves the pointer and a tap
clicks, which is how the client's own on-screen keyboard is used to sign in.
## Desktop
Besides the Steam client the app can start a **desktop**: LXQt on labwc, in the same session and
the same compositor, with Xwayland for the X11 programs. It is a second choice on the main
screen, not a replacement — the Steam button still hands the session to gamescope.
What it is made of is downloaded on request from a catalog hosted beside the runtime, so the app
stays small and nothing ships that a given device will not use:
| Package | What it brings |
|---|---|
| **Desktop** (406 MB) | labwc, LXQt's panel, file manager, terminal, text and image viewers, Firefox, mpv |
| **Emulators** (694 MB) | PPSSPP and RetroArch with 28 cores — PS1, PS2, N64, SNES, NES, Game Boy, GBA, DS, Genesis, Dreamcast, Saturn, PC Engine, arcade — plus ScummVM, DOSBox, Mednafen, Snes9x |
| **RPCS3 · DuckStation · melonDS** | PS3, PS1 and DS, mirrored from the projects' own ARM64 builds |
| **PCSX2 · Dolphin · Cemu** | PS2, GameCube/Wii and Wii U. No ARM64 Linux build exists upstream for any of the three, so they are compiled from source against the same glibc the runtime uses |
The desktop composites in software: wlroots allocates through gbm on a real DRM render node, and
the Adreno stand-in is not one, so labwc runs on pixman. The programs on it still reach the GPU
themselves through Vulkan and Turnip — it is the desktop's own compositing that is on the CPU.
`Download/steamdeck-wlr-renderer` (`pixman`, `gles2` or `vulkan`) overrides the choice.
Programs whose child processes sandbox themselves with seccomp and namespaces cannot set those up
under proot; Firefox's are turned off in the session's environment, without which its tabs crash.
### The front end
The main screen is a launcher: a rail with **Steam** and its installed games (from the client's
own manifests, with the library-cache art), **Desktop** and the installed emulators (their own
icons) and each emulator's games from the ROMs folder (a system folder such as `ps3/` as a hint,
by extension, one folder deep - a dump comes as a folder named for the game) plus what RPCS3 has
installed on its own HDD; then Files, Desktop & apps, Compatibility tools, Frame generation,
Performance, ROMs, Session logs, Start offline, the runtime and credits. The chosen thing sits on
the right with its ▶. A Steam game launches its session with `steam://rungameid/…` directly; a
ROM launches its emulator under gamescope with the game on the command line (RPCS3 `--no-gui`,
Dolphin `-e`, Cemu `-g`, the rest plain). A session alive in the background is the first thing on
the rail; tapping it goes back to it. The controller's focus draws a thin outline. ✅ God of War
II HD booted in RPCS3 from the rail at ~40 fps on the Pocket FIT.
### Game storage: internal, an SD card, or a folder
The client's own library is internal storage and always there. An **SD card in the phone is
registered as a second library by itself** (through the app's own folder on it, the one place a
card lets this app write), so the choice is made where it is anywhere else - inside Steam, on
every Install. **Game storage** in the Steam cog is only for turning that off or pointing it at a
folder chosen in the File Manager instead. The session binds it at
`/mnt/bannerlator-sd` and `bannerlator-steam-library` registers it with the client under the name
the app gives it; the client then asks where to install every game, lists both on its Storage
page and moves games between them itself. Set to internal only, the entry is removed again. A
card and shared storage are FUSE-backed and stream slowly - keep games that stream video or big
assets internal. ⚠️ Built; not yet seen installing to a card.
### The client's games on the desktop
The Steam client writes a menu entry for every game it installs (Games category, the game's
icon), and the home folder has **Steam Games** and **SD Games** links to their files. Those
entries run `steam steam://rungameid/…`; on this desktop `steam` is a shim, because the client
cannot run where nothing can draw with Vulkan. It - and the menu's **Steam** / **Steam Big
Picture** entries - hand off to the app (`bannerlator-steam-launch`), which ends the desktop
session and starts a Steam session in its place: the client's **desktop UI** under gamescope, and the game straight away when one was
chosen. Back opens the drawer as in any session; Stop session returns to the app. The list is
rebuilt at every desktop start. ⚠️ Built; not yet tried on a device.
### Running an emulator with the GPU
The desktop composites in software (labwc on pixman) and so offers its programs no dma-buf: a
Vulkan program on it has no swapchain to draw into and dies at its first frame — RPCS3 with
`VK_ERROR_SURFACE_LOST`. The GPU path that works on this hardware is gamescope's, the one Steam's
games render through. So an emulator is started **as a session of its own**: ▶ beside an installed
emulator under **Desktop & apps** runs it fullscreen under gamescope (the session script's `run`
mode, an AppImage or a binary inside the runtime), with Steam's display, driver and HDR settings.
The desktop remains for files, Firefox and everything that draws in software. ⚠️ Built; not yet
seen with a game.
### The device's files, and the ROMs folder
Inside a session the phone's storage is at `/storage/emulated/0`, as it is outside - but no
program's file dialog will show it: they list "Computer" from `/proc/mounts`, where a proot bind
never appears, and open in the home folder, where nothing pointed at the phone. So the home
folder now carries two entries every session:
- **`Storage`** - all of internal storage.
- **`ROMs`** - the folder chosen with **ROMs folder** on the main screen, wherever it is on the
device, an SD card included (it is a bind, not a link). Point any emulator's game directory at
`/root/ROMs` once and it is the same folder in every session after.
Both are the live folders, not copies: a save an emulator writes next to its ROM lands on the
phone.
### Files
**Files** on the main screen is Bannerlator's File Manager, carried over whole: grid and list,
sort, search, multi-select, copy / cut / paste with conflict handling and a cancellable progress
bar, rename, delete, new folder, properties (read-only and hidden), favourites, and a locations
rail with every mounted card, Downloads, the ROMs folder and the session logs. Its pick mode is
what chooses the ROMs folder and imports a driver. What is not here is what has no meaning without
a Wine container: running a file, adding it to shortcuts, the C: / Z: drives and the archive
unpacker.
## Pointer
The app draws the arrow. On the desktop, touch is a **touchpad** (Bannerlator's desktop-container
feel): drag anywhere and the pointer moves from where it is; tap to click; a second finger tapping
while one holds, or a two-finger tap, right-clicks; two fingers scroll; hold still then drag, or
double-tap-and-hold, drags. In Steam, touch is **direct**: the pointer jumps under the finger. The
drawer's *Touch* switch pins either. A USB or Bluetooth mouse works as itself.
## Networking
The desktop's programs use the phone's network directly — proot makes no network namespace, so
IPv4 and IPv6 both pass through — and the app writes the runtime's `/etc/resolv.conf` from the
active network's own DNS servers whenever the link changes (IPv4 first, never a link-local IPv6 one,
public servers as fallback), which is what Firefox and everything else in the desktop resolve with.
## Keyboard
**Keyboard** in the drawer opens the soft keyboard over the session. Steam's UI and the games
under it are X11 clients of gamescope and know nothing of Wayland text input, so what the
keyboard produces is turned into the key presses that would have typed it — Shift included, so
capitals and the symbol row (`@`, `!`, `_` …) arrive as themselves — and fed to the compositor as
key events. A hardware keyboard works as it is.
## Starting Steam offline
The client runs without a connection — installed games launch, Proton and the frame generation
are local — provided it has credentials from a sign-in that succeeded earlier. **Start offline**
on the main screen is where that is decided, and not in the drawer, because the client reads the
two keys that control it once, while it starts: changed during a session it would write the file
and change nothing until the next launch. Without an earlier sign-in the button says so and does
nothing. The client rewrites those keys when it exits, so the app writes them again at every
session start. Games with always-online DRM will not start offline, and nothing can be installed
or updated.
## Audio
The Steam client always plays through **PulseAudio** — it is a native Linux program with no other
way to make a sound, and its menus, music and voice chat all go through it. **Audio** on the main
screen adds two things on top, each applying at the next session start:
- **DirectAudio for games** — replaces Wine's audio driver *inside the games the client launches*
with Bannerlator's DirectAudio, which talks straight to Android over a socket instead of through
PulseAudio: lower latency, and no resampling in between. The client is untouched. It only pairs
with a Wine 11 Proton (Valve's ARM64 builds, GE-Proton, proton-cachyos); on anything else the
wrapper leaves it off and says so in the log, because a mismatch would be silence rather than an
error. A game's first launch after turning it on still uses Proton's own audio — the driver is
named in the game's prefix, which does not exist until that first launch — and the second uses
DirectAudio.
- **Microphone** — the relay helper opens Android's input stream under the app's own uid (which is
what the recording permission is checked against) and PulseAudio exposes it to the client as a
source named **DirectAudioMic**, so Steam voice chat works. Asks for the recording permission when
turned on; off, nothing in the session can record and Android's indicator stays off.
The helper is a small Android program the app runs beside the session; the driver is a glibc build
staged into the runtime at every launch like the session scripts, so a fix reaches an installed
runtime without re-hosting it. Proven in Bannerlator's Linux session with voice in Steam's own
tester; ⚠️ not yet exercised in this app.
## Cores
**Performance** on the main screen carries the two core masks Bannerlator's Linux session has, kept
separate because they are wanted at the same time and suit different things:
- **Steam client cores** — Steam pins its own interface renderer to a subset of cores it chooses (on
one device 5 of 8, leaving out both little cores and the fastest), which is reasonable while a
game runs and makes Big Picture sluggish when the client is all there is. Turning the override
on pins the client, its UI helper and gamescope to the cores you tick, re-applied every few
seconds because the UI keeps spawning helpers that inherit Steam's choice. Every core ticked is
the usual fix — and, unlike the game mask, it *is* sent when it names every core, since undoing
Steam's pin is the whole point.
- **Game cores** — applied by the Proton wrapper, which execs the game through `taskset` so every
thread inherits the mask from its first instruction. Leaving every core ticked sends nothing;
untick the small cores to keep a heavy game off them.
Both apply at the next session start.
Under the same dialog, **session fixes** for a device the runtime does not sit well on, tried one at
a time. **Skip Steam's xalia helper** (`PROTON_USE_XALIA=0`) is the one to reach for when a session
dies seconds after Big Picture appears: xalia is an x86 Windows program Proton starts for gamepad
navigation, it cannot load the session's preload shim under FEX, and where the vendor's seccomp
answers its `socket()` and `memfd` calls with ENOSYS it storms until the session collapses (89
refusals then a broken pipe, in the log). It costs gamepad navigation in Windows programs that are
not games. Then two for a runtime that renders slowly: **Turnip: sysmem rendering** (`TU_DEBUG=sysmem`, Banners-Turnip's advice for an Adreno 8xx that
looks glitchy or slow; a 710/720/722 gets it on its own) and **Zink: lazy descriptors**
(`ZINK_DESCRIPTORS=lazy`, for Steam's menus, which Chromium draws through Zink — the first thing to
try when they are slow while games are fast). The `steamdeck-tu-debug` and `steamdeck-env` files in
Downloads still win over both.
## Networking and the client's own network page
The session uses the phone's connection directly - proot makes no network namespace, so IPv4 and
IPv6 both pass through - and the app writes the runtime's `/etc/resolv.conf` from the active
network's own DNS servers whenever the link changes.
The client's **Settings → Internet** page and its connection indicator are a different matter:
they are built on NetworkManager, which the client looks for on the system bus as it starts. Without
one, that page stopped with *"StartScanningForNetworks is not a function"* under a header showing no
connection even while downloads ran. The session now starts a small system bus and a **stand-in that
answers for NetworkManager**, reporting what is true and nothing more - one connection that is up
while Android has a route out - and refusing what it cannot do, since nothing in this runtime can
scan for or join a network. The session log says `network: system bus up, NetworkManager stand-in
running` when it is working.
That stand-in is **maxjivi05's**, from WinNative, by way of Bannerlator.
## Compatibility tools
**Compatibility tools** (main screen and drawer) installs GE-Proton or proton-cachyos — native
ARM64 builds — beside the ARM64 Proton Valve ships. The runtime's own registrar downloads and
installs a requested build when the next session starts (several hundred MB), patches it past
pressure-vessel like Valve's, and it then appears in Steam under Properties → Compatibility for
any game. The dialog queues or cancels a request and removes an installed build.
## The cog beside Play and Desktop
Each launch button has a cog, and everything that only matters for that one mode lives behind it,
so the main screen keeps only what applies to both: **resolution** (up to 720p by default; 900p, 1080p, or the
panel's own), the display **shape**, **HDR10 output**, the
**Linux runtime driver** for that mode and the shared **display driver**, **touch**, and for Steam
the on-screen controls and audio, for the desktop its renderer.
**HDR10** is a switch that is greyed out, with the reason, on a panel that does not list HDR10 —
the compositor's HDR gate is decided from the display's own word (`android.view.Display`), once,
when the compositor starts. On, the compositor offers `wp_color_manager_v1` with BT.2020 + PQ and
10-bit buffers, gamescope is started with `--hdr-enabled` and speaks the same protocol to it, and
games get `DXVK_HDR=1`; a game that renders HDR then reaches the panel as HDR on its own display
layer, tagged BT2020_PQ. The compositor lives for the whole app process, so a change applies after
the app is fully closed and opened again. ⚠️ Wired end to end; not yet seen on a device from this
app (Bannerlator proved the same compositor path on a Fold).
## Graphics drivers
Two drivers, two lists, because a zip for one cannot serve the other — the same split Bannerlator's
Contents screen makes. Both are chosen in the cog beside Play / Desktop:
- **Linux runtime driver** — the glibc Turnip everything *inside* the runtime renders on: the Steam
client's UI, every game it launches, and in desktop mode every program on the desktop. Import a
"-Linux" Turnip zip from Banners-Turnip; a plain Android or "-Wayland" Turnip is refused with the
reason, since a Linux process cannot load a bionic library. The choice is per mode, so Steam and
the desktop can run different builds, and it takes effect at the next session start. Nothing in
the runtime is modified: the session is handed the imported driver's ICD manifest and points the
Vulkan loader at it, and the runtime's own Turnip is what a removed or unreadable import falls
back to. This is how a driver fix reaches an installed runtime without a ~790 MB re-download.
- **Display driver (Android)** — the bionic Turnip the app's compositor puts the frame on the panel
with, the last step of every session. *Auto* picks one of the two bundled builds by GPU; an
imported AdrenoTools zip can be chosen instead. The compositor loads its driver once per app
process, so this one applies after the app is fully closed and started again.
Both imports open the app's own file picker rather than Android's document picker: an SD card is a
card in its drive menu, the folder last picked from is where it opens next time, and it hands back
a plain path.
## Frame generation
Extra frames are generated between the real ones on the way to the screen — inside the app's
compositor, on gamescope's final output — so it works for any game with nothing changed in the
runtime. **Win-FG** is built in. **LSFG** uses the shader chain from your own copy of Lossless
Scaling: install it from the Steam client in this app and the app reads its `Lossless.dll` from
the runtime's Steam library (parsed as data, never executed; nothing of it is redistributed).
Pick an engine and 2×/3×/4× on the main screen; it applies immediately, mid-game included.
## Background and foreground
A session belongs to a foreground service, not to the activity, so leaving Big Picture does not
end it: the process stays at perceptible priority, a partial wake lock keeps the CPU from dropping
the guest's threads, and a high-performance WiFi lock keeps a backgrounded download from being
throttled to nothing. **Back opens the drawer**: the performance HUD switch, frame generation, on-screen controls
(auto / always / never), the display shape (the panel's own, or a fixed 16:9 — the default on a
foldable, so opening or closing it mid-session only changes the bars, never the picture; takes
effect on the next session), *Send to background* and *Stop session*. Backgrounded, Steam keeps
running and the (silent) notification brings it back. A session ends only when you say so — the
drawer or the notification's **Stop session** — or when the app is swiped out of recents.
## Device switches
Files in `/sdcard/Download`, for a device that cannot be reached with a debugger:
| File | Effect |
|---|---|
| `steamdeck-no-pad` | Turns the controller feature off entirely (a true baseline) |
| `steamdeck-pad-log` | Traces every interposer call into the session log |
| `steamdeck-driver` | `a7xx`, `a8xx` or `system` — overrides the Turnip build the compositor loads |
| `steamdeck-no-hud` | Hides the top-right performance line (fps, and `base → generated` while frame generation runs) |
| `steamdeck-osc` | `always` or `never` — pins the on-screen controls instead of following what is attached |
| `steamdeck-env` | `KEY=VALUE` lines added to the session's environment as written, after the app's own — Zink and Turnip tunables (`ZINK_DESCRIPTORS=lazy`, `MESA_*`), gamescope's, the client's; `#` comments allowed |
| `steamdeck-tu-debug` | Turnip's `TU_DEBUG` for the runtime's driver, verbatim (`sysmem`, `sysmem,deck_emu`). Without it, an imported A710/A720/A722 driver gets `sysmem` on its own |
## Session logs
Every session writes a folder under `/sdcard/Download/SteamDeck/`, and it is the first thing to
look at when something does not start:
```
Download/SteamDeck/session-20260921-161256/
device.txt what this device is, and every setting the session ran with
session.log the guest session: proot, gamescope, the client's own output
wayland.log the app's compositor - what it presented, at what size, and how fast
app.log what the app itself decided and reported
crash.log Android's crash buffer, as it stood when the session ended
crash-app.txt the stack trace, if the app itself crashed
audio.log the PulseAudio daemon and the DirectAudio relay helper
network.txt the link, the DNS the runtime was given, and what it means
steam.log the Steam client's log, scrubbed (Steam mode)
steam/ the rest of the client's logs, scrubbed (Steam mode)
desktop.log labwc, the panel and the programs on it (desktop mode)
```
`app.log` is this app's own logcat, filtered to its process: which driver it chose and why, the
audio line, a rival Steam client being stopped, a helper that was missing, the session's exit
status. `crash.log` is Android's crash buffer at teardown, which is where a session the *system*
killed leaves its only trace - proot once died before `main` over a missing library and said so
there and nowhere else. `audio.log` is the PulseAudio daemon's own output plus the relay helper's,
so a module that refuses to load is visible instead of being a silent absence of sound.
`network.txt` records the transport, whether the link validated, the address families and the DNS
servers the runtime was actually given - **never the network's name**.
A folder is finished **however the session ends**, not only at a clean stop. Everything written
*during* a session is on disk as it happens; only the ending - the compositor's log, Steam's
scrubbed logs, the crash buffer - is gathered afterwards, and three things gather it: the ordinary
stop; the app's own crash handler, which writes `crash-app.txt` with the stack trace and finishes
the folder before the process dies; and a sweep at the next app start, for a folder whose process
was killed outright (Android's phantom-process killer, a native crash in the compositor, a dead
battery) - that folder gets `ended-without-teardown.txt` saying so, and `crash.log` as the buffer
stands then, which still holds the entry unless the device rebooted. A finished folder carries a
`.complete` marker; one without it is what the sweep looks for.
**Session logs** on the main screen turns the folder off. The session still writes its logs - the
scripts and the compositor need somewhere to - but into the app's cache, and they are deleted
when the session ends, so nothing accumulates in Downloads.
A session's process tree is also swept at the next start: proot, gamescope and Steam outlive an
app that was killed or crashed, holding the rootfs, the GPU and Steam's lock, and the next session
then never came up until the app was force-stopped (a Thor Pro report). Anything under the app's
uid other than the app itself is a leftover at that point, and `app.log` lists what was killed.
`device.txt` is written before the session starts, so a session that dies in its first second
still says what it ran on: model, SoC, Android and kernel, cores and their ceilings, RAM, the GPU
as KGSL names it, the panel, **which driver each half of the session chose**, the runtime version,
and every switch that was in effect. **Nothing identifying is collected** - no serial number, no
device or advertising id, no account name, no network names - and the Steam logs are scrubbed line
by line on the way in: session tokens, machine-auth GUIDs, WebAPI keys, Guard codes and e-mail
addresses are replaced, and a SteamID is masked to its last four digits so lines can still be
correlated. `loginusers.vdf`, `config.vdf` and the `ssfn` files are never copied at all. A session
folder is meant to be attachable to a bug report exactly as it is.
For more from the desktop than it normally says, create `~/.steamdeck-desktop-debug` inside the
runtime: labwc then logs at debug level, each program's window-protocol traffic is recorded, and the
session does a name lookup plus an IPv4 and an IPv6 fetch of its own — which is how to tell a broken
network apart from a program that only believes it has one.
### If Steam dies with nothing in the log
That is usually not Steam. **Android 12 and later kill the extra processes an app starts for
itself** once there are more than a few, and a session is made of dozens - proot, gamescope,
Xwayland, the client and its helpers, Wine, FEX. Where that is left on, the OS ends the session and
no log of ours says why, because nothing in the session did it. Some phones expose it in Developer
options as a **"restrict child processes"** switch; turn it off. Otherwise, once per device:
```sh
adb shell settings put global settings_enable_monitor_phantom_procs false
```
`device.txt` records what this phone reports, and the Performance dialog says so when it is not
disabled.
## Authors
- **The412Banner** — the app, the Wayland compositor, the runtime plumbing and the Steam session.
- **maxjivi05 (Max)** — the gamescope runtime this is built on: the proot session, the session
shim, the fake-evdev interposer and the controller work, from WinNative.
## Lineage and licence
GPL-3.0. The gamescope runtime, the session shim and the fake-evdev interposer come from
maxjivi05's WinNative work and from Bannerlator, both GPL-3.0; the Wayland compositor, the frame
generation engines and the runtime plumbing are Bannerlator's. Underneath all of it is Winlator
(brunodev85, GPL-3.0): the PulseAudio-on-AAudio audio stack, the gamepad state model and the shape
of a session's host-side components are his, and WinNative and Bannerlator are both Winlator
lineage. Valve, Steam and Proton are Valve Corporation's; this project
is not affiliated with Valve.
-114
View File
@@ -1,114 +0,0 @@
plugins {
id 'com.android.application'
}
apply plugin: 'kotlin-android'
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
android {
namespace 'com.steamdeck.launcher'
compileSdk 34
// The NDK is pinned by property so CI can hand in whatever the runner already has rather than
// downloading a second copy; see gradle.properties.
ndkVersion project.findProperty('ndkVersion') ?: '27.3.13750724'
defaultConfig {
applicationId "com.steamdeck.launcher"
minSdkVersion 26
// 28 is not a leftover. An app on targetSdk 29+ runs in a domain that may not execute a
// file out of its own data directory, and this app's entire job is to exec a rootfs:
// proot, gamescope, the Steam client and everything it launches all live under files/.
targetSdkVersion 28
versionCode 6
versionName "0.1.5"
ndk {
abiFilters 'arm64-v8a'
}
externalNativeBuild {
cmake {
arguments '-DANDROID_STL=c++_shared'
}
}
}
externalNativeBuild {
cmake {
path 'src/main/cpp/CMakeLists.txt'
version '3.22.1'
}
}
signingConfigs {
// AOSP testkey (android@android.com), the same key Bannerlator ships with. It is publicly
// known, so it proves nothing about who built the apk — what it buys is ONE stable
// signature: every build installs over the last one instead of asking the user to
// uninstall first. v1 (JAR) + v2 + v3 so every installer and Android version accepts it.
testkey {
storeFile file("${rootDir}/keystore/testkey.p12")
storeType "PKCS12"
storePassword "android"
keyAlias "testkey"
keyPassword "android"
enableV1Signing = true
enableV2Signing = true
enableV3Signing = true
}
}
buildTypes {
debug {
minifyEnabled false
signingConfig signingConfigs.testkey
}
release {
minifyEnabled false
signingConfig signingConfigs.testkey
}
}
lint {
// targetSdk 28 is deliberate and structural: an app on 29+ may not execute a file out of
// its own data directory, and executing a rootfs is the whole of what this app does. Lint
// fails a release build over it because Google Play will not accept an sdk that old —
// true, and not something this app can trade away. Every other check stays on.
disable 'ExpiredTargetSdkVersion'
}
packagingOptions {
jniLibs {
// The PulseAudio daemon is executed from the native library directory and its
// libraries are read out of the apk by the class loader: both want the old,
// uncompressed-and-extracted layout.
useLegacyPackaging = true
}
}
buildFeatures {
compose true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
}
dependencies {
// The runtime tarball is a zstd-compressed tar.
implementation 'com.github.luben:zstd-jni:1.5.2-3@aar'
implementation 'org.apache.commons:commons-compress:1.20'
// The UI: every menu, dialog and overlay is Compose. The session's SurfaceView and the
// on-screen pad are Views underneath it, which is what they are in every Compose app.
implementation platform('androidx.compose:compose-bom:2024.02.00')
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.material3:material3'
implementation 'androidx.activity:activity-compose:1.8.2'
// The File Manager, Bannerlator's: its icon set, image thumbnails and the coroutines it
// copies on. Same versions as Bannerlator so the screen stays a straight copy.
implementation 'androidx.compose.material:material-icons-extended'
implementation 'io.coil-kt:coil-compose:2.6.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
}
-99
View File
@@ -1,99 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- Session logs go to Downloads so a failed run can be handed over as one folder. -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- The session keeps running while the app is not on screen: a foreground service holds the
process at perceptible priority, and a high-performance WiFi lock keeps a backgrounded
download from being throttled to nothing by the radio's power-save. -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<!-- Ends background processes of another app that holds the Steam login. GameHub starts
itself with the phone via boot receivers and signs this client out seconds after every
login; a normal permission, and it cannot touch anything in the foreground. -->
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
<!-- The microphone for the Linux session, only when the user turns it on: the DirectAudio
relay helper opens the input stream under this uid, and PulseAudio exposes it to the
Steam client as DirectAudioMic. -->
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-feature android:name="android.hardware.vulkan.version" android:version="0x401000" android:required="true" />
<uses-feature android:name="android.hardware.gamepad" android:required="false" />
<application
android:name=".App"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:hardwareAccelerated="true"
android:largeHeap="true"
android:extractNativeLibs="true"
android:appCategory="game"
android:isGame="true">
<!-- A game, to the OS: Android 12+ routes the category through GameManager and the OEM
performance frameworks (Game Booster, Game Turbo, Game Space) key off it. Without it
a regular flagship runs the session under its "app" power profile — a conservative
governor and GPU DVFS — which is why the same chipset feels slower here than in a
gaming phone whose mode is on for everything. The config says what the OS may do. -->
<meta-data android:name="android.game_mode_config" android:resource="@xml/game_mode_config" />
<activity
android:name=".MainActivity"
android:exported="true"
android:screenOrientation="sensorLandscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!--
A session keeps a Surface, a compositor thread and a proot tree alive; a configuration
change must not tear that down and rebuild it, so the activity handles them itself.
Landscape only: gamescope is told one output size when it starts.
Resizable, deliberately: a foldable opening or closing changes the window, and the
compositor re-fits the picture with bars. Declared non-resizable, the system keeps a
fixed-shape window instead and STRETCHES it onto the other panel — the app never sees a
size change, so nothing it does can help.
-->
<activity
android:name=".files.FileManagerActivity"
android:exported="false"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppTheme" />
<activity
android:name=".files.FilePickerActivity"
android:exported="false"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppTheme" />
<activity
android:name=".SessionActivity"
android:exported="false"
android:theme="@style/SessionTheme"
android:preferMinimalPostProcessing="true"
android:screenOrientation="sensorLandscape"
android:resizeableActivity="true"
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|keyboard|keyboardHidden|navigation|uiMode|density" />
<!--
Owns the session — gamescope, the Steam client, audio — so it survives the activity
going away. Without it Android demotes the process as soon as the last visible
activity goes, and the low-memory killer reaps the guest: leaving Big Picture to
answer a message would come back to a dead Steam and a half-finished download.
-->
<service
android:name=".session.SessionService"
android:exported="false"
android:stopWithTask="false" />
</application>
</manifest>
@@ -1,115 +0,0 @@
# DirectAudio for the Linux Steam client (relay build)
This is the driver for games that run under **Valve's ARM64 Proton inside a Linux
runtime on Android** - Bannerlator's linuxfs session with the native Steam client -
where the game process is a glibc process and cannot touch Android's audio
libraries itself.
Two pieces, both required:
| piece | what it is | where it runs |
|---|---|---|
| `aarch64-unix/winedirectaudio.so` + the two PE shells | the Wine `mmdevapi` driver, glibc build, **no AAudio inside** | in the game, inside the Linux rootfs |
| `directaudio-relay` | a small bionic program that owns the AAudio output and microphone streams | on the Android side, under the app's uid |
They meet over a unix socket. The driver connects, sends its launch config, and
gets back two shared-memory rings: one it fills with mixed game audio, one the
helper fills with microphone audio. The helper plays and records; the driver
keeps doing everything else it always did.
## Which Proton
Built inside `ValveSoftware/wine` at `proton_11.0`. The private `mmdevapi`
interface it implements is byte-identical across **Proton 11.0 (ARM64)**,
**Proton Experimental (ARM64)** and our own Wine-11 layers (checked 2026-09-19),
so this one build serves any of them. A future Proton on a Wine 12 base will
need a rebuild - the interface is not versioned, and a mismatch is silence, not
an error.
## Installing the driver next to Proton (not into it)
Steam verifies and updates its Proton depots, so files added under
`steamapps/common/Proton .../files/lib/wine/` will not survive. Put the driver
in a directory of its own and point Wine at it:
```
<somewhere>/directaudio/lib/wine/aarch64-unix/winedirectaudio.so
<somewhere>/directaudio/lib/wine/aarch64-windows/winedirectaudio.drv
<somewhere>/directaudio/lib/wine/i386-windows/winedirectaudio.drv
```
and set, for the game process:
```
WINEDLLPATH=<somewhere>/directaudio/lib/wine
```
Wine searches `WINEDLLPATH` entries with the per-arch subdirectories appended,
so both the PE shell and the unixlib are found there. In Bannerlator's runtime
the natural place to export it is the `bannerlator-proton` compatibility-tool
wrapper, which every Proton launch goes through.
## Selecting the driver
`mmdevapi` only tries the drivers named in the registry (or its built-in
`pulse,alsa,oss,coreaudio` list, which does not know about this one). Set, in the
game's prefix:
```
wine reg add "HKCU\Software\Wine\Drivers" /v Audio /d directaudio /f
```
Under Proton the prefix is `compatdata/<appid>/pfx`; run the command with that
prefix as `WINEPREFIX` using Proton's own `bin-arm64/wine`, or write the key from
the wrapper before it hands off to Proton.
## Running the helper
```
directaudio-relay --socket <path> [--log]
```
- Run it **under the app's uid**, the way the app already runs its PulseAudio
daemon. Android checks `RECORD_AUDIO` against the calling uid, so a helper
started any other way can play but cannot record.
- Start it **before** the game: the driver asks "is a helper there?" once, when
Wine picks an audio driver, and falls back to unavailable if not.
- The socket path must be reachable from inside the Linux rootfs. Bannerlator
binds the app's files directory and its runtime directory into the session at
their own paths, so any socket under either works unchanged on both sides.
- The helper serves any number of game processes; each gets its own streams.
It exits on `SIGTERM`; a game exiting tears down that game's streams only.
## Telling the driver where the helper is
```
BANNER_AUDIO_DIRECT_RELAY=<the same socket path>
```
Unset, the driver looks for `$XDG_RUNTIME_DIR/directaudio-relay`.
## Everything else is unchanged
All `BANNER_AUDIO_DIRECT_*` knobs mean what they mean in the in-process build:
`_PERF`, `_ADAPTIVE`, `_DECAY`, `_MS`, `_MAXMS`, `_BF`, `_MBF`, `_EXCLUSIVE`,
`_WATCHDOG`, `_STALL_MS`, `_DECAY_*`, `_LOG`, `_PERIOD_MS`, `_MINPERIOD_MS`, and
the live-config mailbox `_RUNTIME` (the helper watches the file; it must be a
path the helper can read on the Android side). **`BANNER_AUDIO_DIRECT_MIC=1`**
exposes the capture endpoint exactly as before: the helper opens the input
stream (`VOICE_COMMUNICATION` preset) when the game connects and makes it hot on
the game's first capture start.
One thing is different: there is one extra hand-off, the ring. The helper's
callback pulls a burst from it, so the driver keeps two bursts queued (about 8 ms
on a 192-frame device) on top of the AAudio buffer the presets control, and the
helper raises that if a callback ever finds the ring short. `get_latency` reports
the sum, so a game that sizes its own buffers from it still sees the truth.
## Proving it is running
- Helper side: `logcat -s DA-Relay:I` shows `hello from <exe>`, then `open: buffer
... ring target ...`, then `capture open` / `capture start` for the mic.
- Game side: the session log carries `DirectAudio: relay: connected - ...`.
- The game process's `/proc/<pid>/maps` shows `winedirectaudio.so` and **no**
`libaaudio.so` (it is in the helper's maps instead). The AudioFlinger track is
owned by the helper's pid.
@@ -1,4 +0,0 @@
directaudio linux-wine11 relay build
source 3548a4a730e8d01cb0cb0268d51a2fb8f23dcd33
wine ValveSoftware/wine@proton_11.0
unixlib.h sha256 fdbed263338d0719c4d12e02b045c23721de33219ec8878e4c2d7ebc9efcbe09
Binary file not shown.
File diff suppressed because it is too large. Load diff
-45
View File
@@ -1,45 +0,0 @@
# The app's native side: the Wayland compositor the session presents into, the adrenotools loader
# it opens Turnip with, and one small library for the fake-input ring's memory fence.
cmake_minimum_required(VERSION 3.22.1)
project(steamdeck C CXX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-unused-function -Wimplicit-function-declaration")
# Every library the app builds is linked with 16 KB-aligned LOAD segments. A 16 KB-page kernel
# (Android 15+ devices) refuses to load a 4 KB-only ELF; a 4 KB kernel loads a 16 KB-aligned one
# unchanged (the alignment is a multiple of its page), so this costs nothing on today's devices
# but a little padding in the file. Prebuilt libraries under jniLibs/ carry their own alignment.
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,max-page-size=16384")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,max-page-size=16384")
add_subdirectory(adrenotools)
# DXVK's DXBC->SPIR-V translator (zlib licence), vendored under thirdparty/dxbc from the same
# subset upstream lsfg-vk uses. Native LSFG frame generation needs it: the Lossless Scaling
# shader chain is DXBC in every build downloadable from Steam.
add_subdirectory(thirdparty/dxbc)
# The Win-FG chain self-identifies by two halves: the upstream tag it was copied from (hand-set,
# UPDATE IT when re-copying) and a hash over the sources themselves, computed here, which cannot
# rot. The compositor's frame-generation leg (waylandcomp/CMakeLists.txt) stamps both in.
set(WINFG_UPSTREAM "v0.3.0")
set(WINFG_CHAIN_SRC
winlator/winfg/framegen.cpp
winlator/winfg/framegen.hpp
winlator/winfg/record_impl.inc
winlator/winfg/config.hpp
winlator/winfg/embedded_shaders.hpp
winlator/winfg/winfg_engine.cpp
)
set(WINFG_HASH_INPUT "")
foreach(f ${WINFG_CHAIN_SRC})
file(SHA256 "${CMAKE_CURRENT_SOURCE_DIR}/${f}" _h)
string(APPEND WINFG_HASH_INPUT "${_h}")
endforeach()
string(SHA256 WINFG_CHAIN_HASH_FULL "${WINFG_HASH_INPUT}")
string(SUBSTRING "${WINFG_CHAIN_HASH_FULL}" 0 12 WINFG_CHAIN_HASH)
message(STATUS "win-fg chain: ${WINFG_UPSTREAM} (src ${WINFG_CHAIN_HASH})")
add_subdirectory(waylandcomp)
add_library(sdnative SHARED sdnative/sdnative.c)
target_link_libraries(sdnative log)
-4
View File
@@ -1,4 +0,0 @@
[submodule "lib/linkernsbypass"]
path = lib/linkernsbypass
url = https://github.com/Pipetto-crypto/liblinkernsbypass.git
branch = master
@@ -1,37 +0,0 @@
cmake_minimum_required(VERSION 3.14)
if(NOT ${CMAKE_ANDROID_ARCH_ABI} STREQUAL arm64-v8a)
message(FATAL_ERROR "Unsupported target architecture: ${CMAKE_ANDROID_ARCH_ABI}. Please make an issue on the repo!")
endif()
project(adrenotools LANGUAGES CXX C)
set(GEN_INSTALL_TARGET OFF CACHE BOOL "")
add_subdirectory(lib/linkernsbypass)
set(LIB_SOURCES src/bcenabler.cpp
src/driver.cpp
include/adrenotools/bcenabler.h
include/adrenotools/driver.h
include/adrenotools/priv.h)
add_library(adrenotools ${LIB_SOURCES})
target_include_directories(adrenotools PUBLIC include)
target_include_directories(adrenotools PRIVATE .)
target_compile_options(adrenotools PRIVATE -Wall -Wextra)
target_link_libraries(adrenotools android linkernsbypass)
add_subdirectory(src/hook)
if (${BUILD_SHARED_LIBS})
target_link_options(adrenotools PRIVATE "-Wl,-s,--exclude-libs,liblinkernsbypass.a")
endif()
if (${GEN_INSTALL_TARGET})
configure_file(adrenotools.pc.in adrenotools.pc @ONLY)
install(FILES ${CMAKE_BINARY_DIR}/adrenotools.pc DESTINATION lib/pkgconfig)
install(TARGETS adrenotools main_hook file_redirect_hook gsl_alloc_hook hook_impl)
install(DIRECTORY include/
DESTINATION include
FILES_MATCHING PATTERN "*.h*")
endif()
-24
View File
@@ -1,24 +0,0 @@
BSD 2-Clause License
Copyright (c) 2021, Billy Laws
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.
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.
-30
View File
@@ -1,30 +0,0 @@
### Adreno Tools
A library for applying rootless Adreno GPU driver modifications/replacements. Currently supports loading custom GPU drivers such as [turnip](https://docs.mesa3d.org/android.html#building-using-the-android-ndk), enabling BCn textures and redirecting file operations to allow accessing shader dumps and modification of the [driver config file](https://gist.github.com/bylaws/04130932e2634d1c6a2a9729e3940d60) without root.
#### Documentation
API is documented in the `include/adrenotools` headers.
#### Support
Android 9+
Arm64
Please create an issue if support for anything else is desired.
### FAQ
#### Is there an example project?
There is a simple bare-bones project [AdrenoToolsTest](https://github.com/darksylinc/AdrenoToolsTest) demonstrating how to get libadrenotools working.
#### How do I use this to update the drivers on my phone? Where's the apk?
You don't. This library is **not** for installing into Android and is **not** for end users.
This library is aimed at other developers.
Each individual app must explicitly make use of libadrenotools in order to load custom drivers into an app / game.
#### How do I use this library to make \<favourite game\> use newer drivers?
See previous question. It's up to the game developer to add support & use this library.
You could contact them to so they add support for it; but that's out of our power.
@@ -1,13 +0,0 @@
prefix="@CMAKE_INSTALL_PREFIX@"
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: adrenotools
Description:
URL:
Version: 1.0.0
Libs: -L${libdir} -ladrenotools
Libs.private:
Requires.private:
Cflags: -I${includedir}
-10
View File
@@ -1,10 +0,0 @@
#!/bin/sh
aarch64-linux-gnu-gcc -c src/bcenabler_patch.s -o /tmp/patch.o
aarch64-linux-gnu-objcopy -O binary -j .text /tmp/patch.o /tmp/patch.bin
# Must be smaller than a single page
bin2c -o gen/bcenabler_patch.h -n PatchRawData /tmp/patch.bin
rm /tmp/patch.o
rm /tmp/patch.bin
@@ -1,23 +0,0 @@
/* Generated by bin2c, do not edit manually */
/* Contents of file /tmp/patch.bin */
const long int PatchRawData_size = 264;
const unsigned char PatchRawData[264] = {
0x1F, 0x0C, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0xE0, 0x08, 0x80, 0x52, 0x3E, 0x00, 0x00, 0x14,
0x1F, 0x14, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0xE0, 0x08, 0x80, 0x52, 0x3A, 0x00, 0x00, 0x14,
0x1F, 0x10, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x00, 0x09, 0x80, 0x52, 0x36, 0x00, 0x00, 0x14,
0x1F, 0x18, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x00, 0x09, 0x80, 0x52, 0x32, 0x00, 0x00, 0x14,
0x1F, 0x1C, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x40, 0x09, 0x80, 0x52, 0x2E, 0x00, 0x00, 0x14,
0x1F, 0x20, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x60, 0x09, 0x80, 0x52, 0x2A, 0x00, 0x00, 0x14,
0x1F, 0x24, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0xA0, 0x09, 0x80, 0x52, 0x26, 0x00, 0x00, 0x14,
0x1F, 0x28, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0xC0, 0x09, 0x80, 0x52, 0x22, 0x00, 0x00, 0x14,
0x1F, 0x2C, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x00, 0x0A, 0x80, 0x52, 0x1E, 0x00, 0x00, 0x14,
0x1F, 0x30, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x20, 0x0A, 0x80, 0x52, 0x1A, 0x00, 0x00, 0x14,
0x1F, 0x34, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x60, 0x0A, 0x80, 0x52, 0x16, 0x00, 0x00, 0x14,
0x1F, 0x38, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x80, 0x0A, 0x80, 0x52, 0x12, 0x00, 0x00, 0x14,
0x1F, 0x3C, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0xE0, 0x0B, 0x80, 0x52, 0x0E, 0x00, 0x00, 0x14,
0x1F, 0x40, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x00, 0x0C, 0x80, 0x52, 0x0A, 0x00, 0x00, 0x14,
0x1F, 0x44, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x40, 0x0C, 0x80, 0x52, 0x06, 0x00, 0x00, 0x14,
0x1F, 0x48, 0x02, 0x71, 0x61, 0x00, 0x00, 0x54, 0x60, 0x0C, 0x80, 0x52, 0x02, 0x00, 0x00, 0x14,
0x00, 0x00, 0x80, 0x52, 0xFF, 0xFF, 0xFF, 0xFF
};
@@ -1,41 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#pragma once
#ifdef __cplusplus
extern "C" {
#else
#include <stdbool.h>
#endif
#include <stdint.h>
/**
* @brief Describes the level of BCeNabler support for a driver
*/
enum adrenotools_bcn_type {
ADRENOTOOLS_BCN_INCOMPATIBLE, //!< Driver isn't supported by BCeNabler
ADRENOTOOLS_BCN_BLOB, //!< Driver already supports BCn textures so BCeNabler isn't necessary
ADRENOTOOLS_BCN_PATCH //!< Driver can be patched with BCeNabler to support BCn textures
};
/**
* @brief Checks the status of BCn support in the supplied driver
* @param major The major part of VkPhysicalDeviceProperties::driverVersion
* @param minor The minor part of VkPhysicalDeviceProperties::driverVersion
* @param vendorId VkPhysicalDeviceProperties::vendorId
*/
enum adrenotools_bcn_type adrenotools_get_bcn_type(uint32_t major, uint32_t minor, uint32_t vendorId);
/**
* @brief Patches the Adreno graphics driver to enable support for BCn compressed formats
* @note adrenotools_get_bcn_type MUST be checked to equal ADRENOTOOLS_BCN_PATCH before calling this
* @param vkGetPhysicalDeviceFormatPropertiesFn A pointer to vkGetPhysicalDeviceFormatProperties obtained through vkGetInstanceProcAddr. This is used to find the correct function to patch
* @return If the patching succeeded, if false the driver will be in an undefined state
*/
bool adrenotools_patch_bcn(void *vkGetPhysicalDeviceFormatPropertiesFn);
#ifdef __cplusplus
}
#endif
@@ -1,71 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include "priv.h"
/**
* @brief Opens a new libvulkan.so instance according to `flags`
* @remark IMPORTANT: The app MUST be packaged w/ useLegacyPackaging = true. The reason for this is
* that we install the hook in hookLibDir; but this folder won't be set correctly when useLegacyPackaging == false
* because Android expects to read the *.so directly from the apk (instead of decompressing them into nativeLibraryDir).
* @param dlopenMode The dlopen mode to use when opening libvulkan
* @param featureFlags Which adrenotools driver features to enable
* @param tmpLibDir A writable directory to hold patched libraries, only used on api < 29 due to the lack of memfd support. If nullptr is passed and the API version is < 29 memfd usage will be attempted and if unsupported nullptr will be returned
* @param hookLibDir The directory holding the built hooks.
* IMPORTANT: This path MUST point to whatever `getApplicationInfo().nativeLibraryDir` (Kotlin code) returns.
* Failing to do so will result in this function returning a valid ptr but then the hook will fail and either the original driver is loaded as fallback, or vkEnumeratePhysicalDevices returns 0 devices.
* @param customDriverDir The directory to load a custom GPU driver named according to `customDriverName` from. Only used if ADRENOTOOLS_DRIVER_CUSTOM is set in `featureFlags`.
* IMPORTANT: This path MUST NOT be on sdcard/storage. i.e. use ANativeActivity::internalDataPath and often looks like "/data/user/0/com.example.app/files/".
* Otherwise you will get permission denied because dlopen() can't be done on *.so libraries that any random user or application can manipulate (which would be a security risk).
* @param customDriverName The soname of the custom driver to load. Only used if ADRENOTOOLS_DRIVER_CUSTOM is set in `featureFlags`
* @param fileRedirectDir The directory which to redirect all file accesses performed by the driver to. Only used if ADRENOTOOLS_DRIVER_FILE_REDIRECT is set in `featureFlags`
* @param userMappingHandle A pointer to a void* which will be set to the mapping handle if ADRENOTOOLS_DRIVER_GPU_MAPPING_IMPORT is set in `featureFlags`
*/
void *adrenotools_open_libvulkan(int dlopenMode, int featureFlags, const char *tmpLibDir, const char *hookLibDir, const char *customDriverDir, const char *customDriverName, const char *fileRedirectDir, void **userMappingHandle);
/**
* @brief Imports the given CPU mapped memory range into the GSL allocator. This should then be followed by a call to vkAllocateMemory with a matching size which will return a VkDeviceMemory view over the input region
* @param handle Mapping handle that was returned by adrenotools_open_libvulkan
* @param hostPtr The host pointer to import
* @param size The size of the region to import
* @return True on success
*/
bool adrenotools_import_user_mem(void *handle, void *hostPtr, uint64_t size);
/**
* @brief Maps GPU memory and imports it into the GSL allocator. This should then be followed by a call to adrenotools_mem_cpu_map to map the memory on the CPU, then finally vkAllocateMemory with a matching size
* @param handle Mapping handle that was returned by adrenotools_open_libvulkan
* @param size Pointer to a variable containing the size of the region to import, will be updated to contain the required size of the region to allocate CPU side
* @return true on success
*/
bool adrenotools_mem_gpu_allocate(void *handle, uint64_t *size);
/**
* @brief Maps the last mapping allocated using adrenotools_mem_gpu_allocate into the given host memory region, such that vkAllocateMemory can then be called
* @param handle Mapping handle that was returned by adrenotools_open_libvulkan
* @param hostPtr A pointer to where the mapping should be mapped
* @param size The size of the mapping. MUST be equal to the size returned by adrenotools_mem_gpu_allocate
*/
bool adrenotools_mem_cpu_map(void *handle, void *hostPtr, uint64_t size);
/**
* @note This function should be called after adrenotools_open_libvulkan and Vulkan driver init to check if the mapping import hook loaded successfully
* @return True if the mapping was successfully imported (or initialization succeeded)
*/
bool adrenotools_validate_gpu_mapping(void *handle);
/**
* @brief Provides a way to force the GPU to run at the maximum possible clocks (thermal constraints will still be applied)
*/
void adrenotools_set_turbo(bool turbo);
#ifdef __cplusplus
}
#endif
@@ -1,27 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#pragma once
#include <stdint.h>
/**
* @brief Bitfield enum of additional driver features that can be used with adrenotools_open_libvulkan
*/
enum {
ADRENOTOOLS_DRIVER_CUSTOM = 1 << 0,
ADRENOTOOLS_DRIVER_FILE_REDIRECT = 1 << 1,
ADRENOTOOLS_DRIVER_GPU_MAPPING_IMPORT = 1 << 2,
};
#define ADRENOTOOLS_GPU_MAPPING_SUCCEEDED_MAGIC 0xDEADBEEF
/**
* @brief A replacement GPU memory mapping for use with ADRENOTOOLS_DRIVER_GPU_MAPPING_IMPORT
*/
struct adrenotools_gpu_mapping {
void *host_ptr;
uint64_t gpu_addr; //!< The GPU address of the mapping to import, if mapping import/init succeeds this will be set to ADRENOTOOLS_GPU_MAPPING_SUCCEEDED_MAGIC
uint64_t size;
uint64_t flags;
};
@@ -1,19 +0,0 @@
cmake_minimum_required(VERSION 3.14)
if(NOT ${CMAKE_ANDROID_ARCH_ABI} STREQUAL arm64-v8a)
message(FATAL_ERROR "Unsupported target architecture: ${CMAKE_ANDROID_ARCH_ABI}. Please make an issue on the repo!")
endif()
project(linkernsbypass LANGUAGES CXX)
set(SOURCES android_linker_ns.cpp
android_linker_ns.h
elf_soname_patcher.cpp
elf_soname_patcher.h)
add_library(linkernsbypass STATIC ${SOURCES})
target_compile_options(linkernsbypass PRIVATE -Wall -Wextra)
target_link_libraries(linkernsbypass android dl)
target_include_directories(linkernsbypass PUBLIC .)
@@ -1,24 +0,0 @@
BSD 2-Clause License
Copyright (c) 2021, Billy Laws
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.
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.
@@ -1,9 +0,0 @@
### Android Linker Namespace Bypass Library
Provides access to the hidden linker namespace functionality in Android 9+ and exposes an interface for hooking libraries similar to a runtime equivalent of `LD_PRELOAD`.
See the `android_linker_ns.h` header for an API reference.
#### Support
Android 9+
Arm64
Android 8 and arm32 could be supported with some trivial changes, feel free to open an issue if you have a use for this library on either of them.
@@ -1,192 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#include <array>
#include <cstdio>
#include <cstdlib>
#include <errno.h>
#include <dlfcn.h>
#include <unistd.h>
#include <fcntl.h>
#include <android/dlext.h>
#include <android/log.h>
#include <android/api-level.h>
#include <sys/mman.h>
#include "elf_soname_patcher.h"
#include "android_linker_ns.h"
using loader_android_create_namespace_t = android_namespace_t *(*)(const char *, const char *, const char *, uint64_t, const char *, android_namespace_t *, const void *);
static loader_android_create_namespace_t loader_android_create_namespace;
static bool lib_loaded;
/* Public API */
bool linkernsbypass_load_status() {
return lib_loaded;
}
struct android_namespace_t *android_create_namespace(const char *name,
const char *ld_library_path,
const char *default_library_path,
uint64_t type,
const char *permitted_when_isolated_path,
android_namespace_t *parent_namespace) {
auto caller{__builtin_return_address(0)};
return loader_android_create_namespace(name, ld_library_path, default_library_path, type,
permitted_when_isolated_path, parent_namespace, caller);
}
struct android_namespace_t *android_create_namespace_escape(const char *name,
const char *ld_library_path,
const char *default_library_path,
uint64_t type,
const char *permitted_when_isolated_path,
android_namespace_t *parent_namespace) {
auto caller{reinterpret_cast<void *>(&dlopen)};
return loader_android_create_namespace(name, ld_library_path, default_library_path, type,
permitted_when_isolated_path, parent_namespace, caller);
}
android_get_exported_namespace_t android_get_exported_namespace;
android_link_namespaces_all_libs_t android_link_namespaces_all_libs;
android_link_namespaces_t android_link_namespaces;
bool linkernsbypass_link_namespace_to_default_all_libs(android_namespace_t *to) {
// Creating a shared namespace with the default parent will give a copy of the default namespace that we can actually access
// This is needed since there is no way to access a direct handle to the default namespace as it's not exported
static auto defaultNs{android_create_namespace_escape("default_copy", nullptr, nullptr, ANDROID_NAMESPACE_TYPE_SHARED, nullptr, nullptr)};
return android_link_namespaces_all_libs(to, defaultNs);
}
void *linkernsbypass_namespace_dlopen(const char *filename, int flags, android_namespace_t *ns) {
android_dlextinfo extInfo{
.flags = ANDROID_DLEXT_USE_NAMESPACE,
.library_namespace = ns
};
return android_dlopen_ext(filename, flags, &extInfo);
}
#ifndef __NR_memfd_create
#if defined(__aarch64__)
#define __NR_memfd_create 279
#else
#error Unsupported target architecture!
#endif
#endif
void *linkernsbypass_namespace_dlopen_unique(const char *libPath, const char *libTargetDir, int flags, android_namespace_t *ns) {
static std::array<char, PATH_MAX> PathBuf{};
// Used as a unique ID for overwriting soname and creating target lib files
static uint16_t TargetId{};
int libTargetFd{[&] () {
if (libTargetDir) {
snprintf(PathBuf.data(), PathBuf.size(), "%s/%d_patched.so", libTargetDir, TargetId);
return open(PathBuf.data(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
} else {
// If memfd isn't supported errno will contain ENOSYS after calling
errno = 0;
int fd{static_cast<int>(syscall(__NR_memfd_create, libPath, 0))};
if (errno == ENOSYS || fd < 0)
return -1;
else
return fd;
}
}()};
if (libTargetFd == -1)
return nullptr;
// Partially overwrite soname with 3 digits (replacing lib...) with to make sure a cached so isn't loaded
std::array<char, 3> sonameOverwrite{};
snprintf(sonameOverwrite.data(), sonameOverwrite.size(), "%03u", TargetId++);
if (!elf_soname_patch(libPath, libTargetFd, sonameOverwrite.data()))
return nullptr;
// Load our patched library into the hook namespace
android_dlextinfo hookExtInfo{
.flags = ANDROID_DLEXT_USE_NAMESPACE | ANDROID_DLEXT_USE_LIBRARY_FD,
.library_fd = libTargetFd,
.library_namespace = ns
};
// Make a path that looks about right
snprintf(PathBuf.data(), PathBuf.size(), "/proc/self/fd/%d", libTargetFd);
return android_dlopen_ext(PathBuf.data(), flags, &hookExtInfo);
}
static void *align_ptr(void *ptr) {
return reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(ptr) & ~(getpagesize() - 1));
}
/* Private */
__attribute__((constructor)) static void resolve_linker_symbols() {
using loader_dlopen_t = void *(*)(const char *, int, const void *);
if (android_get_device_api_level() < 28)
return;
// ARM64 specific function walking to locate the internal dlopen handler
auto loader_dlopen{[]() {
union BranchLinked {
uint32_t raw;
struct {
int32_t offset : 26; //!< 26-bit branch offset
uint8_t sig : 6; //!< 6-bit signature
};
bool Verify() {
return sig == 0x25;
}
};
static_assert(sizeof(BranchLinked) == 4, "BranchLinked is wrong size");
// Some devices ship with --X mapping for exexecutables so work around that
mprotect(align_ptr(reinterpret_cast<void *>(&dlopen)), getpagesize(), PROT_WRITE | PROT_READ | PROT_EXEC);
// dlopen is just a wrapper for __loader_dlopen that passes the return address as the third arg hence we can just walk it to find __loader_dlopen
auto blInstr{reinterpret_cast<BranchLinked *>(&dlopen)};
while (!blInstr->Verify())
blInstr++;
return reinterpret_cast<loader_dlopen_t>(blInstr + blInstr->offset);
}()};
// Protect the loader_dlopen function to remove the BTI attribute (since this is an internal function that isn't intended to be jumped indirectly to)
mprotect(align_ptr(reinterpret_cast<void *>(&loader_dlopen)), getpagesize(), PROT_WRITE | PROT_READ | PROT_EXEC);
// Passing dlopen as a caller address tricks the linker into using the internal unrestricted namespace letting us access libraries that are normally forbidden in the classloader namespace imposed on apps
auto ldHandle{loader_dlopen("ld-android.so", RTLD_LAZY, reinterpret_cast<void *>(&dlopen))};
if (!ldHandle)
return;
android_link_namespaces_all_libs = reinterpret_cast<android_link_namespaces_all_libs_t>(dlsym(ldHandle, "__loader_android_link_namespaces_all_libs"));
if (!android_link_namespaces_all_libs)
return;
android_link_namespaces = reinterpret_cast<android_link_namespaces_t>(dlsym(ldHandle, "__loader_android_link_namespaces"));
if (!android_link_namespaces)
return;
auto libdlAndroidHandle{loader_dlopen("libdl_android.so", RTLD_LAZY, reinterpret_cast<void *>(&dlopen))};
if (!libdlAndroidHandle)
return;
loader_android_create_namespace = reinterpret_cast<loader_android_create_namespace_t>(dlsym(libdlAndroidHandle, "__loader_android_create_namespace"));
if (!loader_android_create_namespace)
return;
android_get_exported_namespace = reinterpret_cast<android_get_exported_namespace_t>(dlsym(libdlAndroidHandle, "__loader_android_get_exported_namespace"));
if (!android_get_exported_namespace)
return;
// Lib is now safe to use
lib_loaded = true;
}
@@ -1,81 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
// https://cs.android.com/android/platform/superproject/+/0a492a4685377d41fef2b12e9af4ebfa6feef9c2:art/libnativeloader/include/nativeloader/dlext_namespaces.h;l=25;bpv=1;bpt=1
enum {
ANDROID_NAMESPACE_TYPE_REGULAR = 0,
ANDROID_NAMESPACE_TYPE_ISOLATED = 1,
ANDROID_NAMESPACE_TYPE_SHARED = 2,
ANDROID_NAMESPACE_TYPE_EXEMPT_LIST_ENABLED = 0x08000000,
ANDROID_NAMESPACE_TYPE_ALSO_USED_AS_ANONYMOUS = 0x10000000,
ANDROID_NAMESPACE_TYPE_SHARED_ISOLATED = ANDROID_NAMESPACE_TYPE_SHARED | ANDROID_NAMESPACE_TYPE_ISOLATED,
};
/**
* @brief Checks if linkernsbypass loaded successfully and is safe to use
* @note IMPORTANT: This should be called before any calls to the rest of the library are made
* @return true if loading succeeded
*/
bool linkernsbypass_load_status();
// https://cs.android.com/android/platform/superproject/+/0a492a4685377d41fef2b12e9af4ebfa6feef9c2:art/libnativeloader/include/nativeloader/dlext_namespaces.h;l=86;bpv=1;bpt=1
struct android_namespace_t *android_create_namespace(const char *name,
const char *ld_library_path,
const char *default_library_path,
uint64_t type,
const char *permitted_when_isolated_path,
struct android_namespace_t *parent_namespace);
struct android_namespace_t *android_create_namespace_escape(const char *name,
const char *ld_library_path,
const char *default_library_path,
uint64_t type,
const char *permitted_when_isolated_path,
struct android_namespace_t *parent_namespace);
// https://cs.android.com/android/platform/superproject/+/dcb01ef31026b3b8aeb72dada3370af63fe66bbd:bionic/linker/linker.cpp;l=3554
typedef struct android_namespace_t *(*android_get_exported_namespace_t)(const char *);
extern android_get_exported_namespace_t android_get_exported_namespace;
// https://cs.android.com/android/platform/superproject/+/dcb01ef31026b3b8aeb72dada3370af63fe66bbd:bionic/linker/linker.cpp;l=2499
typedef bool (*android_link_namespaces_all_libs_t)(struct android_namespace_t *, struct android_namespace_t *);
extern android_link_namespaces_all_libs_t android_link_namespaces_all_libs;
// https://cs.android.com/android/platform/superproject/+/dcb01ef31026b3b8aeb72dada3370af63fe66bbd:bionic/linker/linker.cpp;l=2473
typedef bool (*android_link_namespaces_t)(struct android_namespace_t *, struct android_namespace_t *, const char *);
extern android_link_namespaces_t android_link_namespaces;
/**
* @brief Like android_link_namespaces_all_libs but links from the default namespace
*/
bool linkernsbypass_link_namespace_to_default_all_libs(struct android_namespace_t *to);
/**
* @brief Loads a library into a namespace
* @note IMPORTANT: If `filename` is compiled with the '-z global' linker flag and RTLD_GLOBAL is supplied in `flags` the library will be added to the namespace's LD_PRELOAD list
* @param filename The name of the library to load
* @param flags The rtld flags for `filename`
* @param ns The namespace to dlopen into
*/
void *linkernsbypass_namespace_dlopen(const char *filename, int flags, struct android_namespace_t *ns);
/**
* @brief Force loads a unique instance of a library into a namespace
* @param libPath The path to the library to load with hooks applied
* @param libTargetDir A temporary directory to hold the soname patched library at `libPath`, will attempt to use memfd if nullptr
* @param flags The rtld flags for `libName`
* @param ns The namespace to dlopen into
*/
void *linkernsbypass_namespace_dlopen_unique(const char *libPath, const char *libTargetDir, int flags, struct android_namespace_t *ns);
#ifdef __cplusplus
}
#endif
@@ -1,67 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#include <initializer_list>
#include <cstdint>
#include <errno.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <link.h>
#include <elf.h>
#include "elf_soname_patcher.h"
bool elf_soname_patch(const char *libPath, int targetFd, const char *sonamePatch) {
struct stat libStat{};
if (stat(libPath, &libStat))
return false;
if (ftruncate(targetFd, libStat.st_size) == -1)
return false;
// Map the memory so we can read our elf into it
auto mappedLib{reinterpret_cast<uint8_t *>(mmap(nullptr, libStat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, targetFd, 0))};
if (!mappedLib)
return false;
int libFd{open(libPath, O_RDONLY)};
if (libFd == false)
return false;
// Read lib elf into target file
if (read(libFd, mappedLib, libStat.st_size) != libStat.st_size)
return false;
// No longer needed
close(libFd);
auto eHdr{reinterpret_cast<ElfW(Ehdr) *>(mappedLib)};
auto sHdrEntries{reinterpret_cast<ElfW(Shdr) *>(mappedLib + eHdr->e_shoff)};
// Iterate over section headers to find the .dynamic section
for (ElfW(Half) i{}; i < eHdr->e_shnum; i++) {
auto &sHdr{sHdrEntries[i]};
if (sHdr.sh_type == SHT_DYNAMIC) {
auto strTab{reinterpret_cast<char *>(mappedLib + sHdrEntries[sHdr.sh_link].sh_offset)};
auto dynHdrEntries{reinterpret_cast<ElfW(Dyn) *>(mappedLib + sHdr.sh_offset)};
// Iterate over .dynamic entries to find DT_SONAME
for (ElfW(Xword) k{}; k < (sHdr.sh_size / sHdr.sh_entsize); k++) {
auto &dynHdrEntry{dynHdrEntries[k]};
if (dynHdrEntry.d_tag == DT_SONAME) {
char *soname{strTab + dynHdrEntry.d_un.d_val};
// Partially replace the old soname with the soname patch
size_t charIdx{};
for (; soname[charIdx] != 0 && sonamePatch[charIdx] != 0; charIdx++)
soname[charIdx] = sonamePatch[charIdx];
return true;
}
}
}
}
return false;
}
@@ -1,21 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Overwrites a portion of the soname in an elf by loading it into shared memory and modifying .dynstr
* @note IMPORTANT: The supplied soname patch will overwrite the first strlen(sonamePatch) chars of the soname
* @param elfPath Full path to the elf to patch
* @param targetFd FD to use for storing the patched library
* @return True on success
*/
bool elf_soname_patch(const char *elfPath, int targetFd, const char *newSoname);
#ifdef __cplusplus
}
#endif
@@ -1,18 +0,0 @@
linkernsbypass_files = files(['android_linker_ns.cpp', 'android_linker_ns.h', 'elf_soname_patcher.cpp', 'elf_soname_patcher.h'])
linkernsbypass_inc = include_directories('.')
libdl_dep = cpp.find_library('dl')
linkernsbypass_lib = static_library (
'linkernsbypass',
linkernsbypass_files,
c_args: (['-Wall', '-Wextra']),
cpp_args: (['-Wall', '-Wextra']),
include_directories: ([linkernsbypass_inc, adrenotools_inc]),
dependencies: ([libandroid_dep, libdl_dep])
)
# linkernsbypass_include = static_library('linkernsbypass', sources)
# target_compile_options(['linkernsbypass', 'PRIVATE', '-Wall', '-Wextra'])
# target_link_libraries(['linkernsbypass', 'android', 'dl'])
# target_include_directories(['linkernsbypass', 'PUBLIC', '.'])
-50
View File
@@ -1,50 +0,0 @@
project(
'adrenotools',
['cpp', 'c'],
default_options : ['default_library=static']
)
cpp = meson.get_compiler('cpp')
c = meson.get_compiler('c')
adrenotools_inc = include_directories('include')
libandroid_dep = cpp.find_library('android')
liblog_dep = c.find_library('log')
subdir('lib/linkernsbypass')
linkernsbypass_dep = declare_dependency(
include_directories: linkernsbypass_inc,
link_with: linkernsbypass_lib,
link_args: '-Wl,-s,--exclude-libs,liblinkernsbypass.a'
)
adrenotools_sources = ['src/bcenabler.cpp', 'src/driver.cpp', 'include/adrenotools/bcenabler.h', 'include/adrenotools/driver.h', 'include/adrenotools/priv.h']
adrenotools_lib = shared_library(
'adrenotools',
adrenotools_sources,
c_args: (['-Wall', '-Wextra']),
cpp_args: (['-Wall', '-Wextra']),
include_directories: adrenotools_inc,
dependencies: ([linkernsbypass_dep, libandroid_dep, liblog_dep]),
install: true
)
subdir('src/hook')
# target_include_directories(['adrenotools', 'PUBLIC', 'include'])
# target_include_directories(['adrenotools', 'PRIVATE', '.'])
# target_compile_options(['adrenotools', 'PRIVATE', '-Wall', '-Wextra'])
# target_link_libraries(['adrenotools', 'android', 'linkernsbypass'])
# hooks_deb = subproject('src/hook')
# if build_shared_libs
# target_link_options(['adrenotools', 'PRIVATE', '-Wl,-s,--exclude-libs,liblinkernsbypass.a'])
# endif
# if gen_install_target
# configure_file(['adrenotools.pc.in', 'adrenotools.pc', '@ONLY'])
# install(['FILES', cmake_binary_dir, '/adrenotools.pc', 'DESTINATION', 'lib/pkgconfig'])
# install(['TARGETS', 'adrenotools', 'main_hook', 'file_redirect_hook', 'gsl_alloc_hook', 'hook_impl'])
# install(['DIRECTORY', 'include/', 'DESTINATION', 'include', 'FILES_MATCHING', 'PATTERN', '*.h*'])
# endif
@@ -1,135 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#include <fstream>
#include <string>
#include <cstring>
#include <sys/mman.h>
#include <unistd.h>
#include <adrenotools/bcenabler.h>
#include "gen/bcenabler_patch.h"
enum adrenotools_bcn_type adrenotools_get_bcn_type(uint32_t major, uint32_t minor, uint32_t vendorId) {
if (vendorId != 0x5143 || major != 512)
return ADRENOTOOLS_BCN_INCOMPATIBLE;
if (minor >= 514)
return ADRENOTOOLS_BCN_BLOB;
return ADRENOTOOLS_BCN_PATCH;
}
// Searches /proc/self/maps for the first free page after the given address
static void *find_free_page(uintptr_t address) {
std::ifstream procMaps("/proc/self/maps");
uintptr_t end{};
for (std::string line; std::getline(procMaps, line); ) {
std::size_t addressSeparator{line.find('-')};
uintptr_t start{std::strtoull(line.substr(0, addressSeparator).c_str(), nullptr, 16)};
if (end > address && start != end)
return reinterpret_cast<void *>(end);
end = std::strtoull(line.substr(addressSeparator + 1, line.find( ' ')).c_str(), nullptr, 16);
}
return nullptr;
}
static void *align_ptr(void *ptr) {
return reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(ptr) & ~(getpagesize() - 1));
}
bool adrenotools_patch_bcn(void *vkGetPhysicalDeviceFormatPropertiesFn) {
union Branch {
struct {
int32_t offset : 26; //!< 26-bit branch offset
uint8_t sig : 6; //!< 6-bit signature (0x25 for linked, 0x5 for jump)
};
uint32_t raw{};
};
static_assert(sizeof(Branch) == 4, "Branch size is invalid");
// Find the nearest unmapped page where we can place patch code
void *patchPage{find_free_page(reinterpret_cast<uintptr_t>(vkGetPhysicalDeviceFormatPropertiesFn))};
if (!patchPage)
return false;
// Map patch region
void *ptr{mmap(patchPage, getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 0, 0)};
if (ptr != patchPage)
return false;
// Allow reading from the blob's .text section since some devices enable ---X
// Protect two pages just in case we happen to land on a page boundary
if (mprotect(align_ptr(vkGetPhysicalDeviceFormatPropertiesFn), getpagesize() * 2, PROT_WRITE | PROT_READ | PROT_EXEC))
return false;
// First branch in this function is targeted at the function we want to patch
Branch *blInst{reinterpret_cast<Branch *>(vkGetPhysicalDeviceFormatPropertiesFn)};
constexpr uint8_t BranchLinkSignature{0x25};
// Search for first instruction with the BL signature
while (blInst->sig != BranchLinkSignature)
blInst++;
// Internal QGL format conversion function that we need to patch
uint32_t *convFormatFn{reinterpret_cast<uint32_t *>(blInst) + blInst->offset};
// See mprotect call above
// This time we also set PROT_WRITE so we can write our patch to the page
if (mprotect(align_ptr(convFormatFn), getpagesize() * 2, PROT_WRITE | PROT_READ | PROT_EXEC))
return false;
// This would normally set the default result to 0 (error) in the format not found case
constexpr uint32_t ClearResultSignature{0x2a1f03e0};
// We replace it with a branch to our own extended if statement which adds in the extra things for BCn
uint32_t *clearResultPtr{convFormatFn};
while (*clearResultPtr != ClearResultSignature)
clearResultPtr++;
// Ensure we don't write out of bounds
if (PatchRawData_size > getpagesize())
return false;
// Copy the patch function to our mapped page
memcpy(patchPage, PatchRawData, PatchRawData_size);
// Fixup the patch code so it correctly returns back to the driver after running
constexpr uint32_t PatchReturnFixupMagic{0xffffffff};
constexpr uint8_t BranchSignature{0x5};
uint32_t *fixupTargetPtr{clearResultPtr + 1};
auto *fixupPtr{reinterpret_cast<uint32_t *>(patchPage)};
for (long unsigned int i{}; i < (PatchRawData_size / sizeof(uint32_t)); i++, fixupPtr++) {
if (*fixupPtr == PatchReturnFixupMagic) {
Branch branchToDriver{
{
.offset = static_cast<int32_t>((reinterpret_cast<intptr_t>(fixupTargetPtr) - reinterpret_cast<intptr_t>(fixupPtr)) / sizeof(int32_t)),
.sig = BranchSignature,
}
};
*fixupPtr = branchToDriver.raw;
}
}
Branch branchToPatch{
{
.offset = static_cast<int32_t>((reinterpret_cast<intptr_t>(patchPage) - reinterpret_cast<intptr_t>(clearResultPtr)) / sizeof(int32_t)),
.sig = BranchSignature,
}
};
*clearResultPtr = branchToPatch.raw;
asm volatile("ISB");
// Done!
return true;
}
@@ -1,83 +0,0 @@
cmp w0, 131
bne .L2
mov w0, 71
b .L3
.L2:
cmp w0, 133
bne .L4
mov w0, 71
b .L3
.L4:
cmp w0, 132
bne .L5
mov w0, 72
b .L3
.L5:
cmp w0, 134
bne .L6
mov w0, 72
b .L3
.L6:
cmp w0, 135
bne .L7
mov w0, 74
b .L3
.L7:
cmp w0, 136
bne .L8
mov w0, 75
b .L3
.L8:
cmp w0, 137
bne .L9
mov w0, 77
b .L3
.L9:
cmp w0, 138
bne .L10
mov w0, 78
b .L3
.L10:
cmp w0, 139
bne .L11
mov w0, 80
b .L3
.L11:
cmp w0, 140
bne .L12
mov w0, 81
b .L3
.L12:
cmp w0, 141
bne .L13
mov w0, 83
b .L3
.L13:
cmp w0, 142
bne .L14
mov w0, 84
b .L3
.L14:
cmp w0, 143
bne .L15
mov w0, 95
b .L3
.L15:
cmp w0, 144
bne .L16
mov w0, 96
b .L3
.L16:
cmp w0, 145
bne .L17
mov w0, 98
b .L3
.L17:
cmp w0, 146
bne .L18
mov w0, 99
b .L3
.L18:
mov w0, 0
.L3:
.word 0xffffffff // Branch fixup
-234
View File
@@ -1,234 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#include <string>
#include <string_view>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <android/api-level.h>
#include <android/log.h>
#include <android_linker_ns.h>
#include "hook/kgsl.h"
#include "hook/hook_impl_params.h"
#include <adrenotools/driver.h>
#include <unistd.h>
void *adrenotools_open_libvulkan(int dlopenFlags, int featureFlags, const char *tmpLibDir, const char *hookLibDir, const char *customDriverDir, const char *customDriverName, const char *fileRedirectDir, void **userMappingHandle) {
// Bail out if linkernsbypass failed to load, this probably means we're on api < 28
if (!linkernsbypass_load_status()) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "Could not load linkernsbypass\n");
return nullptr;
}
// Use memfd on Q+ since it's guaranteed to work, but only if tmpLibDir wasn't set
if (android_get_device_api_level() >= 29 && !tmpLibDir)
tmpLibDir = nullptr;
// Verify that params for specific features are only passed if they are enabled
if (!(featureFlags & ADRENOTOOLS_DRIVER_FILE_REDIRECT) && fileRedirectDir) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "ADRENOTOOLS_DRIVER_FILE_REDIRECT present but no file redirect folder found\n");
return nullptr;
}
if (!(featureFlags & ADRENOTOOLS_DRIVER_CUSTOM) && (customDriverDir || customDriverName)) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "ADRENOTOOLS_DRIVER_CUSTOM present but no custom driver name or folder found\n");
return nullptr;
}
if (!(featureFlags & ADRENOTOOLS_DRIVER_GPU_MAPPING_IMPORT) && userMappingHandle) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "ADRENOTOOLS_DRIVER_GPU_MAPPING_IMPORT present but no user mapping handle found\n");
return nullptr;
}
// Verify that params for enabled features are correct
struct stat buf{};
if (featureFlags & ADRENOTOOLS_DRIVER_CUSTOM) {
if (!customDriverName || !customDriverDir) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "ADRENOTOOLS_DRIVER_CUSTOM present but no custom driver name or folder parameter was specified\n");
return nullptr;
}
if (stat((std::string(customDriverDir) + customDriverName).c_str(), &buf) != 0) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "ADRENOTOOLS_DRIVER_CUSTOM present but importable driver doesn't exist'\n");
return nullptr;
}
}
// Verify that params for enabled features are correct
if (featureFlags & ADRENOTOOLS_DRIVER_FILE_REDIRECT) {
if (!fileRedirectDir) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "ADRENOTOOLS_DRIVER_REDIRECT_DIR present but no folder parameter was found\n");
return nullptr;
}
if (stat(fileRedirectDir, &buf) != 0) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "ADRENOTOOLS_DRIVER_REDIRECT_DIR present but specified redirect folder doesn't exist\n");
return nullptr;
}
}
// Create a namespace that can isolate our hook from the classloader namespace
auto hookNs{android_create_namespace("adrenotools-libvulkan", hookLibDir, nullptr, ANDROID_NAMESPACE_TYPE_SHARED, nullptr, nullptr)};
// Link it to the default namespace so the hook can use libandroid etc
if (!linkernsbypass_link_namespace_to_default_all_libs(hookNs)) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "Failed to hook our namespace to the default one\n");
return nullptr;
}
// Preload the hook implementation, otherwise we get a weird issue where despite being in NEEDED of the hook lib the hook's symbols will overwrite ours and cause an infinite loop
auto hookImpl{linkernsbypass_namespace_dlopen("libhook_impl.so", RTLD_NOW, hookNs)};
if (!hookImpl) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "Couldn't preload the hook implementation\n");
return nullptr;
}
// Pass parameters to the hook implementation
auto initHookParam{reinterpret_cast<void (*)(const void *)>(dlsym(hookImpl, "init_hook_param"))};
if (!initHookParam) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "Couldn't init hook params\n");
return nullptr;
}
auto importMapping{[&]() -> adrenotools_gpu_mapping * {
if (featureFlags & ADRENOTOOLS_DRIVER_GPU_MAPPING_IMPORT) {
// This will be leaked, but it's not a big deal since it's only a few bytes
adrenotools_gpu_mapping *mapping{new adrenotools_gpu_mapping{}};
*userMappingHandle = mapping;
return mapping;
} else {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "Memory mapping flag was not specified\n");
return nullptr;
}
}()};
initHookParam(new HookImplParams(featureFlags, tmpLibDir, hookLibDir, customDriverDir, customDriverName, fileRedirectDir, importMapping));
// Load the libvulkan hook into the isolated namespace
if (!linkernsbypass_namespace_dlopen("libmain_hook.so", RTLD_GLOBAL, hookNs)) {
__android_log_print( ANDROID_LOG_ERROR, "adrenotools", "Failed to load libvulkan into the isolated namespace\n");
return nullptr;
}
return linkernsbypass_namespace_dlopen_unique("/system/lib64/libvulkan.so", tmpLibDir, dlopenFlags, hookNs);
}
bool adrenotools_import_user_mem(void *handle, void *hostPtr, uint64_t size) {
auto importMapping{reinterpret_cast<adrenotools_gpu_mapping *>(handle)};
kgsl_gpuobj_import_useraddr addr{
.virtaddr = reinterpret_cast<uint64_t>(hostPtr),
};
kgsl_gpuobj_import userMemImport{
.priv = reinterpret_cast<uint64_t>(&addr),
.priv_len = size,
.flags = KGSL_CACHEMODE_WRITEBACK << KGSL_CACHEMODE_SHIFT | KGSL_MEMFLAGS_IOCOHERENT,
.type = KGSL_USER_MEM_TYPE_ADDR,
};
kgsl_gpuobj_info info{};
int kgslFd{open("/dev/kgsl-3d0", O_RDWR)};
if (kgslFd < 0)
return false;
int ret{ioctl(kgslFd, IOCTL_KGSL_GPUOBJ_IMPORT, &userMemImport)};
if (ret)
goto err;
info.id = userMemImport.id;
ret = ioctl(kgslFd, IOCTL_KGSL_GPUOBJ_INFO, &info);
if (ret)
goto err;
importMapping->host_ptr = hostPtr;
importMapping->gpu_addr = info.gpuaddr;
importMapping->size = size;
importMapping->flags = 0xc2600; //!< Unknown flags, but they are required for the mapping to work
close(kgslFd);
return true;
err:
close(kgslFd);
return false;
}
bool adrenotools_mem_gpu_allocate(void *handle, uint64_t *size) {
auto mapping{reinterpret_cast<adrenotools_gpu_mapping *>(handle)};
kgsl_gpuobj_alloc gpuobjAlloc{
.size = *size,
.flags = KGSL_CACHEMODE_WRITEBACK << KGSL_CACHEMODE_SHIFT | KGSL_MEMFLAGS_IOCOHERENT,
};
kgsl_gpuobj_info info{};
int kgslFd{open("/dev/kgsl-3d0", O_RDWR)};
if (kgslFd < 0)
return false;
int ret{ioctl(kgslFd, IOCTL_KGSL_GPUOBJ_ALLOC, &gpuobjAlloc)};
if (ret)
goto err;
*size = gpuobjAlloc.mmapsize;
info.id = gpuobjAlloc.id;
ret = ioctl(kgslFd, IOCTL_KGSL_GPUOBJ_INFO, &info);
if (ret)
goto err;
mapping->host_ptr = nullptr;
mapping->gpu_addr = info.gpuaddr;
mapping->size = *size;
mapping->flags = 0xc2600; //!< Unknown flags, but they are required for the mapping to work
close(kgslFd);
return true;
err:
close(kgslFd);
return false;
}
bool adrenotools_mem_cpu_map(void *handle, void *hostPtr, uint64_t size) {
auto mapping{reinterpret_cast<adrenotools_gpu_mapping *>(handle)};
int kgslFd{open("/dev/kgsl-3d0", O_RDWR)};
if (kgslFd < 0)
return false;
mapping->host_ptr = mmap(hostPtr, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, kgslFd, mapping->gpu_addr);
close(kgslFd);
return mapping->host_ptr != nullptr;
}
bool adrenotools_validate_gpu_mapping(void *handle) {
auto importMapping{reinterpret_cast<adrenotools_gpu_mapping *>(handle)};
return importMapping->gpu_addr == ADRENOTOOLS_GPU_MAPPING_SUCCEEDED_MAGIC;
}
void adrenotools_set_turbo(bool turbo) {
uint32_t enable{turbo ? 0U : 1U};
kgsl_device_getproperty prop{
.type = KGSL_PROP_PWRCTRL,
.value = reinterpret_cast<void *>(&enable),
.sizebytes = sizeof(enable),
};
int kgslFd{open("/dev/kgsl-3d0", O_RDWR)};
if (kgslFd < 0)
return;
ioctl(kgslFd, IOCTL_KGSL_SETPROPERTY, &prop);
close (kgslFd);
}
@@ -1,27 +0,0 @@
add_library(hook_impl SHARED hook_impl.cpp hook_impl.h hook_impl_params.h)
target_compile_options(hook_impl PRIVATE -Wall -Wextra)
target_link_libraries(hook_impl linkernsbypass log)
target_include_directories(hook_impl PRIVATE ../../include)
set_target_properties(hook_impl PROPERTIES CXX_VISIBILITY_PRESET hidden)
add_library(main_hook SHARED main_hook.c)
target_compile_options(main_hook PRIVATE -Wall -Wextra)
target_link_options(main_hook PRIVATE -z global)
target_link_libraries(main_hook hook_impl)
set_target_properties(main_hook PROPERTIES CXX_VISIBILITY_PRESET hidden)
add_library(file_redirect_hook SHARED file_redirect_hook.c)
target_compile_options(file_redirect_hook PRIVATE -Wall -Wextra)
target_link_options(file_redirect_hook PRIVATE -z global)
target_link_libraries(file_redirect_hook hook_impl)
set_target_properties(file_redirect_hook PROPERTIES CXX_VISIBILITY_PRESET hidden)
add_library(gsl_alloc_hook SHARED gsl_alloc_hook.c)
target_compile_options(gsl_alloc_hook PRIVATE -Wall -Wextra)
target_link_options(gsl_alloc_hook PRIVATE -z global)
target_link_libraries(gsl_alloc_hook hook_impl)
set_target_properties(gsl_alloc_hook PROPERTIES CXX_VISIBILITY_PRESET hidden)
@@ -1,5 +0,0 @@
#include "hook_impl.h"
__attribute__((visibility("default"))) FILE *fopen(const char *filename, const char *mode) {
return hook_fopen(filename, mode);
}
@@ -1,13 +0,0 @@
#include "hook_impl.h"
__attribute__((visibility("default"))) int gsl_memory_alloc_pure(uint32_t size, uint32_t flags, void *memDesc) {
return hook_gsl_memory_alloc_pure_64((uint64_t)size, flags, memDesc);
}
__attribute__((visibility("default"))) int gsl_memory_alloc_pure_64(uint64_t size, uint32_t flags, void *memDesc) {
return hook_gsl_memory_alloc_pure_64(size, flags, memDesc);
}
__attribute__((visibility("default"))) int gsl_memory_free_pure(void *memDesc) {
return hook_gsl_memory_free_pure(memDesc);
}
@@ -1,229 +0,0 @@
#include <initializer_list>
#include <string>
#include <cstdio>
#include <cstring>
#include <dlfcn.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <android_linker_ns.h>
#include <android/dlext.h>
#include <android/log.h>
#include "kgsl.h"
#include "hook_impl_params.h"
#include "hook_impl.h"
#define TAG "hook_impl"
#define LOGI(fmt, ...) __android_log_print(ANDROID_LOG_INFO, TAG, fmt, ##__VA_ARGS__)
const HookImplParams *hook_params; //!< Bunch of info needed to load/patch the driver
int (*gsl_memory_alloc_pure_sym)(uint32_t, uint32_t, void *);
int (*gsl_memory_alloc_pure_64_sym)(uint64_t, uint32_t, void *);
int (*gsl_memory_free_pure_sym)(void *);
int kgsl_fd;
using gsl_memory_alloc_pure_t = decltype(gsl_memory_alloc_pure_sym);
using gsl_memory_alloc_pure_64_t = decltype(gsl_memory_alloc_pure_64_sym);
using gsl_memory_free_pure_t = decltype(gsl_memory_free_pure_sym);
__attribute__((visibility("default"))) void init_hook_param(const void *param) {
hook_params = reinterpret_cast<const HookImplParams *>(param);
}
__attribute__((visibility("default"))) void init_gsl(void *alloc, void *alloc64, void *free) {
gsl_memory_alloc_pure_sym = reinterpret_cast<gsl_memory_alloc_pure_t>(alloc);
gsl_memory_alloc_pure_64_sym = reinterpret_cast<gsl_memory_alloc_pure_64_t>(alloc64);
gsl_memory_free_pure_sym = reinterpret_cast<gsl_memory_free_pure_t>(free);
}
__attribute__((visibility("default"))) void *hook_android_dlopen_ext(const char *filename, int flags, const android_dlextinfo *extinfo) {
auto fallback{[&]() {
LOGI("hook_android_dlopen_ext: falling back!");
return android_dlopen_ext(filename, flags, extinfo);
}};
LOGI("hook_android_dlopen_ext: filename: %s", filename);
// Ignore non-vulkan libraries
if (!strstr(filename, "vulkan."))
return android_dlopen_ext(filename, flags, extinfo);
if (extinfo->library_namespace == nullptr || !(extinfo->flags & ANDROID_DLEXT_USE_NAMESPACE)) {
LOGI("hook_android_dlopen_ext: hook failed: namespace not supplied!");
return fallback();
}
// customDriverDir will be empty if ADRENOTOOLS_DRIVER_CUSTOM isn't set therefore it's fine to have either way
auto driverNs{android_create_namespace(filename, hook_params->customDriverDir.c_str(),
hook_params->hookLibDir.c_str(), ANDROID_NAMESPACE_TYPE_SHARED,
nullptr, extinfo->library_namespace)};
if (!driverNs) {
LOGI("hook_android_dlopen_ext: hook failed: namespace not supplied!");
return fallback();
}
// We depend on libandroid which is unlikely to be in the supplied driver namespace so we have to link it over
android_link_namespaces(driverNs, nullptr, "libandroid.so");
// Preload ourself, a new instance will be created since we have different linker ancestory
// If we don't preload we get a weird issue where despite being in NEEDED of the hook lib the hook's symbols will overwrite ours and cause an infinite loop
auto hookImpl{linkernsbypass_namespace_dlopen("libhook_impl.so", RTLD_NOW, driverNs)};
if (!hookImpl)
return nullptr;
// Pass parameters to ourself
auto initHookParam{reinterpret_cast<void (*)(const void *)>(dlsym(hookImpl, "init_hook_param"))};
if (!initHookParam)
return nullptr;
initHookParam(hook_params);
if (hook_params->featureFlags & ADRENOTOOLS_DRIVER_FILE_REDIRECT) {
if (!linkernsbypass_namespace_dlopen("libfile_redirect_hook.so", RTLD_GLOBAL, driverNs)) {
LOGI("hook_android_dlopen_ext: hook failed: failed to apply libfopen_redirect_hook!");
return fallback();
}
LOGI("hook_android_dlopen_ext: applied libfile_redirect_hook");
}
// Use our new namespace to load the vulkan driver
auto newExtinfo{*extinfo};
newExtinfo.library_namespace = driverNs;
if (hook_params->featureFlags & ADRENOTOOLS_DRIVER_GPU_MAPPING_IMPORT) {
if (!linkernsbypass_namespace_dlopen("libgsl_alloc_hook.so", RTLD_GLOBAL, driverNs)) {
LOGI("hook_android_dlopen_ext: hook failed: failed to apply libgsl_alloc_hook!");
return fallback();
}
auto libgslHandle{android_dlopen_ext("vkbgsl.so", RTLD_NOW, &newExtinfo)};
if (!libgslHandle) {
libgslHandle = android_dlopen_ext("notgsl.so", RTLD_NOW, &newExtinfo);
if (!libgslHandle)
libgslHandle = android_dlopen_ext("libgsl.so", RTLD_NOW, &newExtinfo);
}
if (libgslHandle) {
gsl_memory_alloc_pure_sym = reinterpret_cast<decltype(gsl_memory_alloc_pure_sym)>(dlsym(libgslHandle, "gsl_memory_alloc_pure"));
gsl_memory_alloc_pure_64_sym = reinterpret_cast<decltype(gsl_memory_alloc_pure_64_sym)>(dlsym(libgslHandle, "gsl_memory_alloc_pure_64"));
gsl_memory_free_pure_sym = reinterpret_cast<decltype(gsl_memory_free_pure_sym)>(dlsym(libgslHandle, "gsl_memory_free_pure"));
if ((gsl_memory_alloc_pure_sym || gsl_memory_alloc_pure_64_sym) && gsl_memory_free_pure_sym) {
auto initGsl{reinterpret_cast<void (*)(gsl_memory_alloc_pure_t, gsl_memory_alloc_pure_64_t, gsl_memory_free_pure_t)>(dlsym(hookImpl, "init_gsl"))};
if (!initGsl)
return fallback();
initGsl(gsl_memory_alloc_pure_sym, gsl_memory_alloc_pure_64_sym, gsl_memory_free_pure_sym);
LOGI("hook_android_dlopen_ext: applied libgsl_alloc_hook");
hook_params->nextGpuMapping->gpu_addr = ADRENOTOOLS_GPU_MAPPING_SUCCEEDED_MAGIC;
}
}
if (!((gsl_memory_alloc_pure_sym || gsl_memory_alloc_pure_64_sym) && gsl_memory_free_pure_sym))
LOGI("hook_android_dlopen_ext: hook failed: failed to apply libgsl_alloc_hook!");
}
// TODO: If there is already an instance of a Vulkan driver loaded hooks won't be applied, this will only be the case for skiavk generally
// To fix this we would need to search /proc/self/maps for the file to a loaded instance of the library in order to read it to patch the soname and load it uniquely
if (hook_params->featureFlags & ADRENOTOOLS_DRIVER_CUSTOM) {
LOGI("hook_android_dlopen_ext: loading custom driver: %s%s", hook_params->customDriverDir.c_str(), hook_params->customDriverName.c_str());
void *handle{android_dlopen_ext(hook_params->customDriverName.c_str(), flags, &newExtinfo)};
if (!handle) {
LOGI("hook_android_dlopen_ext: hook failed: failed to load custom driver: %s!", dlerror());
return fallback();
}
return handle;
} else {
LOGI("hook_android_dlopen_ext: loading default driver: %s", filename);
return android_dlopen_ext(filename, flags, &newExtinfo);
}
}
__attribute__((visibility("default"))) void *hook_android_load_sphal_library(const char *filename, int flags) {
LOGI("hook_android_load_sphal_library: filename: %s", filename);
// https://android.googlesource.com/platform/system/core/+/master/libvndksupport/linker.cpp
for (const char *name : {"sphal", "vendor", "default"}) {
if (auto vendorNs{android_get_exported_namespace(name)}) {
android_dlextinfo dlextinfo{
.flags = ANDROID_DLEXT_USE_NAMESPACE,
.library_namespace = vendorNs,
};
return hook_android_dlopen_ext(filename, flags, &dlextinfo);
}
}
return nullptr;
}
__attribute__((visibility("default"))) FILE *hook_fopen(const char *filename, const char *mode) {
if (!strncmp("/proc", filename, 5) || !strncmp("/sys", filename, 4)) {
LOGI("hook_fopen: passthrough: %s", filename);
return fopen(filename, mode);
}
auto replacement{hook_params->fileRedirectDir + filename};
LOGI("hook_fopen: %s -> %s", filename, replacement.c_str());
return fopen(replacement.c_str(), mode);
}
static constexpr uintptr_t GslMemDescImportedPrivMagic{0xdeadb33f};
struct GslMemDesc {
void *hostptr;
uint64_t gpuaddr;
uint64_t size;
uint64_t flags;
uintptr_t priv;
};
__attribute__((visibility("default"))) int hook_gsl_memory_alloc_pure_64(uint64_t size, uint32_t flags, void *memDesc) {
auto gslMemDesc{reinterpret_cast<GslMemDesc *>(memDesc)};
if (hook_params->nextGpuMapping && hook_params->nextGpuMapping->size == size && (hook_params->nextGpuMapping->flags & flags) == hook_params->nextGpuMapping->flags) {
auto &nextMapping{*hook_params->nextGpuMapping};
gslMemDesc->hostptr = nextMapping.host_ptr;
gslMemDesc->gpuaddr = nextMapping.gpu_addr;
gslMemDesc->size = nextMapping.size;
gslMemDesc->flags = nextMapping.flags;
gslMemDesc->priv = GslMemDescImportedPrivMagic;
hook_params->nextGpuMapping->size = 0;
hook_params->nextGpuMapping->gpu_addr = ADRENOTOOLS_GPU_MAPPING_SUCCEEDED_MAGIC;
return 0;
} else {
if (gsl_memory_alloc_pure_64_sym)
return gsl_memory_alloc_pure_64_sym(size, flags, gslMemDesc);
else
return gsl_memory_alloc_pure_sym((uint32_t)size, flags, gslMemDesc);
}
}
__attribute__((visibility("default"))) int hook_gsl_memory_free_pure(void *memDesc) {
auto gslMemDesc{reinterpret_cast<GslMemDesc *>(memDesc)};
if (gslMemDesc->priv == GslMemDescImportedPrivMagic) {
if (!kgsl_fd)
kgsl_fd = open("/dev/kgsl-3d0", O_RDWR);
kgsl_gpumem_get_info info{
.gpuaddr = gslMemDesc->gpuaddr
};
if (ioctl(kgsl_fd, IOCTL_KGSL_GPUMEM_GET_INFO, &info) < 0) {
LOGI("IOCTL_KGSL_GPUMEM_GET_INFO failed");
return 0;
}
kgsl_gpuobj_free args{
.id = info.id,
};
if (ioctl(kgsl_fd, IOCTL_KGSL_GPUOBJ_FREE, &args) < 0)
LOGI("IOCTL_KGSL_GPUOBJ_FREE failed");
return 0;
} else {
return gsl_memory_free_pure_sym(memDesc);
}
}
@@ -1,30 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <android/dlext.h>
void init_hook_param(const void *param);
void init_gsl(void *alloc, void *alloc64, void *free);
void *hook_android_dlopen_ext(const char *filename, int flags, const android_dlextinfo *extinfo);
void *hook_android_load_sphal_library(const char *filename, int flags);
FILE *hook_fopen(const char *filename, const char *mode);
int hook_gsl_memory_alloc_pure_64(uint64_t size, uint32_t flags, void *memDesc);
int hook_gsl_memory_free_pure(void *memDesc);
#ifdef __cplusplus
}
#endif
@@ -1,31 +0,0 @@
// SPDX-License-Identifier: BSD-2-Clause
// Copyright © 2021 Billy Laws
#pragma once
#include <string>
#include <adrenotools/priv.h>
/**
* @brief Holds the parameters needed for all hooks
* @note See comments for adrenotools_open_libvulkan as a reference for member variables
*/
struct HookImplParams {
int featureFlags;
std::string tmpLibDir;
std::string hookLibDir;
std::string customDriverDir;
std::string customDriverName;
std::string fileRedirectDir;
adrenotools_gpu_mapping *nextGpuMapping;
HookImplParams(int featureFlags, const char *tmpLibDir, const char *hookLibDir, const char *customDriverDir,
const char *customDriverName, const char *fileRedirectDir, adrenotools_gpu_mapping *nextGpuMapping)
: featureFlags(featureFlags),
tmpLibDir(tmpLibDir ? tmpLibDir : ""),
hookLibDir(hookLibDir),
customDriverDir(customDriverDir ? customDriverDir : ""),
customDriverName(customDriverName ? customDriverName : ""),
fileRedirectDir(fileRedirectDir ? fileRedirectDir : ""),
nextGpuMapping(nextGpuMapping) {}
};
File diff suppressed because it is too large. Load diff
@@ -1,9 +0,0 @@
#include "hook_impl.h"
__attribute__((visibility("default"))) void *android_dlopen_ext(const char *filename, int flags, const android_dlextinfo *extinfo) {
return hook_android_dlopen_ext(filename, flags, extinfo);
}
__attribute__((visibility("default"))) void *android_load_sphal_library(const char *filename, int flags) {
return hook_android_load_sphal_library(filename, flags);
}
@@ -1,72 +0,0 @@
hook_impl_files = files(['hook_impl.cpp', 'hook_impl.h', 'hook_impl_params.h'])
hook_impl_inc = include_directories('../../include')
# hook_impl_lib = shared_library('hook_impl', 'hook_impl.cpp', 'hook_impl.h', 'hook_impl_params.h')
# target_compile_options(['hook_impl', 'PRIVATE', '-Wall', '-Wextra'])
# target_link_libraries(['hook_impl', 'linkernsbypass', 'log'])
# target_include_directories(['hook_impl', 'PRIVATE', '../../include'])
# set_target_properties(['hook_impl', 'PROPERTIES', 'CXX_VISIBILITY_PRESET', 'hidden'])
main_hook_files = files(['main_hook.c'])
# main_hook_lib = shared_library('main_hook', 'main_hook.c')
# target_compile_options(['main_hook', 'PRIVATE', '-Wall', '-Wextra'])
# target_link_options(['main_hook', 'PRIVATE', '-z', 'global'])
# target_link_libraries(['main_hook', 'hook_impl'])
# set_target_properties(['main_hook', 'PROPERTIES', 'CXX_VISIBILITY_PRESET', 'hidden'])
file_redirect_hook_files = files(['file_redirect_hook.c'])
# file_redirect_hook_lib = shared_library('file_redirect_hook', 'file_redirect_hook.c')
# target_compile_options(['file_redirect_hook', 'PRIVATE', '-Wall', '-Wextra'])
# target_link_options(['file_redirect_hook', 'PRIVATE', '-z', 'global'])
# target_link_libraries(['file_redirect_hook', 'hook_impl'])
# set_target_properties(['file_redirect_hook', 'PROPERTIES', 'CXX_VISIBILITY_PRESET', 'hidden'])
gsl_alloc_hook_files = files(['gsl_alloc_hook.c'])
# gsl_alloc_hook_lib = shared_library('gsl_alloc_hook', 'gsl_alloc_hook.c')
# target_compile_options(['gsl_alloc_hook', 'PRIVATE', '-Wall', '-Wextra'])
# target_link_options(['gsl_alloc_hook', 'PRIVATE', '-z', 'global'])
# target_link_libraries(['gsl_alloc_hook', 'hook_impl'])
# set_target_properties(['gsl_alloc_hook', 'PROPERTIES', 'CXX_VISIBILITY_PRESET', 'hidden'])
hook_impl_lib = shared_library(
'hook_impl',
hook_impl_files,
c_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
cpp_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
dependencies: ([linkernsbypass_dep, liblog_dep]),
include_directories: ([hook_impl_inc]),
install: true
)
hook_impl_dep = declare_dependency(
link_args: (['-z', 'global']),
link_with: ([hook_impl_lib]),
include_directories: hook_impl_inc,
)
main_hook_lib = shared_library(
'main_hook',
main_hook_files,
c_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
cpp_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
dependencies: ([hook_impl_dep]),
install: true
)
file_redirect_hook_lib = shared_library(
'file_redirect_hook',
file_redirect_hook_files,
c_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
cpp_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
dependencies: ([hook_impl_dep]),
install: true
)
gsl_alloc_hook_lib = shared_library(
'gsl_alloc_hook',
gsl_alloc_hook_files,
c_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
cpp_args: (['-fvisibility=hidden', '-Wall', '-Wextra']),
dependencies: ([hook_impl_dep]),
install: true
)
@@ -1,96 +0,0 @@
# Android Driver Package Format
## Contents
- `meta.json` that follows `Schema`
- `<driver>.so` main driver shared library
- `*.so` all libraries depended on by the main driver library, these must have their sonames altered if they wish to replace the system version of the library
## Example
- `meta.json`:
```json
{
"schemaVersion": 1,
"name": "Qualcomm v615 Vulkan driver",
"description": "Proprietary Vulkan driver for Adreno 6xx and Adreno 7xx",
"author": "ByLaws",
"packageVersion": "2",
"vendor": "Qualcomm",
"driverVersion": "0.615.0",
"minApi": 27,
"libraryName": "vulkan.ad0615.so"
}
```
- `vulkan.ad0615.so`: main patched driver
- `notadreno_utils.so`, `notdmabufheap.so`, `notgsl.so`, `notllvm-glnext.so`, `notllvm-qgl.so`: patched-soname versions of libraries specific to each driver version
- `android.hardware.graphics.mappershim.so`, `vendor.qti.hardware.display.mapperextensionsshim.so`, `vendor.qti.hardware.display.mappershim.so`: qtimapper-shim libs
## Creation
I recommend running blob-patcher.py to patch a set of blobs from a device dump with mapper ver as 5, then copying in the qtimapper-shim files from the adrenotools releases page.
```bash
$ mkdir outpkg
$ patch.py <device dump> outpkg vulkan.adreno.so vulkan.ad0615.so 1
$ vim outpkg/meta.json
$ cp qtimapper-shim-rel/* outpkg
```
## Schema
```json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ADPKG Schema",
"type": "object",
"properties": {
"schemaVersion": {
"type": "number",
"example": 1
},
"name": {
"type": "string",
"example": "Qualcomm Adreno Driver"
},
"vendor": {
"enum": [
"Qualcomm",
"Mesa"
],
},
"driverVersion": {
"type": "string",
"pattern": "^[0-9]+.[0-9]+.[0-9]+(-.+)?$",
"example": "512.604.0"
},
"author": {
"type": "string",
"example": "Billy Laws"
},
"description": {
"type": "string",
"description": "Additional description of the driver, this shouldn't contain redundant information that is already covered by the other fields such as the version and only denote details important for the user"
},
"packageVersion": {
"type": "string",
"example": "3029-bylaws"
},
"minApi": {
"type": "number",
"description": "The minimum Android API version required by the driver to function correctly",
"example": 27
},
"libraryName": {
"type": "string",
"description": "The name of the main shared library object",
"example": "vulkan.adreno.so"
},
},
"required": [
"schemaVersion",
"name",
"author",
"packageVersion",
"vendor",
"driverVersion",
"minApi",
]
}
```
@@ -1,7 +0,0 @@
## Tools for working with the Adreno Vulkan blob
blob-patcher.py is a script for generating adrenotools loadable drivers from an extracted ROM zip
qtimapper-shim allows newer drivers to work on devices that lack support for the new mapper HAL
acc-shim allows for suppling arguments to the underlying LLVM-based shader compiler library
@@ -1,12 +0,0 @@
## Adreno Compiler Collection parameter shim
### TODO
Make some sort of API for this so parameters can be changed through adrenotools in realtime.
### Compilation
```
$ sed -i 's/libllvm-glnext/notreal-glnext/g' libllvm-glnext.so
$ mv libllvm-glnext.so notreal-glnext.so
$ aarch64-linux-android28-clang vk_acc_shim.cpp -o notllvm-glnext.so --shared -fpic
$ sed -i 's/libllvm-glnext/notllvm-glnext/g' vulkan.adreno.so
```
@@ -1,108 +0,0 @@
#include <stdint.h>
#include <dlfcn.h>
#include <string.h>
#include <android/log.h>
thread_local int satisfy_driver_emutls;
// Check libllvm-glnext.so in older drivers for a full list of these, newer ones are slightly more awkward due to the split
enum class OptionType : uint32_t {
ArgsStringList = 1,
QcArgsString = 4,
OptLevelInt = 0x101,
NoOptsInt = 0x10D,
};
struct StringListVal {
uint32_t len;
const char **entry;
};
struct Option
{
OptionType type;
// PAD
union {
bool boolVal;
int intVal;
float floatVal;
StringListVal *strVals;
const char *strVal;
};
};
struct OptionsSet
{
Option *options;
uint32_t num;
};
int CompileHook(void *state, OptionsSet *opts);
decltype(CompileHook) *OrigCompile{};
int CompileHook(void *state, OptionsSet *opts) {
constexpr size_t ReplacementOptsNum = 201;
Option replacementOpts[ReplacementOptsNum];
uint32_t patchedOptNum{};
// Insert your desired args here - results will be written to stderr
const char *argv[] = {"-help", "-help-hidden", "", NULL };
StringListVal listVal{
.len = 3,
.entry = argv,
};
replacementOpts[patchedOptNum++] = {
.type = OptionType::ArgsStringList,
.strVals = &listVal
};
const char *opt ="Verbose=true Quiet=false";
replacementOpts[patchedOptNum++] = {
.type = OptionType::QcArgsString,
.strVal = opt
};
if (opts->num + patchedOptNum > ReplacementOptsNum)
__builtin_trap();
memcpy(&replacementOpts[patchedOptNum], opts->options, sizeof(Option) * opts->num);
OptionsSet optList{
.options = replacementOpts,
.num = opts->num + patchedOptNum
};
return OrigCompile(state, &optList);
}
struct LlvmInterface {
uint32_t unk0[3];
// PAD
void *makeContext;
void *delContext;
decltype(CompileHook) *compile;
void *unk;
};
extern "C" int LoadACC(LlvmInterface *impl);
extern "C" __attribute__((visibility("default"))) int LoadACC(LlvmInterface *impl) {
void *hnd = dlopen("notreal-glnext.so", RTLD_NOW);
auto origLoadACC = reinterpret_cast<decltype(LoadACC) *>(dlsym(hnd, "LoadACC"));
if (!origLoadACC)
__builtin_trap();
int ret = origLoadACC(impl);
OrigCompile = impl->compile;
impl->compile = &CompileHook;
return ret;
}
@@ -1,67 +0,0 @@
#!/usr/bin/python3
import sys, os
def patch_lib_base(in_dir, out_dir, libs, in_name, out_name):
with open(in_dir + in_name, "rb") as inf:
with open(out_dir + out_name, "wb") as outf:
content = inf.read()
for lib in libs:
print(out_name + ": repl:", lib[0], "->", lib[1])
content = content.replace(lib[0].encode(), lib[1].encode())
content = content.replace(in_name.encode(), out_name.encode())
outf.write(content);
def patch_lib(in_dir, out_dir, libs, name):
patch_lib_base(in_dir, out_dir, libs, "lib" + name + ".so", "not" + name + ".so")
def patch_references(lib_dir, out_dir, vulkan_libname, vulkan_newname, shim_mapper):
try:
os.mkdir(out_dir)
os.mkdir(out_dir + "/hw")
except:
pass
replacement_list = [("libgsl.so", "notgsl.so"), ("libllvm-glnext.so", "notllvm-glnext.so"), ("libdmabufheap.so", "notdmabufheap.so"), ("libadreno_utils.so", "notadreno_utils.so"), ("libllvm-qgl.so", "notllvm-qgl.so")]
if (shim_mapper < 2):
replacement_list += [("vendor.qti.hardware.display.mapper@2.0.so", "vendor.qti.hardware.display.mappershim.so"),
("android.hardware.graphics.mapper@2.0.so", "android.hardware.graphics.mappershim.so"),
("vendor.qti.hardware.display.mapperextensions@1.0.so", "vendor.qti.hardware.display.mapperextensionsshim.so"),
("vendor.qti.hardware.display.mapperextensions@1.1.so", "vendor.qti.hardware.display.mapperextensionsshim.so")]
if (shim_mapper < 3):
replacement_list += [("vendor.qti.hardware.display.mapper@3.0.so", "vendor.qti.hardware.display.mappershim.so"),
("android.hardware.graphics.mapper@3.0.so", "android.hardware.graphics.mappershim.so")]
if (shim_mapper < 4):
replacement_list += [("vendor.qti.hardware.display.mapper@4.0.so", "vendor.qti.hardware.display.mappershim.so"),
("android.hardware.graphics.mapper@4.0.so", "android.hardware.graphics.mappershim.so")]
for lib in ["gsl", "llvm-glnext", "dmabufheap", "adreno_utils", "llvm-qgl"]:
try:
patch_lib(lib_dir, out_dir, replacement_list, lib)
except:
pass
patch_lib_base(lib_dir + "/hw/", out_dir + "/hw/", replacement_list, vulkan_libname, vulkan_newname)
if (len(sys.argv)!= 6):
print("<in> <out> <vk soname> <vk soname new> <device mapper ver>")
sys.exit()
root_path = sys.argv[1]
out_path = sys.argv[2]
vulkan_libname = sys.argv[3]
vulkan_newname = sys.argv[4]
shim_mapper = int(sys.argv[5])
vendor_path = root_path + "/vendor/"
if (len(vulkan_newname) != len(vulkan_libname)):
print("Errror")
sys.exit()
for libdir in ["/lib64/", "/lib/"]:
patch_references(vendor_path + libdir, out_path + libdir, vulkan_libname, vulkan_newname, shim_mapper)
print("done!")
@@ -1,9 +0,0 @@
BasedOnStyle: Google
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
IndentWidth: 2
PointerAlignment: Left
TabWidth: 2
UseTab: Never
@@ -1,37 +0,0 @@
cc_defaults {
name: "shim_defaults",
srcs: [
"shim.cpp",
"ext/gr_utils.cpp",
"ext/gr_adreno_info.cpp",
],
shared_libs: [
"liblog",
"libcutils",
"libhidlbase",
"libhardware",
"libutils",
],
cflags: [
"-Wno-error",
"-Wno-unused-parameter",
],
}
cc_library_shared {
name: "vendor.qti.hardware.display.mappershim",
defaults: ["shim_defaults"],
}
cc_library_shared {
name: "vendor.qti.hardware.display.mapperextensionsshim",
defaults: ["shim_defaults"],
}
cc_library_shared {
name: "android.hardware.graphics.mappershim",
defaults: ["shim_defaults"],
}
@@ -1,19 +0,0 @@
## QtiMapper-shim
A shim that translates between the IQtiMapper(2,3,4) API used by newer Adreno graphics drivers and gralloc1, which is the only available gralloc API on sdm845.
### Method
Exposes the same ABI as the newer mapper blobs and stubs enough functions to force the HAL to fallback to the 2.0 mapper/mapperextension API which is then shimmed with a passthrough to gralloc1. The blobs can then be patched to load the stub libs instead, see the blob-patcher script.
The code is fairly ugly but functional enough for the purpose, some functions are missing and will need to be implemented in the case that the driver starts using them.
### Building
Chuck into a lineage tree, then:
```
make vendor.qti.hardware.display.mappershim
make vendor.qti.hardware.display.mapperextensionsshim
make android.hardware.graphics.mappershim
```
and grab SOs out of outputs dir
@@ -1,173 +0,0 @@
/*
* Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation. 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#ifndef __QTIGRALLOCDEFS_H__
#define __QTIGRALLOCDEFS_H__
// From gralloc_priv.h
/* Gralloc usage bits indicating the type of allocation that should be used */
/* Refer to BufferUsage in hardware/interfaces/graphics/common/<ver>/types.hal */
/* The bits below are in officially defined vendor space
* i.e bits 28-31 and 48-63*/
/* Non linear, Universal Bandwidth Compression */
#define GRALLOC_USAGE_PRIVATE_ALLOC_UBWC (UINT32_C(1) << 28)
/* Set this for allocating uncached memory (using O_DSYNC),
* cannot be used with noncontiguous heaps */
#define GRALLOC_USAGE_PRIVATE_UNCACHED (UINT32_C(1) << 29)
/* This flag is used to indicate 10 bit format.
* When both GRALLOC_USAGE_PRIVATE_ALLOC_UBWC & GRALLOC_USAGE_PRIVATE_10BIT
* are set then it will indicate UBWC_TP10 format.
* When only GRALLOC_USAGE_PRIVATE_10BIT is set it will indicate linear P010 format.
*/
#define GRALLOC_USAGE_PRIVATE_10BIT (UINT32_C(1) << 30)
/* This flag is used for SECURE display usecase */
#define GRALLOC_USAGE_PRIVATE_SECURE_DISPLAY (UINT32_C(1) << 31)
/* This flag is used to indicate video NV21 format */
#define GRALLOC_USAGE_PRIVATE_VIDEO_NV21_ENCODER 1ULL << 48
/* unused legacy flags */
#define GRALLOC_USAGE_PRIVATE_MM_HEAP 0
#define GRALLOC_USAGE_PRIVATE_IOMMU_HEAP 0
/* This flag is set for WFD usecase */
#define GRALLOC_USAGE_PRIVATE_WFD 1ULL << 51
/* This flag is set for HEIF usecase */
#define GRALLOC_USAGE_PRIVATE_HEIF (UINT32_C(1) << 27)
/* TODO(user): Remove when clients stop referencing this flag */
#define GRALLOC_USAGE_PRIVATE_10BIT_TP 0
/* This flag indicates PI format is being used */
#define GRALLOC_USAGE_PRIVATE_ALLOC_UBWC_PI 1ULL << 49
/* This flag is set while CDSP accesses the buffer */
#define GRALLOC_USAGE_PRIVATE_CDSP 1ULL << 50
// OEM specific HAL formats
#define HAL_PIXEL_FORMAT_RGBA_5551 6
#define HAL_PIXEL_FORMAT_RGBA_4444 7
#define HAL_PIXEL_FORMAT_NV12_ENCODEABLE 0x102
#define HAL_PIXEL_FORMAT_NV21_ENCODEABLE 0x7FA30C00
#define HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS 0x7FA30C04
#define HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED 0x7FA30C03
#define HAL_PIXEL_FORMAT_YCbCr_420_SP 0x109
#define HAL_PIXEL_FORMAT_YCrCb_420_SP_ADRENO 0x7FA30C01
#define HAL_PIXEL_FORMAT_YCrCb_422_SP 0x10B
#define HAL_PIXEL_FORMAT_R_8 0x10D
#define HAL_PIXEL_FORMAT_RG_88 0x10E
#define HAL_PIXEL_FORMAT_YCbCr_444_SP 0x10F
#define HAL_PIXEL_FORMAT_YCrCb_444_SP 0x110
#define HAL_PIXEL_FORMAT_YCrCb_422_I 0x111
#define HAL_PIXEL_FORMAT_BGRX_8888 0x112
#define HAL_PIXEL_FORMAT_NV21_ZSL 0x113
#define HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS 0x114
#define HAL_PIXEL_FORMAT_BGR_565 0x115
#define HAL_PIXEL_FORMAT_RAW8 0x123
#define HAL_PIXEL_FORMAT_NV12_HEIF 0x116
// 10 bit
#define HAL_PIXEL_FORMAT_ARGB_2101010 0x117
#define HAL_PIXEL_FORMAT_RGBX_1010102 0x118
#define HAL_PIXEL_FORMAT_XRGB_2101010 0x119
#define HAL_PIXEL_FORMAT_BGRA_1010102 0x11A
#define HAL_PIXEL_FORMAT_ABGR_2101010 0x11B
#define HAL_PIXEL_FORMAT_BGRX_1010102 0x11C
#define HAL_PIXEL_FORMAT_XBGR_2101010 0x11D
#define HAL_PIXEL_FORMAT_YCbCr_420_P010 0x36 // HAL_PIXEL_FORMAT_YCBCR_P010
#define HAL_PIXEL_FORMAT_YCbCr_420_P010_UBWC 0x124
#define HAL_PIXEL_FORMAT_YCbCr_420_P010_VENUS 0x7FA30C0A
#define HAL_PIXEL_FORMAT_CbYCrY_422_I 0x120
#define HAL_PIXEL_FORMAT_BGR_888 0x121
#define HAL_PIXEL_FORMAT_INTERLACE 0x180
// Camera utils format
#define HAL_PIXEL_FORMAT_NV12_LINEAR_FLEX 0x125
#define HAL_PIXEL_FORMAT_NV12_UBWC_FLEX 0x126
#define HAL_PIXEL_FORMAT_MULTIPLANAR_FLEX 0x127
#define HAL_PIXEL_FORMAT_NV12_UBWC_FLEX_2_BATCH 0x128
#define HAL_PIXEL_FORMAT_NV12_UBWC_FLEX_4_BATCH 0x129
#define HAL_PIXEL_FORMAT_NV12_UBWC_FLEX_8_BATCH 0x130
// FSC Formats
#define HAL_PIXEL_FORMAT_RGB888_UBWC_FSC 0x131
#define HAL_PIXEL_FORMAT_RGB101010_UBWC_FSC 0x132
// v4l2_fourcc('Y', 'U', 'Y', 'L'). 24 bpp YUYV 4:2:2 10 bit per component
#define HAL_PIXEL_FORMAT_YCbCr_422_I_10BIT 0x4C595559
// v4l2_fourcc('Y', 'B', 'W', 'C'). 10 bit per component. This compressed
// format reduces the memory access bandwidth
#define HAL_PIXEL_FORMAT_YCbCr_422_I_10BIT_COMPRESSED 0x43574259
// UBWC aligned Venus format
#define HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS_UBWC 0x7FA30C06
#define HAL_PIXEL_FORMAT_YCbCr_420_TP10_UBWC 0x7FA30C09
// Khronos ASTC formats
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
#define HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
#define HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
enum { BUFFER_TYPE_UI = 0, BUFFER_TYPE_VIDEO };
#endif //__QTIGRALLOCDEFS_H__
@@ -1,86 +0,0 @@
/*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include <hidl/HidlSupport.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
#include <utils/NativeHandle.h>
#include "types/common.h"
using namespace android::hardware;
using namespace android;
/* Simplified version of hidl::base::V1_0::IBase */
struct IBase : virtual public RefBase {
virtual bool isRemote() const;
using interfaceChain_cb = std::function<void(const hidl_vec<hidl_string>& descriptors)>;
virtual Return<void> interfaceChain(interfaceChain_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) {
ALOGE("%s", __func__);
std::terminate();
}
using interfaceDescriptor_cb = std::function<void(const hidl_string& descriptor)>;
virtual Return<void> interfaceDescriptor(interfaceDescriptor_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
using getHashChain_cb = std::function<void(const hidl_vec<hidl_array<uint8_t, 32>>& hashchain)>;
virtual Return<void> getHashChain(getHashChain_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<void> setHALInstrumentation() {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<bool> linkToDeath(const sp<hidl_death_recipient>& recipient, uint64_t cookie) {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<void> ping() {
ALOGE("%s", __func__);
std::terminate();
}
using getDebugInfo_cb = std::function<void(const hidl::base::V1_0::DebugInfo& info)>;
virtual Return<void> getDebugInfo(getDebugInfo_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<void> notifySyspropsChanged() {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<bool> unlinkToDeath(const sp<hidl_death_recipient>& recipient) {
ALOGE("%s", __func__);
std::terminate();
}
};
@@ -1,344 +0,0 @@
/*
* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#include "gr_adreno_info.h"
#include <cutils/properties.h>
#include <dlfcn.h>
#include <log/log.h>
#include <mutex>
#include "gr_utils.h"
#include "gralloc_priv.h"
using std::lock_guard;
using std::mutex;
namespace gralloc {
AdrenoMemInfo* AdrenoMemInfo::s_instance = nullptr;
AdrenoMemInfo* AdrenoMemInfo::GetInstance() {
static mutex s_lock;
lock_guard<mutex> obj(s_lock);
if (!s_instance) {
s_instance = new AdrenoMemInfo();
}
return s_instance;
}
AdrenoMemInfo::AdrenoMemInfo() {
libadreno_utils_ = ::dlopen("libadreno_utils.so", RTLD_NOW);
if (libadreno_utils_) {
*reinterpret_cast<void**>(&LINK_adreno_compute_aligned_width_and_height) =
::dlsym(libadreno_utils_, "compute_aligned_width_and_height");
*reinterpret_cast<void**>(&LINK_adreno_compute_fmt_aligned_width_and_height) =
::dlsym(libadreno_utils_, "compute_fmt_aligned_width_and_height");
*reinterpret_cast<void**>(&LINK_adreno_compute_padding) =
::dlsym(libadreno_utils_, "compute_surface_padding");
*reinterpret_cast<void**>(&LINK_adreno_compute_compressedfmt_aligned_width_and_height) =
::dlsym(libadreno_utils_, "compute_compressedfmt_aligned_width_and_height");
*reinterpret_cast<void**>(&LINK_adreno_isUBWCSupportedByGpu) =
::dlsym(libadreno_utils_, "isUBWCSupportedByGpu");
*reinterpret_cast<void**>(&LINK_adreno_get_gpu_pixel_alignment) =
::dlsym(libadreno_utils_, "get_gpu_pixel_alignment");
*reinterpret_cast<void**>(&LINK_adreno_get_metadata_blob_size) =
::dlsym(libadreno_utils_, "adreno_get_metadata_blob_size");
*reinterpret_cast<void**>(&LINK_adreno_init_memory_layout) =
::dlsym(libadreno_utils_, "adreno_init_memory_layout");
*reinterpret_cast<void**>(&LINK_adreno_get_aligned_gpu_buffer_size) =
::dlsym(libadreno_utils_, "adreno_get_aligned_gpu_buffer_size");
} else {
ALOGE(" Failed to load libadreno_utils.so");
}
// Check if the overriding property debug.gralloc.gfx_ubwc_disable
// that disables UBWC allocations for the graphics stack is set
char property[PROPERTY_VALUE_MAX];
property_get(DISABLE_UBWC_PROP, property, "0");
if (!(strncmp(property, "1", PROPERTY_VALUE_MAX)) ||
!(strncmp(property, "true", PROPERTY_VALUE_MAX))) {
gfx_ubwc_disable_ = true;
}
property_get(DISABLE_AHARDWAREBUFFER_PROP, property, "0");
if (!(strncmp(property, "1", PROPERTY_VALUE_MAX)) ||
!(strncmp(property, "true", PROPERTY_VALUE_MAX))) {
gfx_ahardware_buffer_disable_ = true;
}
}
AdrenoMemInfo::~AdrenoMemInfo() {
if (libadreno_utils_) {
::dlclose(libadreno_utils_);
}
}
void AdrenoMemInfo::AlignUnCompressedRGB(int width, int height, int format, int tile_enabled,
unsigned int* aligned_w, unsigned int* aligned_h) {
*aligned_w = (unsigned int)ALIGN(width, 32);
*aligned_h = (unsigned int)ALIGN(height, 32);
int bpp = 4;
switch (format) {
case HAL_PIXEL_FORMAT_RGB_888:
case HAL_PIXEL_FORMAT_BGR_888:
bpp = 3;
break;
case HAL_PIXEL_FORMAT_RGB_565:
case HAL_PIXEL_FORMAT_BGR_565:
case HAL_PIXEL_FORMAT_RGBA_5551:
case HAL_PIXEL_FORMAT_RGBA_4444:
bpp = 2;
break;
default:
break;
}
int raster_mode = 0; // Adreno unknown raster mode.
int padding_threshold = 512; // Threshold for padding surfaces.
// the function below computes aligned width and aligned height
// based on linear or macro tile mode selected.
if (LINK_adreno_compute_fmt_aligned_width_and_height) {
// We call into adreno_utils only for RGB formats. So plane_id is 0 and
// num_samples is 1 always. We may have to add uitility function to
// find out these if there is a need to call this API for YUV formats.
LINK_adreno_compute_fmt_aligned_width_and_height(
width, height, 0 /*plane_id*/, GetGpuPixelFormat(format), 1 /*num_samples*/, tile_enabled,
raster_mode, padding_threshold, reinterpret_cast<int*>(aligned_w),
reinterpret_cast<int*>(aligned_h));
} else if (LINK_adreno_compute_aligned_width_and_height) {
LINK_adreno_compute_aligned_width_and_height(
width, height, bpp, tile_enabled, raster_mode, padding_threshold,
reinterpret_cast<int*>(aligned_w), reinterpret_cast<int*>(aligned_h));
} else if (LINK_adreno_compute_padding) {
int surface_tile_height = 1; // Linear surface
*aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode,
padding_threshold));
ALOGW("%s: Warning!! Old GFX API is used to calculate stride", __FUNCTION__);
} else {
ALOGW(
"%s: Warning!! Symbols compute_surface_padding and "
"compute_fmt_aligned_width_and_height and "
"compute_aligned_width_and_height not found",
__FUNCTION__);
}
}
void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int* aligned_w,
unsigned int* aligned_h) {
if (LINK_adreno_compute_compressedfmt_aligned_width_and_height) {
int bytesPerPixel = 0;
int raster_mode = 0; // Adreno unknown raster mode.
int padding_threshold = 512; // Threshold for padding
// surfaces.
LINK_adreno_compute_compressedfmt_aligned_width_and_height(
width, height, format, 0, raster_mode, padding_threshold, reinterpret_cast<int*>(aligned_w),
reinterpret_cast<int*>(aligned_h), &bytesPerPixel);
} else {
*aligned_w = (unsigned int)ALIGN(width, 32);
*aligned_h = (unsigned int)ALIGN(height, 32);
ALOGW("%s: Warning!! compute_compressedfmt_aligned_width_and_height not found", __FUNCTION__);
}
}
bool AdrenoMemInfo::IsUBWCSupportedByGPU(int format) {
if (!gfx_ubwc_disable_ && LINK_adreno_isUBWCSupportedByGpu) {
ADRENOPIXELFORMAT gpu_format = GetGpuPixelFormat(format);
return LINK_adreno_isUBWCSupportedByGpu(gpu_format);
}
return false;
}
uint32_t AdrenoMemInfo::GetGpuPixelAlignment() {
if (LINK_adreno_get_gpu_pixel_alignment) {
return LINK_adreno_get_gpu_pixel_alignment();
}
return 1;
}
ADRENOPIXELFORMAT AdrenoMemInfo::GetGpuPixelFormat(int hal_format) {
switch (hal_format) {
case HAL_PIXEL_FORMAT_RGBA_8888:
return ADRENO_PIXELFORMAT_R8G8B8A8;
case HAL_PIXEL_FORMAT_RGBX_8888:
return ADRENO_PIXELFORMAT_R8G8B8X8;
case HAL_PIXEL_FORMAT_BGRA_8888:
return ADRENO_PIXELFORMAT_B8G8R8A8_UNORM;
case HAL_PIXEL_FORMAT_RGB_888:
return ADRENO_PIXELFORMAT_R8G8B8;
case HAL_PIXEL_FORMAT_RGB_565:
return ADRENO_PIXELFORMAT_B5G6R5;
case HAL_PIXEL_FORMAT_BGR_565:
return ADRENO_PIXELFORMAT_R5G6B5;
case HAL_PIXEL_FORMAT_RGBA_5551:
return ADRENO_PIXELFORMAT_R5G5B5A1;
case HAL_PIXEL_FORMAT_RGBA_4444:
return ADRENO_PIXELFORMAT_R4G4B4A4;
case HAL_PIXEL_FORMAT_RGBA_1010102:
return ADRENO_PIXELFORMAT_R10G10B10A2_UNORM;
case HAL_PIXEL_FORMAT_RGBX_1010102:
return ADRENO_PIXELFORMAT_R10G10B10X2_UNORM;
case HAL_PIXEL_FORMAT_ABGR_2101010:
return ADRENO_PIXELFORMAT_A2B10G10R10_UNORM;
case HAL_PIXEL_FORMAT_RGBA_FP16:
return ADRENO_PIXELFORMAT_R16G16B16A16_FLOAT;
case HAL_PIXEL_FORMAT_NV12_ENCODEABLE:
return ADRENO_PIXELFORMAT_NV12;
case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS:
case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS_UBWC:
return ADRENO_PIXELFORMAT_NV12_EXT;
case HAL_PIXEL_FORMAT_YCbCr_420_TP10_UBWC:
return ADRENO_PIXELFORMAT_TP10;
case HAL_PIXEL_FORMAT_YCbCr_420_P010:
case HAL_PIXEL_FORMAT_YCbCr_420_P010_UBWC:
case HAL_PIXEL_FORMAT_YCbCr_420_P010_VENUS:
return ADRENO_PIXELFORMAT_P010;
case HAL_PIXEL_FORMAT_DEPTH_16:
return ADRENO_PIXELFORMAT_D16_UNORM;
case HAL_PIXEL_FORMAT_DEPTH_24:
return ADRENO_PIXELFORMAT_D24_UNORM_X8_UINT;
case HAL_PIXEL_FORMAT_DEPTH_24_STENCIL_8:
return ADRENO_PIXELFORMAT_D24_UNORM_S8_UINT;
case HAL_PIXEL_FORMAT_DEPTH_32F:
return ADRENO_PIXELFORMAT_D32_FLOAT;
case HAL_PIXEL_FORMAT_STENCIL_8:
return ADRENO_PIXELFORMAT_S8_UINT;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_4x4_KHR:
return ADRENO_PIXELFORMAT_ASTC_4X4;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:
return ADRENO_PIXELFORMAT_ASTC_4X4_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_5x4_KHR:
return ADRENO_PIXELFORMAT_ASTC_5X4;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:
return ADRENO_PIXELFORMAT_ASTC_5X4_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_5x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_5X5;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_5X5_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_6x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_6X5;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_6X5_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_6x6_KHR:
return ADRENO_PIXELFORMAT_ASTC_6X6;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:
return ADRENO_PIXELFORMAT_ASTC_6X6_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_8X5;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_8X5_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x6_KHR:
return ADRENO_PIXELFORMAT_ASTC_8X6;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:
return ADRENO_PIXELFORMAT_ASTC_8X6_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x8_KHR:
return ADRENO_PIXELFORMAT_ASTC_8X8;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:
return ADRENO_PIXELFORMAT_ASTC_8X8_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X5;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X5_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x6_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X6;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X6_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x8_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X8;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X8_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x10_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X10;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:
return ADRENO_PIXELFORMAT_ASTC_10X10_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_12x10_KHR:
return ADRENO_PIXELFORMAT_ASTC_12X10;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:
return ADRENO_PIXELFORMAT_ASTC_12X10_SRGB;
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_12x12_KHR:
return ADRENO_PIXELFORMAT_ASTC_12X12;
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:
return ADRENO_PIXELFORMAT_ASTC_12X12_SRGB;
default:
ALOGE("%s: No map for format: 0x%x", __FUNCTION__, hal_format);
break;
}
return ADRENO_PIXELFORMAT_UNKNOWN;
}
uint32_t AdrenoMemInfo::AdrenoGetMetadataBlobSize() {
if (LINK_adreno_get_metadata_blob_size) {
return LINK_adreno_get_metadata_blob_size();
}
return 0;
}
int AdrenoMemInfo::AdrenoInitMemoryLayout(void* metadata_blob, int width, int height, int depth,
int format, int num_samples, int isUBWC, uint64_t usage,
uint32_t num_planes) {
if (LINK_adreno_init_memory_layout) {
surface_tile_mode_t tile_mode = static_cast<surface_tile_mode_t>(isUBWC);
return LINK_adreno_init_memory_layout(metadata_blob, width, height, depth,
GetGpuPixelFormat(format), num_samples, tile_mode, usage,
num_planes);
}
return -1;
}
uint32_t AdrenoMemInfo::AdrenoGetAlignedGpuBufferSize(void* metadata_blob) {
if (LINK_adreno_get_aligned_gpu_buffer_size) {
return LINK_adreno_get_aligned_gpu_buffer_size(metadata_blob);
}
return -1;
}
bool AdrenoMemInfo::AdrenoSizeAPIAvaliable() {
if (gfx_ahardware_buffer_disable_) {
return false;
}
return (LINK_adreno_get_metadata_blob_size && LINK_adreno_init_memory_layout &&
LINK_adreno_get_aligned_gpu_buffer_size);
}
bool AdrenoMemInfo::IsPISupportedByGPU(int format, uint64_t usage) {
if (LINK_adreno_isPISupportedByGpu) {
return LINK_adreno_isPISupportedByGpu(format, usage);
}
return false;
}
} // namespace gralloc
@@ -1,234 +0,0 @@
/*
* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#ifndef __GR_ADRENO_INFO_H__
#define __GR_ADRENO_INFO_H__
#include <stddef.h>
#include <stdint.h>
namespace gralloc {
// Adreno Pixel Formats
typedef enum {
ADRENO_PIXELFORMAT_UNKNOWN = 0,
ADRENO_PIXELFORMAT_R16G16B16A16_FLOAT = 10,
ADRENO_PIXELFORMAT_R10G10B10A2_UNORM = 24, // Vertex, Normalized GL_UNSIGNED_INT_10_10_10_2_OES
ADRENO_PIXELFORMAT_R8G8B8A8 = 28,
ADRENO_PIXELFORMAT_R8G8B8A8_SRGB = 29,
ADRENO_PIXELFORMAT_D32_FLOAT = 40,
ADRENO_PIXELFORMAT_D24_UNORM_S8_UINT = 45,
ADRENO_PIXELFORMAT_D16_UNORM = 55,
ADRENO_PIXELFORMAT_B5G6R5 = 85,
ADRENO_PIXELFORMAT_B5G5R5A1 = 86,
ADRENO_PIXELFORMAT_B8G8R8A8_UNORM = 87,
ADRENO_PIXELFORMAT_B8G8R8A8 = 90,
ADRENO_PIXELFORMAT_B8G8R8A8_SRGB = 91,
ADRENO_PIXELFORMAT_B8G8R8X8_SRGB = 93,
ADRENO_PIXELFORMAT_NV12 = 103,
ADRENO_PIXELFORMAT_P010 = 104,
ADRENO_PIXELFORMAT_YUY2 = 107,
ADRENO_PIXELFORMAT_B4G4R4A4 = 115,
ADRENO_PIXELFORMAT_NV12_EXT = 506, // NV12 with non-std alignment and offsets
ADRENO_PIXELFORMAT_R8G8B8X8 = 507, // GL_RGB8 (Internal)
ADRENO_PIXELFORMAT_R8G8B8 = 508, // GL_RGB8
ADRENO_PIXELFORMAT_A1B5G5R5 = 519, // GL_RGB5_A1
ADRENO_PIXELFORMAT_R8G8B8X8_SRGB = 520, // GL_SRGB8
ADRENO_PIXELFORMAT_R8G8B8_SRGB = 521, // GL_SRGB8
ADRENO_PIXELFORMAT_A2B10G10R10_UNORM = 532,
// Vertex, Normalized GL_UNSIGNED_INT_10_10_10_2_OES
ADRENO_PIXELFORMAT_R10G10B10X2_UNORM = 537,
ADRENO_PIXELFORMAT_D24_UNORM_X8_UINT = 548,
ADRENO_PIXELFORMAT_D24_UNORM = 549,
ADRENO_PIXELFORMAT_D32_FLOAT_X24S8_UINT = 551,
ADRENO_PIXELFORMAT_S8_UINT = 552,
ADRENO_PIXELFORMAT_ASTC_4X4 = 568, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_5X4 = 569, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_5X5 = 570, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_6X5 = 571, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_6X6 = 572, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_8X5 = 573, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_8X6 = 574, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_8X8 = 575, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X5 = 576, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X6 = 577, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X8 = 578, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X10 = 579, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_12X10 = 580, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_12X12 = 581, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_4X4_SRGB = 582, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_5X4_SRGB = 583, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_5X5_SRGB = 584, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_6X5_SRGB = 585, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_6X6_SRGB = 586, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_8X5_SRGB = 587, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_8X6_SRGB = 588, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_8X8_SRGB = 589, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X5_SRGB = 590, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X6_SRGB = 591, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X8_SRGB = 592, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_10X10_SRGB = 593, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_12X10_SRGB = 594, // ASTC Compressed
ADRENO_PIXELFORMAT_ASTC_12X12_SRGB = 595, // ASTC Compressed
// Vertex, Normalized GL_UNSIGNED_INT_10_10_10_2_OES
ADRENO_PIXELFORMAT_R5G6B5 = 610, // RGBA version of B5G6R5
ADRENO_PIXELFORMAT_R5G5B5A1 = 611, // RGBA version of B5G5R5A1
ADRENO_PIXELFORMAT_R4G4B4A4 = 612, // RGBA version of B4G4R4A4
ADRENO_PIXELFORMAT_UYVY = 614, // YUV 4:2:2 packed progressive (1 plane)
ADRENO_PIXELFORMAT_NV21 = 619,
ADRENO_PIXELFORMAT_Y8U8V8A8 = 620, // YUV 4:4:4 packed (1 plane)
ADRENO_PIXELFORMAT_Y8 = 625, // Single 8-bit luma only channel YUV format
ADRENO_PIXELFORMAT_TP10 = 654, // YUV 4:2:0 planar 10 bits/comp (2 planes)
} ADRENOPIXELFORMAT;
typedef enum {
SURFACE_TILE_MODE_DISABLE = 0x0, // used for linear surface
SURFACE_TILE_MODE_ENABLE = 0x1 // used for tiled surface
} surface_tile_mode_t;
class AdrenoMemInfo {
public:
/*
* Function to compute aligned width and aligned height based on
* width, height, format and usage flags.
*
* @return aligned width, aligned height
*/
void GetAlignedWidthAndHeight(int width, int height, int format, int usage,
unsigned int* aligned_w, unsigned int* aligned_h, bool ubwc_enabled,
bool tile_enabled);
/*
* Function to compute the adreno aligned width and aligned height
* based on the width and format.
*
* @return aligned width, aligned height
*/
void AlignUnCompressedRGB(int width, int height, int format, int tileEnabled,
unsigned int* aligned_w, unsigned int* aligned_h);
/*
* Function to compute the adreno aligned width and aligned height
* based on the width and format.
*
* @return aligned width, aligned height
*/
void AlignCompressedRGB(int width, int height, int format, unsigned int* aligned_w,
unsigned int* aligned_h);
/*
* Function to compute the pixel alignment requirement.
*
* @return alignment
*/
uint32_t GetGpuPixelAlignment();
/*
* Function to query whether GPU supports UBWC for given HAL format
* @return > 0 : supported
* 0 : not supported
*/
bool IsUBWCSupportedByGPU(int format);
/*
* Function to check if GPU supports PI or not
*/
bool IsPISupportedByGPU(int format, uint64_t usage);
/*
* Function to get the corresponding Adreno format for given HAL format
*/
ADRENOPIXELFORMAT GetGpuPixelFormat(int hal_format);
/*
* Function to get graphics metadata blob size
* @return graphics metadata size
*/
uint32_t AdrenoGetMetadataBlobSize();
/*
* Function to populate the graphics metadata blob
* @return 1 : Successful
* 2 : Unsuccessful
*/
int AdrenoInitMemoryLayout(void* metadata_blob, int width, int height, int depth, int format,
int num_samples, int isUBWC, uint64_t usage, uint32_t num_planes);
/*
* Function to get buffer size for based on graphcis metadata
* @return buffer size
*/
uint32_t AdrenoGetAlignedGpuBufferSize(void* metadata_blob);
/*
* Function to check if adreno size calculation APIs are avaliable
* @return true : Avaliable
* false : Unavaliable
*/
bool AdrenoSizeAPIAvaliable();
static AdrenoMemInfo* GetInstance();
private:
AdrenoMemInfo();
~AdrenoMemInfo();
// link(s)to adreno surface padding library.
int (*LINK_adreno_compute_padding)(int width, int bpp, int surface_tile_height,
int screen_tile_height, int padding_threshold) = NULL;
void (*LINK_adreno_compute_aligned_width_and_height)(int width, int height, int bpp,
int tile_mode, int raster_mode,
int padding_threshold, int* aligned_w,
int* aligned_h) = NULL;
void (*LINK_adreno_compute_fmt_aligned_width_and_height)(int width, int height, int plane_id,
int format, int num_samples,
int tile_mode, int raster_mode,
int padding_threshold, int* aligned_w,
int* aligned_h) = NULL;
void (*LINK_adreno_compute_compressedfmt_aligned_width_and_height)(
int width, int height, int format, int tile_mode, int raster_mode, int padding_threshold,
int* aligned_w, int* aligned_h, int* bpp) = NULL;
int (*LINK_adreno_isUBWCSupportedByGpu)(ADRENOPIXELFORMAT format) = NULL;
unsigned int (*LINK_adreno_get_gpu_pixel_alignment)() = NULL;
uint32_t (*LINK_adreno_get_metadata_blob_size)() = NULL;
int (*LINK_adreno_init_memory_layout)(void* metadata_blob, int width, int height, int depth,
ADRENOPIXELFORMAT format, int num_samples,
surface_tile_mode_t tile_mode, uint64_t usage,
uint32_t num_planes) = NULL;
uint32_t (*LINK_adreno_get_aligned_gpu_buffer_size)(void* metadata_blob) = NULL;
int (*LINK_adreno_isPISupportedByGpu)(int format, uint64_t usage) = NULL;
bool gfx_ubwc_disable_ = false;
bool gfx_ahardware_buffer_disable_ = false;
void* libadreno_utils_ = NULL;
static AdrenoMemInfo* s_instance;
};
} // namespace gralloc
#endif // __GR_ADRENO_INFO_H__
@@ -1,190 +0,0 @@
/*
* Copyright (c) 2011-2019, The Linux Foundation. All rights reserved.
* Not a Contribution
*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __GR_PRIV_HANDLE_H__
#define __GR_PRIV_HANDLE_H__
#include <hardware/gralloc.h>
#include <hardware/gralloc1.h>
#include <log/log.h>
#ifdef __cplusplus
#include <cinttypes>
#endif
#define GRALLOC1_FUNCTION_PERFORM 0x00001000
#define DBG_HANDLE false
typedef gralloc1_error_t (*GRALLOC1_PFN_PERFORM)(gralloc1_device_t* device, int operation, ...);
#define PRIV_HANDLE_CONST(exp) static_cast<const private_handle_t*>(exp)
#pragma pack(push, 4)
#ifdef __cplusplus
struct private_handle_t : public native_handle_t {
#else
struct private_handle_t {
native_handle_t nativeHandle;
#endif
enum {
PRIV_FLAGS_FRAMEBUFFER = 0x00000001,
PRIV_FLAGS_USES_ION = 0x00000008,
PRIV_FLAGS_NEEDS_FLUSH = 0x00000020,
PRIV_FLAGS_INTERNAL_ONLY = 0x00000040,
PRIV_FLAGS_NON_CPU_WRITER = 0x00000080,
PRIV_FLAGS_CACHED = 0x00000200,
PRIV_FLAGS_SECURE_BUFFER = 0x00000400,
PRIV_FLAGS_EXTERNAL_ONLY = 0x00002000,
PRIV_FLAGS_PROTECTED_BUFFER = 0x00004000,
PRIV_FLAGS_VIDEO_ENCODER = 0x00010000,
PRIV_FLAGS_CAMERA_WRITE = 0x00020000,
PRIV_FLAGS_CAMERA_READ = 0x00040000,
PRIV_FLAGS_HW_COMPOSER = 0x00080000,
PRIV_FLAGS_HW_TEXTURE = 0x00100000,
PRIV_FLAGS_ITU_R_601 = 0x00200000, // Unused from display
PRIV_FLAGS_ITU_R_601_FR = 0x00400000, // Unused from display
PRIV_FLAGS_ITU_R_709 = 0x00800000, // Unused from display
PRIV_FLAGS_SECURE_DISPLAY = 0x01000000,
PRIV_FLAGS_TILE_RENDERED = 0x02000000,
PRIV_FLAGS_CPU_RENDERED = 0x04000000,
PRIV_FLAGS_UBWC_ALIGNED = 0x08000000,
PRIV_FLAGS_DISP_CONSUMER = 0x10000000,
PRIV_FLAGS_CLIENT_ALLOCATED = 0x20000000, // Ion buffer allocated outside of gralloc
PRIV_FLAGS_UBWC_ALIGNED_PI = 0x40000000, // PI format
};
// file-descriptors dup'd over IPC
int fd;
int fd_metadata;
// values sent over IPC
int magic;
int flags;
int width; // holds width of the actual buffer allocated
int height; // holds height of the actual buffer allocated
int unaligned_width; // holds width client asked to allocate
int unaligned_height; // holds height client asked to allocate
int format;
int buffer_type;
unsigned int layer_count;
uint64_t id;
uint64_t usage;
unsigned int size;
unsigned int offset;
unsigned int offset_metadata;
uint64_t base;
uint64_t base_metadata;
uint64_t gpuaddr;
#ifdef __cplusplus
static const int kNumFds = 2;
static const int kMagic = 'gmsm';
static inline int NumInts() {
return ((sizeof(private_handle_t) - sizeof(native_handle_t)) / sizeof(int)) - kNumFds;
}
private_handle_t(int fd, int meta_fd, int flags, int width, int height, int uw, int uh,
int format, int buf_type, unsigned int size, uint64_t usage = 0)
: fd(fd),
fd_metadata(meta_fd),
magic(kMagic),
flags(flags),
width(width),
height(height),
unaligned_width(uw),
unaligned_height(uh),
format(format),
buffer_type(buf_type),
layer_count(1),
id(0),
usage(usage),
size(size),
offset(0),
offset_metadata(0),
base(0),
base_metadata(0),
gpuaddr(0) {
version = static_cast<int>(sizeof(native_handle));
numInts = NumInts();
numFds = kNumFds;
}
// Legacy constructor used by some clients
private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h)
: private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
static_cast<uint64_t>(usage)) {}
~private_handle_t() {
magic = 0;
ALOGE_IF(DBG_HANDLE, "Deleting buffer handle %p", this);
}
static int validate(const native_handle* h) {
auto* hnd = static_cast<const private_handle_t*>(h);
if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() ||
h->numFds != kNumFds) {
ALOGE("Invalid gralloc handle (at %p): ver(%d/%zu) ints(%d/%d) fds(%d/%d)", h,
h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(),
h ? h->numFds : -1, kNumFds);
return -EINVAL;
}
if (hnd->magic != kMagic) {
ALOGE("handle = %p invalid magic(%c%c%c%c/%c%c%c%c)", hnd,
hnd ? (((hnd->magic >> 24) & 0xFF) ? ((hnd->magic >> 24) & 0xFF) : '-') : '?',
hnd ? (((hnd->magic >> 16) & 0xFF) ? ((hnd->magic >> 16) & 0xFF) : '-') : '?',
hnd ? (((hnd->magic >> 8) & 0xFF) ? ((hnd->magic >> 8) & 0xFF) : '-') : '?',
hnd ? (((hnd->magic >> 0) & 0xFF) ? ((hnd->magic >> 0) & 0xFF) : '-') : '?',
(kMagic >> 24) & 0xFF, (kMagic >> 16) & 0xFF, (kMagic >> 8) & 0xFF,
(kMagic >> 0) & 0xFF);
return -EINVAL;
}
return 0;
}
static void Dump(const private_handle_t* hnd) {
ALOGD("handle id:%" PRIu64
" wxh:%dx%d uwxuh:%dx%d size: %d fd:%d fd_meta:%d flags:0x%x "
"usage:0x%" PRIx64 " format:0x%x layer_count: %d",
hnd->id, hnd->width, hnd->height, hnd->unaligned_width, hnd->unaligned_height, hnd->size,
hnd->fd, hnd->fd_metadata, hnd->flags, hnd->usage, hnd->format, hnd->layer_count);
}
int GetUnalignedWidth() const { return unaligned_width; }
int GetUnalignedHeight() const { return unaligned_height; }
int GetColorFormat() const { return format; }
unsigned int GetLayerCount() const { return layer_count; }
int GetStride() const {
// In handle we currently store aligned width after allocation.
return width;
}
uint64_t GetUsage() const { return usage; }
uint64_t GetBackingstore() const { return id; }
#endif
};
#pragma pack(pop)
#endif // __GR_PRIV_HANDLE_H__
@@ -1,662 +0,0 @@
/*
* Copyright (c) 2011-2019, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#include "gr_utils.h"
#include <algorithm>
#include "gr_adreno_info.h"
#define ASTC_BLOCK_SIZE 16
#ifndef COLOR_FMT_P010_UBWC
#define COLOR_FMT_P010_UBWC 9
#endif
namespace gralloc {
bool IsUncompressedRGBFormat(int format) {
switch (format) {
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_RGBX_8888:
case HAL_PIXEL_FORMAT_RGB_888:
case HAL_PIXEL_FORMAT_RGB_565:
case HAL_PIXEL_FORMAT_BGR_565:
case HAL_PIXEL_FORMAT_BGRA_8888:
case HAL_PIXEL_FORMAT_RGBA_5551:
case HAL_PIXEL_FORMAT_RGBA_4444:
case HAL_PIXEL_FORMAT_R_8:
case HAL_PIXEL_FORMAT_RG_88:
case HAL_PIXEL_FORMAT_BGRX_8888:
case HAL_PIXEL_FORMAT_RGBA_1010102:
case HAL_PIXEL_FORMAT_ARGB_2101010:
case HAL_PIXEL_FORMAT_RGBX_1010102:
case HAL_PIXEL_FORMAT_XRGB_2101010:
case HAL_PIXEL_FORMAT_BGRA_1010102:
case HAL_PIXEL_FORMAT_ABGR_2101010:
case HAL_PIXEL_FORMAT_BGRX_1010102:
case HAL_PIXEL_FORMAT_XBGR_2101010:
case HAL_PIXEL_FORMAT_RGBA_FP16:
case HAL_PIXEL_FORMAT_BGR_888:
return true;
default:
break;
}
return false;
}
bool IsCompressedRGBFormat(int format) {
switch (format) {
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_4x4_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_5x4_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_5x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_6x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_6x6_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x6_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_8x8_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x6_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x8_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_10x10_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_12x10_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_RGBA_ASTC_12x12_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:
return true;
default:
break;
}
return false;
}
uint32_t GetBppForUncompressedRGB(int format) {
uint32_t bpp = 0;
switch (format) {
case HAL_PIXEL_FORMAT_RGBA_FP16:
bpp = 8;
break;
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_RGBX_8888:
case HAL_PIXEL_FORMAT_BGRA_8888:
case HAL_PIXEL_FORMAT_BGRX_8888:
case HAL_PIXEL_FORMAT_RGBA_1010102:
case HAL_PIXEL_FORMAT_ARGB_2101010:
case HAL_PIXEL_FORMAT_RGBX_1010102:
case HAL_PIXEL_FORMAT_XRGB_2101010:
case HAL_PIXEL_FORMAT_BGRA_1010102:
case HAL_PIXEL_FORMAT_ABGR_2101010:
case HAL_PIXEL_FORMAT_BGRX_1010102:
case HAL_PIXEL_FORMAT_XBGR_2101010:
bpp = 4;
break;
case HAL_PIXEL_FORMAT_RGB_888:
case HAL_PIXEL_FORMAT_BGR_888:
bpp = 3;
break;
case HAL_PIXEL_FORMAT_RGB_565:
case HAL_PIXEL_FORMAT_BGR_565:
case HAL_PIXEL_FORMAT_RGBA_5551:
case HAL_PIXEL_FORMAT_RGBA_4444:
bpp = 2;
break;
default:
ALOGE("Error : %s New format request = 0x%x", __FUNCTION__, format);
break;
}
return bpp;
}
bool CpuCanAccess(uint64_t usage) {
return CpuCanRead(usage) || CpuCanWrite(usage);
}
bool CpuCanRead(uint64_t usage) {
if (usage & BufferUsage::CPU_READ_MASK) {
return true;
}
return false;
}
bool CpuCanWrite(uint64_t usage) {
if (usage & BufferUsage::CPU_WRITE_MASK) {
// Application intends to use CPU for rendering
return true;
}
return false;
}
uint32_t GetDataAlignment(int format, uint64_t usage) {
uint32_t align = UINT(getpagesize());
if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) {
align = SIZE_8K;
}
if (usage & BufferUsage::PROTECTED) {
if ((usage & BufferUsage::CAMERA_OUTPUT) || (usage & GRALLOC_USAGE_PRIVATE_SECURE_DISPLAY)) {
// The alignment here reflects qsee mmu V7L/V8L requirement
align = SZ_2M;
} else {
align = SECURE_ALIGN;
}
}
return align;
}
bool IsGPUFlagSupported(uint64_t usage) {
bool ret = true;
if ((usage & BufferUsage::GPU_MIPMAP_COMPLETE)) {
ALOGE("GPU_MIPMAP_COMPLETE not supported");
ret = false;
}
if ((usage & BufferUsage::GPU_CUBE_MAP)) {
ALOGE("GPU_CUBE_MAP not supported");
ret = false;
}
return ret;
}
// Returns the final buffer size meant to be allocated with ion
unsigned int GetSize(const BufferInfo& info, unsigned int alignedw, unsigned int alignedh) {
unsigned int size = 0;
int format = info.format;
int width = info.width;
int height = info.height;
uint64_t usage = info.usage;
if (!IsGPUFlagSupported(usage)) {
ALOGE("Unsupported GPU usage flags present 0x%" PRIx64, usage);
return 0;
}
if (IsUBwcEnabled(format, usage)) {
size = GetUBwcSize(width, height, format, alignedw, alignedh);
} else if (IsUncompressedRGBFormat(format)) {
uint32_t bpp = GetBppForUncompressedRGB(format);
size = alignedw * alignedh * bpp;
} else if (IsCompressedRGBFormat(format)) {
size = alignedw * alignedh * ASTC_BLOCK_SIZE;
} else {
// Below switch should be for only YUV/custom formats
switch (format) {
case HAL_PIXEL_FORMAT_RAW16:
case HAL_PIXEL_FORMAT_Y16:
size = alignedw * alignedh * 2;
break;
case HAL_PIXEL_FORMAT_RAW10:
case HAL_PIXEL_FORMAT_RAW12:
size = ALIGN(alignedw * alignedh, SIZE_4K);
break;
case HAL_PIXEL_FORMAT_RAW8:
case HAL_PIXEL_FORMAT_Y8:
size = alignedw * alignedh * 1;
break;
// adreno formats
case HAL_PIXEL_FORMAT_YCrCb_420_SP_ADRENO: // NV21
size = ALIGN(alignedw * alignedh, SIZE_4K);
size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K);
break;
case HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED: // NV12
// The chroma plane is subsampled,
// but the pitch in bytes is unchanged
// The GPU needs 4K alignment, but the video decoder needs 8K
size = ALIGN(alignedw * alignedh, SIZE_8K);
size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K);
break;
case HAL_PIXEL_FORMAT_YV12:
if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) {
ALOGE("w or h is odd for the YV12 format");
return 0;
}
size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2;
size = ALIGN(size, (unsigned int)SIZE_4K);
break;
case HAL_PIXEL_FORMAT_YCbCr_420_SP:
case HAL_PIXEL_FORMAT_YCrCb_420_SP:
size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K);
break;
case HAL_PIXEL_FORMAT_YCbCr_420_P010:
size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K);
break;
case HAL_PIXEL_FORMAT_YCbCr_422_SP:
case HAL_PIXEL_FORMAT_YCrCb_422_SP:
case HAL_PIXEL_FORMAT_YCbCr_422_I:
case HAL_PIXEL_FORMAT_YCrCb_422_I:
case HAL_PIXEL_FORMAT_CbYCrY_422_I:
if (width & 1) {
ALOGE("width is odd for the YUV422_SP format");
return 0;
}
size = ALIGN(alignedw * alignedh * 2, SIZE_4K);
break;
case HAL_PIXEL_FORMAT_BLOB:
case HAL_PIXEL_FORMAT_RAW_OPAQUE:
if (height != 1) {
ALOGE("%s: Buffers with HAL_PIXEL_FORMAT_BLOB must have height 1 ", __FUNCTION__);
return 0;
}
size = (unsigned int)width;
break;
case HAL_PIXEL_FORMAT_NV21_ZSL:
size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2, SIZE_4K);
break;
default:
ALOGE("%s: Unrecognized pixel format: 0x%x", __FUNCTION__, format);
return 0;
}
}
auto align = GetDataAlignment(format, usage);
size = ALIGN(size, align) * info.layer_count;
return size;
}
// Explicitly defined UBWC formats
bool IsUBwcFormat(int format) {
switch (format) {
case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS_UBWC:
case HAL_PIXEL_FORMAT_YCbCr_420_TP10_UBWC:
case HAL_PIXEL_FORMAT_YCbCr_420_P010_UBWC:
return true;
default:
return false;
}
}
bool IsUBwcSupported(int format) {
// Existing HAL formats with UBWC support
switch (format) {
case HAL_PIXEL_FORMAT_BGR_565:
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_RGBX_8888:
case HAL_PIXEL_FORMAT_NV12_ENCODEABLE:
case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS:
case HAL_PIXEL_FORMAT_RGBA_1010102:
case HAL_PIXEL_FORMAT_RGBX_1010102:
case HAL_PIXEL_FORMAT_DEPTH_16:
case HAL_PIXEL_FORMAT_DEPTH_24:
case HAL_PIXEL_FORMAT_DEPTH_24_STENCIL_8:
case HAL_PIXEL_FORMAT_DEPTH_32F:
case HAL_PIXEL_FORMAT_STENCIL_8:
return true;
default:
break;
}
return false;
}
bool IsUBwcPISupported(int format, uint64_t usage) {
if (usage & BufferUsage::COMPOSER_OVERLAY || !(usage & GRALLOC_USAGE_PRIVATE_ALLOC_UBWC_PI)) {
return false;
}
// As of now only two formats
switch (format) {
case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS_UBWC:
case HAL_PIXEL_FORMAT_YCbCr_420_TP10_UBWC: {
if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) {
if (AdrenoMemInfo::GetInstance()) {
return AdrenoMemInfo::GetInstance()->IsPISupportedByGPU(format, usage);
}
} else {
return true;
}
}
}
return false;
}
bool IsUBwcEnabled(int format, uint64_t usage) {
// Allow UBWC, if client is using an explicitly defined UBWC pixel format.
if (IsUBwcFormat(format)) {
return true;
}
// Allow UBWC, if an OpenGL client sets UBWC usage flag and GPU plus MDP
// support the format. OR if a non-OpenGL client like Rotator, sets UBWC
// usage flag and MDP supports the format.
if (((usage & GRALLOC_USAGE_PRIVATE_ALLOC_UBWC) ||
(usage & GRALLOC_USAGE_PRIVATE_ALLOC_UBWC_PI) ||
(usage & BufferUsage::COMPOSER_CLIENT_TARGET)) &&
IsUBwcSupported(format)) {
bool enable = true;
// Query GPU for UBWC only if buffer is intended to be used by GPU.
if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) {
if (AdrenoMemInfo::GetInstance()) {
enable = AdrenoMemInfo::GetInstance()->IsUBWCSupportedByGPU(format);
}
}
// Allow UBWC, only if CPU usage flags are not set
if (enable && !(CpuCanAccess(usage))) {
return true;
}
}
return false;
}
void GetRgbUBwcBlockSize(uint32_t bpp, int* block_width, int* block_height) {
*block_width = 0;
*block_height = 0;
switch (bpp) {
case 2:
case 4:
*block_width = 16;
*block_height = 4;
break;
case 8:
*block_width = 8;
*block_height = 4;
break;
case 16:
*block_width = 4;
*block_height = 4;
break;
default:
ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp);
break;
}
}
unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) {
unsigned int size = 0;
int meta_width, meta_height;
int block_width, block_height;
GetRgbUBwcBlockSize(bpp, &block_width, &block_height);
if (!block_width || !block_height) {
ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp);
return size;
}
// Align meta buffer height to 16 blocks
meta_height = ALIGN(((height + block_height - 1) / block_height), 16);
// Align meta buffer width to 64 blocks
meta_width = ALIGN(((width + block_width - 1) / block_width), 64);
// Align meta buffer size to 4K
size = (unsigned int)ALIGN((meta_width * meta_height), 4096);
return size;
}
unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
unsigned int alignedh) {
unsigned int size = 0;
uint32_t bpp = 0;
switch (format) {
case HAL_PIXEL_FORMAT_BGR_565:
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_RGBX_8888:
case HAL_PIXEL_FORMAT_RGBA_1010102:
case HAL_PIXEL_FORMAT_RGBX_1010102:
bpp = GetBppForUncompressedRGB(format);
size = alignedw * alignedh * bpp;
size += GetRgbUBwcMetaBufferSize(width, height, bpp);
break;
default:
ALOGE("%s: Unsupported pixel format: 0x%x", __FUNCTION__, format);
break;
}
return size;
}
unsigned int GetRgbMetaSize(int format, uint32_t width, uint32_t height, uint64_t usage) {
unsigned int meta_size = 0;
if (!IsUBwcEnabled(format, usage)) {
return meta_size;
}
uint32_t bpp = GetBppForUncompressedRGB(format);
switch (format) {
case HAL_PIXEL_FORMAT_BGR_565:
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_RGBX_8888:
case HAL_PIXEL_FORMAT_RGBA_1010102:
case HAL_PIXEL_FORMAT_RGBX_1010102:
case HAL_PIXEL_FORMAT_RGBA_FP16:
meta_size = GetRgbUBwcMetaBufferSize(width, height, bpp);
break;
default:
ALOGE("%s:Unsupported RGB format: 0x%x", __FUNCTION__, format);
break;
}
return meta_size;
}
bool CanUseAdrenoForSize(int buffer_type, uint64_t usage) {
if (buffer_type == BUFFER_TYPE_VIDEO || !GetAdrenoSizeAPIStatus()) {
return false;
}
if ((usage & BufferUsage::PROTECTED) &&
((usage & BufferUsage::CAMERA_OUTPUT) || (usage & GRALLOC_USAGE_PRIVATE_SECURE_DISPLAY))) {
return false;
}
return true;
}
bool GetAdrenoSizeAPIStatus() {
AdrenoMemInfo* adreno_mem_info = AdrenoMemInfo::GetInstance();
if (adreno_mem_info) {
return adreno_mem_info->AdrenoSizeAPIAvaliable();
}
return false;
}
bool UseUncached(int format, uint64_t usage) {
if ((usage & GRALLOC_USAGE_PRIVATE_UNCACHED) || (usage & BufferUsage::PROTECTED)) {
return true;
}
// CPU read rarely
if ((usage & BufferUsage::CPU_READ_MASK) == static_cast<uint64_t>(BufferUsage::CPU_READ_RARELY)) {
return true;
}
// CPU write rarely
if ((usage & BufferUsage::CPU_WRITE_MASK) ==
static_cast<uint64_t>(BufferUsage::CPU_WRITE_RARELY)) {
return true;
}
if ((usage & BufferUsage::SENSOR_DIRECT_DATA) || (usage & BufferUsage::GPU_DATA_BUFFER)) {
return true;
}
if (format && IsUBwcEnabled(format, usage)) {
return true;
}
return false;
}
uint64_t GetHandleFlags(int format, uint64_t usage) {
uint64_t priv_flags = 0;
if (usage & BufferUsage::VIDEO_ENCODER) {
priv_flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER;
}
if (usage & BufferUsage::CAMERA_OUTPUT) {
priv_flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE;
}
if (usage & BufferUsage::CAMERA_INPUT) {
priv_flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ;
}
if (usage & BufferUsage::COMPOSER_OVERLAY) {
priv_flags |= private_handle_t::PRIV_FLAGS_DISP_CONSUMER;
}
if (usage & BufferUsage::GPU_TEXTURE) {
priv_flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE;
}
if (usage & GRALLOC_USAGE_PRIVATE_SECURE_DISPLAY) {
priv_flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY;
}
if (IsUBwcEnabled(format, usage)) {
if (IsUBwcPISupported(format, usage)) {
priv_flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED_PI;
} else {
priv_flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED;
}
}
if (usage & (BufferUsage::CPU_READ_MASK | BufferUsage::CPU_WRITE_MASK)) {
priv_flags |= private_handle_t::PRIV_FLAGS_CPU_RENDERED;
}
if ((usage & (BufferUsage::VIDEO_ENCODER | BufferUsage::VIDEO_DECODER |
BufferUsage::CAMERA_OUTPUT | BufferUsage::GPU_RENDER_TARGET))) {
priv_flags |= private_handle_t::PRIV_FLAGS_NON_CPU_WRITER;
}
if (!UseUncached(format, usage)) {
priv_flags |= private_handle_t::PRIV_FLAGS_CACHED;
}
return priv_flags;
}
int GetImplDefinedFormat(uint64_t usage, int format) {
int gr_format = format;
// If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
// the usage bits, gralloc assigns a format.
if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED ||
format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
if ((usage & GRALLOC_USAGE_PRIVATE_ALLOC_UBWC || usage & GRALLOC_USAGE_PRIVATE_ALLOC_UBWC_PI) &&
format != HAL_PIXEL_FORMAT_YCbCr_420_888) {
gr_format = HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS_UBWC;
} else if (usage & BufferUsage::VIDEO_ENCODER) {
if (usage & GRALLOC_USAGE_PRIVATE_VIDEO_NV21_ENCODER) {
gr_format = HAL_PIXEL_FORMAT_NV21_ENCODEABLE; // NV21
} else if (usage & GRALLOC_USAGE_PRIVATE_HEIF) {
gr_format = HAL_PIXEL_FORMAT_NV12_HEIF;
} else if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
gr_format = HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS;
} else {
gr_format = HAL_PIXEL_FORMAT_NV12_ENCODEABLE; // NV12
}
} else if (usage & BufferUsage::CAMERA_INPUT) {
if (usage & BufferUsage::CAMERA_OUTPUT) {
// Assumed ZSL if both producer and consumer camera flags set
gr_format = HAL_PIXEL_FORMAT_NV21_ZSL; // NV21
} else {
gr_format = HAL_PIXEL_FORMAT_YCrCb_420_SP; // NV21
}
} else if (usage & BufferUsage::CAMERA_OUTPUT) {
if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
gr_format = HAL_PIXEL_FORMAT_NV21_ZSL; // NV21
} else {
gr_format = HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS; // NV12 preview
}
} else if (usage & BufferUsage::COMPOSER_OVERLAY) {
// XXX: If we still haven't set a format, default to RGBA8888
gr_format = HAL_PIXEL_FORMAT_RGBA_8888;
} else if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
// If no other usage flags are detected, default the
// flexible YUV format to NV21_ZSL
gr_format = HAL_PIXEL_FORMAT_NV21_ZSL;
}
}
return gr_format;
}
bool HasAlphaComponent(int32_t format) {
switch (format) {
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_BGRA_8888:
case HAL_PIXEL_FORMAT_RGBA_5551:
case HAL_PIXEL_FORMAT_RGBA_4444:
case HAL_PIXEL_FORMAT_RGBA_1010102:
case HAL_PIXEL_FORMAT_ARGB_2101010:
case HAL_PIXEL_FORMAT_BGRA_1010102:
case HAL_PIXEL_FORMAT_ABGR_2101010:
case HAL_PIXEL_FORMAT_RGBA_FP16:
return true;
default:
return false;
}
}
void GetRGBPlaneInfo(const BufferInfo& info, int32_t format, int32_t width, int32_t height,
int32_t /* flags */, int* plane_count, PlaneLayoutInfo* plane_info) {
uint64_t usage = info.usage;
*plane_count = 1;
uint32_t bpp = 0;
if (IsUncompressedRGBFormat(format)) {
bpp = GetBppForUncompressedRGB(format);
}
plane_info->component =
(PlaneComponent)(PLANE_COMPONENT_R | PLANE_COMPONENT_G | PLANE_COMPONENT_B);
if (HasAlphaComponent(format)) {
plane_info->component = (PlaneComponent)(plane_info->component | PLANE_COMPONENT_A);
}
plane_info->size = GetSize(info, width, height);
plane_info->step = bpp;
plane_info->offset = GetRgbMetaSize(format, width, height, usage);
plane_info->h_subsampling = 0;
plane_info->v_subsampling = 0;
plane_info->stride = width;
plane_info->stride_bytes = width * plane_info->step;
plane_info->scanlines = height;
}
} // namespace gralloc
@@ -1,156 +0,0 @@
/*
* Copyright (c) 2011-2016,2018-2019, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#ifndef __GR_UTILS_H__
#define __GR_UTILS_H__
#include "gralloc_priv.h"
#include "types/common.h"
#define SZ_2M 0x200000
#define SZ_1M 0x100000
#define SZ_4K 0x1000
#define SIZE_4K 4096
#define SIZE_8K 8192
#ifdef SLAVE_SIDE_CP
#define SECURE_ALIGN SZ_1M
#else // MASTER_SIDE_CP
#define SECURE_ALIGN SZ_4K
#endif
#define INT(exp) static_cast<int>(exp)
#define UINT(exp) static_cast<unsigned int>(exp)
using android::hardware::graphics::common::V1_1::BufferUsage;
namespace gralloc {
struct BufferInfo {
BufferInfo(int w, int h, int f, uint64_t usage = 0)
: width(w), height(h), format(f), layer_count(1), usage(usage) {}
int width;
int height;
int format;
int layer_count;
uint64_t usage;
};
template <class Type1, class Type2>
inline Type1 ALIGN(Type1 x, Type2 align) {
return (Type1)((x + (Type1)align - 1) & ~((Type1)align - 1));
}
enum PlaneComponent {
/* luma */
PLANE_COMPONENT_Y = 1 << 0,
/* chroma blue */
PLANE_COMPONENT_Cb = 1 << 1,
/* chroma red */
PLANE_COMPONENT_Cr = 1 << 2,
/* red */
PLANE_COMPONENT_R = 1 << 10,
/* green */
PLANE_COMPONENT_G = 1 << 11,
/* blue */
PLANE_COMPONENT_B = 1 << 12,
/* alpha */
PLANE_COMPONENT_A = 1 << 20,
/* raw data plane */
PLANE_COMPONENT_RAW = 1 << 30,
/* meta information plane */
PLANE_COMPONENT_META = 1 << 31,
};
struct PlaneLayoutInfo {
/** Components represented the type of plane. */
PlaneComponent component;
/** horizontal subsampling. Must be a positive power of 2. */
uint32_t h_subsampling;
/** vertical subsampling. Must be a positive power of 2. */
uint32_t v_subsampling;
/** offset to the first byte of the top-left pixel of the plane
* and it is calculated from the start of the buffer.
* Add base of the handle with offset to get the first byte of the plane.
*/
uint32_t offset;
/** step is the distance in bytes from one pixel value to the next. */
int32_t step;
/** stride of the plane in pixels */
int32_t stride;
/** stride of the plane in in bytes */
int32_t stride_bytes;
/** plane height or vertical stride */
int32_t scanlines;
/** size of the plane in bytes */
uint32_t size;
};
bool IsCompressedRGBFormat(int format);
bool IsUncompressedRGBFormat(int format);
uint32_t GetBppForUncompressedRGB(int format);
bool CpuCanAccess(uint64_t usage);
bool CpuCanRead(uint64_t usage);
bool CpuCanWrite(uint64_t usage);
unsigned int GetSize(const BufferInfo& d, unsigned int alignedw, unsigned int alignedh);
void GetRGBPlaneInfo(const BufferInfo& info, int32_t format, int32_t width, int32_t height,
int32_t flags, int* plane_count, PlaneLayoutInfo* plane_info);
unsigned int GetRgbMetaSize(int format, uint32_t width, uint32_t height, uint64_t usage);
bool IsUBwcFormat(int format);
bool IsUBwcSupported(int format);
bool IsUBwcPISupported(int format, uint64_t usage);
bool IsUBwcEnabled(int format, uint64_t usage);
void GetRgbUBwcBlockSize(uint32_t bpp, int* block_width, int* block_height);
unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp);
unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
unsigned int alignedh);
uint32_t GetDataAlignment(int format, uint64_t usage);
bool CanUseAdrenoForSize(int buffer_type, uint64_t usage);
bool GetAdrenoSizeAPIStatus();
bool UseUncached(int format, uint64_t usage);
uint64_t GetHandleFlags(int format, uint64_t usage);
int GetImplDefinedFormat(uint64_t usage, int format);
int GetCustomFormatFlags(int format, uint64_t usage, int* custom_format, uint64_t* priv_flags);
bool IsGPUFlagSupported(uint64_t usage);
bool HasAlphaComponent(int32_t format);
} // namespace gralloc
#endif // __GR_UTILS_H__
@@ -1,103 +0,0 @@
/*
* Copyright (c) 2011-2021, The Linux Foundation. All rights reserved.
* Not a Contribution
*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __GRALLOC_PRIV_H__
#define __GRALLOC_PRIV_H__
#include <errno.h>
#include <unistd.h>
#include "QtiGrallocDefs.h"
#include "gr_priv_handle.h"
//#pragma message "Warning: gralloc_priv.h is deprecated"
#define GRALLOC_PROP_PREFIX "vendor.gralloc."
#define GRALLOC_PROP(prop_name) GRALLOC_PROP_PREFIX prop_name
#define DISABLE_UBWC_PROP GRALLOC_PROP("disable_ubwc")
#define DISABLE_AHARDWAREBUFFER_PROP GRALLOC_PROP("disable_ahardware_buffer")
#define ENABLE_FB_UBWC_PROP GRALLOC_PROP("enable_fb_ubwc")
#define MAP_FB_MEMORY_PROP GRALLOC_PROP("map_fb_memory")
#define USE_SYSTEM_HEAP_FOR_SENSORS GRALLOC_PROP("use_system_heap_for_sensors")
#define ROUND_UP_PAGESIZE(x) roundUpToPageSize(x)
inline int roundUpToPageSize(int x) {
return (x + (getpagesize() - 1)) & ~(getpagesize() - 1);
}
/* Legacy gralloc1 definitions */
/* Some clients may still be using the old flags */
#define GRALLOC1_PRODUCER_USAGE_PRIVATE_ADSP_HEAP GRALLOC_USAGE_PRIVATE_ADSP_HEAP
#define GRALLOC1_PRODUCER_USAGE_PRIVATE_ALLOC_UBWC GRALLOC_USAGE_PRIVATE_ALLOC_UBWC
#define GRALLOC1_PRODUCER_USAGE_PRIVATE_UNCACHED GRALLOC_USAGE_PRIVATE_UNCACHED
#define GRALLOC1_CONSUMER_USAGE_PRIVATE_SECURE_DISPLAY GRALLOC_USAGE_PRIVATE_SECURE_DISPLAY
#define GRALLOC1_PRODUCER_USAGE_PRIVATE_MM_HEAP GRALLOC_USAGE_PRIVATE_MM_HEAP
#define GRALLOC1_PRODUCER_USAGE_PRIVATE_10BIT GRALLOC_USAGE_PRIVATE_10BIT
#define GRALLOC1_PRODUCER_USAGE_PRIVATE_10BIT_TP GRALLOC_USAGE_PRIVATE_10BIT_TP
#define GRALLOC1_CONSUMER_USAGE_PRIVATE_10BIT_TP GRALLOC_USAGE_PRIVATE_10BIT_TP
#define GRALLOC1_PRODUCER_USAGE_PRIVATE_VIDEO_NV21_ENCODER GRALLOC_USAGE_PRIVATE_VIDEO_NV21_ENCODER
// for PERFORM API :
#define GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER 1
#define GRALLOC_MODULE_PERFORM_GET_STRIDE 2
#define GRALLOC_MODULE_PERFORM_GET_CUSTOM_STRIDE_FROM_HANDLE 3
#define GRALLOC_MODULE_PERFORM_GET_CUSTOM_STRIDE_AND_HEIGHT_FROM_HANDLE 4
#define GRALLOC_MODULE_PERFORM_GET_ATTRIBUTES 5
#define GRALLOC_MODULE_PERFORM_GET_COLOR_SPACE_FROM_HANDLE 6
#define GRALLOC_MODULE_PERFORM_GET_YUV_PLANE_INFO 7
#define GRALLOC_MODULE_PERFORM_GET_MAP_SECURE_BUFFER_INFO 8
#define GRALLOC_MODULE_PERFORM_GET_UBWC_FLAG 9
#define GRALLOC_MODULE_PERFORM_GET_RGB_DATA_ADDRESS 10
#define GRALLOC_MODULE_PERFORM_GET_IGC 11
#define GRALLOC_MODULE_PERFORM_SET_IGC 12
#define GRALLOC_MODULE_PERFORM_SET_SINGLE_BUFFER_MODE 13
#define GRALLOC1_MODULE_PERFORM_GET_BUFFER_SIZE_AND_DIMENSIONS 14
#define GRALLOC1_MODULE_PERFORM_GET_INTERLACE_FLAG 15
#define GRALLOC_MODULE_PERFORM_GET_GRAPHICS_METADATA 16
/* possible values for inverse gamma correction */
#define HAL_IGC_NOT_SPECIFIED 0
#define HAL_IGC_s_RGB 1
/* Color Space: Values maps to ColorSpace_t in qdMetadata.h */
#define HAL_CSC_ITU_R_601 0
#define HAL_CSC_ITU_R_601_FR 1
#define HAL_CSC_ITU_R_709 2
#define HAL_CSC_ITU_R_709_FR 3
#define HAL_CSC_ITU_R_2020 4
#define HAL_CSC_ITU_R_2020_FR 5
/* possible formats for 3D content*/
enum {
HAL_NO_3D = 0x0,
HAL_3D_SIDE_BY_SIDE_L_R = 0x1,
HAL_3D_SIDE_BY_SIDE_R_L = 0x2,
HAL_3D_TOP_BOTTOM = 0x4,
HAL_3D_IN_SIDE_BY_SIDE_L_R = 0x10000, // unused legacy format
};
/* Flag to determine interlaced content
* Value maps to Flags presents in types.hal of QtiMapperextensions
*/
enum {
LAYOUT_INTERLACED_FLAG = 1 << 0,
};
#endif // __GRALLOC_PRIV_H__
@@ -1,183 +0,0 @@
/*
* Copyright (c) 2016-2022, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#pragma once
#include <hidl/HidlSupport.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
#include <utils/NativeHandle.h>
#include <utils/misc.h>
#include "types/mapper.h"
namespace vendor::qti::hardware::display::mapperextensions::V1_0 {
struct IQtiMapperExtensions;
}
namespace android::hardware::graphics::mapper {
namespace V2_0 {
struct IMapper : public IBase {
struct BufferDescriptorInfo final {
uint32_t width __attribute__((aligned(4)));
uint32_t height __attribute__((aligned(4)));
uint32_t layerCount __attribute__((aligned(4)));
graphics::common::V1_0::PixelFormat format __attribute__((aligned(4)));
hidl_bitfield<graphics::common::V1_0::BufferUsage> usage __attribute__((aligned(8)));
};
struct Rect final {
int32_t left __attribute__((aligned(4)));
int32_t top __attribute__((aligned(4)));
int32_t width __attribute__((aligned(4)));
int32_t height __attribute__((aligned(4)));
};
static sp<IMapper> getService(const std::string& /* serviceName */, const bool /* getStub */);
};
} // namespace V2_0
namespace V3_0 {
struct IMapper : public IBase {
static sp<IMapper> getService(const std::string& /* serviceName */, const bool /* getStub */);
};
} // namespace V3_0
namespace V4_0 {
struct IMapper : public IBase {
static sp<IMapper> getService(const std::string& /* serviceName */, const bool /* getStub */);
};
} // namespace V4_0
} // namespace android::hardware::graphics::mapper
namespace vendor::qti::hardware::display::mapper {
namespace V4_0 {
struct IQtiMapper : public IBase {
static Return<sp<IQtiMapper>> castFrom(const sp<graphics::mapper::V4_0::IMapper>& /* parent */,
bool /* emitError */);
};
} // namespace V4_0
namespace V3_0 {
struct IQtiMapper : public IBase {
static Return<sp<IQtiMapper>> castFrom(const sp<graphics::mapper::V3_0::IMapper>& /* parent */,
bool /* emitError */);
};
} // namespace V3_0
namespace V2_0 {
struct IQtiMapper : public IBase {
using createDescriptor_cb = std::function<void(graphics::mapper::V2_0::Error error,
const hidl_vec<uint32_t>& descriptor)>;
virtual Return<void> createDescriptor(
const graphics::mapper::V2_0::IMapper::BufferDescriptorInfo& descriptorInfo,
createDescriptor_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
using importBuffer_cb = std::function<void(graphics::mapper::V2_0::Error error, void* buffer)>;
virtual Return<void> importBuffer(const hidl_handle& rawHandle, importBuffer_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<graphics::mapper::V2_0::Error> freeBuffer(void* buffer) {
ALOGE("%s", __func__);
std::terminate();
}
using lock_cb = std::function<void(graphics::mapper::V2_0::Error error, void* data)>;
virtual Return<void> lock(void* buffer,
hidl_bitfield<graphics::common::V1_0::BufferUsage> cpuUsage,
const graphics::mapper::V2_0::IMapper::Rect& accessRegion,
const hidl_handle& acquireFence, lock_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
using lockYCbCr_cb = std::function<void(graphics::mapper::V2_0::Error error,
const graphics::mapper::V2_0::YCbCrLayout& layout)>;
virtual Return<void> lockYCbCr(void* buffer,
hidl_bitfield<graphics::common::V1_0::BufferUsage> cpuUsage,
const graphics::mapper::V2_0::IMapper::Rect& accessRegion,
const hidl_handle& acquireFence, lockYCbCr_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
using unlock_cb =
std::function<void(graphics::mapper::V2_0::Error error, const hidl_handle& releaseFence)>;
virtual Return<void> unlock(void* buffer, unlock_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
virtual Return<graphics::mapper::V2_0::Error> validateBufferSize(
void* buffer, const graphics::mapper::V2_0::IMapper::BufferDescriptorInfo& descriptorInfo,
uint32_t stride) {
ALOGE("%s", __func__);
std::terminate();
}
using getTransportSize_cb =
std::function<void(graphics::mapper::V2_0::Error error, uint32_t numFds, uint32_t numInts)>;
virtual Return<void> getTransportSize(void* buffer, getTransportSize_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
using createDescriptor_2_1_cb = std::function<void(graphics::mapper::V2_0::Error error,
const hidl_vec<uint32_t>& descriptor)>;
virtual Return<void> createDescriptor_2_1(
const graphics::mapper::V2_0::IMapper::BufferDescriptorInfo& descriptorInfo,
createDescriptor_2_1_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
using getMapperExtensions_cb =
std::function<void(graphics::mapper::V2_0::Error error,
const ::android::sp<::vendor::qti::hardware::display::mapperextensions::
V1_0::IQtiMapperExtensions>& extensions)>;
virtual Return<void> getMapperExtensions(getMapperExtensions_cb _hidl_cb);
static Return<sp<IQtiMapper>> castFrom(const sp<graphics::mapper::V2_0::IMapper>& /* parent */,
bool /* emitError */);
};
} // namespace V2_0
} // namespace vendor::qti::hardware::display::mapper
@@ -1,224 +0,0 @@
/*
* Copyright (c) 2016-2022, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#pragma once
#include <hidl/HidlSupport.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
#include <utils/NativeHandle.h>
#include <utils/misc.h>
#include "gralloc_priv.h"
#include "types/mapperextensions.h"
namespace vendor::qti::hardware::display::mapperextensions {
namespace V1_0 {
struct IQtiMapperExtensions : public IBase {
IQtiMapperExtensions(){};
};
} // namespace V1_0
namespace V1_1 {
using Error = V1_0::Error;
using PlaneLayout = V1_0::PlaneLayout;
struct IQtiMapperExtensions : public IBase {
IQtiMapperExtensions();
gralloc1_device_t* gralloc;
GRALLOC1_PFN_PERFORM perform;
using getMapSecureBufferFlag_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, bool mapSecureBuffer)>;
virtual ::android::hardware::Return<void> getMapSecureBufferFlag(
void* buffer, getMapSecureBufferFlag_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
// Used, passthrough
using getInterlacedFlag_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, bool interlaced)>;
virtual ::android::hardware::Return<void> getInterlacedFlag(void* buffer,
getInterlacedFlag_cb _hidl_cb);
using getCustomDimensions_cb =
std::function<void(::vendor::qti::hardware::display::mapperextensions::V1_0::Error error,
int32_t stride, int32_t height)>;
virtual ::android::hardware::Return<void> getCustomDimensions(void* buffer,
getCustomDimensions_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
// Used, passthrough
using getRgbDataAddress_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, void* rgb_data)>;
virtual ::android::hardware::Return<void> getRgbDataAddress(void* buffer,
getRgbDataAddress_cb _hidl_cb);
using calculateBufferAttributes_cb =
std::function<void(::vendor::qti::hardware::display::mapperextensions::V1_0::Error error,
int32_t aligned_width, int32_t aligned_height, bool ubwc_enabled)>;
virtual ::android::hardware::Return<void> calculateBufferAttributes(
int32_t width, int32_t height, int32_t format, uint64_t usage,
calculateBufferAttributes_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
// Used, passhthrough
using getColorSpace_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, int32_t color_space)>;
virtual ::android::hardware::Return<void> getColorSpace(void* buffer, getColorSpace_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
// Used, passthrough with hidl fixups
using getYuvPlaneInfo_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error,
const ::android::hardware::hidl_vec<
::vendor::qti::hardware::display::mapperextensions::V1_0::YCbCrLayout>& layout)>;
virtual ::android::hardware::Return<void> getYuvPlaneInfo(void* buffer,
getYuvPlaneInfo_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
virtual ::android::hardware::Return<
::vendor::qti::hardware::display::mapperextensions::V1_0::Error>
setSingleBufferMode(void* buffer, bool enable) {
ALOGE("%s", __func__);
std::terminate();
}
using getCustomFormatFlags_cb =
std::function<void(::vendor::qti::hardware::display::mapperextensions::V1_0::Error error,
int32_t format, uint64_t priv_flags)>;
virtual ::android::hardware::Return<void> getCustomFormatFlags(int32_t format, uint64_t usage,
getCustomFormatFlags_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
// Used, cast private data with no passthrough
using getFd_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, int32_t fd)>;
virtual ::android::hardware::Return<void> getFd(void* buffer, getFd_cb _hidl_cb);
// Used, cast private data with no passthrough
using getWidth_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, int32_t width)>;
virtual ::android::hardware::Return<void> getWidth(void* buffer, getWidth_cb _hidl_cb);
// Used, cast private data with no passthrough
using getHeight_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, int32_t height)>;
virtual ::android::hardware::Return<void> getHeight(void* buffer, getHeight_cb _hidl_cb);
// Used, cast private data with no passthrough
using getOffset_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, uint64_t offset)>;
virtual ::android::hardware::Return<void> getOffset(void* buffer, getOffset_cb _hidl_cb);
// Used, cast private data with no passthrough
using getSize_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, uint64_t size)>;
virtual ::android::hardware::Return<void> getSize(void* buffer, getSize_cb _hidl_cb);
using getUnalignedWidth_cb =
std::function<void(::vendor::qti::hardware::display::mapperextensions::V1_0::Error error,
int32_t unaligned_width)>;
virtual ::android::hardware::Return<void> getUnalignedWidth(void* buffer,
getUnalignedWidth_cb _hidl_cb);
using getUnalignedHeight_cb =
std::function<void(::vendor::qti::hardware::display::mapperextensions::V1_0::Error error,
int32_t unaligned_height)>;
virtual ::android::hardware::Return<void> getUnalignedHeight(void* buffer,
getUnalignedHeight_cb _hidl_cb);
using getLayerCount_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, uint64_t layer_count)>;
virtual ::android::hardware::Return<void> getLayerCount(void* buffer, getLayerCount_cb _hidl_cb);
using getId_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, uint64_t id)>;
virtual ::android::hardware::Return<void> getId(void* buffer, getId_cb _hidl_cb);
using getUsageFlags_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, uint64_t usage)>;
virtual ::android::hardware::Return<void> getUsageFlags(void* buffer, getUsageFlags_cb _hidl_cb);
// Used, cast private data with no passthrough
using getFormat_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, int32_t format)>;
virtual ::android::hardware::Return<void> getFormat(void* buffer, getFormat_cb _hidl_cb);
// Used, cast private data with no passthrough
using getPrivateFlags_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, int32_t flags)>;
virtual ::android::hardware::Return<void> getPrivateFlags(void* buffer,
getPrivateFlags_cb _hidl_cb);
using getSurfaceMetadata_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, void* metadata)>;
virtual ::android::hardware::Return<void> getSurfaceMetadata(void* buffer,
getSurfaceMetadata_cb _hidl_cb) {
ALOGE("%s", __func__);
std::terminate();
}
// Used, PAIN
using getFormatLayout_cb = std::function<void(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error error, uint64_t size,
const ::android::hardware::hidl_vec<
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout>& plane_info)>;
virtual ::android::hardware::Return<void> getFormatLayout(int32_t format, uint64_t usage,
int32_t flags, int32_t width,
int32_t height,
getFormatLayout_cb _hidl_cb);
// V1.1, Used, passthrough
virtual ::android::hardware::Return<
::vendor::qti::hardware::display::mapperextensions::V1_0::Error>
getSurfaceMetadata_V1(void* buffer, void* metadata) {
ALOGE("%s", __func__);
std::terminate();
}
static Return<sp<IQtiMapperExtensions>> castFrom(
android::sp<V1_0::IQtiMapperExtensions> const& /* parent */, bool /* emitError */);
};
} // namespace V1_1
} // namespace vendor::qti::hardware::display::mapperextensions
File diff suppressed because it is too large. Load diff
@@ -1,250 +0,0 @@
#ifndef HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_MAPPER_V2_0_TYPES_H
#define HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_MAPPER_V2_0_TYPES_H
#include <hidl/HidlSupport.h>
#include <hidl/MQDescriptor.h>
#include <utils/NativeHandle.h>
#include <utils/misc.h>
namespace android {
namespace hardware {
namespace graphics {
namespace mapper {
namespace V2_0 {
// Forward declaration for forward reference support:
enum class Error : int32_t;
struct YCbCrLayout;
enum class Error : int32_t {
NONE = 0,
BAD_DESCRIPTOR = 1,
BAD_BUFFER = 2,
BAD_VALUE = 3,
NO_RESOURCES = 5,
UNSUPPORTED = 7,
};
/**
* A buffer descriptor is an implementation-defined opaque data returned by
* createDescriptor. It describes the properties of a buffer and is consumed
* by the allocator.
*/
typedef ::android::hardware::hidl_vec<uint32_t> BufferDescriptor;
/**
* Structure for describing YCbCr formats for consumption by applications.
* This is used with PixelFormat::YCBCR_*_888.
*
* Buffer chroma subsampling is defined in the format.
* e.g. PixelFormat::YCBCR_420_888 has subsampling 4:2:0.
*
* Buffers must have a 8 bit depth.
*
* y, cb, and cr point to the first byte of their respective planes.
*
* Stride describes the distance in bytes from the first value of one row of
* the image to the first value of the next row. It includes the width of the
* image plus padding.
* yStride is the stride of the luma plane.
* cStride is the stride of the chroma planes.
*
* chromaStep is the distance in bytes from one chroma pixel value to the
* next. This is 2 bytes for semiplanar (because chroma values are interleaved
* and each chroma value is one byte) and 1 for planar.
*/
struct YCbCrLayout final {
void* y;
void* cb;
void* cr;
uint32_t yStride;
uint32_t cStride;
uint32_t chromaStep;
};
//
// type declarations for package
//
template <typename>
static inline std::string toString(int32_t o);
static inline std::string toString(::android::hardware::graphics::mapper::V2_0::Error o);
constexpr int32_t operator|(const ::android::hardware::graphics::mapper::V2_0::Error lhs,
const ::android::hardware::graphics::mapper::V2_0::Error rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) | static_cast<int32_t>(rhs));
}
constexpr int32_t operator|(const int32_t lhs,
const ::android::hardware::graphics::mapper::V2_0::Error rhs) {
return static_cast<int32_t>(lhs | static_cast<int32_t>(rhs));
}
constexpr int32_t operator|(const ::android::hardware::graphics::mapper::V2_0::Error lhs,
const int32_t rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) | rhs);
}
constexpr int32_t operator&(const ::android::hardware::graphics::mapper::V2_0::Error lhs,
const ::android::hardware::graphics::mapper::V2_0::Error rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) & static_cast<int32_t>(rhs));
}
constexpr int32_t operator&(const int32_t lhs,
const ::android::hardware::graphics::mapper::V2_0::Error rhs) {
return static_cast<int32_t>(lhs & static_cast<int32_t>(rhs));
}
constexpr int32_t operator&(const ::android::hardware::graphics::mapper::V2_0::Error lhs,
const int32_t rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) & rhs);
}
constexpr int32_t& operator|=(int32_t& v,
const ::android::hardware::graphics::mapper::V2_0::Error e) {
v |= static_cast<int32_t>(e);
return v;
}
constexpr int32_t& operator&=(int32_t& v,
const ::android::hardware::graphics::mapper::V2_0::Error e) {
v &= static_cast<int32_t>(e);
return v;
}
static inline std::string toString(
const ::android::hardware::graphics::mapper::V2_0::YCbCrLayout& o);
// operator== and operator!= are not generated for YCbCrLayout
//
// type header definitions for package
//
template <>
inline std::string toString<::android::hardware::graphics::mapper::V2_0::Error>(int32_t o) {
using ::android::hardware::details::toHexString;
std::string os;
::android::hardware::hidl_bitfield<::android::hardware::graphics::mapper::V2_0::Error> flipped =
0;
bool first = true;
if ((o & ::android::hardware::graphics::mapper::V2_0::Error::NONE) ==
static_cast<int32_t>(::android::hardware::graphics::mapper::V2_0::Error::NONE)) {
os += (first ? "" : " | ");
os += "NONE";
first = false;
flipped |= ::android::hardware::graphics::mapper::V2_0::Error::NONE;
}
if ((o & ::android::hardware::graphics::mapper::V2_0::Error::BAD_DESCRIPTOR) ==
static_cast<int32_t>(::android::hardware::graphics::mapper::V2_0::Error::BAD_DESCRIPTOR)) {
os += (first ? "" : " | ");
os += "BAD_DESCRIPTOR";
first = false;
flipped |= ::android::hardware::graphics::mapper::V2_0::Error::BAD_DESCRIPTOR;
}
if ((o & ::android::hardware::graphics::mapper::V2_0::Error::BAD_BUFFER) ==
static_cast<int32_t>(::android::hardware::graphics::mapper::V2_0::Error::BAD_BUFFER)) {
os += (first ? "" : " | ");
os += "BAD_BUFFER";
first = false;
flipped |= ::android::hardware::graphics::mapper::V2_0::Error::BAD_BUFFER;
}
if ((o & ::android::hardware::graphics::mapper::V2_0::Error::BAD_VALUE) ==
static_cast<int32_t>(::android::hardware::graphics::mapper::V2_0::Error::BAD_VALUE)) {
os += (first ? "" : " | ");
os += "BAD_VALUE";
first = false;
flipped |= ::android::hardware::graphics::mapper::V2_0::Error::BAD_VALUE;
}
if ((o & ::android::hardware::graphics::mapper::V2_0::Error::NO_RESOURCES) ==
static_cast<int32_t>(::android::hardware::graphics::mapper::V2_0::Error::NO_RESOURCES)) {
os += (first ? "" : " | ");
os += "NO_RESOURCES";
first = false;
flipped |= ::android::hardware::graphics::mapper::V2_0::Error::NO_RESOURCES;
}
if ((o & ::android::hardware::graphics::mapper::V2_0::Error::UNSUPPORTED) ==
static_cast<int32_t>(::android::hardware::graphics::mapper::V2_0::Error::UNSUPPORTED)) {
os += (first ? "" : " | ");
os += "UNSUPPORTED";
first = false;
flipped |= ::android::hardware::graphics::mapper::V2_0::Error::UNSUPPORTED;
}
if (o != flipped) {
os += (first ? "" : " | ");
os += toHexString(o & (~flipped));
}
os += " (";
os += toHexString(o);
os += ")";
return os;
}
static inline std::string toString(::android::hardware::graphics::mapper::V2_0::Error o) {
using ::android::hardware::details::toHexString;
if (o == ::android::hardware::graphics::mapper::V2_0::Error::NONE) {
return "NONE";
}
if (o == ::android::hardware::graphics::mapper::V2_0::Error::BAD_DESCRIPTOR) {
return "BAD_DESCRIPTOR";
}
if (o == ::android::hardware::graphics::mapper::V2_0::Error::BAD_BUFFER) {
return "BAD_BUFFER";
}
if (o == ::android::hardware::graphics::mapper::V2_0::Error::BAD_VALUE) {
return "BAD_VALUE";
}
if (o == ::android::hardware::graphics::mapper::V2_0::Error::NO_RESOURCES) {
return "NO_RESOURCES";
}
if (o == ::android::hardware::graphics::mapper::V2_0::Error::UNSUPPORTED) {
return "UNSUPPORTED";
}
std::string os;
os += toHexString(static_cast<int32_t>(o));
return os;
}
static inline std::string toString(
const ::android::hardware::graphics::mapper::V2_0::YCbCrLayout& o) {
using ::android::hardware::toString;
std::string os;
os += "{";
os += ".y = ";
os += ::android::hardware::toString(o.y);
os += ", .cb = ";
os += ::android::hardware::toString(o.cb);
os += ", .cr = ";
os += ::android::hardware::toString(o.cr);
os += ", .yStride = ";
os += ::android::hardware::toString(o.yStride);
os += ", .cStride = ";
os += ::android::hardware::toString(o.cStride);
os += ", .chromaStep = ";
os += ::android::hardware::toString(o.chromaStep);
os += "}";
return os;
}
// operator== and operator!= are not generated for YCbCrLayout
} // namespace V2_0
} // namespace mapper
} // namespace graphics
} // namespace hardware
} // namespace android
//
// global type declarations for package
//
namespace android {
namespace hardware {
namespace details {
template <>
constexpr std::array<::android::hardware::graphics::mapper::V2_0::Error, 6>
hidl_enum_values<::android::hardware::graphics::mapper::V2_0::Error> = {
::android::hardware::graphics::mapper::V2_0::Error::NONE,
::android::hardware::graphics::mapper::V2_0::Error::BAD_DESCRIPTOR,
::android::hardware::graphics::mapper::V2_0::Error::BAD_BUFFER,
::android::hardware::graphics::mapper::V2_0::Error::BAD_VALUE,
::android::hardware::graphics::mapper::V2_0::Error::NO_RESOURCES,
::android::hardware::graphics::mapper::V2_0::Error::UNSUPPORTED,
};
} // namespace details
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_MAPPER_V2_0_TYPES_H
@@ -1,707 +0,0 @@
#ifndef HIDL_GENERATED_VENDOR_QTI_HARDWARE_DISPLAY_MAPPEREXTENSIONS_V1_0_TYPES_H
#define HIDL_GENERATED_VENDOR_QTI_HARDWARE_DISPLAY_MAPPEREXTENSIONS_V1_0_TYPES_H
#include <hidl/HidlSupport.h>
#include <hidl/MQDescriptor.h>
#include <utils/NativeHandle.h>
#include <utils/misc.h>
namespace vendor {
namespace qti {
namespace hardware {
namespace display {
namespace mapperextensions {
namespace V1_0 {
// Forward declaration for forward reference support:
enum class Error : int32_t;
struct YCbCrLayout;
enum class PlaneComponent : uint32_t;
enum class Flags : int32_t;
struct PlaneLayout;
enum class Error : int32_t {
NONE = 0,
BAD_BUFFER = 2,
NO_RESOURCES = 5,
UNSUPPORTED = 7,
};
struct YCbCrLayout final {
void* y;
void* cb;
void* cr;
uint32_t yStride;
uint32_t cStride;
uint32_t chromaStep;
};
/**
* Plane Component type definitions.
*/
enum class PlaneComponent : uint32_t {
PLANE_COMPONENT_Y = 1u /* (1 << 0) */,
PLANE_COMPONENT_Cb = 2u /* (1 << 1) */,
PLANE_COMPONENT_Cr = 4u /* (1 << 2) */,
PLANE_COMPONENT_R = 1024u /* (1 << 10) */,
PLANE_COMPONENT_G = 2048u /* (1 << 11) */,
PLANE_COMPONENT_B = 4096u /* (1 << 12) */,
PLANE_COMPONENT_A = 1048576u /* (1 << 20) */,
PLANE_COMPONENT_RAW = 1073741824u /* (1 << 30) */,
PLANE_COMPONENT_META = 2147483648u /* (1 << 31) */,
};
/**
* Flags to send with getFormatLayout for extra information for e.g. interlaced,
* otherwise send 0.
*/
enum class Flags : int32_t {
LAYOUT_INTERLACED_FLAG = 1 /* (1 << 0) */,
};
/**
* Structure for describing plane layout information for YUVA/RGBA/RAW formats
* YUV formats can be planar or semi-planar.
*
* This layout structure is used with any pixel format that can be
* represented by it, such as:
* - HAL_PIXEL_FORMAT_YCbCr_*
* - HAL_PIXEL_FORMAT_RGB*_*
* - even implementation defined formats that can be represented by
* the structures
*
* Each plane can be made up of one or more PlaneComponents depending on
* the format.
*
* Each plane can be subsampled either vertically or horizontally by
* a power-of-two factor.
*
* Pixel increment describes the distance in bytes from one pixel to the
* next pixel (to the right) on the same row for the component plane.
* This can be negative.
*
* Stride is provided in both pixels and bytes.
* Stride_bytes describes the distance in bytes from the first pixel of
* one row to the first pixel of the next row (below) for the component plane.
* This can be negative.
*
* Scanlines describes the height of the plane in terms of number of rows.
*
* Size of plane is stride_bytes * scanlines + any padding required for
* alignment as per format specification.
*
*/
struct PlaneLayout final {
::android::hardware::hidl_bitfield<
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent>
component __attribute__((aligned(4)));
uint32_t h_subsampling __attribute__((aligned(4)));
uint32_t v_subsampling __attribute__((aligned(4)));
uint32_t offset __attribute__((aligned(4)));
int32_t pixel_increment __attribute__((aligned(4)));
int32_t stride __attribute__((aligned(4)));
int32_t stride_bytes __attribute__((aligned(4)));
int32_t scanlines __attribute__((aligned(4)));
uint32_t size __attribute__((aligned(4)));
};
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
component) == 0,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
h_subsampling) == 4,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
v_subsampling) == 8,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
offset) == 12,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
pixel_increment) == 16,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
stride) == 20,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
stride_bytes) == 24,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
scanlines) == 28,
"wrong offset");
static_assert(offsetof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout,
size) == 32,
"wrong offset");
static_assert(sizeof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout) == 36,
"wrong size");
static_assert(__alignof(::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout) == 4,
"wrong alignment");
//
// type declarations for package
//
template <typename>
static inline std::string toString(int32_t o);
static inline std::string toString(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error o);
constexpr int32_t operator|(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) | static_cast<int32_t>(rhs));
}
constexpr int32_t operator|(
const int32_t lhs, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error rhs) {
return static_cast<int32_t>(lhs | static_cast<int32_t>(rhs));
}
constexpr int32_t operator|(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error lhs, const int32_t rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) | rhs);
}
constexpr int32_t operator&(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) & static_cast<int32_t>(rhs));
}
constexpr int32_t operator&(
const int32_t lhs, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error rhs) {
return static_cast<int32_t>(lhs & static_cast<int32_t>(rhs));
}
constexpr int32_t operator&(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error lhs, const int32_t rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) & rhs);
}
constexpr int32_t& operator|=(
int32_t& v, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error e) {
v |= static_cast<int32_t>(e);
return v;
}
constexpr int32_t& operator&=(
int32_t& v, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Error e) {
v &= static_cast<int32_t>(e);
return v;
}
static inline std::string toString(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::YCbCrLayout& o);
// operator== and operator!= are not generated for YCbCrLayout
template <typename>
static inline std::string toString(uint32_t o);
static inline std::string toString(
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent o);
constexpr uint32_t operator|(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent rhs) {
return static_cast<uint32_t>(static_cast<uint32_t>(lhs) | static_cast<uint32_t>(rhs));
}
constexpr uint32_t operator|(
const uint32_t lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent rhs) {
return static_cast<uint32_t>(lhs | static_cast<uint32_t>(rhs));
}
constexpr uint32_t operator|(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent lhs,
const uint32_t rhs) {
return static_cast<uint32_t>(static_cast<uint32_t>(lhs) | rhs);
}
constexpr uint32_t operator&(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent rhs) {
return static_cast<uint32_t>(static_cast<uint32_t>(lhs) & static_cast<uint32_t>(rhs));
}
constexpr uint32_t operator&(
const uint32_t lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent rhs) {
return static_cast<uint32_t>(lhs & static_cast<uint32_t>(rhs));
}
constexpr uint32_t operator&(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent lhs,
const uint32_t rhs) {
return static_cast<uint32_t>(static_cast<uint32_t>(lhs) & rhs);
}
constexpr uint32_t& operator|=(
uint32_t& v, const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent e) {
v |= static_cast<uint32_t>(e);
return v;
}
constexpr uint32_t& operator&=(
uint32_t& v, const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent e) {
v &= static_cast<uint32_t>(e);
return v;
}
template <typename>
static inline std::string toString(int32_t o);
static inline std::string toString(
::vendor::qti::hardware::display::mapperextensions::V1_0::Flags o);
constexpr int32_t operator|(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) | static_cast<int32_t>(rhs));
}
constexpr int32_t operator|(
const int32_t lhs, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags rhs) {
return static_cast<int32_t>(lhs | static_cast<int32_t>(rhs));
}
constexpr int32_t operator|(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags lhs, const int32_t rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) | rhs);
}
constexpr int32_t operator&(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) & static_cast<int32_t>(rhs));
}
constexpr int32_t operator&(
const int32_t lhs, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags rhs) {
return static_cast<int32_t>(lhs & static_cast<int32_t>(rhs));
}
constexpr int32_t operator&(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags lhs, const int32_t rhs) {
return static_cast<int32_t>(static_cast<int32_t>(lhs) & rhs);
}
constexpr int32_t& operator|=(
int32_t& v, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags e) {
v |= static_cast<int32_t>(e);
return v;
}
constexpr int32_t& operator&=(
int32_t& v, const ::vendor::qti::hardware::display::mapperextensions::V1_0::Flags e) {
v &= static_cast<int32_t>(e);
return v;
}
static inline std::string toString(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& o);
static inline bool operator==(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& rhs);
static inline bool operator!=(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& rhs);
//
// type header definitions for package
//
template <>
inline std::string toString<::vendor::qti::hardware::display::mapperextensions::V1_0::Error>(
int32_t o) {
using ::android::hardware::details::toHexString;
std::string os;
::android::hardware::hidl_bitfield<
::vendor::qti::hardware::display::mapperextensions::V1_0::Error>
flipped = 0;
bool first = true;
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NONE) ==
static_cast<int32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NONE)) {
os += (first ? "" : " | ");
os += "NONE";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NONE;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::BAD_BUFFER) ==
static_cast<int32_t>(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error::BAD_BUFFER)) {
os += (first ? "" : " | ");
os += "BAD_BUFFER";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::BAD_BUFFER;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NO_RESOURCES) ==
static_cast<int32_t>(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NO_RESOURCES)) {
os += (first ? "" : " | ");
os += "NO_RESOURCES";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NO_RESOURCES;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::UNSUPPORTED) ==
static_cast<int32_t>(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error::UNSUPPORTED)) {
os += (first ? "" : " | ");
os += "UNSUPPORTED";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::UNSUPPORTED;
}
if (o != flipped) {
os += (first ? "" : " | ");
os += toHexString(o & (~flipped));
}
os += " (";
os += toHexString(o);
os += ")";
return os;
}
static inline std::string toString(
::vendor::qti::hardware::display::mapperextensions::V1_0::Error o) {
using ::android::hardware::details::toHexString;
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NONE) {
return "NONE";
}
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::BAD_BUFFER) {
return "BAD_BUFFER";
}
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NO_RESOURCES) {
return "NO_RESOURCES";
}
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::Error::UNSUPPORTED) {
return "UNSUPPORTED";
}
std::string os;
os += toHexString(static_cast<int32_t>(o));
return os;
}
static inline std::string toString(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::YCbCrLayout& o) {
using ::android::hardware::toString;
std::string os;
os += "{";
os += ".y = ";
os += ::android::hardware::toString(o.y);
os += ", .cb = ";
os += ::android::hardware::toString(o.cb);
os += ", .cr = ";
os += ::android::hardware::toString(o.cr);
os += ", .yStride = ";
os += ::android::hardware::toString(o.yStride);
os += ", .cStride = ";
os += ::android::hardware::toString(o.cStride);
os += ", .chromaStep = ";
os += ::android::hardware::toString(o.chromaStep);
os += "}";
return os;
}
// operator== and operator!= are not generated for YCbCrLayout
template <>
inline std::string
toString<::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent>(uint32_t o) {
using ::android::hardware::details::toHexString;
std::string os;
::android::hardware::hidl_bitfield<
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent>
flipped = 0;
bool first = true;
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Y) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_Y)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_Y";
first = false;
flipped |=
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_Y;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cb) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_Cb)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_Cb";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cb;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cr) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_Cr)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_Cr";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cr;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_R) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_R)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_R";
first = false;
flipped |=
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_R;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_G) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_G)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_G";
first = false;
flipped |=
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_G;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_B) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_B)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_B";
first = false;
flipped |=
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_B;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_A) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_A)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_A";
first = false;
flipped |=
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_A;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_RAW) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_RAW)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_RAW";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_RAW;
}
if ((o & ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_META) ==
static_cast<uint32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::
PlaneComponent::PLANE_COMPONENT_META)) {
os += (first ? "" : " | ");
os += "PLANE_COMPONENT_META";
first = false;
flipped |= ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_META;
}
if (o != flipped) {
os += (first ? "" : " | ");
os += toHexString(o & (~flipped));
}
os += " (";
os += toHexString(o);
os += ")";
return os;
}
static inline std::string toString(
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent o) {
using ::android::hardware::details::toHexString;
if (o ==
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_Y) {
return "PLANE_COMPONENT_Y";
}
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cb) {
return "PLANE_COMPONENT_Cb";
}
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cr) {
return "PLANE_COMPONENT_Cr";
}
if (o ==
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_R) {
return "PLANE_COMPONENT_R";
}
if (o ==
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_G) {
return "PLANE_COMPONENT_G";
}
if (o ==
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_B) {
return "PLANE_COMPONENT_B";
}
if (o ==
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_A) {
return "PLANE_COMPONENT_A";
}
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_RAW) {
return "PLANE_COMPONENT_RAW";
}
if (o == ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_META) {
return "PLANE_COMPONENT_META";
}
std::string os;
os += toHexString(static_cast<uint32_t>(o));
return os;
}
template <>
inline std::string toString<::vendor::qti::hardware::display::mapperextensions::V1_0::Flags>(
int32_t o) {
using ::android::hardware::details::toHexString;
std::string os;
::android::hardware::hidl_bitfield<
::vendor::qti::hardware::display::mapperextensions::V1_0::Flags>
flipped = 0;
bool first = true;
if ((o &
::vendor::qti::hardware::display::mapperextensions::V1_0::Flags::LAYOUT_INTERLACED_FLAG) ==
static_cast<int32_t>(::vendor::qti::hardware::display::mapperextensions::V1_0::Flags::
LAYOUT_INTERLACED_FLAG)) {
os += (first ? "" : " | ");
os += "LAYOUT_INTERLACED_FLAG";
first = false;
flipped |=
::vendor::qti::hardware::display::mapperextensions::V1_0::Flags::LAYOUT_INTERLACED_FLAG;
}
if (o != flipped) {
os += (first ? "" : " | ");
os += toHexString(o & (~flipped));
}
os += " (";
os += toHexString(o);
os += ")";
return os;
}
static inline std::string toString(
::vendor::qti::hardware::display::mapperextensions::V1_0::Flags o) {
using ::android::hardware::details::toHexString;
if (o ==
::vendor::qti::hardware::display::mapperextensions::V1_0::Flags::LAYOUT_INTERLACED_FLAG) {
return "LAYOUT_INTERLACED_FLAG";
}
std::string os;
os += toHexString(static_cast<int32_t>(o));
return os;
}
static inline std::string toString(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& o) {
using ::android::hardware::toString;
std::string os;
os += "{";
os += ".component = ";
os += ::vendor::qti::hardware::display::mapperextensions::V1_0::toString<
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent>(o.component);
os += ", .h_subsampling = ";
os += ::android::hardware::toString(o.h_subsampling);
os += ", .v_subsampling = ";
os += ::android::hardware::toString(o.v_subsampling);
os += ", .offset = ";
os += ::android::hardware::toString(o.offset);
os += ", .pixel_increment = ";
os += ::android::hardware::toString(o.pixel_increment);
os += ", .stride = ";
os += ::android::hardware::toString(o.stride);
os += ", .stride_bytes = ";
os += ::android::hardware::toString(o.stride_bytes);
os += ", .scanlines = ";
os += ::android::hardware::toString(o.scanlines);
os += ", .size = ";
os += ::android::hardware::toString(o.size);
os += "}";
return os;
}
static inline bool operator==(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& rhs) {
if (lhs.component != rhs.component) {
return false;
}
if (lhs.h_subsampling != rhs.h_subsampling) {
return false;
}
if (lhs.v_subsampling != rhs.v_subsampling) {
return false;
}
if (lhs.offset != rhs.offset) {
return false;
}
if (lhs.pixel_increment != rhs.pixel_increment) {
return false;
}
if (lhs.stride != rhs.stride) {
return false;
}
if (lhs.stride_bytes != rhs.stride_bytes) {
return false;
}
if (lhs.scanlines != rhs.scanlines) {
return false;
}
if (lhs.size != rhs.size) {
return false;
}
return true;
}
static inline bool operator!=(
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& lhs,
const ::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneLayout& rhs) {
return !(lhs == rhs);
}
} // namespace V1_0
} // namespace mapperextensions
} // namespace display
} // namespace hardware
} // namespace qti
} // namespace vendor
//
// global type declarations for package
//
namespace android {
namespace hardware {
namespace details {
template <>
constexpr std::array<::vendor::qti::hardware::display::mapperextensions::V1_0::Error, 4>
hidl_enum_values<::vendor::qti::hardware::display::mapperextensions::V1_0::Error> = {
::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NONE,
::vendor::qti::hardware::display::mapperextensions::V1_0::Error::BAD_BUFFER,
::vendor::qti::hardware::display::mapperextensions::V1_0::Error::NO_RESOURCES,
::vendor::qti::hardware::display::mapperextensions::V1_0::Error::UNSUPPORTED,
};
} // namespace details
} // namespace hardware
} // namespace android
namespace android {
namespace hardware {
namespace details {
template <>
constexpr std::array<::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent, 9>
hidl_enum_values<::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent> = {
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_Y,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cb,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_Cr,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_R,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_G,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_B,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::PLANE_COMPONENT_A,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_RAW,
::vendor::qti::hardware::display::mapperextensions::V1_0::PlaneComponent::
PLANE_COMPONENT_META,
};
} // namespace details
} // namespace hardware
} // namespace android
namespace android {
namespace hardware {
namespace details {
template <>
constexpr std::array<::vendor::qti::hardware::display::mapperextensions::V1_0::Flags, 1>
hidl_enum_values<::vendor::qti::hardware::display::mapperextensions::V1_0::Flags> = {
::vendor::qti::hardware::display::mapperextensions::V1_0::Flags::LAYOUT_INTERLACED_FLAG,
};
} // namespace details
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_VENDOR_QTI_HARDWARE_DISPLAY_MAPPEREXTENSIONS_V1_0_TYPES_H
@@ -1,472 +0,0 @@
/*
* Copyright (c) 2016-2022, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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.
*/
#define LOG_TAG "qtimapper-shim"
#include <android/hidl/base/1.0/BpHwBase.h>
#include <dlfcn.h>
#include <hidl/HidlSupport.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
#include <log/log.h>
#include <utils/NativeHandle.h>
#include <utils/misc.h>
#include "ext/common.h"
#include "ext/gr_utils.h"
#include "ext/mapper.h"
#include "ext/mapperextensions.h"
using namespace android::hardware;
using namespace android;
// These two functions are used by the blob and aren't present on Q so weakly stub them
extern "C" uint64_t __attribute__((weak)) atrace_get_enabled_tags() {
return 0;
}
namespace android::hardware::details {
void __attribute__((weak)) return_status::onValueRetrieval() const {}
} // namespace android::hardware::details
bool IBase::isRemote() const {
return false;
}
sp<graphics::mapper::V2_0::IMapper> (*Mapper20GetService)(const std::string&, const bool);
sp<graphics::mapper::V3_0::IMapper> (*Mapper30GetService)(const std::string&, const bool);
sp<graphics::mapper::V4_0::IMapper> (*Mapper40GetService)(const std::string&, const bool);
Return<sp<vendor::qti::hardware::display::mapper::V2_0::IQtiMapper>> (*QtiMapper20CastFrom)(
const sp<graphics::mapper::V2_0::IMapper>&, bool);
Return<sp<vendor::qti::hardware::display::mapper::V3_0::IQtiMapper>> (*QtiMapper30CastFrom)(
const sp<graphics::mapper::V3_0::IMapper>&, bool);
Return<sp<vendor::qti::hardware::display::mapper::V4_0::IQtiMapper>> (*QtiMapper40CastFrom)(
const sp<graphics::mapper::V4_0::IMapper>&, bool);
Return<sp<vendor::qti::hardware::display::mapperextensions::V1_1::IQtiMapperExtensions>> (
*MapperExtensions11CastFrom)(
const sp<vendor::qti::hardware::display::mapperextensions::V1_0::IQtiMapperExtensions>&, bool);
__attribute__((constructor)) static void initShim() {
void* qtiMapper40Hnd =
dlopen("vendor.qti.hardware.display.mapper@4.0.so", RTLD_LAZY | RTLD_LOCAL);
if (qtiMapper40Hnd) {
void* mapper40Hnd = dlopen("android.hardware.graphics.mapper@4.0.so", RTLD_LAZY | RTLD_LOCAL);
if (mapper40Hnd) {
Mapper40GetService = reinterpret_cast<decltype(Mapper40GetService)>(
dlsym(mapper40Hnd,
"_ZN7android8hardware8graphics6mapper4V4_07IMapper10getServiceERKNSt3__112basic_"
"stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEb"));
QtiMapper40CastFrom = reinterpret_cast<decltype(QtiMapper40CastFrom)>(dlsym(
qtiMapper40Hnd,
"_ZN6vendor3qti8hardware7display6mapper4V4_010IQtiMapper8castFromERKN7android2spINS6_"
"8hardware8graphics6mapper4V4_07IMapperEEEb"));
ALOGD("%s: Mapper 4.0 present", __func__);
}
}
void* qtiMapper30Hnd =
dlopen("vendor.qti.hardware.display.mapper@3.0.so", RTLD_LAZY | RTLD_LOCAL);
if (qtiMapper30Hnd) {
void* mapper30Hnd = dlopen("android.hardware.graphics.mapper@3.0.so", RTLD_LAZY | RTLD_LOCAL);
if (mapper30Hnd) {
Mapper30GetService = reinterpret_cast<decltype(Mapper30GetService)>(
dlsym(mapper30Hnd,
"_ZN7android8hardware8graphics6mapper4V3_07IMapper10getServiceERKNSt3__112basic_"
"stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEb"));
QtiMapper30CastFrom = reinterpret_cast<decltype(QtiMapper30CastFrom)>(dlsym(
qtiMapper30Hnd,
"_ZN6vendor3qti8hardware7display6mapper4V3_010IQtiMapper8castFromERKN7android2spINS6_"
"8hardware8graphics6mapper4V3_07IMapperEEEb"));
ALOGD("%s: Mapper 3.0 present", __func__);
}
}
void* qtiMapper20Hnd =
dlopen("vendor.qti.hardware.display.mapper@2.0.so", RTLD_LAZY | RTLD_LOCAL);
if (qtiMapper20Hnd) {
void* mapper20Hnd = dlopen("android.hardware.graphics.mapper@2.0.so", RTLD_LAZY | RTLD_LOCAL);
if (mapper20Hnd) {
Mapper20GetService = reinterpret_cast<decltype(Mapper20GetService)>(
dlsym(mapper20Hnd,
"_ZN7android8hardware8graphics6mapper4V2_07IMapper10getServiceERKNSt3__112basic_"
"stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEb"));
QtiMapper20CastFrom = reinterpret_cast<decltype(QtiMapper20CastFrom)>(dlsym(
qtiMapper20Hnd,
"_ZN6vendor3qti8hardware7display6mapper4V2_010IQtiMapper8castFromERKN7android2spINS6_"
"8hardware8graphics6mapper4V2_07IMapperEEEb"));
ALOGD("%s: Mapper 2.0 present", __func__);
}
}
void* mapperExtensions11Hnd =
dlopen("vendor.qti.hardware.display.mapperextensions@1.1.so", RTLD_LAZY | RTLD_LOCAL);
if (mapperExtensions11Hnd) {
MapperExtensions11CastFrom = reinterpret_cast<decltype(MapperExtensions11CastFrom)>(dlsym(
mapperExtensions11Hnd,
"_ZN6vendor3qti8hardware7display16mapperextensions4V1_"
"120IQtiMapperExtensions8castFromERKN7android2spINS3_4V1_020IQtiMapperExtensionsEEEb"));
ALOGD("%s: Mapper Extensions 1.1 present", __func__);
}
}
namespace android::hardware::graphics::mapper {
namespace V2_0 {
sp<IMapper> IMapper::getService(const std::string& serviceName, const bool getStub) {
if (Mapper20GetService) return Mapper20GetService(serviceName, getStub);
return nullptr;
}
} // namespace V2_0
namespace V3_0 {
sp<IMapper> IMapper::getService(const std::string& serviceName, const bool getStub) {
if (Mapper30GetService) return Mapper30GetService(serviceName, getStub);
return nullptr;
}
} // namespace V3_0
namespace V4_0 {
sp<IMapper> IMapper::getService(const std::string& serviceName, const bool getStub) {
if (Mapper40GetService) return Mapper40GetService(serviceName, getStub);
return nullptr;
}
} // namespace V4_0
} // namespace android::hardware::graphics::mapper
namespace vendor::qti::hardware::display {
namespace mapper {
namespace V4_0 {
Return<sp<IQtiMapper>> IQtiMapper::castFrom(const sp<graphics::mapper::V4_0::IMapper>& parent,
bool emitError) {
if (QtiMapper40CastFrom) return QtiMapper40CastFrom(parent, emitError);
return nullptr;
}
} // namespace V4_0
namespace V3_0 {
Return<sp<IQtiMapper>> IQtiMapper::castFrom(const sp<graphics::mapper::V3_0::IMapper>& parent,
bool emitError) {
if (QtiMapper30CastFrom) return QtiMapper30CastFrom(parent, emitError);
return nullptr;
}
} // namespace V3_0
namespace V2_0 {
Return<sp<IQtiMapper>> IQtiMapper::castFrom(const sp<graphics::mapper::V2_0::IMapper>& parent,
bool emitError) {
if (QtiMapper20CastFrom) return QtiMapper20CastFrom(parent, emitError);
return new IQtiMapper();
}
Return<void> IQtiMapper::getMapperExtensions(getMapperExtensions_cb _hidl_cb) {
sp<mapperextensions::V1_0::IQtiMapperExtensions> ext{
new mapperextensions::V1_0::IQtiMapperExtensions()};
_hidl_cb(graphics::mapper::V2_0::Error::NONE, ext);
return Void();
}
} // namespace V2_0
} // namespace mapper
namespace mapperextensions {
namespace V1_1 {
IQtiMapperExtensions::IQtiMapperExtensions() {
ALOGI("IQtiMapperExtensions shim active");
hw_module_t const* module;
if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module)) {
ALOGE("Failed to open gralloc module!");
std::terminate();
}
if (gralloc1_open(module, &gralloc)) {
ALOGE("Failed to open gralloc HAL!");
std::terminate();
}
perform = reinterpret_cast<GRALLOC1_PFN_PERFORM>(
gralloc->getFunction(gralloc, GRALLOC1_FUNCTION_PERFORM));
if (!perform) {
ALOGE("Failed to get gralloc perform helper!");
std::terminate();
}
ALOGD("Opened gralloc1 HAL");
}
Return<sp<IQtiMapperExtensions>> IQtiMapperExtensions::castFrom(
android::sp<V1_0::IQtiMapperExtensions> const& parent, bool emitError) {
if (MapperExtensions11CastFrom) return MapperExtensions11CastFrom(parent, emitError);
return new IQtiMapperExtensions();
}
Return<void> IQtiMapperExtensions::getRgbDataAddress(void* buffer, getRgbDataAddress_cb _hidl_cb) {
void* rgb_data = nullptr;
auto err = perform(gralloc, GRALLOC_MODULE_PERFORM_GET_RGB_DATA_ADDRESS, buffer, &rgb_data)
? Error::BAD_BUFFER
: Error::NONE;
_hidl_cb(err, rgb_data);
ALOGV("%s: err: %d rgb_data: %p", __func__, err, rgb_data);
return Void();
}
Return<void> IQtiMapperExtensions::getInterlacedFlag(void* buffer, getInterlacedFlag_cb _hidl_cb) {
int flag = 0;
auto perform = reinterpret_cast<GRALLOC1_PFN_PERFORM>(
gralloc->getFunction(gralloc, GRALLOC1_FUNCTION_PERFORM));
auto err = perform(gralloc, GRALLOC1_MODULE_PERFORM_GET_INTERLACE_FLAG, buffer, &flag)
? Error::BAD_BUFFER
: Error::NONE;
_hidl_cb(err, flag);
ALOGV("%s: err: %d flag: %d", __func__, err, flag);
return Void();
}
Return<void> IQtiMapperExtensions::getFd(void* buffer, getFd_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
int fd = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
fd = hnd->fd;
}
hidl_cb(err, fd);
ALOGV("%s: fd: %d", __func__, fd);
return Void();
}
Return<void> IQtiMapperExtensions::getWidth(void* buffer, getWidth_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
int width = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
width = hnd->width;
}
hidl_cb(err, width);
ALOGV("%s: width: %d", __func__, width);
return Void();
}
Return<void> IQtiMapperExtensions::getHeight(void* buffer, getHeight_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
int height = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
height = hnd->height;
}
hidl_cb(err, height);
ALOGV("%s: height: %d", __func__, height);
return Void();
}
Return<void> IQtiMapperExtensions::getFormat(void* buffer, getFormat_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
int format = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
format = hnd->format;
}
hidl_cb(err, format);
ALOGV("%s: format: %d", __func__, format);
return Void();
}
Return<void> IQtiMapperExtensions::getPrivateFlags(void* buffer, getPrivateFlags_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
int flags = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
flags = hnd->flags;
}
hidl_cb(err, flags);
ALOGV("%s: flags: %d", __func__, flags);
return Void();
}
Return<void> IQtiMapperExtensions::getUnalignedWidth(void* buffer, getUnalignedWidth_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
int unaligned_width = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
unaligned_width = hnd->unaligned_width;
}
hidl_cb(err, unaligned_width);
ALOGV("%s: unaligned_width: %u", __func__, unaligned_width);
return Void();
}
Return<void> IQtiMapperExtensions::getUnalignedHeight(void* buffer, getUnalignedHeight_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
int unaligned_height = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
unaligned_height = hnd->unaligned_height;
}
hidl_cb(err, unaligned_height);
ALOGV("%s: unaligned_height: %u", __func__, unaligned_height);
return Void();
}
Return<void> IQtiMapperExtensions::getLayerCount(void* buffer, getLayerCount_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
unsigned int layer_count = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
layer_count = hnd->layer_count;
}
hidl_cb(err, layer_count);
ALOGV("%s: layer_count: %u", __func__, layer_count);
return Void();
}
Return<void> IQtiMapperExtensions::getId(void* buffer, getId_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
uint64_t id = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
id = hnd->id;
}
hidl_cb(err, id);
ALOGV("%s: id: %" PRIu64, __func__, id);
return Void();
}
Return<void> IQtiMapperExtensions::getUsageFlags(void* buffer, getUsageFlags_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
uint64_t usage = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
usage = hnd->usage;
}
hidl_cb(err, usage);
ALOGV("%s: usage: %" PRIu64, __func__, usage);
return Void();
}
Return<void> IQtiMapperExtensions::getSize(void* buffer, getSize_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
unsigned int size = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
size = hnd->size;
}
hidl_cb(err, size);
ALOGV("%s: size: %u", __func__, size);
return Void();
}
Return<void> IQtiMapperExtensions::getOffset(void* buffer, getOffset_cb hidl_cb) {
auto err = Error::BAD_BUFFER;
unsigned int offset = 0;
auto hnd = static_cast<private_handle_t*>(buffer);
if (buffer != nullptr && private_handle_t::validate(hnd) == 0) {
err = Error::NONE;
offset = hnd->offset;
}
hidl_cb(err, offset);
ALOGV("%s: offset: %u", __func__, offset);
return Void();
}
Return<void> IQtiMapperExtensions::getFormatLayout(int32_t format, uint64_t usage, int32_t flags,
int32_t width, int32_t height,
getFormatLayout_cb _hidl_cb) {
hidl_vec<PlaneLayout> plane_info;
unsigned int alignedw = 0, alignedh = 0, tile_enabled = 0;
int plane_count = 0;
uint64_t size = 0;
int custom_format = gralloc::GetImplDefinedFormat(usage, format);
gralloc::BufferInfo info(width, height, custom_format, usage);
auto err = perform(gralloc, GRALLOC_MODULE_PERFORM_GET_ATTRIBUTES, width, height, custom_format,
usage, usage, &alignedw, &alignedh, &tile_enabled)
? Error::BAD_BUFFER
: Error::NONE;
if (err != Error::NONE) {
_hidl_cb(err, 0, plane_info);
return Void();
}
size = gralloc::GetSize(info, alignedw, alignedh);
gralloc::PlaneLayoutInfo plane_layout[8] = {};
if (gralloc::IsUncompressedRGBFormat(custom_format) ||
gralloc::IsCompressedRGBFormat(custom_format)) {
gralloc::GetRGBPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count,
plane_layout);
} else {
ALOGE("%s: unsupported format %d", __func__, format);
err = Error::BAD_BUFFER;
_hidl_cb(err, size, plane_info);
return Void();
}
plane_info.resize(plane_count);
for (int i = 0; i < plane_count; i++) {
plane_info[i].component = plane_layout[i].component;
plane_info[i].h_subsampling = plane_layout[i].h_subsampling;
plane_info[i].v_subsampling = plane_layout[i].v_subsampling;
plane_info[i].offset = plane_layout[i].offset;
plane_info[i].pixel_increment = plane_layout[i].step;
plane_info[i].stride = plane_layout[i].stride;
plane_info[i].stride_bytes = plane_layout[i].stride_bytes;
plane_info[i].scanlines = plane_layout[i].scanlines;
plane_info[i].size = plane_layout[i].size;
}
_hidl_cb(err, size, plane_info);
return Void();
}
} // namespace V1_1
} // namespace mapperextensions
} // namespace vendor::qti::hardware::display
File diff suppressed because it is too large. Load diff
-110
View File
@@ -1,110 +0,0 @@
#pragma once
// Renderer-neutral direct-scanout implementation (Android SurfaceControl /
// SurfaceFlinger). Pure NDK: dlsym'd ASurfaceControl_* / ASurfaceTransaction_*
// plus AHardwareBuffer_*. It contains ZERO Vulkan/GL/EGL calls and ZERO
// render-thread coupling: the owning renderer drives it through the public
// surface below and decides WHEN the deferred cursor transaction is applied
// (the Vulkan path defers to its render loop; a GL path would apply inline).
//
// Extracted verbatim from VulkanRendererContext / VulkanRendererScanout.cpp
// (P0 of the GL direct-scanout plan). The only intended semantic change vs the
// old code is that the cursor render-thread signalling (needsRender / dirtyCV)
// stays in the owner: setCursorImage()/setCursorPos() return whether an apply
// became pending so the owner can signal its loop exactly as before.
#include <android/hardware_buffer.h>
#include <android/native_window.h>
#include <android/rect.h>
#include <android/log.h>
#include <atomic>
#include <mutex>
#include <cstdint>
#ifndef SCANOUT_LOG
#define SCANOUT_LOG(...) __android_log_print(ANDROID_LOG_DEBUG,"Winlator_Scanout",__VA_ARGS__)
#endif
class ScanoutContext {
public:
// --- API load / lifecycle ---
bool loadApi();
// Fallback path: creates the child SurfaceControls under the owner's own
// ANativeWindow. Passing a window updates the stored fallback window.
void initFromWindow(ANativeWindow* win = nullptr);
// Primary path: wraps the two sibling game/cursor windows (handed in by the
// owner) as ASurfaceControls. Takes ownership and releases both windows.
void initFromWindows(ANativeWindow* gameWin, ANativeWindow* cursorWin);
void destroy();
// --- per-frame game buffer (applies its transaction INLINE) ---
void setBuffer(AHardwareBuffer* ahb, int x, int y, int w, int h, int fenceFd = -1);
// --- cursor: pure state-setters. They mutate state only and DO NOT signal
// any render thread. Each returns true if a deferred apply is now
// pending (i.e. the owner should arrange for applyPendingCursor()).
bool setCursorImage(void* pixels, short w, short h, short stride);
bool setCursorPos(short x, short y, short hotX, short hotY);
// Applies the pending cursor image/position transaction. Safe to call from
// any thread (a SurfaceControl transaction apply is thread-safe). The Vulkan
// owner calls this from its render loop; an inline owner may call it directly.
void applyPendingCursor();
// --- geometry / sizing fed by the owner ---
void setDst(int x, int y, int w, int h);
void setContainerSize(int w, int h) { containerWidth = w; containerHeight = h; }
void setSurfaceSize(int w, int h) { surfaceWidth = w; surfaceHeight = h; }
void setFallbackWindow(ANativeWindow* win) { window = win; }
void setVerboseLog(bool v) { verboseLog = v; }
// --- queries ---
bool isActive() const { return scanoutActive.load(); }
bool isGameFrameDelivered() const {
return gameFrameDelivered.load(std::memory_order_acquire);
}
void* debugGameSC() const { return scanoutGameSC; }
// Public so the owner can expose them through its existing ABI without a
// second source of truth (Vulkan binds references to these).
std::atomic<bool> scanoutActive{false};
std::atomic<bool> gameFrameDelivered{false};
private:
ANativeWindow* window = nullptr; // owner's own window, for the fallback path
bool verboseLog = true;
int surfaceWidth = 0, surfaceHeight = 0, containerWidth = 0, containerHeight = 0;
void* scanoutGameSC = nullptr;
void* scanoutCursorSC = nullptr;
void* scanoutCursorBuf = nullptr;
int32_t scanoutCursorBufW = 0;
int32_t scanoutCursorBufH = 0;
void* scanoutTx = nullptr;
void* scanoutGameTx = nullptr;
ARect scanoutLastSrc{}, scanoutLastDst{};
bool scanoutGeoDirty = true;
bool scanoutVisShown = false;
bool scanoutApiLoaded = false;
void* fnSCCreateFromWin = nullptr;
void* fnSCRelease = nullptr;
void* fnSTCreate = nullptr;
void* fnSTDelete = nullptr;
void* fnSTApply = nullptr;
void* fnSTSetBuffer = nullptr;
void* fnSTSetZOrder = nullptr;
void* fnSTSetVisibility = nullptr;
void* fnSTSetGeometry = nullptr;
int32_t scanoutDstX = 0, scanoutDstY = 0, scanoutDstW = 0, scanoutDstH = 0;
bool gameScVisible = false;
std::mutex scanoutMutex;
short pendingCursorX = 0, pendingCursorY = 0, pendingCursorHotX = 0, pendingCursorHotY = 0;
bool cursorPosDirty = false;
bool cursorImageDirty = false;
};
-17
View File
@@ -1,17 +0,0 @@
/*
* One function: the release fence the fake-input ring writer needs.
*
* FakeInputWriter publishes events into a shared-memory ring that libfakeinput.so reads from
* another process. Java's memory model says nothing about what a foreign reader sees, so the
* writer calls this between filling the events and advancing the sequence counter: everything
* written before it is visible to the reader before the counter moves.
*/
#include <jni.h>
#include <stdatomic.h>
JNIEXPORT void JNICALL
Java_com_steamdeck_launcher_input_FakeInputWriter_nativeStoreFence(JNIEnv *env, jclass clazz) {
(void)env;
(void)clazz;
atomic_thread_fence(memory_order_release);
}
-181
View File
@@ -1,181 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t cas_code[] = {
0x07230203,0x00010000,0x0008000b,0x000000f3,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000b,0x000000ed,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,
0x00040006,0x00000010,0x00000000,0x0063646e,0x00060006,0x00000010,0x00000001,0x6f736572,
0x6974756c,0x00006e6f,0x00060006,0x00000010,0x00000002,0x72616873,0x73656e70,0x00000073,
0x00030005,0x00000012,0x00006370,0x00050005,0x0000001b,0x52414853,0x53454e50,0x00000053,
0x00030005,0x00000022,0x00000061,0x00060005,0x00000026,0x75706e49,0x78655474,0x65727574,
0x00000000,0x00030005,0x00000036,0x00000062,0x00030005,0x00000041,0x00000063,0x00030005,
0x0000004d,0x00000064,0x00030005,0x00000057,0x00000065,0x00030005,0x0000005c,0x00000066,
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,
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,
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,0x00040017,0x0000000f,0x00000006,0x00000004,0x0005001e,0x00000010,
0x0000000f,0x00000007,0x00000006,0x00040020,0x00000011,0x00000009,0x00000010,0x0004003b,
0x00000011,0x00000012,0x00000009,0x00040015,0x00000013,0x00000020,0x00000001,0x0004002b,
0x00000013,0x00000014,0x00000001,0x00040020,0x00000015,0x00000009,0x00000007,0x00040020,
0x0000001a,0x00000007,0x00000006,0x0004002b,0x00000013,0x0000001c,0x00000002,0x00040020,
0x0000001d,0x00000009,0x00000006,0x00040017,0x00000020,0x00000006,0x00000003,0x00040020,
0x00000021,0x00000007,0x00000020,0x00090019,0x00000023,0x00000006,0x00000001,0x00000000,
0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x00000024,0x00000023,0x00040020,
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,
0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,
0x00000009,0x00000007,0x0004003b,0x00000008,0x0000000d,0x00000007,0x0004003b,0x0000001a,
0x0000001b,0x00000007,0x0004003b,0x00000021,0x00000022,0x00000007,0x0004003b,0x00000021,
0x00000036,0x00000007,0x0004003b,0x00000021,0x00000041,0x00000007,0x0004003b,0x00000021,
0x0000004d,0x00000007,0x0004003b,0x00000021,0x00000057,0x00000007,0x0004003b,0x00000021,
0x0000005c,0x00000007,0x0004003b,0x00000021,0x00000065,0x00000007,0x0004003b,0x00000021,
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,
0x0000000c,0x00050041,0x00000015,0x00000016,0x00000012,0x00000014,0x0004003d,0x00000007,
0x00000017,0x00000016,0x00050050,0x00000007,0x00000018,0x0000000e,0x0000000e,0x00050088,
0x00000007,0x00000019,0x00000018,0x00000017,0x0003003e,0x0000000d,0x00000019,0x00050041,
0x0000001d,0x0000001e,0x00000012,0x0000001c,0x0004003d,0x00000006,0x0000001f,0x0000001e,
0x0003003e,0x0000001b,0x0000001f,0x0004003d,0x00000024,0x00000027,0x00000026,0x0004003d,
0x00000007,0x00000028,0x00000009,0x00050041,0x0000001a,0x0000002b,0x0000000d,0x0000002a,
0x0004003d,0x00000006,0x0000002c,0x0000002b,0x0004007f,0x00000006,0x0000002d,0x0000002c,
0x00050041,0x0000001a,0x0000002f,0x0000000d,0x0000002e,0x0004003d,0x00000006,0x00000030,
0x0000002f,0x0004007f,0x00000006,0x00000031,0x00000030,0x00050050,0x00000007,0x00000032,
0x0000002d,0x00000031,0x00050081,0x00000007,0x00000033,0x00000028,0x00000032,0x00050057,
0x0000000f,0x00000034,0x00000027,0x00000033,0x0008004f,0x00000020,0x00000035,0x00000034,
0x00000034,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000022,0x00000035,0x0004003d,
0x00000024,0x00000037,0x00000026,0x0004003d,0x00000007,0x00000038,0x00000009,0x00050041,
0x0000001a,0x0000003a,0x0000000d,0x0000002e,0x0004003d,0x00000006,0x0000003b,0x0000003a,
0x0004007f,0x00000006,0x0000003c,0x0000003b,0x00050050,0x00000007,0x0000003d,0x00000039,
0x0000003c,0x00050081,0x00000007,0x0000003e,0x00000038,0x0000003d,0x00050057,0x0000000f,
0x0000003f,0x00000037,0x0000003e,0x0008004f,0x00000020,0x00000040,0x0000003f,0x0000003f,
0x00000000,0x00000001,0x00000002,0x0003003e,0x00000036,0x00000040,0x0004003d,0x00000024,
0x00000042,0x00000026,0x0004003d,0x00000007,0x00000043,0x00000009,0x00050041,0x0000001a,
0x00000044,0x0000000d,0x0000002a,0x0004003d,0x00000006,0x00000045,0x00000044,0x00050041,
0x0000001a,0x00000046,0x0000000d,0x0000002e,0x0004003d,0x00000006,0x00000047,0x00000046,
0x0004007f,0x00000006,0x00000048,0x00000047,0x00050050,0x00000007,0x00000049,0x00000045,
0x00000048,0x00050081,0x00000007,0x0000004a,0x00000043,0x00000049,0x00050057,0x0000000f,
0x0000004b,0x00000042,0x0000004a,0x0008004f,0x00000020,0x0000004c,0x0000004b,0x0000004b,
0x00000000,0x00000001,0x00000002,0x0003003e,0x00000041,0x0000004c,0x0004003d,0x00000024,
0x0000004e,0x00000026,0x0004003d,0x00000007,0x0000004f,0x00000009,0x00050041,0x0000001a,
0x00000050,0x0000000d,0x0000002a,0x0004003d,0x00000006,0x00000051,0x00000050,0x0004007f,
0x00000006,0x00000052,0x00000051,0x00050050,0x00000007,0x00000053,0x00000052,0x00000039,
0x00050081,0x00000007,0x00000054,0x0000004f,0x00000053,0x00050057,0x0000000f,0x00000055,
0x0000004e,0x00000054,0x0008004f,0x00000020,0x00000056,0x00000055,0x00000055,0x00000000,
0x00000001,0x00000002,0x0003003e,0x0000004d,0x00000056,0x0004003d,0x00000024,0x00000058,
0x00000026,0x0004003d,0x00000007,0x00000059,0x00000009,0x00050057,0x0000000f,0x0000005a,
0x00000058,0x00000059,0x0008004f,0x00000020,0x0000005b,0x0000005a,0x0000005a,0x00000000,
0x00000001,0x00000002,0x0003003e,0x00000057,0x0000005b,0x0004003d,0x00000024,0x0000005d,
0x00000026,0x0004003d,0x00000007,0x0000005e,0x00000009,0x00050041,0x0000001a,0x0000005f,
0x0000000d,0x0000002a,0x0004003d,0x00000006,0x00000060,0x0000005f,0x00050050,0x00000007,
0x00000061,0x00000060,0x00000039,0x00050081,0x00000007,0x00000062,0x0000005e,0x00000061,
0x00050057,0x0000000f,0x00000063,0x0000005d,0x00000062,0x0008004f,0x00000020,0x00000064,
0x00000063,0x00000063,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000005c,0x00000064,
0x0004003d,0x00000024,0x00000066,0x00000026,0x0004003d,0x00000007,0x00000067,0x00000009,
0x00050041,0x0000001a,0x00000068,0x0000000d,0x0000002a,0x0004003d,0x00000006,0x00000069,
0x00000068,0x0004007f,0x00000006,0x0000006a,0x00000069,0x00050041,0x0000001a,0x0000006b,
0x0000000d,0x0000002e,0x0004003d,0x00000006,0x0000006c,0x0000006b,0x00050050,0x00000007,
0x0000006d,0x0000006a,0x0000006c,0x00050081,0x00000007,0x0000006e,0x00000067,0x0000006d,
0x00050057,0x0000000f,0x0000006f,0x00000066,0x0000006e,0x0008004f,0x00000020,0x00000070,
0x0000006f,0x0000006f,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000065,0x00000070,
0x0004003d,0x00000024,0x00000072,0x00000026,0x0004003d,0x00000007,0x00000073,0x00000009,
0x00050041,0x0000001a,0x00000074,0x0000000d,0x0000002e,0x0004003d,0x00000006,0x00000075,
0x00000074,0x00050050,0x00000007,0x00000076,0x00000039,0x00000075,0x00050081,0x00000007,
0x00000077,0x00000073,0x00000076,0x00050057,0x0000000f,0x00000078,0x00000072,0x00000077,
0x0008004f,0x00000020,0x00000079,0x00000078,0x00000078,0x00000000,0x00000001,0x00000002,
0x0003003e,0x00000071,0x00000079,0x0004003d,0x00000024,0x0000007b,0x00000026,0x0004003d,
0x00000007,0x0000007c,0x00000009,0x00050041,0x0000001a,0x0000007d,0x0000000d,0x0000002a,
0x0004003d,0x00000006,0x0000007e,0x0000007d,0x00050041,0x0000001a,0x0000007f,0x0000000d,
0x0000002e,0x0004003d,0x00000006,0x00000080,0x0000007f,0x00050050,0x00000007,0x00000081,
0x0000007e,0x00000080,0x00050081,0x00000007,0x00000082,0x0000007c,0x00000081,0x00050057,
0x0000000f,0x00000083,0x0000007b,0x00000082,0x0008004f,0x00000020,0x00000084,0x00000083,
0x00000083,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000007a,0x00000084,0x0004003d,
0x00000020,0x00000086,0x0000004d,0x0004003d,0x00000020,0x00000087,0x00000057,0x0007000c,
0x00000020,0x00000088,0x00000001,0x00000025,0x00000086,0x00000087,0x0004003d,0x00000020,
0x00000089,0x0000005c,0x0004003d,0x00000020,0x0000008a,0x00000036,0x0007000c,0x00000020,
0x0000008b,0x00000001,0x00000025,0x00000089,0x0000008a,0x0007000c,0x00000020,0x0000008c,
0x00000001,0x00000025,0x00000088,0x0000008b,0x0004003d,0x00000020,0x0000008d,0x00000071,
0x0007000c,0x00000020,0x0000008e,0x00000001,0x00000025,0x0000008c,0x0000008d,0x0003003e,
0x00000085,0x0000008e,0x0004003d,0x00000020,0x00000090,0x00000085,0x0004003d,0x00000020,
0x00000091,0x00000022,0x0007000c,0x00000020,0x00000092,0x00000001,0x00000025,0x00000090,
0x00000091,0x0004003d,0x00000020,0x00000093,0x00000065,0x0004003d,0x00000020,0x00000094,
0x00000041,0x0007000c,0x00000020,0x00000095,0x00000001,0x00000025,0x00000093,0x00000094,
0x0007000c,0x00000020,0x00000096,0x00000001,0x00000025,0x00000092,0x00000095,0x0004003d,
0x00000020,0x00000097,0x0000007a,0x0007000c,0x00000020,0x00000098,0x00000001,0x00000025,
0x00000096,0x00000097,0x0003003e,0x0000008f,0x00000098,0x0004003d,0x00000020,0x00000099,
0x0000008f,0x0004003d,0x00000020,0x0000009a,0x00000085,0x00050081,0x00000020,0x0000009b,
0x0000009a,0x00000099,0x0003003e,0x00000085,0x0000009b,0x0004003d,0x00000020,0x0000009d,
0x0000004d,0x0004003d,0x00000020,0x0000009e,0x00000057,0x0007000c,0x00000020,0x0000009f,
0x00000001,0x00000028,0x0000009d,0x0000009e,0x0004003d,0x00000020,0x000000a0,0x0000005c,
0x0004003d,0x00000020,0x000000a1,0x00000036,0x0007000c,0x00000020,0x000000a2,0x00000001,
0x00000028,0x000000a0,0x000000a1,0x0007000c,0x00000020,0x000000a3,0x00000001,0x00000028,
0x0000009f,0x000000a2,0x0004003d,0x00000020,0x000000a4,0x00000071,0x0007000c,0x00000020,
0x000000a5,0x00000001,0x00000028,0x000000a3,0x000000a4,0x0003003e,0x0000009c,0x000000a5,
0x0004003d,0x00000020,0x000000a7,0x0000009c,0x0004003d,0x00000020,0x000000a8,0x00000022,
0x0007000c,0x00000020,0x000000a9,0x00000001,0x00000028,0x000000a7,0x000000a8,0x0004003d,
0x00000020,0x000000aa,0x00000065,0x0004003d,0x00000020,0x000000ab,0x00000041,0x0007000c,
0x00000020,0x000000ac,0x00000001,0x00000028,0x000000aa,0x000000ab,0x0007000c,0x00000020,
0x000000ad,0x00000001,0x00000028,0x000000a9,0x000000ac,0x0004003d,0x00000020,0x000000ae,
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
};
-76
View File
@@ -1,76 +0,0 @@
// 1116.5.0
#pragma once
const uint32_t color_code[] = {
0x07230203,0x00010000,0x0008000b,0x00000059,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000011,0x0000004e,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,
0x64726f6f,0x00000000,0x00040005,0x00000016,0x6f6c6f63,0x00000072,0x00030005,0x0000001a,
0x00004350,0x00040006,0x0000001a,0x00000000,0x0063646e,0x00060006,0x0000001a,0x00000001,
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,
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,
0x00000002,0x00030016,0x00000006,0x00000020,0x00040017,0x00000007,0x00000006,0x00000004,
0x00040020,0x00000008,0x00000007,0x00000007,0x00090019,0x0000000a,0x00000006,0x00000001,
0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x0000000b,0x0000000a,
0x00040020,0x0000000c,0x00000000,0x0000000b,0x0004003b,0x0000000c,0x0000000d,0x00000000,
0x00040017,0x0000000f,0x00000006,0x00000002,0x00040020,0x00000010,0x00000001,0x0000000f,
0x0004003b,0x00000010,0x00000011,0x00000001,0x00040017,0x00000014,0x00000006,0x00000003,
0x00040020,0x00000015,0x00000007,0x00000014,0x0007001e,0x0000001a,0x00000007,0x00000006,
0x00000006,0x00000006,0x00000006,0x00040020,0x0000001b,0x00000009,0x0000001a,0x0004003b,
0x0000001b,0x0000001c,0x00000009,0x00040015,0x0000001d,0x00000020,0x00000001,0x0004002b,
0x0000001d,0x0000001e,0x00000001,0x00040020,0x0000001f,0x00000009,0x00000006,0x0004002b,
0x00000006,0x00000024,0x00000000,0x0004002b,0x00000006,0x00000025,0x3f800000,0x0004002b,
0x00000006,0x0000002a,0x3f000000,0x0004002b,0x0000001d,0x0000002d,0x00000002,0x0004002b,
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
};
-78
View File
@@ -1,78 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t crt_code[] = {
0x07230203,0x00010000,0x0008000b,0x00000063,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000b,0x0000004f,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00030005,0x00000009,0x00565576,0x00060005,0x0000000b,0x67617266,0x43786554,
0x64726f6f,0x00000000,0x00050005,0x0000000f,0x616e6966,0x6c6f436c,0x0000726f,0x00060005,
0x00000013,0x75706e49,0x78655474,0x65727574,0x00000000,0x00050005,0x0000003b,0x6e616373,
0x656e696c,0x00000058,0x00050005,0x00000045,0x6e616373,0x656e696c,0x00000059,0x00050005,
0x0000004f,0x4374756f,0x726f6c6f,0x00000000,0x00030005,0x00000060,0x00004350,0x00040006,
0x00000060,0x00000000,0x0063646e,0x00060006,0x00000060,0x00000001,0x6f736572,0x6974756c,
0x00006e6f,0x00030005,0x00000062,0x00006370,0x00040047,0x0000000b,0x0000001e,0x00000000,
0x00040047,0x00000013,0x00000021,0x00000000,0x00040047,0x00000013,0x00000022,0x00000000,
0x00040047,0x0000004f,0x0000001e,0x00000000,0x00030047,0x00000060,0x00000002,0x00050048,
0x00000060,0x00000000,0x00000023,0x00000000,0x00050048,0x00000060,0x00000001,0x00000023,
0x00000010,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,
0x00000020,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,
0x00000007,0x00040020,0x0000000a,0x00000001,0x00000007,0x0004003b,0x0000000a,0x0000000b,
0x00000001,0x00040017,0x0000000d,0x00000006,0x00000004,0x00040020,0x0000000e,0x00000007,
0x0000000d,0x00090019,0x00000010,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,
0x00000001,0x00000000,0x0003001b,0x00000011,0x00000010,0x00040020,0x00000012,0x00000000,
0x00000011,0x0004003b,0x00000012,0x00000013,0x00000000,0x0004002b,0x00000006,0x00000019,
0x3f000000,0x0004002b,0x00000006,0x0000001c,0x3f8051ec,0x00040015,0x00000021,0x00000020,
0x00000000,0x0004002b,0x00000021,0x00000022,0x00000000,0x0004002b,0x00000021,0x00000024,
0x00000001,0x00040020,0x00000025,0x00000007,0x00000006,0x0004002b,0x00000021,0x00000031,
0x00000002,0x00040017,0x00000033,0x00000006,0x00000003,0x0004002b,0x00000006,0x0000003e,
0x44800000,0x0004002b,0x00000006,0x00000042,0x3e000000,0x0004002b,0x00000006,0x0000004b,
0x3ec00000,0x00040020,0x0000004e,0x00000003,0x0000000d,0x0004003b,0x0000004e,0x0000004f,
0x00000003,0x0004002b,0x00000006,0x00000052,0x00000000,0x0006002c,0x00000033,0x00000053,
0x00000052,0x00000052,0x00000052,0x0004002b,0x00000021,0x00000059,0x00000003,0x0004001e,
0x00000060,0x0000000d,0x00000007,0x00040020,0x00000061,0x00000009,0x00000060,0x0004003b,
0x00000061,0x00000062,0x00000009,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,
0x000200f8,0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b,0x0000000e,
0x0000000f,0x00000007,0x0004003b,0x00000025,0x0000003b,0x00000007,0x0004003b,0x00000025,
0x00000045,0x00000007,0x0004003d,0x00000007,0x0000000c,0x0000000b,0x0003003e,0x00000009,
0x0000000c,0x0004003d,0x00000011,0x00000014,0x00000013,0x0004003d,0x00000007,0x00000015,
0x00000009,0x00050057,0x0000000d,0x00000016,0x00000014,0x00000015,0x0003003e,0x0000000f,
0x00000016,0x0004003d,0x00000011,0x00000017,0x00000013,0x0004003d,0x00000007,0x00000018,
0x00000009,0x00050050,0x00000007,0x0000001a,0x00000019,0x00000019,0x00050083,0x00000007,
0x0000001b,0x00000018,0x0000001a,0x0005008e,0x00000007,0x0000001d,0x0000001b,0x0000001c,
0x00050050,0x00000007,0x0000001e,0x00000019,0x00000019,0x00050081,0x00000007,0x0000001f,
0x0000001d,0x0000001e,0x00050057,0x0000000d,0x00000020,0x00000017,0x0000001f,0x00050051,
0x00000006,0x00000023,0x00000020,0x00000000,0x00050041,0x00000025,0x00000026,0x0000000f,
0x00000024,0x0004003d,0x00000006,0x00000027,0x00000026,0x0004003d,0x00000011,0x00000028,
0x00000013,0x0004003d,0x00000007,0x00000029,0x00000009,0x00050050,0x00000007,0x0000002a,
0x00000019,0x00000019,0x00050083,0x00000007,0x0000002b,0x00000029,0x0000002a,0x00050050,
0x00000007,0x0000002c,0x0000001c,0x0000001c,0x00050088,0x00000007,0x0000002d,0x0000002b,
0x0000002c,0x00050050,0x00000007,0x0000002e,0x00000019,0x00000019,0x00050081,0x00000007,
0x0000002f,0x0000002d,0x0000002e,0x00050057,0x0000000d,0x00000030,0x00000028,0x0000002f,
0x00050051,0x00000006,0x00000032,0x00000030,0x00000002,0x00060050,0x00000033,0x00000034,
0x00000023,0x00000027,0x00000032,0x00050041,0x00000025,0x00000035,0x0000000f,0x00000022,
0x00050051,0x00000006,0x00000036,0x00000034,0x00000000,0x0003003e,0x00000035,0x00000036,
0x00050041,0x00000025,0x00000037,0x0000000f,0x00000024,0x00050051,0x00000006,0x00000038,
0x00000034,0x00000001,0x0003003e,0x00000037,0x00000038,0x00050041,0x00000025,0x00000039,
0x0000000f,0x00000031,0x00050051,0x00000006,0x0000003a,0x00000034,0x00000002,0x0003003e,
0x00000039,0x0000003a,0x00050041,0x00000025,0x0000003c,0x00000009,0x00000022,0x0004003d,
0x00000006,0x0000003d,0x0000003c,0x00050085,0x00000006,0x0000003f,0x0000003d,0x0000003e,
0x0006000c,0x00000006,0x00000040,0x00000001,0x0000000d,0x0000003f,0x00050085,0x00000006,
0x00000041,0x00000040,0x00000019,0x00050085,0x00000006,0x00000043,0x00000041,0x00000042,
0x0006000c,0x00000006,0x00000044,0x00000001,0x00000004,0x00000043,0x0003003e,0x0000003b,
0x00000044,0x00050041,0x00000025,0x00000046,0x00000009,0x00000024,0x0004003d,0x00000006,
0x00000047,0x00000046,0x00050085,0x00000006,0x00000048,0x00000047,0x0000003e,0x0006000c,
0x00000006,0x00000049,0x00000001,0x0000000d,0x00000048,0x00050085,0x00000006,0x0000004a,
0x00000049,0x00000019,0x00050085,0x00000006,0x0000004c,0x0000004a,0x0000004b,0x0006000c,
0x00000006,0x0000004d,0x00000001,0x00000004,0x0000004c,0x0003003e,0x00000045,0x0000004d,
0x0004003d,0x0000000d,0x00000050,0x0000000f,0x0008004f,0x00000033,0x00000051,0x00000050,
0x00000050,0x00000000,0x00000001,0x00000002,0x0004003d,0x00000006,0x00000054,0x0000003b,
0x0004003d,0x00000006,0x00000055,0x00000045,0x00050081,0x00000006,0x00000056,0x00000054,
0x00000055,0x00060050,0x00000033,0x00000057,0x00000056,0x00000056,0x00000056,0x0008000c,
0x00000033,0x00000058,0x00000001,0x0000002e,0x00000051,0x00000053,0x00000057,0x00050041,
0x00000025,0x0000005a,0x0000000f,0x00000059,0x0004003d,0x00000006,0x0000005b,0x0000005a,
0x00050051,0x00000006,0x0000005c,0x00000058,0x00000000,0x00050051,0x00000006,0x0000005d,
0x00000058,0x00000001,0x00050051,0x00000006,0x0000005e,0x00000058,0x00000002,0x00070050,
0x0000000d,0x0000005f,0x0000005c,0x0000005d,0x0000005e,0x0000005b,0x0003003e,0x0000004f,
0x0000005f,0x000100fd,0x00010038
};
-70
View File
@@ -1,70 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t deband_code[] = {
0x07230203,0x00010000,0x0008000b,0x00000053,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000021,0x00000029,0x0000004d,
0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,
0x6e69616d,0x00000000,0x00050005,0x0000000b,0x286e6769,0x3b326676,0x00000000,0x00030005,
0x0000000a,0x00000070,0x00030005,0x0000001a,0x006c6f63,0x00060005,0x0000001e,0x75706e49,
0x78655474,0x65727574,0x00000000,0x00060005,0x00000021,0x67617266,0x43786554,0x64726f6f,
0x00000000,0x00030005,0x00000027,0x0000316e,0x00060005,0x00000029,0x465f6c67,0x43676172,
0x64726f6f,0x00000000,0x00040005,0x0000002a,0x61726170,0x0000006d,0x00030005,0x0000002e,
0x0000326e,0x00040005,0x00000035,0x61726170,0x0000006d,0x00030005,0x00000037,0x00697274,
0x00030005,0x0000003e,0x00004350,0x00040006,0x0000003e,0x00000000,0x0063646e,0x00060006,
0x0000003e,0x00000001,0x6f736572,0x6974756c,0x00006e6f,0x00060006,0x0000003e,0x00000002,
0x65727473,0x6874676e,0x00000000,0x00030005,0x00000040,0x00006370,0x00050005,0x0000004d,
0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000001e,0x00000021,0x00000000,0x00040047,
0x0000001e,0x00000022,0x00000000,0x00040047,0x00000021,0x0000001e,0x00000000,0x00040047,
0x00000029,0x0000000b,0x0000000f,0x00030047,0x0000003e,0x00000002,0x00050048,0x0000003e,
0x00000000,0x00000023,0x00000000,0x00050048,0x0000003e,0x00000001,0x00000023,0x00000010,
0x00050048,0x0000003e,0x00000002,0x00000023,0x00000018,0x00040047,0x0000004d,0x0000001e,
0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,
0x00000020,0x00040017,0x00000007,0x00000006,0x00000002,0x00040020,0x00000008,0x00000007,
0x00000007,0x00040021,0x00000009,0x00000006,0x00000008,0x0004002b,0x00000006,0x0000000d,
0x4253ee82,0x0004002b,0x00000006,0x0000000f,0x3d897143,0x0004002b,0x00000006,0x00000010,
0x3bbf4590,0x0005002c,0x00000007,0x00000011,0x0000000f,0x00000010,0x00040017,0x00000018,
0x00000006,0x00000003,0x00040020,0x00000019,0x00000007,0x00000018,0x00090019,0x0000001b,
0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,
0x0000001c,0x0000001b,0x00040020,0x0000001d,0x00000000,0x0000001c,0x0004003b,0x0000001d,
0x0000001e,0x00000000,0x00040020,0x00000020,0x00000001,0x00000007,0x0004003b,0x00000020,
0x00000021,0x00000001,0x00040017,0x00000023,0x00000006,0x00000004,0x00040020,0x00000026,
0x00000007,0x00000006,0x00040020,0x00000028,0x00000001,0x00000023,0x0004003b,0x00000028,
0x00000029,0x00000001,0x0004002b,0x00000006,0x00000031,0x41300000,0x0004002b,0x00000006,
0x00000032,0x41880000,0x0005002c,0x00000007,0x00000033,0x00000031,0x00000032,0x0004002b,
0x00000006,0x0000003b,0x3f800000,0x0005001e,0x0000003e,0x00000023,0x00000007,0x00000006,
0x00040020,0x0000003f,0x00000009,0x0000003e,0x0004003b,0x0000003f,0x00000040,0x00000009,
0x00040015,0x00000041,0x00000020,0x00000001,0x0004002b,0x00000041,0x00000042,0x00000002,
0x00040020,0x00000043,0x00000009,0x00000006,0x0004002b,0x00000006,0x00000046,0x437f0000,
0x00040020,0x0000004c,0x00000003,0x00000023,0x0004003b,0x0000004c,0x0000004d,0x00000003,
0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
0x00000019,0x0000001a,0x00000007,0x0004003b,0x00000026,0x00000027,0x00000007,0x0004003b,
0x00000008,0x0000002a,0x00000007,0x0004003b,0x00000026,0x0000002e,0x00000007,0x0004003b,
0x00000008,0x00000035,0x00000007,0x0004003b,0x00000026,0x00000037,0x00000007,0x0004003d,
0x0000001c,0x0000001f,0x0000001e,0x0004003d,0x00000007,0x00000022,0x00000021,0x00050057,
0x00000023,0x00000024,0x0000001f,0x00000022,0x0008004f,0x00000018,0x00000025,0x00000024,
0x00000024,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000001a,0x00000025,0x0004003d,
0x00000023,0x0000002b,0x00000029,0x0007004f,0x00000007,0x0000002c,0x0000002b,0x0000002b,
0x00000000,0x00000001,0x0003003e,0x0000002a,0x0000002c,0x00050039,0x00000006,0x0000002d,
0x0000000b,0x0000002a,0x0003003e,0x00000027,0x0000002d,0x0004003d,0x00000023,0x0000002f,
0x00000029,0x0007004f,0x00000007,0x00000030,0x0000002f,0x0000002f,0x00000000,0x00000001,
0x00050081,0x00000007,0x00000034,0x00000030,0x00000033,0x0003003e,0x00000035,0x00000034,
0x00050039,0x00000006,0x00000036,0x0000000b,0x00000035,0x0003003e,0x0000002e,0x00000036,
0x0004003d,0x00000006,0x00000038,0x00000027,0x0004003d,0x00000006,0x00000039,0x0000002e,
0x00050081,0x00000006,0x0000003a,0x00000038,0x00000039,0x00050083,0x00000006,0x0000003c,
0x0000003a,0x0000003b,0x0003003e,0x00000037,0x0000003c,0x0004003d,0x00000006,0x0000003d,
0x00000037,0x00050041,0x00000043,0x00000044,0x00000040,0x00000042,0x0004003d,0x00000006,
0x00000045,0x00000044,0x00050088,0x00000006,0x00000047,0x00000045,0x00000046,0x00050085,
0x00000006,0x00000048,0x0000003d,0x00000047,0x00060050,0x00000018,0x00000049,0x00000048,
0x00000048,0x00000048,0x0004003d,0x00000018,0x0000004a,0x0000001a,0x00050081,0x00000018,
0x0000004b,0x0000004a,0x00000049,0x0003003e,0x0000001a,0x0000004b,0x0004003d,0x00000018,
0x0000004e,0x0000001a,0x00050051,0x00000006,0x0000004f,0x0000004e,0x00000000,0x00050051,
0x00000006,0x00000050,0x0000004e,0x00000001,0x00050051,0x00000006,0x00000051,0x0000004e,
0x00000002,0x00070050,0x00000023,0x00000052,0x0000004f,0x00000050,0x00000051,0x0000003b,
0x0003003e,0x0000004d,0x00000052,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000b,
0x00000000,0x00000009,0x00030037,0x00000008,0x0000000a,0x000200f8,0x0000000c,0x0004003d,
0x00000007,0x0000000e,0x0000000a,0x00050094,0x00000006,0x00000012,0x0000000e,0x00000011,
0x0006000c,0x00000006,0x00000013,0x00000001,0x0000000a,0x00000012,0x00050085,0x00000006,
0x00000014,0x0000000d,0x00000013,0x0006000c,0x00000006,0x00000015,0x00000001,0x0000000a,
0x00000014,0x000200fe,0x00000015,0x00010038
};
-133
View File
@@ -1,133 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t downscale_code[] = {
0x07230203,0x00010000,0x0008000b,0x000000b5,0x00000000,0x00020011,0x00000001,0x00020011,
0x00000032,0x0006000b,0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,
0x00000000,0x00000001,0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000046,
0x000000ab,0x00030010,0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,
0x00000004,0x6e69616d,0x00000000,0x00060005,0x0000000a,0x636e616c,0x32736f7a,0x3b316628,
0x00000000,0x00030005,0x00000009,0x00000078,0x00030005,0x0000001d,0x00007870,0x00040005,
0x00000031,0x6c616373,0x00000065,0x00030005,0x00000033,0x00004350,0x00040006,0x00000033,
0x00000000,0x0063646e,0x00050006,0x00000033,0x00000001,0x53637273,0x00657a69,0x00050006,
0x00000033,0x00000002,0x53747364,0x00657a69,0x00030005,0x00000035,0x00006370,0x00050005,
0x00000041,0x53766e69,0x656c6163,0x00000000,0x00030005,0x00000044,0x00000063,0x00060005,
0x00000046,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00040005,0x0000004d,0x65736162,
0x00000000,0x00030005,0x00000051,0x00007a73,0x00030005,0x00000055,0x00637273,0x00030005,
0x0000005c,0x00636361,0x00040005,0x0000005e,0x6d757377,0x00000000,0x00030005,0x00000060,
0x00007964,0x00030005,0x0000006a,0x00007864,0x00030005,0x00000072,0x00000069,0x00030005,
0x00000078,0x00000074,0x00030005,0x00000081,0x00000077,0x00040005,0x00000082,0x61726170,
0x0000006d,0x00040005,0x00000088,0x61726170,0x0000006d,0x00030005,0x00000093,0x00006969,
0x00050005,0x000000ab,0x4374756f,0x726f6c6f,0x00000000,0x00030047,0x00000033,0x00000002,
0x00050048,0x00000033,0x00000000,0x00000023,0x00000000,0x00050048,0x00000033,0x00000001,
0x00000023,0x00000010,0x00050048,0x00000033,0x00000002,0x00000023,0x00000018,0x00040047,
0x00000046,0x0000001e,0x00000000,0x00040047,0x00000055,0x00000021,0x00000000,0x00040047,
0x00000055,0x00000022,0x00000000,0x00040047,0x000000ab,0x0000001e,0x00000000,0x00020013,
0x00000002,0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040020,
0x00000007,0x00000007,0x00000006,0x00040021,0x00000008,0x00000006,0x00000007,0x0004002b,
0x00000006,0x0000000f,0x3727c5ac,0x00020014,0x00000010,0x0004002b,0x00000006,0x00000014,
0x3f800000,0x0004002b,0x00000006,0x00000017,0x40000000,0x0004002b,0x00000006,0x0000001b,
0x00000000,0x0004002b,0x00000006,0x0000001e,0x40490fdb,0x0004002b,0x00000006,0x00000025,
0x3f000000,0x00040017,0x0000002f,0x00000006,0x00000002,0x00040020,0x00000030,0x00000007,
0x0000002f,0x00040017,0x00000032,0x00000006,0x00000004,0x0005001e,0x00000033,0x00000032,
0x0000002f,0x0000002f,0x00040020,0x00000034,0x00000009,0x00000033,0x0004003b,0x00000034,
0x00000035,0x00000009,0x00040015,0x00000036,0x00000020,0x00000001,0x0004002b,0x00000036,
0x00000037,0x00000001,0x00040020,0x00000038,0x00000009,0x0000002f,0x0004002b,0x00000036,
0x0000003b,0x00000002,0x0005002c,0x0000002f,0x0000003f,0x00000014,0x00000014,0x00040020,
0x00000045,0x00000001,0x0000002f,0x0004003b,0x00000045,0x00000046,0x00000001,0x00040017,
0x0000004b,0x00000036,0x00000002,0x00040020,0x0000004c,0x00000007,0x0000004b,0x00090019,
0x00000052,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,
0x0003001b,0x00000053,0x00000052,0x00040020,0x00000054,0x00000000,0x00000053,0x0004003b,
0x00000054,0x00000055,0x00000000,0x0004002b,0x00000036,0x00000057,0x00000000,0x00040017,
0x0000005a,0x00000006,0x00000003,0x00040020,0x0000005b,0x00000007,0x0000005a,0x0006002c,
0x0000005a,0x0000005d,0x0000001b,0x0000001b,0x0000001b,0x00040020,0x0000005f,0x00000007,
0x00000036,0x0004002b,0x00000036,0x00000061,0xfffffffc,0x0004002b,0x00000036,0x00000068,
0x00000004,0x0005002c,0x0000002f,0x0000007b,0x00000025,0x00000025,0x00040015,0x00000083,
0x00000020,0x00000000,0x0004002b,0x00000083,0x00000084,0x00000000,0x0004002b,0x00000083,
0x00000089,0x00000001,0x0005002c,0x0000004b,0x00000095,0x00000057,0x00000057,0x0005002c,
0x0000004b,0x00000097,0x00000037,0x00000037,0x00040020,0x000000aa,0x00000003,0x00000032,
0x0004003b,0x000000aa,0x000000ab,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,
0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000030,0x00000031,0x00000007,0x0004003b,
0x00000030,0x00000041,0x00000007,0x0004003b,0x00000030,0x00000044,0x00000007,0x0004003b,
0x0000004c,0x0000004d,0x00000007,0x0004003b,0x0000004c,0x00000051,0x00000007,0x0004003b,
0x0000005b,0x0000005c,0x00000007,0x0004003b,0x00000007,0x0000005e,0x00000007,0x0004003b,
0x0000005f,0x00000060,0x00000007,0x0004003b,0x0000005f,0x0000006a,0x00000007,0x0004003b,
0x0000004c,0x00000072,0x00000007,0x0004003b,0x00000030,0x00000078,0x00000007,0x0004003b,
0x00000007,0x00000081,0x00000007,0x0004003b,0x00000007,0x00000082,0x00000007,0x0004003b,
0x00000007,0x00000088,0x00000007,0x0004003b,0x0000004c,0x00000093,0x00000007,0x00050041,
0x00000038,0x00000039,0x00000035,0x00000037,0x0004003d,0x0000002f,0x0000003a,0x00000039,
0x00050041,0x00000038,0x0000003c,0x00000035,0x0000003b,0x0004003d,0x0000002f,0x0000003d,
0x0000003c,0x00050088,0x0000002f,0x0000003e,0x0000003a,0x0000003d,0x0007000c,0x0000002f,
0x00000040,0x00000001,0x00000028,0x0000003e,0x0000003f,0x0003003e,0x00000031,0x00000040,
0x0004003d,0x0000002f,0x00000042,0x00000031,0x00050088,0x0000002f,0x00000043,0x0000003f,
0x00000042,0x0003003e,0x00000041,0x00000043,0x0004003d,0x0000002f,0x00000047,0x00000046,
0x00050041,0x00000038,0x00000048,0x00000035,0x00000037,0x0004003d,0x0000002f,0x00000049,
0x00000048,0x00050085,0x0000002f,0x0000004a,0x00000047,0x00000049,0x0003003e,0x00000044,
0x0000004a,0x0004003d,0x0000002f,0x0000004e,0x00000044,0x0006000c,0x0000002f,0x0000004f,
0x00000001,0x00000008,0x0000004e,0x0004006e,0x0000004b,0x00000050,0x0000004f,0x0003003e,
0x0000004d,0x00000050,0x0004003d,0x00000053,0x00000056,0x00000055,0x00040064,0x00000052,
0x00000058,0x00000056,0x00050067,0x0000004b,0x00000059,0x00000058,0x00000057,0x0003003e,
0x00000051,0x00000059,0x0003003e,0x0000005c,0x0000005d,0x0003003e,0x0000005e,0x0000001b,
0x0003003e,0x00000060,0x00000061,0x000200f9,0x00000062,0x000200f8,0x00000062,0x000400f6,
0x00000064,0x00000065,0x00000000,0x000200f9,0x00000066,0x000200f8,0x00000066,0x0004003d,
0x00000036,0x00000067,0x00000060,0x000500b3,0x00000010,0x00000069,0x00000067,0x00000068,
0x000400fa,0x00000069,0x00000063,0x00000064,0x000200f8,0x00000063,0x0003003e,0x0000006a,
0x00000061,0x000200f9,0x0000006b,0x000200f8,0x0000006b,0x000400f6,0x0000006d,0x0000006e,
0x00000000,0x000200f9,0x0000006f,0x000200f8,0x0000006f,0x0004003d,0x00000036,0x00000070,
0x0000006a,0x000500b3,0x00000010,0x00000071,0x00000070,0x00000068,0x000400fa,0x00000071,
0x0000006c,0x0000006d,0x000200f8,0x0000006c,0x0004003d,0x0000004b,0x00000073,0x0000004d,
0x0004003d,0x00000036,0x00000074,0x0000006a,0x0004003d,0x00000036,0x00000075,0x00000060,
0x00050050,0x0000004b,0x00000076,0x00000074,0x00000075,0x00050080,0x0000004b,0x00000077,
0x00000073,0x00000076,0x0003003e,0x00000072,0x00000077,0x0004003d,0x0000004b,0x00000079,
0x00000072,0x0004006f,0x0000002f,0x0000007a,0x00000079,0x00050081,0x0000002f,0x0000007c,
0x0000007a,0x0000007b,0x0004003d,0x0000002f,0x0000007d,0x00000044,0x00050083,0x0000002f,
0x0000007e,0x0000007c,0x0000007d,0x0004003d,0x0000002f,0x0000007f,0x00000041,0x00050085,
0x0000002f,0x00000080,0x0000007e,0x0000007f,0x0003003e,0x00000078,0x00000080,0x00050041,
0x00000007,0x00000085,0x00000078,0x00000084,0x0004003d,0x00000006,0x00000086,0x00000085,
0x0003003e,0x00000082,0x00000086,0x00050039,0x00000006,0x00000087,0x0000000a,0x00000082,
0x00050041,0x00000007,0x0000008a,0x00000078,0x00000089,0x0004003d,0x00000006,0x0000008b,
0x0000008a,0x0003003e,0x00000088,0x0000008b,0x00050039,0x00000006,0x0000008c,0x0000000a,
0x00000088,0x00050085,0x00000006,0x0000008d,0x00000087,0x0000008c,0x0003003e,0x00000081,
0x0000008d,0x0004003d,0x00000006,0x0000008e,0x00000081,0x000500b4,0x00000010,0x0000008f,
0x0000008e,0x0000001b,0x000300f7,0x00000091,0x00000000,0x000400fa,0x0000008f,0x00000090,
0x00000091,0x000200f8,0x00000090,0x000200f9,0x0000006e,0x000200f8,0x00000091,0x0004003d,
0x0000004b,0x00000094,0x00000072,0x0004003d,0x0000004b,0x00000096,0x00000051,0x00050082,
0x0000004b,0x00000098,0x00000096,0x00000097,0x0008000c,0x0000004b,0x00000099,0x00000001,
0x0000002d,0x00000094,0x00000095,0x00000098,0x0003003e,0x00000093,0x00000099,0x0004003d,
0x00000053,0x0000009a,0x00000055,0x0004003d,0x0000004b,0x0000009b,0x00000093,0x00040064,
0x00000052,0x0000009c,0x0000009a,0x0007005f,0x00000032,0x0000009d,0x0000009c,0x0000009b,
0x00000002,0x00000057,0x0008004f,0x0000005a,0x0000009e,0x0000009d,0x0000009d,0x00000000,
0x00000001,0x00000002,0x0004003d,0x00000006,0x0000009f,0x00000081,0x0005008e,0x0000005a,
0x000000a0,0x0000009e,0x0000009f,0x0004003d,0x0000005a,0x000000a1,0x0000005c,0x00050081,
0x0000005a,0x000000a2,0x000000a1,0x000000a0,0x0003003e,0x0000005c,0x000000a2,0x0004003d,
0x00000006,0x000000a3,0x00000081,0x0004003d,0x00000006,0x000000a4,0x0000005e,0x00050081,
0x00000006,0x000000a5,0x000000a4,0x000000a3,0x0003003e,0x0000005e,0x000000a5,0x000200f9,
0x0000006e,0x000200f8,0x0000006e,0x0004003d,0x00000036,0x000000a6,0x0000006a,0x00050080,
0x00000036,0x000000a7,0x000000a6,0x00000037,0x0003003e,0x0000006a,0x000000a7,0x000200f9,
0x0000006b,0x000200f8,0x0000006d,0x000200f9,0x00000065,0x000200f8,0x00000065,0x0004003d,
0x00000036,0x000000a8,0x00000060,0x00050080,0x00000036,0x000000a9,0x000000a8,0x00000037,
0x0003003e,0x00000060,0x000000a9,0x000200f9,0x00000062,0x000200f8,0x00000064,0x0004003d,
0x0000005a,0x000000ac,0x0000005c,0x0004003d,0x00000006,0x000000ad,0x0000005e,0x0007000c,
0x00000006,0x000000ae,0x00000001,0x00000028,0x000000ad,0x0000000f,0x00060050,0x0000005a,
0x000000af,0x000000ae,0x000000ae,0x000000ae,0x00050088,0x0000005a,0x000000b0,0x000000ac,
0x000000af,0x00050051,0x00000006,0x000000b1,0x000000b0,0x00000000,0x00050051,0x00000006,
0x000000b2,0x000000b0,0x00000001,0x00050051,0x00000006,0x000000b3,0x000000b0,0x00000002,
0x00070050,0x00000032,0x000000b4,0x000000b1,0x000000b2,0x000000b3,0x00000014,0x0003003e,
0x000000ab,0x000000b4,0x000100fd,0x00010038,0x00050036,0x00000006,0x0000000a,0x00000000,
0x00000008,0x00030037,0x00000007,0x00000009,0x000200f8,0x0000000b,0x0004003b,0x00000007,
0x0000001d,0x00000007,0x0004003d,0x00000006,0x0000000c,0x00000009,0x0006000c,0x00000006,
0x0000000d,0x00000001,0x00000004,0x0000000c,0x0003003e,0x00000009,0x0000000d,0x0004003d,
0x00000006,0x0000000e,0x00000009,0x000500b8,0x00000010,0x00000011,0x0000000e,0x0000000f,
0x000300f7,0x00000013,0x00000000,0x000400fa,0x00000011,0x00000012,0x00000013,0x000200f8,
0x00000012,0x000200fe,0x00000014,0x000200f8,0x00000013,0x0004003d,0x00000006,0x00000016,
0x00000009,0x000500be,0x00000010,0x00000018,0x00000016,0x00000017,0x000300f7,0x0000001a,
0x00000000,0x000400fa,0x00000018,0x00000019,0x0000001a,0x000200f8,0x00000019,0x000200fe,
0x0000001b,0x000200f8,0x0000001a,0x0004003d,0x00000006,0x0000001f,0x00000009,0x00050085,
0x00000006,0x00000020,0x0000001e,0x0000001f,0x0003003e,0x0000001d,0x00000020,0x0004003d,
0x00000006,0x00000021,0x0000001d,0x0006000c,0x00000006,0x00000022,0x00000001,0x0000000d,
0x00000021,0x00050085,0x00000006,0x00000023,0x00000017,0x00000022,0x0004003d,0x00000006,
0x00000024,0x0000001d,0x00050085,0x00000006,0x00000026,0x00000024,0x00000025,0x0006000c,
0x00000006,0x00000027,0x00000001,0x0000000d,0x00000026,0x00050085,0x00000006,0x00000028,
0x00000023,0x00000027,0x0004003d,0x00000006,0x00000029,0x0000001d,0x0004003d,0x00000006,
0x0000002a,0x0000001d,0x00050085,0x00000006,0x0000002b,0x00000029,0x0000002a,0x00050088,
0x00000006,0x0000002c,0x00000028,0x0000002b,0x000200fe,0x0000002c,0x00010038
};
-907
View File
@@ -1,907 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t fsr_easu_code[] = {
0x07230203,0x00010000,0x0008000b,0x0000046e,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000447,0x00000468,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00050005,0x0000000a,0x70635241,0x66283146,0x00003b31,0x00030005,0x00000009,
0x00000078,0x00060005,0x0000000d,0x78725041,0x63526f4c,0x28314670,0x003b3166,0x00030005,
0x0000000c,0x00000078,0x00060005,0x00000010,0x78725041,0x73526f4c,0x28314671,0x003b3166,
0x00030005,0x0000000f,0x00000078,0x00050005,0x00000013,0x74615341,0x66283146,0x00003b31,
0x00030005,0x00000012,0x00000078,0x00080005,0x0000001b,0x6e694d41,0x28334633,0x3b336676,
0x3b336676,0x3b336676,0x00000000,0x00030005,0x00000018,0x00000061,0x00030005,0x00000019,
0x00000062,0x00030005,0x0000001a,0x00000063,0x00080005,0x00000020,0x78614d41,0x28334633,
0x3b336676,0x3b336676,0x3b336676,0x00000000,0x00030005,0x0000001d,0x00000061,0x00030005,
0x0000001e,0x00000062,0x00030005,0x0000001f,0x00000063,0x00060005,0x00000027,0x45727346,
0x52757361,0x66762846,0x00003b32,0x00030005,0x00000026,0x00000070,0x00060005,0x0000002a,
0x45727346,0x47757361,0x66762846,0x00003b32,0x00030005,0x00000029,0x00000070,0x00060005,
0x0000002d,0x45727346,0x42757361,0x66762846,0x00003b32,0x00030005,0x0000002c,0x00000070,
0x000d0005,0x00000038,0x45727346,0x54757361,0x28467061,0x3b336676,0x763b3166,0x763b3266,
0x763b3266,0x663b3266,0x31663b31,0x3366763b,0x0000003b,0x00030005,0x00000030,0x00004361,
0x00030005,0x00000031,0x00005761,0x00030005,0x00000032,0x0066666f,0x00030005,0x00000033,
0x00726964,0x00030005,0x00000034,0x006e656c,0x00030005,0x00000035,0x00626f6c,0x00030005,
0x00000036,0x00706c63,0x00030005,0x00000037,0x00000063,0x000f0005,0x00000049,0x45727346,
0x53757361,0x28467465,0x3b326676,0x763b3166,0x623b3266,0x31623b31,0x3b31623b,0x663b3162,
0x31663b31,0x3b31663b,0x663b3166,0x00003b31,0x00030005,0x0000003d,0x00726964,0x00030005,
0x0000003e,0x006e656c,0x00030005,0x0000003f,0x00007070,0x00030005,0x00000040,0x00536962,
0x00030005,0x00000041,0x00546962,0x00030005,0x00000042,0x00556962,0x00030005,0x00000043,
0x00566962,0x00030005,0x00000044,0x0000416c,0x00030005,0x00000045,0x0000426c,0x00030005,
0x00000046,0x0000436c,0x00030005,0x00000047,0x0000446c,0x00030005,0x00000048,0x0000456c,
0x000b0005,0x00000057,0x45727346,0x46757361,0x33667628,0x3275763b,0x3475763b,0x3475763b,
0x3475763b,0x3475763b,0x0000003b,0x00030005,0x00000051,0x00786970,0x00030005,0x00000052,
0x00007069,0x00040005,0x00000053,0x306e6f63,0x00000000,0x00040005,0x00000054,0x316e6f63,
0x00000000,0x00040005,0x00000055,0x326e6f63,0x00000000,0x00040005,0x00000056,0x336e6f63,
0x00000000,0x00060005,0x0000007c,0x75706e49,0x78655474,0x65727574,0x00000000,0x00030005,
0x00000090,0x00000076,0x00030005,0x000000af,0x00003264,0x00030005,0x000000be,0x00004277,
0x00030005,0x000000c4,0x00004177,0x00030005,0x000000d4,0x00000077,0x00030005,0x000000e0,
0x00000077,0x00030005,0x00000105,0x00006364,0x00030005,0x00000109,0x00006263,0x00040005,
0x0000010d,0x586e656c,0x00000000,0x00040005,0x00000113,0x61726170,0x0000006d,0x00040005,
0x00000116,0x58726964,0x00000000,0x00040005,0x00000125,0x61726170,0x0000006d,0x00030005,
0x0000012f,0x00006365,0x00030005,0x00000133,0x00006163,0x00040005,0x00000137,0x596e656c,
0x00000000,0x00040005,0x0000013d,0x61726170,0x0000006d,0x00040005,0x00000140,0x59726964,
0x00000000,0x00040005,0x0000014f,0x61726170,0x0000006d,0x00030005,0x00000159,0x00007070,
0x00030005,0x00000164,0x00007066,0x00030005,0x0000016a,0x00003070,0x00030005,0x00000174,
0x00003170,0x00030005,0x0000017a,0x00003270,0x00030005,0x00000180,0x00003370,0x00040005,
0x00000187,0x7a7a6362,0x00000052,0x00040005,0x00000188,0x61726170,0x0000006d,0x00040005,
0x0000018b,0x7a7a6362,0x00000047,0x00040005,0x0000018c,0x61726170,0x0000006d,0x00040005,
0x0000018f,0x7a7a6362,0x00000042,0x00040005,0x00000190,0x61726170,0x0000006d,0x00040005,
0x00000193,0x65666a69,0x00000052,0x00040005,0x00000194,0x61726170,0x0000006d,0x00040005,
0x00000197,0x65666a69,0x00000047,0x00040005,0x00000198,0x61726170,0x0000006d,0x00040005,
0x0000019b,0x65666a69,0x00000042,0x00040005,0x0000019c,0x61726170,0x0000006d,0x00040005,
0x0000019f,0x67686c6b,0x00000052,0x00040005,0x000001a0,0x61726170,0x0000006d,0x00040005,
0x000001a3,0x67686c6b,0x00000047,0x00040005,0x000001a4,0x61726170,0x0000006d,0x00040005,
0x000001a7,0x67686c6b,0x00000042,0x00040005,0x000001a8,0x61726170,0x0000006d,0x00040005,
0x000001ab,0x6e6f7a7a,0x00000052,0x00040005,0x000001ac,0x61726170,0x0000006d,0x00040005,
0x000001af,0x6e6f7a7a,0x00000047,0x00040005,0x000001b0,0x61726170,0x0000006d,0x00040005,
0x000001b3,0x6e6f7a7a,0x00000042,0x00040005,0x000001b4,0x61726170,0x0000006d,0x00040005,
0x000001b7,0x7a7a6362,0x0000004c,0x00040005,0x000001c1,0x65666a69,0x0000004c,0x00040005,
0x000001c9,0x67686c6b,0x0000004c,0x00040005,0x000001d1,0x6e6f7a7a,0x0000004c,0x00030005,
0x000001d9,0x00004c62,0x00030005,0x000001dc,0x00004c63,0x00030005,0x000001df,0x00004c69,
0x00030005,0x000001e2,0x00004c6a,0x00030005,0x000001e5,0x00004c66,0x00030005,0x000001e9,
0x00004c65,0x00030005,0x000001ed,0x00004c6b,0x00030005,0x000001f0,0x00004c6c,0x00030005,
0x000001f3,0x00004c68,0x00030005,0x000001f6,0x00004c67,0x00030005,0x000001f9,0x00004c6f,
0x00030005,0x000001fc,0x00004c6e,0x00030005,0x000001ff,0x00726964,0x00030005,0x00000201,
0x006e656c,0x00040005,0x00000204,0x61726170,0x0000006d,0x00040005,0x00000206,0x61726170,
0x0000006d,0x00040005,0x00000208,0x61726170,0x0000006d,0x00040005,0x0000020a,0x61726170,
0x0000006d,0x00040005,0x0000020b,0x61726170,0x0000006d,0x00040005,0x0000020c,0x61726170,
0x0000006d,0x00040005,0x0000020d,0x61726170,0x0000006d,0x00040005,0x0000020e,0x61726170,
0x0000006d,0x00040005,0x00000210,0x61726170,0x0000006d,0x00040005,0x00000212,0x61726170,
0x0000006d,0x00040005,0x00000214,0x61726170,0x0000006d,0x00040005,0x00000216,0x61726170,
0x0000006d,0x00040005,0x0000021b,0x61726170,0x0000006d,0x00040005,0x0000021d,0x61726170,
0x0000006d,0x00040005,0x0000021f,0x61726170,0x0000006d,0x00040005,0x00000221,0x61726170,
0x0000006d,0x00040005,0x00000222,0x61726170,0x0000006d,0x00040005,0x00000223,0x61726170,
0x0000006d,0x00040005,0x00000224,0x61726170,0x0000006d,0x00040005,0x00000225,0x61726170,
0x0000006d,0x00040005,0x00000227,0x61726170,0x0000006d,0x00040005,0x00000229,0x61726170,
0x0000006d,0x00040005,0x0000022b,0x61726170,0x0000006d,0x00040005,0x0000022d,0x61726170,
0x0000006d,0x00040005,0x00000232,0x61726170,0x0000006d,0x00040005,0x00000234,0x61726170,
0x0000006d,0x00040005,0x00000236,0x61726170,0x0000006d,0x00040005,0x00000238,0x61726170,
0x0000006d,0x00040005,0x00000239,0x61726170,0x0000006d,0x00040005,0x0000023a,0x61726170,
0x0000006d,0x00040005,0x0000023b,0x61726170,0x0000006d,0x00040005,0x0000023c,0x61726170,
0x0000006d,0x00040005,0x0000023e,0x61726170,0x0000006d,0x00040005,0x00000240,0x61726170,
0x0000006d,0x00040005,0x00000242,0x61726170,0x0000006d,0x00040005,0x00000244,0x61726170,
0x0000006d,0x00040005,0x00000249,0x61726170,0x0000006d,0x00040005,0x0000024b,0x61726170,
0x0000006d,0x00040005,0x0000024d,0x61726170,0x0000006d,0x00040005,0x0000024f,0x61726170,
0x0000006d,0x00040005,0x00000250,0x61726170,0x0000006d,0x00040005,0x00000251,0x61726170,
0x0000006d,0x00040005,0x00000252,0x61726170,0x0000006d,0x00040005,0x00000253,0x61726170,
0x0000006d,0x00040005,0x00000255,0x61726170,0x0000006d,0x00040005,0x00000257,0x61726170,
0x0000006d,0x00040005,0x00000259,0x61726170,0x0000006d,0x00040005,0x0000025b,0x61726170,
0x0000006d,0x00040005,0x00000260,0x32726964,0x00000000,0x00040005,0x00000264,0x52726964,
0x00000000,0x00030005,0x0000026a,0x006f727a,0x00040005,0x0000026e,0x61726170,0x0000006d,
0x00040005,0x00000286,0x65727473,0x00686374,0x00040005,0x00000299,0x61726170,0x0000006d,
0x00040005,0x0000029c,0x326e656c,0x00000000,0x00030005,0x000002a7,0x00626f6c,0x00030005,
0x000002ac,0x00706c63,0x00040005,0x000002ad,0x61726170,0x0000006d,0x00040005,0x000002b0,
0x346e696d,0x00000000,0x00040005,0x000002c6,0x61726170,0x0000006d,0x00040005,0x000002c7,
0x61726170,0x0000006d,0x00040005,0x000002c8,0x61726170,0x0000006d,0x00040005,0x000002d2,
0x3478616d,0x00000000,0x00040005,0x000002e8,0x61726170,0x0000006d,0x00040005,0x000002e9,
0x61726170,0x0000006d,0x00040005,0x000002ea,0x61726170,0x0000006d,0x00030005,0x000002f4,
0x00004361,0x00030005,0x000002f6,0x00005761,0x00040005,0x00000301,0x61726170,0x0000006d,
0x00040005,0x00000303,0x61726170,0x0000006d,0x00040005,0x00000305,0x61726170,0x0000006d,
0x00040005,0x00000306,0x61726170,0x0000006d,0x00040005,0x00000308,0x61726170,0x0000006d,
0x00040005,0x0000030a,0x61726170,0x0000006d,0x00040005,0x0000030c,0x61726170,0x0000006d,
0x00040005,0x0000030e,0x61726170,0x0000006d,0x00040005,0x0000031c,0x61726170,0x0000006d,
0x00040005,0x0000031e,0x61726170,0x0000006d,0x00040005,0x00000320,0x61726170,0x0000006d,
0x00040005,0x00000321,0x61726170,0x0000006d,0x00040005,0x00000323,0x61726170,0x0000006d,
0x00040005,0x00000325,0x61726170,0x0000006d,0x00040005,0x00000327,0x61726170,0x0000006d,
0x00040005,0x00000329,0x61726170,0x0000006d,0x00040005,0x00000337,0x61726170,0x0000006d,
0x00040005,0x00000339,0x61726170,0x0000006d,0x00040005,0x0000033b,0x61726170,0x0000006d,
0x00040005,0x0000033c,0x61726170,0x0000006d,0x00040005,0x0000033e,0x61726170,0x0000006d,
0x00040005,0x00000340,0x61726170,0x0000006d,0x00040005,0x00000342,0x61726170,0x0000006d,
0x00040005,0x00000344,0x61726170,0x0000006d,0x00040005,0x00000352,0x61726170,0x0000006d,
0x00040005,0x00000354,0x61726170,0x0000006d,0x00040005,0x00000356,0x61726170,0x0000006d,
0x00040005,0x00000357,0x61726170,0x0000006d,0x00040005,0x00000359,0x61726170,0x0000006d,
0x00040005,0x0000035b,0x61726170,0x0000006d,0x00040005,0x0000035d,0x61726170,0x0000006d,
0x00040005,0x0000035f,0x61726170,0x0000006d,0x00040005,0x0000036c,0x61726170,0x0000006d,
0x00040005,0x0000036e,0x61726170,0x0000006d,0x00040005,0x00000370,0x61726170,0x0000006d,
0x00040005,0x00000371,0x61726170,0x0000006d,0x00040005,0x00000373,0x61726170,0x0000006d,
0x00040005,0x00000375,0x61726170,0x0000006d,0x00040005,0x00000377,0x61726170,0x0000006d,
0x00040005,0x00000379,0x61726170,0x0000006d,0x00040005,0x00000387,0x61726170,0x0000006d,
0x00040005,0x00000389,0x61726170,0x0000006d,0x00040005,0x0000038b,0x61726170,0x0000006d,
0x00040005,0x0000038c,0x61726170,0x0000006d,0x00040005,0x0000038e,0x61726170,0x0000006d,
0x00040005,0x00000390,0x61726170,0x0000006d,0x00040005,0x00000392,0x61726170,0x0000006d,
0x00040005,0x00000394,0x61726170,0x0000006d,0x00040005,0x000003a2,0x61726170,0x0000006d,
0x00040005,0x000003a4,0x61726170,0x0000006d,0x00040005,0x000003a6,0x61726170,0x0000006d,
0x00040005,0x000003a7,0x61726170,0x0000006d,0x00040005,0x000003a9,0x61726170,0x0000006d,
0x00040005,0x000003ab,0x61726170,0x0000006d,0x00040005,0x000003ad,0x61726170,0x0000006d,
0x00040005,0x000003af,0x61726170,0x0000006d,0x00040005,0x000003be,0x61726170,0x0000006d,
0x00040005,0x000003c0,0x61726170,0x0000006d,0x00040005,0x000003c2,0x61726170,0x0000006d,
0x00040005,0x000003c3,0x61726170,0x0000006d,0x00040005,0x000003c5,0x61726170,0x0000006d,
0x00040005,0x000003c7,0x61726170,0x0000006d,0x00040005,0x000003c9,0x61726170,0x0000006d,
0x00040005,0x000003cb,0x61726170,0x0000006d,0x00040005,0x000003d9,0x61726170,0x0000006d,
0x00040005,0x000003db,0x61726170,0x0000006d,0x00040005,0x000003dd,0x61726170,0x0000006d,
0x00040005,0x000003de,0x61726170,0x0000006d,0x00040005,0x000003e0,0x61726170,0x0000006d,
0x00040005,0x000003e2,0x61726170,0x0000006d,0x00040005,0x000003e4,0x61726170,0x0000006d,
0x00040005,0x000003e6,0x61726170,0x0000006d,0x00040005,0x000003f4,0x61726170,0x0000006d,
0x00040005,0x000003f6,0x61726170,0x0000006d,0x00040005,0x000003f8,0x61726170,0x0000006d,
0x00040005,0x000003f9,0x61726170,0x0000006d,0x00040005,0x000003fb,0x61726170,0x0000006d,
0x00040005,0x000003fd,0x61726170,0x0000006d,0x00040005,0x000003ff,0x61726170,0x0000006d,
0x00040005,0x00000401,0x61726170,0x0000006d,0x00040005,0x0000040f,0x61726170,0x0000006d,
0x00040005,0x00000411,0x61726170,0x0000006d,0x00040005,0x00000413,0x61726170,0x0000006d,
0x00040005,0x00000414,0x61726170,0x0000006d,0x00040005,0x00000416,0x61726170,0x0000006d,
0x00040005,0x00000418,0x61726170,0x0000006d,0x00040005,0x0000041a,0x61726170,0x0000006d,
0x00040005,0x0000041c,0x61726170,0x0000006d,0x00040005,0x0000042a,0x61726170,0x0000006d,
0x00040005,0x0000042c,0x61726170,0x0000006d,0x00040005,0x0000042e,0x61726170,0x0000006d,
0x00040005,0x0000042f,0x61726170,0x0000006d,0x00040005,0x00000431,0x61726170,0x0000006d,
0x00040005,0x00000433,0x61726170,0x0000006d,0x00040005,0x00000435,0x61726170,0x0000006d,
0x00040005,0x00000437,0x61726170,0x0000006d,0x00040005,0x0000043e,0x61726170,0x0000006d,
0x00030005,0x00000445,0x00007069,0x00060005,0x00000447,0x67617266,0x43786554,0x64726f6f,
0x00000000,0x00030005,0x00000449,0x00004350,0x00040006,0x00000449,0x00000000,0x0063646e,
0x00050006,0x00000449,0x00000001,0x306e6f63,0x00000000,0x00050006,0x00000449,0x00000002,
0x316e6f63,0x00000000,0x00050006,0x00000449,0x00000003,0x326e6f63,0x00000000,0x00050006,
0x00000449,0x00000004,0x336e6f63,0x00000000,0x00060006,0x00000449,0x00000005,0x7074756f,
0x69537475,0x0000657a,0x00030005,0x0000044b,0x00006370,0x00030005,0x00000452,0x00000063,
0x00040005,0x00000455,0x61726170,0x0000006d,0x00040005,0x00000456,0x61726170,0x0000006d,
0x00040005,0x00000458,0x61726170,0x0000006d,0x00040005,0x0000045c,0x61726170,0x0000006d,
0x00040005,0x0000045f,0x61726170,0x0000006d,0x00040005,0x00000462,0x61726170,0x0000006d,
0x00050005,0x00000468,0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000007c,0x00000021,
0x00000000,0x00040047,0x0000007c,0x00000022,0x00000000,0x00040047,0x00000447,0x0000001e,
0x00000000,0x00030047,0x00000449,0x00000002,0x00050048,0x00000449,0x00000000,0x00000023,
0x00000000,0x00050048,0x00000449,0x00000001,0x00000023,0x00000010,0x00050048,0x00000449,
0x00000002,0x00000023,0x00000020,0x00050048,0x00000449,0x00000003,0x00000023,0x00000030,
0x00050048,0x00000449,0x00000004,0x00000023,0x00000040,0x00050048,0x00000449,0x00000005,
0x00000023,0x00000050,0x00040047,0x00000468,0x0000001e,0x00000000,0x00020013,0x00000002,
0x00030021,0x00000003,0x00000002,0x00030016,0x00000006,0x00000020,0x00040020,0x00000007,
0x00000007,0x00000006,0x00040021,0x00000008,0x00000006,0x00000007,0x00040017,0x00000015,
0x00000006,0x00000003,0x00040020,0x00000016,0x00000007,0x00000015,0x00060021,0x00000017,
0x00000015,0x00000016,0x00000016,0x00000016,0x00040017,0x00000022,0x00000006,0x00000002,
0x00040020,0x00000023,0x00000007,0x00000022,0x00040017,0x00000024,0x00000006,0x00000004,
0x00040021,0x00000025,0x00000024,0x00000023,0x000b0021,0x0000002f,0x00000002,0x00000016,
0x00000007,0x00000023,0x00000023,0x00000023,0x00000007,0x00000007,0x00000016,0x00020014,
0x0000003a,0x00040020,0x0000003b,0x00000007,0x0000003a,0x000f0021,0x0000003c,0x00000002,
0x00000023,0x00000007,0x00000023,0x0000003b,0x0000003b,0x0000003b,0x0000003b,0x00000007,
0x00000007,0x00000007,0x00000007,0x00000007,0x00040015,0x0000004b,0x00000020,0x00000000,
0x00040017,0x0000004c,0x0000004b,0x00000002,0x00040020,0x0000004d,0x00000007,0x0000004c,
0x00040017,0x0000004e,0x0000004b,0x00000004,0x00040020,0x0000004f,0x00000007,0x0000004e,
0x00090021,0x00000050,0x00000002,0x00000016,0x0000004d,0x0000004f,0x0000004f,0x0000004f,
0x0000004f,0x0004002b,0x00000006,0x00000059,0x3f800000,0x0004002b,0x00000006,0x00000067,
0x00000000,0x00090019,0x00000079,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,
0x00000001,0x00000000,0x0003001b,0x0000007a,0x00000079,0x00040020,0x0000007b,0x00000000,
0x0000007a,0x0004003b,0x0000007b,0x0000007c,0x00000000,0x00040015,0x0000007f,0x00000020,
0x00000001,0x0004002b,0x0000007f,0x00000080,0x00000000,0x0004002b,0x0000007f,0x00000086,
0x00000001,0x0004002b,0x0000007f,0x0000008c,0x00000002,0x0004002b,0x0000004b,0x00000091,
0x00000000,0x0004002b,0x0000004b,0x00000097,0x00000001,0x0004002b,0x00000006,0x000000bf,
0x3ecccccd,0x0004002b,0x00000006,0x000000c2,0xbf800000,0x0004002b,0x00000006,0x000000cf,
0x3fc80000,0x0004002b,0x00000006,0x000000d2,0xbf100000,0x00040020,0x00000186,0x00000007,
0x00000024,0x0004002b,0x00000006,0x000001b9,0x3f000000,0x0007002c,0x00000024,0x000001ba,
0x000001b9,0x000001b9,0x000001b9,0x000001b9,0x0004002b,0x0000004b,0x000001e6,0x00000002,
0x0004002b,0x0000004b,0x000001ea,0x00000003,0x0005002c,0x00000022,0x00000200,0x00000067,
0x00000067,0x00030029,0x0000003a,0x00000202,0x0003002a,0x0000003a,0x00000203,0x0004002b,
0x00000006,0x0000026c,0x38000000,0x0004002b,0x00000006,0x000002a2,0xbf000000,0x0004002b,
0x00000006,0x000002a8,0xbe947ae1,0x0006002c,0x00000015,0x000002f5,0x00000067,0x00000067,
0x00000067,0x0005002c,0x00000022,0x000002f7,0x00000067,0x000000c2,0x0005002c,0x00000022,
0x00000312,0x00000059,0x000000c2,0x0005002c,0x00000022,0x0000032d,0x000000c2,0x00000059,
0x0005002c,0x00000022,0x00000348,0x00000067,0x00000059,0x0005002c,0x00000022,0x0000037d,
0x000000c2,0x00000067,0x0005002c,0x00000022,0x00000398,0x00000059,0x00000059,0x0004002b,
0x00000006,0x000003b3,0x40000000,0x0005002c,0x00000022,0x000003b4,0x000003b3,0x00000059,
0x0005002c,0x00000022,0x000003cf,0x000003b3,0x00000067,0x0005002c,0x00000022,0x000003ea,
0x00000059,0x00000067,0x0005002c,0x00000022,0x00000405,0x00000059,0x000003b3,0x0005002c,
0x00000022,0x00000420,0x00000067,0x000003b3,0x00040020,0x00000446,0x00000001,0x00000022,
0x0004003b,0x00000446,0x00000447,0x00000001,0x0008001e,0x00000449,0x00000024,0x0000004e,
0x0000004e,0x0000004e,0x0000004e,0x00000022,0x00040020,0x0000044a,0x00000009,0x00000449,
0x0004003b,0x0000044a,0x0000044b,0x00000009,0x0004002b,0x0000007f,0x0000044c,0x00000005,
0x00040020,0x0000044d,0x00000009,0x00000022,0x0004002b,0x0000007f,0x00000453,0x00000003,
0x0004002b,0x0000007f,0x00000454,0x00000004,0x00040020,0x00000459,0x00000009,0x0000004e,
0x00040020,0x00000467,0x00000003,0x00000024,0x0004003b,0x00000467,0x00000468,0x00000003,
0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
0x0000004d,0x00000445,0x00000007,0x0004003b,0x00000016,0x00000452,0x00000007,0x0004003b,
0x00000016,0x00000455,0x00000007,0x0004003b,0x0000004d,0x00000456,0x00000007,0x0004003b,
0x0000004f,0x00000458,0x00000007,0x0004003b,0x0000004f,0x0000045c,0x00000007,0x0004003b,
0x0000004f,0x0000045f,0x00000007,0x0004003b,0x0000004f,0x00000462,0x00000007,0x0004003d,
0x00000022,0x00000448,0x00000447,0x00050041,0x0000044d,0x0000044e,0x0000044b,0x0000044c,
0x0004003d,0x00000022,0x0000044f,0x0000044e,0x00050085,0x00000022,0x00000450,0x00000448,
0x0000044f,0x0004006d,0x0000004c,0x00000451,0x00000450,0x0003003e,0x00000445,0x00000451,
0x0004003d,0x0000004c,0x00000457,0x00000445,0x0003003e,0x00000456,0x00000457,0x00050041,
0x00000459,0x0000045a,0x0000044b,0x00000086,0x0004003d,0x0000004e,0x0000045b,0x0000045a,
0x0003003e,0x00000458,0x0000045b,0x00050041,0x00000459,0x0000045d,0x0000044b,0x0000008c,
0x0004003d,0x0000004e,0x0000045e,0x0000045d,0x0003003e,0x0000045c,0x0000045e,0x00050041,
0x00000459,0x00000460,0x0000044b,0x00000453,0x0004003d,0x0000004e,0x00000461,0x00000460,
0x0003003e,0x0000045f,0x00000461,0x00050041,0x00000459,0x00000463,0x0000044b,0x00000454,
0x0004003d,0x0000004e,0x00000464,0x00000463,0x0003003e,0x00000462,0x00000464,0x000a0039,
0x00000002,0x00000465,0x00000057,0x00000455,0x00000456,0x00000458,0x0000045c,0x0000045f,
0x00000462,0x0004003d,0x00000015,0x00000466,0x00000455,0x0003003e,0x00000452,0x00000466,
0x0004003d,0x00000015,0x00000469,0x00000452,0x00050051,0x00000006,0x0000046a,0x00000469,
0x00000000,0x00050051,0x00000006,0x0000046b,0x00000469,0x00000001,0x00050051,0x00000006,
0x0000046c,0x00000469,0x00000002,0x00070050,0x00000024,0x0000046d,0x0000046a,0x0000046b,
0x0000046c,0x00000059,0x0003003e,0x00000468,0x0000046d,0x000100fd,0x00010038,0x00050036,
0x00000006,0x0000000a,0x00000000,0x00000008,0x00030037,0x00000007,0x00000009,0x000200f8,
0x0000000b,0x0004003d,0x00000006,0x0000005a,0x00000009,0x00050088,0x00000006,0x0000005b,
0x00000059,0x0000005a,0x000200fe,0x0000005b,0x00010038,0x00050036,0x00000006,0x0000000d,
0x00000000,0x00000008,0x00030037,0x00000007,0x0000000c,0x000200f8,0x0000000e,0x0004003d,
0x00000006,0x0000005e,0x0000000c,0x00050088,0x00000006,0x0000005f,0x00000059,0x0000005e,
0x000200fe,0x0000005f,0x00010038,0x00050036,0x00000006,0x00000010,0x00000000,0x00000008,
0x00030037,0x00000007,0x0000000f,0x000200f8,0x00000011,0x0004003d,0x00000006,0x00000062,
0x0000000f,0x0006000c,0x00000006,0x00000063,0x00000001,0x00000020,0x00000062,0x000200fe,
0x00000063,0x00010038,0x00050036,0x00000006,0x00000013,0x00000000,0x00000008,0x00030037,
0x00000007,0x00000012,0x000200f8,0x00000014,0x0004003d,0x00000006,0x00000066,0x00000012,
0x0008000c,0x00000006,0x00000068,0x00000001,0x0000002b,0x00000066,0x00000067,0x00000059,
0x000200fe,0x00000068,0x00010038,0x00050036,0x00000015,0x0000001b,0x00000000,0x00000017,
0x00030037,0x00000016,0x00000018,0x00030037,0x00000016,0x00000019,0x00030037,0x00000016,
0x0000001a,0x000200f8,0x0000001c,0x0004003d,0x00000015,0x0000006b,0x00000018,0x0004003d,
0x00000015,0x0000006c,0x00000019,0x0004003d,0x00000015,0x0000006d,0x0000001a,0x0007000c,
0x00000015,0x0000006e,0x00000001,0x00000025,0x0000006c,0x0000006d,0x0007000c,0x00000015,
0x0000006f,0x00000001,0x00000025,0x0000006b,0x0000006e,0x000200fe,0x0000006f,0x00010038,
0x00050036,0x00000015,0x00000020,0x00000000,0x00000017,0x00030037,0x00000016,0x0000001d,
0x00030037,0x00000016,0x0000001e,0x00030037,0x00000016,0x0000001f,0x000200f8,0x00000021,
0x0004003d,0x00000015,0x00000072,0x0000001d,0x0004003d,0x00000015,0x00000073,0x0000001e,
0x0004003d,0x00000015,0x00000074,0x0000001f,0x0007000c,0x00000015,0x00000075,0x00000001,
0x00000028,0x00000073,0x00000074,0x0007000c,0x00000015,0x00000076,0x00000001,0x00000028,
0x00000072,0x00000075,0x000200fe,0x00000076,0x00010038,0x00050036,0x00000024,0x00000027,
0x00000000,0x00000025,0x00030037,0x00000023,0x00000026,0x000200f8,0x00000028,0x0004003d,
0x0000007a,0x0000007d,0x0000007c,0x0004003d,0x00000022,0x0000007e,0x00000026,0x00060060,
0x00000024,0x00000081,0x0000007d,0x0000007e,0x00000080,0x000200fe,0x00000081,0x00010038,
0x00050036,0x00000024,0x0000002a,0x00000000,0x00000025,0x00030037,0x00000023,0x00000029,
0x000200f8,0x0000002b,0x0004003d,0x0000007a,0x00000084,0x0000007c,0x0004003d,0x00000022,
0x00000085,0x00000029,0x00060060,0x00000024,0x00000087,0x00000084,0x00000085,0x00000086,
0x000200fe,0x00000087,0x00010038,0x00050036,0x00000024,0x0000002d,0x00000000,0x00000025,
0x00030037,0x00000023,0x0000002c,0x000200f8,0x0000002e,0x0004003d,0x0000007a,0x0000008a,
0x0000007c,0x0004003d,0x00000022,0x0000008b,0x0000002c,0x00060060,0x00000024,0x0000008d,
0x0000008a,0x0000008b,0x0000008c,0x000200fe,0x0000008d,0x00010038,0x00050036,0x00000002,
0x00000038,0x00000000,0x0000002f,0x00030037,0x00000016,0x00000030,0x00030037,0x00000007,
0x00000031,0x00030037,0x00000023,0x00000032,0x00030037,0x00000023,0x00000033,0x00030037,
0x00000023,0x00000034,0x00030037,0x00000007,0x00000035,0x00030037,0x00000007,0x00000036,
0x00030037,0x00000016,0x00000037,0x000200f8,0x00000039,0x0004003b,0x00000023,0x00000090,
0x00000007,0x0004003b,0x00000007,0x000000af,0x00000007,0x0004003b,0x00000007,0x000000be,
0x00000007,0x0004003b,0x00000007,0x000000c4,0x00000007,0x0004003b,0x00000007,0x000000d4,
0x00000007,0x00050041,0x00000007,0x00000092,0x00000032,0x00000091,0x0004003d,0x00000006,
0x00000093,0x00000092,0x00050041,0x00000007,0x00000094,0x00000033,0x00000091,0x0004003d,
0x00000006,0x00000095,0x00000094,0x00050085,0x00000006,0x00000096,0x00000093,0x00000095,
0x00050041,0x00000007,0x00000098,0x00000032,0x00000097,0x0004003d,0x00000006,0x00000099,
0x00000098,0x00050041,0x00000007,0x0000009a,0x00000033,0x00000097,0x0004003d,0x00000006,
0x0000009b,0x0000009a,0x00050085,0x00000006,0x0000009c,0x00000099,0x0000009b,0x00050081,
0x00000006,0x0000009d,0x00000096,0x0000009c,0x00050041,0x00000007,0x0000009e,0x00000090,
0x00000091,0x0003003e,0x0000009e,0x0000009d,0x00050041,0x00000007,0x0000009f,0x00000032,
0x00000091,0x0004003d,0x00000006,0x000000a0,0x0000009f,0x00050041,0x00000007,0x000000a1,
0x00000033,0x00000097,0x0004003d,0x00000006,0x000000a2,0x000000a1,0x0004007f,0x00000006,
0x000000a3,0x000000a2,0x00050085,0x00000006,0x000000a4,0x000000a0,0x000000a3,0x00050041,
0x00000007,0x000000a5,0x00000032,0x00000097,0x0004003d,0x00000006,0x000000a6,0x000000a5,
0x00050041,0x00000007,0x000000a7,0x00000033,0x00000091,0x0004003d,0x00000006,0x000000a8,
0x000000a7,0x00050085,0x00000006,0x000000a9,0x000000a6,0x000000a8,0x00050081,0x00000006,
0x000000aa,0x000000a4,0x000000a9,0x00050041,0x00000007,0x000000ab,0x00000090,0x00000097,
0x0003003e,0x000000ab,0x000000aa,0x0004003d,0x00000022,0x000000ac,0x00000034,0x0004003d,
0x00000022,0x000000ad,0x00000090,0x00050085,0x00000022,0x000000ae,0x000000ad,0x000000ac,
0x0003003e,0x00000090,0x000000ae,0x00050041,0x00000007,0x000000b0,0x00000090,0x00000091,
0x0004003d,0x00000006,0x000000b1,0x000000b0,0x00050041,0x00000007,0x000000b2,0x00000090,
0x00000091,0x0004003d,0x00000006,0x000000b3,0x000000b2,0x00050085,0x00000006,0x000000b4,
0x000000b1,0x000000b3,0x00050041,0x00000007,0x000000b5,0x00000090,0x00000097,0x0004003d,
0x00000006,0x000000b6,0x000000b5,0x00050041,0x00000007,0x000000b7,0x00000090,0x00000097,
0x0004003d,0x00000006,0x000000b8,0x000000b7,0x00050085,0x00000006,0x000000b9,0x000000b6,
0x000000b8,0x00050081,0x00000006,0x000000ba,0x000000b4,0x000000b9,0x0003003e,0x000000af,
0x000000ba,0x0004003d,0x00000006,0x000000bb,0x000000af,0x0004003d,0x00000006,0x000000bc,
0x00000036,0x0007000c,0x00000006,0x000000bd,0x00000001,0x00000025,0x000000bb,0x000000bc,
0x0003003e,0x000000af,0x000000bd,0x0004003d,0x00000006,0x000000c0,0x000000af,0x00050085,
0x00000006,0x000000c1,0x000000bf,0x000000c0,0x00050081,0x00000006,0x000000c3,0x000000c1,
0x000000c2,0x0003003e,0x000000be,0x000000c3,0x0004003d,0x00000006,0x000000c5,0x00000035,
0x0004003d,0x00000006,0x000000c6,0x000000af,0x00050085,0x00000006,0x000000c7,0x000000c5,
0x000000c6,0x00050081,0x00000006,0x000000c8,0x000000c7,0x000000c2,0x0003003e,0x000000c4,
0x000000c8,0x0004003d,0x00000006,0x000000c9,0x000000be,0x0004003d,0x00000006,0x000000ca,
0x000000be,0x00050085,0x00000006,0x000000cb,0x000000ca,0x000000c9,0x0003003e,0x000000be,
0x000000cb,0x0004003d,0x00000006,0x000000cc,0x000000c4,0x0004003d,0x00000006,0x000000cd,
0x000000c4,0x00050085,0x00000006,0x000000ce,0x000000cd,0x000000cc,0x0003003e,0x000000c4,
0x000000ce,0x0004003d,0x00000006,0x000000d0,0x000000be,0x00050085,0x00000006,0x000000d1,
0x000000cf,0x000000d0,0x00050081,0x00000006,0x000000d3,0x000000d1,0x000000d2,0x0003003e,
0x000000be,0x000000d3,0x0004003d,0x00000006,0x000000d5,0x000000be,0x0004003d,0x00000006,
0x000000d6,0x000000c4,0x00050085,0x00000006,0x000000d7,0x000000d5,0x000000d6,0x0003003e,
0x000000d4,0x000000d7,0x0004003d,0x00000015,0x000000d8,0x00000037,0x0004003d,0x00000006,
0x000000d9,0x000000d4,0x0005008e,0x00000015,0x000000da,0x000000d8,0x000000d9,0x0004003d,
0x00000015,0x000000db,0x00000030,0x00050081,0x00000015,0x000000dc,0x000000db,0x000000da,
0x0003003e,0x00000030,0x000000dc,0x0004003d,0x00000006,0x000000dd,0x000000d4,0x0004003d,
0x00000006,0x000000de,0x00000031,0x00050081,0x00000006,0x000000df,0x000000de,0x000000dd,
0x0003003e,0x00000031,0x000000df,0x000100fd,0x00010038,0x00050036,0x00000002,0x00000049,
0x00000000,0x0000003c,0x00030037,0x00000023,0x0000003d,0x00030037,0x00000007,0x0000003e,
0x00030037,0x00000023,0x0000003f,0x00030037,0x0000003b,0x00000040,0x00030037,0x0000003b,
0x00000041,0x00030037,0x0000003b,0x00000042,0x00030037,0x0000003b,0x00000043,0x00030037,
0x00000007,0x00000044,0x00030037,0x00000007,0x00000045,0x00030037,0x00000007,0x00000046,
0x00030037,0x00000007,0x00000047,0x00030037,0x00000007,0x00000048,0x000200f8,0x0000004a,
0x0004003b,0x00000007,0x000000e0,0x00000007,0x0004003b,0x00000007,0x00000105,0x00000007,
0x0004003b,0x00000007,0x00000109,0x00000007,0x0004003b,0x00000007,0x0000010d,0x00000007,
0x0004003b,0x00000007,0x00000113,0x00000007,0x0004003b,0x00000007,0x00000116,0x00000007,
0x0004003b,0x00000007,0x00000125,0x00000007,0x0004003b,0x00000007,0x0000012f,0x00000007,
0x0004003b,0x00000007,0x00000133,0x00000007,0x0004003b,0x00000007,0x00000137,0x00000007,
0x0004003b,0x00000007,0x0000013d,0x00000007,0x0004003b,0x00000007,0x00000140,0x00000007,
0x0004003b,0x00000007,0x0000014f,0x00000007,0x0003003e,0x000000e0,0x00000067,0x0004003d,
0x0000003a,0x000000e1,0x00000040,0x000300f7,0x000000e3,0x00000000,0x000400fa,0x000000e1,
0x000000e2,0x000000e3,0x000200f8,0x000000e2,0x00050041,0x00000007,0x000000e4,0x0000003f,
0x00000091,0x0004003d,0x00000006,0x000000e5,0x000000e4,0x00050083,0x00000006,0x000000e6,
0x00000059,0x000000e5,0x00050041,0x00000007,0x000000e7,0x0000003f,0x00000097,0x0004003d,
0x00000006,0x000000e8,0x000000e7,0x00050083,0x00000006,0x000000e9,0x00000059,0x000000e8,
0x00050085,0x00000006,0x000000ea,0x000000e6,0x000000e9,0x0003003e,0x000000e0,0x000000ea,
0x000200f9,0x000000e3,0x000200f8,0x000000e3,0x0004003d,0x0000003a,0x000000eb,0x00000041,
0x000300f7,0x000000ed,0x00000000,0x000400fa,0x000000eb,0x000000ec,0x000000ed,0x000200f8,
0x000000ec,0x00050041,0x00000007,0x000000ee,0x0000003f,0x00000091,0x0004003d,0x00000006,
0x000000ef,0x000000ee,0x00050041,0x00000007,0x000000f0,0x0000003f,0x00000097,0x0004003d,
0x00000006,0x000000f1,0x000000f0,0x00050083,0x00000006,0x000000f2,0x00000059,0x000000f1,
0x00050085,0x00000006,0x000000f3,0x000000ef,0x000000f2,0x0003003e,0x000000e0,0x000000f3,
0x000200f9,0x000000ed,0x000200f8,0x000000ed,0x0004003d,0x0000003a,0x000000f4,0x00000042,
0x000300f7,0x000000f6,0x00000000,0x000400fa,0x000000f4,0x000000f5,0x000000f6,0x000200f8,
0x000000f5,0x00050041,0x00000007,0x000000f7,0x0000003f,0x00000091,0x0004003d,0x00000006,
0x000000f8,0x000000f7,0x00050083,0x00000006,0x000000f9,0x00000059,0x000000f8,0x00050041,
0x00000007,0x000000fa,0x0000003f,0x00000097,0x0004003d,0x00000006,0x000000fb,0x000000fa,
0x00050085,0x00000006,0x000000fc,0x000000f9,0x000000fb,0x0003003e,0x000000e0,0x000000fc,
0x000200f9,0x000000f6,0x000200f8,0x000000f6,0x0004003d,0x0000003a,0x000000fd,0x00000043,
0x000300f7,0x000000ff,0x00000000,0x000400fa,0x000000fd,0x000000fe,0x000000ff,0x000200f8,
0x000000fe,0x00050041,0x00000007,0x00000100,0x0000003f,0x00000091,0x0004003d,0x00000006,
0x00000101,0x00000100,0x00050041,0x00000007,0x00000102,0x0000003f,0x00000097,0x0004003d,
0x00000006,0x00000103,0x00000102,0x00050085,0x00000006,0x00000104,0x00000101,0x00000103,
0x0003003e,0x000000e0,0x00000104,0x000200f9,0x000000ff,0x000200f8,0x000000ff,0x0004003d,
0x00000006,0x00000106,0x00000047,0x0004003d,0x00000006,0x00000107,0x00000046,0x00050083,
0x00000006,0x00000108,0x00000106,0x00000107,0x0003003e,0x00000105,0x00000108,0x0004003d,
0x00000006,0x0000010a,0x00000046,0x0004003d,0x00000006,0x0000010b,0x00000045,0x00050083,
0x00000006,0x0000010c,0x0000010a,0x0000010b,0x0003003e,0x00000109,0x0000010c,0x0004003d,
0x00000006,0x0000010e,0x00000105,0x0006000c,0x00000006,0x0000010f,0x00000001,0x00000004,
0x0000010e,0x0004003d,0x00000006,0x00000110,0x00000109,0x0006000c,0x00000006,0x00000111,
0x00000001,0x00000004,0x00000110,0x0007000c,0x00000006,0x00000112,0x00000001,0x00000028,
0x0000010f,0x00000111,0x0003003e,0x0000010d,0x00000112,0x0004003d,0x00000006,0x00000114,
0x0000010d,0x0003003e,0x00000113,0x00000114,0x00050039,0x00000006,0x00000115,0x0000000d,
0x00000113,0x0003003e,0x0000010d,0x00000115,0x0004003d,0x00000006,0x00000117,0x00000047,
0x0004003d,0x00000006,0x00000118,0x00000045,0x00050083,0x00000006,0x00000119,0x00000117,
0x00000118,0x0003003e,0x00000116,0x00000119,0x0004003d,0x00000006,0x0000011a,0x00000116,
0x0004003d,0x00000006,0x0000011b,0x000000e0,0x00050085,0x00000006,0x0000011c,0x0000011a,
0x0000011b,0x00050041,0x00000007,0x0000011d,0x0000003d,0x00000091,0x0004003d,0x00000006,
0x0000011e,0x0000011d,0x00050081,0x00000006,0x0000011f,0x0000011e,0x0000011c,0x00050041,
0x00000007,0x00000120,0x0000003d,0x00000091,0x0003003e,0x00000120,0x0000011f,0x0004003d,
0x00000006,0x00000121,0x00000116,0x0006000c,0x00000006,0x00000122,0x00000001,0x00000004,
0x00000121,0x0004003d,0x00000006,0x00000123,0x0000010d,0x00050085,0x00000006,0x00000124,
0x00000122,0x00000123,0x0003003e,0x00000125,0x00000124,0x00050039,0x00000006,0x00000126,
0x00000013,0x00000125,0x0003003e,0x0000010d,0x00000126,0x0004003d,0x00000006,0x00000127,
0x0000010d,0x0004003d,0x00000006,0x00000128,0x0000010d,0x00050085,0x00000006,0x00000129,
0x00000128,0x00000127,0x0003003e,0x0000010d,0x00000129,0x0004003d,0x00000006,0x0000012a,
0x0000010d,0x0004003d,0x00000006,0x0000012b,0x000000e0,0x00050085,0x00000006,0x0000012c,
0x0000012a,0x0000012b,0x0004003d,0x00000006,0x0000012d,0x0000003e,0x00050081,0x00000006,
0x0000012e,0x0000012d,0x0000012c,0x0003003e,0x0000003e,0x0000012e,0x0004003d,0x00000006,
0x00000130,0x00000048,0x0004003d,0x00000006,0x00000131,0x00000046,0x00050083,0x00000006,
0x00000132,0x00000130,0x00000131,0x0003003e,0x0000012f,0x00000132,0x0004003d,0x00000006,
0x00000134,0x00000046,0x0004003d,0x00000006,0x00000135,0x00000044,0x00050083,0x00000006,
0x00000136,0x00000134,0x00000135,0x0003003e,0x00000133,0x00000136,0x0004003d,0x00000006,
0x00000138,0x0000012f,0x0006000c,0x00000006,0x00000139,0x00000001,0x00000004,0x00000138,
0x0004003d,0x00000006,0x0000013a,0x00000133,0x0006000c,0x00000006,0x0000013b,0x00000001,
0x00000004,0x0000013a,0x0007000c,0x00000006,0x0000013c,0x00000001,0x00000028,0x00000139,
0x0000013b,0x0003003e,0x00000137,0x0000013c,0x0004003d,0x00000006,0x0000013e,0x00000137,
0x0003003e,0x0000013d,0x0000013e,0x00050039,0x00000006,0x0000013f,0x0000000d,0x0000013d,
0x0003003e,0x00000137,0x0000013f,0x0004003d,0x00000006,0x00000141,0x00000048,0x0004003d,
0x00000006,0x00000142,0x00000044,0x00050083,0x00000006,0x00000143,0x00000141,0x00000142,
0x0003003e,0x00000140,0x00000143,0x0004003d,0x00000006,0x00000144,0x00000140,0x0004003d,
0x00000006,0x00000145,0x000000e0,0x00050085,0x00000006,0x00000146,0x00000144,0x00000145,
0x00050041,0x00000007,0x00000147,0x0000003d,0x00000097,0x0004003d,0x00000006,0x00000148,
0x00000147,0x00050081,0x00000006,0x00000149,0x00000148,0x00000146,0x00050041,0x00000007,
0x0000014a,0x0000003d,0x00000097,0x0003003e,0x0000014a,0x00000149,0x0004003d,0x00000006,
0x0000014b,0x00000140,0x0006000c,0x00000006,0x0000014c,0x00000001,0x00000004,0x0000014b,
0x0004003d,0x00000006,0x0000014d,0x00000137,0x00050085,0x00000006,0x0000014e,0x0000014c,
0x0000014d,0x0003003e,0x0000014f,0x0000014e,0x00050039,0x00000006,0x00000150,0x00000013,
0x0000014f,0x0003003e,0x00000137,0x00000150,0x0004003d,0x00000006,0x00000151,0x00000137,
0x0004003d,0x00000006,0x00000152,0x00000137,0x00050085,0x00000006,0x00000153,0x00000152,
0x00000151,0x0003003e,0x00000137,0x00000153,0x0004003d,0x00000006,0x00000154,0x00000137,
0x0004003d,0x00000006,0x00000155,0x000000e0,0x00050085,0x00000006,0x00000156,0x00000154,
0x00000155,0x0004003d,0x00000006,0x00000157,0x0000003e,0x00050081,0x00000006,0x00000158,
0x00000157,0x00000156,0x0003003e,0x0000003e,0x00000158,0x000100fd,0x00010038,0x00050036,
0x00000002,0x00000057,0x00000000,0x00000050,0x00030037,0x00000016,0x00000051,0x00030037,
0x0000004d,0x00000052,0x00030037,0x0000004f,0x00000053,0x00030037,0x0000004f,0x00000054,
0x00030037,0x0000004f,0x00000055,0x00030037,0x0000004f,0x00000056,0x000200f8,0x00000058,
0x0004003b,0x00000023,0x00000159,0x00000007,0x0004003b,0x00000023,0x00000164,0x00000007,
0x0004003b,0x00000023,0x0000016a,0x00000007,0x0004003b,0x00000023,0x00000174,0x00000007,
0x0004003b,0x00000023,0x0000017a,0x00000007,0x0004003b,0x00000023,0x00000180,0x00000007,
0x0004003b,0x00000186,0x00000187,0x00000007,0x0004003b,0x00000023,0x00000188,0x00000007,
0x0004003b,0x00000186,0x0000018b,0x00000007,0x0004003b,0x00000023,0x0000018c,0x00000007,
0x0004003b,0x00000186,0x0000018f,0x00000007,0x0004003b,0x00000023,0x00000190,0x00000007,
0x0004003b,0x00000186,0x00000193,0x00000007,0x0004003b,0x00000023,0x00000194,0x00000007,
0x0004003b,0x00000186,0x00000197,0x00000007,0x0004003b,0x00000023,0x00000198,0x00000007,
0x0004003b,0x00000186,0x0000019b,0x00000007,0x0004003b,0x00000023,0x0000019c,0x00000007,
0x0004003b,0x00000186,0x0000019f,0x00000007,0x0004003b,0x00000023,0x000001a0,0x00000007,
0x0004003b,0x00000186,0x000001a3,0x00000007,0x0004003b,0x00000023,0x000001a4,0x00000007,
0x0004003b,0x00000186,0x000001a7,0x00000007,0x0004003b,0x00000023,0x000001a8,0x00000007,
0x0004003b,0x00000186,0x000001ab,0x00000007,0x0004003b,0x00000023,0x000001ac,0x00000007,
0x0004003b,0x00000186,0x000001af,0x00000007,0x0004003b,0x00000023,0x000001b0,0x00000007,
0x0004003b,0x00000186,0x000001b3,0x00000007,0x0004003b,0x00000023,0x000001b4,0x00000007,
0x0004003b,0x00000186,0x000001b7,0x00000007,0x0004003b,0x00000186,0x000001c1,0x00000007,
0x0004003b,0x00000186,0x000001c9,0x00000007,0x0004003b,0x00000186,0x000001d1,0x00000007,
0x0004003b,0x00000007,0x000001d9,0x00000007,0x0004003b,0x00000007,0x000001dc,0x00000007,
0x0004003b,0x00000007,0x000001df,0x00000007,0x0004003b,0x00000007,0x000001e2,0x00000007,
0x0004003b,0x00000007,0x000001e5,0x00000007,0x0004003b,0x00000007,0x000001e9,0x00000007,
0x0004003b,0x00000007,0x000001ed,0x00000007,0x0004003b,0x00000007,0x000001f0,0x00000007,
0x0004003b,0x00000007,0x000001f3,0x00000007,0x0004003b,0x00000007,0x000001f6,0x00000007,
0x0004003b,0x00000007,0x000001f9,0x00000007,0x0004003b,0x00000007,0x000001fc,0x00000007,
0x0004003b,0x00000023,0x000001ff,0x00000007,0x0004003b,0x00000007,0x00000201,0x00000007,
0x0004003b,0x00000023,0x00000204,0x00000007,0x0004003b,0x00000007,0x00000206,0x00000007,
0x0004003b,0x00000023,0x00000208,0x00000007,0x0004003b,0x0000003b,0x0000020a,0x00000007,
0x0004003b,0x0000003b,0x0000020b,0x00000007,0x0004003b,0x0000003b,0x0000020c,0x00000007,
0x0004003b,0x0000003b,0x0000020d,0x00000007,0x0004003b,0x00000007,0x0000020e,0x00000007,
0x0004003b,0x00000007,0x00000210,0x00000007,0x0004003b,0x00000007,0x00000212,0x00000007,
0x0004003b,0x00000007,0x00000214,0x00000007,0x0004003b,0x00000007,0x00000216,0x00000007,
0x0004003b,0x00000023,0x0000021b,0x00000007,0x0004003b,0x00000007,0x0000021d,0x00000007,
0x0004003b,0x00000023,0x0000021f,0x00000007,0x0004003b,0x0000003b,0x00000221,0x00000007,
0x0004003b,0x0000003b,0x00000222,0x00000007,0x0004003b,0x0000003b,0x00000223,0x00000007,
0x0004003b,0x0000003b,0x00000224,0x00000007,0x0004003b,0x00000007,0x00000225,0x00000007,
0x0004003b,0x00000007,0x00000227,0x00000007,0x0004003b,0x00000007,0x00000229,0x00000007,
0x0004003b,0x00000007,0x0000022b,0x00000007,0x0004003b,0x00000007,0x0000022d,0x00000007,
0x0004003b,0x00000023,0x00000232,0x00000007,0x0004003b,0x00000007,0x00000234,0x00000007,
0x0004003b,0x00000023,0x00000236,0x00000007,0x0004003b,0x0000003b,0x00000238,0x00000007,
0x0004003b,0x0000003b,0x00000239,0x00000007,0x0004003b,0x0000003b,0x0000023a,0x00000007,
0x0004003b,0x0000003b,0x0000023b,0x00000007,0x0004003b,0x00000007,0x0000023c,0x00000007,
0x0004003b,0x00000007,0x0000023e,0x00000007,0x0004003b,0x00000007,0x00000240,0x00000007,
0x0004003b,0x00000007,0x00000242,0x00000007,0x0004003b,0x00000007,0x00000244,0x00000007,
0x0004003b,0x00000023,0x00000249,0x00000007,0x0004003b,0x00000007,0x0000024b,0x00000007,
0x0004003b,0x00000023,0x0000024d,0x00000007,0x0004003b,0x0000003b,0x0000024f,0x00000007,
0x0004003b,0x0000003b,0x00000250,0x00000007,0x0004003b,0x0000003b,0x00000251,0x00000007,
0x0004003b,0x0000003b,0x00000252,0x00000007,0x0004003b,0x00000007,0x00000253,0x00000007,
0x0004003b,0x00000007,0x00000255,0x00000007,0x0004003b,0x00000007,0x00000257,0x00000007,
0x0004003b,0x00000007,0x00000259,0x00000007,0x0004003b,0x00000007,0x0000025b,0x00000007,
0x0004003b,0x00000023,0x00000260,0x00000007,0x0004003b,0x00000007,0x00000264,0x00000007,
0x0004003b,0x0000003b,0x0000026a,0x00000007,0x0004003b,0x00000007,0x0000026e,0x00000007,
0x0004003b,0x00000007,0x00000275,0x00000007,0x0004003b,0x00000007,0x00000286,0x00000007,
0x0004003b,0x00000007,0x00000299,0x00000007,0x0004003b,0x00000023,0x0000029c,0x00000007,
0x0004003b,0x00000007,0x000002a7,0x00000007,0x0004003b,0x00000007,0x000002ac,0x00000007,
0x0004003b,0x00000007,0x000002ad,0x00000007,0x0004003b,0x00000016,0x000002b0,0x00000007,
0x0004003b,0x00000016,0x000002c6,0x00000007,0x0004003b,0x00000016,0x000002c7,0x00000007,
0x0004003b,0x00000016,0x000002c8,0x00000007,0x0004003b,0x00000016,0x000002d2,0x00000007,
0x0004003b,0x00000016,0x000002e8,0x00000007,0x0004003b,0x00000016,0x000002e9,0x00000007,
0x0004003b,0x00000016,0x000002ea,0x00000007,0x0004003b,0x00000016,0x000002f4,0x00000007,
0x0004003b,0x00000007,0x000002f6,0x00000007,0x0004003b,0x00000016,0x00000301,0x00000007,
0x0004003b,0x00000007,0x00000303,0x00000007,0x0004003b,0x00000023,0x00000305,0x00000007,
0x0004003b,0x00000023,0x00000306,0x00000007,0x0004003b,0x00000023,0x00000308,0x00000007,
0x0004003b,0x00000007,0x0000030a,0x00000007,0x0004003b,0x00000007,0x0000030c,0x00000007,
0x0004003b,0x00000016,0x0000030e,0x00000007,0x0004003b,0x00000016,0x0000031c,0x00000007,
0x0004003b,0x00000007,0x0000031e,0x00000007,0x0004003b,0x00000023,0x00000320,0x00000007,
0x0004003b,0x00000023,0x00000321,0x00000007,0x0004003b,0x00000023,0x00000323,0x00000007,
0x0004003b,0x00000007,0x00000325,0x00000007,0x0004003b,0x00000007,0x00000327,0x00000007,
0x0004003b,0x00000016,0x00000329,0x00000007,0x0004003b,0x00000016,0x00000337,0x00000007,
0x0004003b,0x00000007,0x00000339,0x00000007,0x0004003b,0x00000023,0x0000033b,0x00000007,
0x0004003b,0x00000023,0x0000033c,0x00000007,0x0004003b,0x00000023,0x0000033e,0x00000007,
0x0004003b,0x00000007,0x00000340,0x00000007,0x0004003b,0x00000007,0x00000342,0x00000007,
0x0004003b,0x00000016,0x00000344,0x00000007,0x0004003b,0x00000016,0x00000352,0x00000007,
0x0004003b,0x00000007,0x00000354,0x00000007,0x0004003b,0x00000023,0x00000356,0x00000007,
0x0004003b,0x00000023,0x00000357,0x00000007,0x0004003b,0x00000023,0x00000359,0x00000007,
0x0004003b,0x00000007,0x0000035b,0x00000007,0x0004003b,0x00000007,0x0000035d,0x00000007,
0x0004003b,0x00000016,0x0000035f,0x00000007,0x0004003b,0x00000016,0x0000036c,0x00000007,
0x0004003b,0x00000007,0x0000036e,0x00000007,0x0004003b,0x00000023,0x00000370,0x00000007,
0x0004003b,0x00000023,0x00000371,0x00000007,0x0004003b,0x00000023,0x00000373,0x00000007,
0x0004003b,0x00000007,0x00000375,0x00000007,0x0004003b,0x00000007,0x00000377,0x00000007,
0x0004003b,0x00000016,0x00000379,0x00000007,0x0004003b,0x00000016,0x00000387,0x00000007,
0x0004003b,0x00000007,0x00000389,0x00000007,0x0004003b,0x00000023,0x0000038b,0x00000007,
0x0004003b,0x00000023,0x0000038c,0x00000007,0x0004003b,0x00000023,0x0000038e,0x00000007,
0x0004003b,0x00000007,0x00000390,0x00000007,0x0004003b,0x00000007,0x00000392,0x00000007,
0x0004003b,0x00000016,0x00000394,0x00000007,0x0004003b,0x00000016,0x000003a2,0x00000007,
0x0004003b,0x00000007,0x000003a4,0x00000007,0x0004003b,0x00000023,0x000003a6,0x00000007,
0x0004003b,0x00000023,0x000003a7,0x00000007,0x0004003b,0x00000023,0x000003a9,0x00000007,
0x0004003b,0x00000007,0x000003ab,0x00000007,0x0004003b,0x00000007,0x000003ad,0x00000007,
0x0004003b,0x00000016,0x000003af,0x00000007,0x0004003b,0x00000016,0x000003be,0x00000007,
0x0004003b,0x00000007,0x000003c0,0x00000007,0x0004003b,0x00000023,0x000003c2,0x00000007,
0x0004003b,0x00000023,0x000003c3,0x00000007,0x0004003b,0x00000023,0x000003c5,0x00000007,
0x0004003b,0x00000007,0x000003c7,0x00000007,0x0004003b,0x00000007,0x000003c9,0x00000007,
0x0004003b,0x00000016,0x000003cb,0x00000007,0x0004003b,0x00000016,0x000003d9,0x00000007,
0x0004003b,0x00000007,0x000003db,0x00000007,0x0004003b,0x00000023,0x000003dd,0x00000007,
0x0004003b,0x00000023,0x000003de,0x00000007,0x0004003b,0x00000023,0x000003e0,0x00000007,
0x0004003b,0x00000007,0x000003e2,0x00000007,0x0004003b,0x00000007,0x000003e4,0x00000007,
0x0004003b,0x00000016,0x000003e6,0x00000007,0x0004003b,0x00000016,0x000003f4,0x00000007,
0x0004003b,0x00000007,0x000003f6,0x00000007,0x0004003b,0x00000023,0x000003f8,0x00000007,
0x0004003b,0x00000023,0x000003f9,0x00000007,0x0004003b,0x00000023,0x000003fb,0x00000007,
0x0004003b,0x00000007,0x000003fd,0x00000007,0x0004003b,0x00000007,0x000003ff,0x00000007,
0x0004003b,0x00000016,0x00000401,0x00000007,0x0004003b,0x00000016,0x0000040f,0x00000007,
0x0004003b,0x00000007,0x00000411,0x00000007,0x0004003b,0x00000023,0x00000413,0x00000007,
0x0004003b,0x00000023,0x00000414,0x00000007,0x0004003b,0x00000023,0x00000416,0x00000007,
0x0004003b,0x00000007,0x00000418,0x00000007,0x0004003b,0x00000007,0x0000041a,0x00000007,
0x0004003b,0x00000016,0x0000041c,0x00000007,0x0004003b,0x00000016,0x0000042a,0x00000007,
0x0004003b,0x00000007,0x0000042c,0x00000007,0x0004003b,0x00000023,0x0000042e,0x00000007,
0x0004003b,0x00000023,0x0000042f,0x00000007,0x0004003b,0x00000023,0x00000431,0x00000007,
0x0004003b,0x00000007,0x00000433,0x00000007,0x0004003b,0x00000007,0x00000435,0x00000007,
0x0004003b,0x00000016,0x00000437,0x00000007,0x0004003b,0x00000007,0x0000043e,0x00000007,
0x0004003d,0x0000004c,0x0000015a,0x00000052,0x00040070,0x00000022,0x0000015b,0x0000015a,
0x0004003d,0x0000004e,0x0000015c,0x00000053,0x0007004f,0x0000004c,0x0000015d,0x0000015c,
0x0000015c,0x00000000,0x00000001,0x0004007c,0x00000022,0x0000015e,0x0000015d,0x00050085,
0x00000022,0x0000015f,0x0000015b,0x0000015e,0x0004003d,0x0000004e,0x00000160,0x00000053,
0x0007004f,0x0000004c,0x00000161,0x00000160,0x00000160,0x00000002,0x00000003,0x0004007c,
0x00000022,0x00000162,0x00000161,0x00050081,0x00000022,0x00000163,0x0000015f,0x00000162,
0x0003003e,0x00000159,0x00000163,0x0004003d,0x00000022,0x00000165,0x00000159,0x0006000c,
0x00000022,0x00000166,0x00000001,0x00000008,0x00000165,0x0003003e,0x00000164,0x00000166,
0x0004003d,0x00000022,0x00000167,0x00000164,0x0004003d,0x00000022,0x00000168,0x00000159,
0x00050083,0x00000022,0x00000169,0x00000168,0x00000167,0x0003003e,0x00000159,0x00000169,
0x0004003d,0x00000022,0x0000016b,0x00000164,0x0004003d,0x0000004e,0x0000016c,0x00000054,
0x0007004f,0x0000004c,0x0000016d,0x0000016c,0x0000016c,0x00000000,0x00000001,0x0004007c,
0x00000022,0x0000016e,0x0000016d,0x00050085,0x00000022,0x0000016f,0x0000016b,0x0000016e,
0x0004003d,0x0000004e,0x00000170,0x00000054,0x0007004f,0x0000004c,0x00000171,0x00000170,
0x00000170,0x00000002,0x00000003,0x0004007c,0x00000022,0x00000172,0x00000171,0x00050081,
0x00000022,0x00000173,0x0000016f,0x00000172,0x0003003e,0x0000016a,0x00000173,0x0004003d,
0x00000022,0x00000175,0x0000016a,0x0004003d,0x0000004e,0x00000176,0x00000055,0x0007004f,
0x0000004c,0x00000177,0x00000176,0x00000176,0x00000000,0x00000001,0x0004007c,0x00000022,
0x00000178,0x00000177,0x00050081,0x00000022,0x00000179,0x00000175,0x00000178,0x0003003e,
0x00000174,0x00000179,0x0004003d,0x00000022,0x0000017b,0x0000016a,0x0004003d,0x0000004e,
0x0000017c,0x00000055,0x0007004f,0x0000004c,0x0000017d,0x0000017c,0x0000017c,0x00000002,
0x00000003,0x0004007c,0x00000022,0x0000017e,0x0000017d,0x00050081,0x00000022,0x0000017f,
0x0000017b,0x0000017e,0x0003003e,0x0000017a,0x0000017f,0x0004003d,0x00000022,0x00000181,
0x0000016a,0x0004003d,0x0000004e,0x00000182,0x00000056,0x0007004f,0x0000004c,0x00000183,
0x00000182,0x00000182,0x00000000,0x00000001,0x0004007c,0x00000022,0x00000184,0x00000183,
0x00050081,0x00000022,0x00000185,0x00000181,0x00000184,0x0003003e,0x00000180,0x00000185,
0x0004003d,0x00000022,0x00000189,0x0000016a,0x0003003e,0x00000188,0x00000189,0x00050039,
0x00000024,0x0000018a,0x00000027,0x00000188,0x0003003e,0x00000187,0x0000018a,0x0004003d,
0x00000022,0x0000018d,0x0000016a,0x0003003e,0x0000018c,0x0000018d,0x00050039,0x00000024,
0x0000018e,0x0000002a,0x0000018c,0x0003003e,0x0000018b,0x0000018e,0x0004003d,0x00000022,
0x00000191,0x0000016a,0x0003003e,0x00000190,0x00000191,0x00050039,0x00000024,0x00000192,
0x0000002d,0x00000190,0x0003003e,0x0000018f,0x00000192,0x0004003d,0x00000022,0x00000195,
0x00000174,0x0003003e,0x00000194,0x00000195,0x00050039,0x00000024,0x00000196,0x00000027,
0x00000194,0x0003003e,0x00000193,0x00000196,0x0004003d,0x00000022,0x00000199,0x00000174,
0x0003003e,0x00000198,0x00000199,0x00050039,0x00000024,0x0000019a,0x0000002a,0x00000198,
0x0003003e,0x00000197,0x0000019a,0x0004003d,0x00000022,0x0000019d,0x00000174,0x0003003e,
0x0000019c,0x0000019d,0x00050039,0x00000024,0x0000019e,0x0000002d,0x0000019c,0x0003003e,
0x0000019b,0x0000019e,0x0004003d,0x00000022,0x000001a1,0x0000017a,0x0003003e,0x000001a0,
0x000001a1,0x00050039,0x00000024,0x000001a2,0x00000027,0x000001a0,0x0003003e,0x0000019f,
0x000001a2,0x0004003d,0x00000022,0x000001a5,0x0000017a,0x0003003e,0x000001a4,0x000001a5,
0x00050039,0x00000024,0x000001a6,0x0000002a,0x000001a4,0x0003003e,0x000001a3,0x000001a6,
0x0004003d,0x00000022,0x000001a9,0x0000017a,0x0003003e,0x000001a8,0x000001a9,0x00050039,
0x00000024,0x000001aa,0x0000002d,0x000001a8,0x0003003e,0x000001a7,0x000001aa,0x0004003d,
0x00000022,0x000001ad,0x00000180,0x0003003e,0x000001ac,0x000001ad,0x00050039,0x00000024,
0x000001ae,0x00000027,0x000001ac,0x0003003e,0x000001ab,0x000001ae,0x0004003d,0x00000022,
0x000001b1,0x00000180,0x0003003e,0x000001b0,0x000001b1,0x00050039,0x00000024,0x000001b2,
0x0000002a,0x000001b0,0x0003003e,0x000001af,0x000001b2,0x0004003d,0x00000022,0x000001b5,
0x00000180,0x0003003e,0x000001b4,0x000001b5,0x00050039,0x00000024,0x000001b6,0x0000002d,
0x000001b4,0x0003003e,0x000001b3,0x000001b6,0x0004003d,0x00000024,0x000001b8,0x0000018f,
0x00050085,0x00000024,0x000001bb,0x000001b8,0x000001ba,0x0004003d,0x00000024,0x000001bc,
0x00000187,0x00050085,0x00000024,0x000001bd,0x000001bc,0x000001ba,0x0004003d,0x00000024,
0x000001be,0x0000018b,0x00050081,0x00000024,0x000001bf,0x000001bd,0x000001be,0x00050081,
0x00000024,0x000001c0,0x000001bb,0x000001bf,0x0003003e,0x000001b7,0x000001c0,0x0004003d,
0x00000024,0x000001c2,0x0000019b,0x00050085,0x00000024,0x000001c3,0x000001c2,0x000001ba,
0x0004003d,0x00000024,0x000001c4,0x00000193,0x00050085,0x00000024,0x000001c5,0x000001c4,
0x000001ba,0x0004003d,0x00000024,0x000001c6,0x00000197,0x00050081,0x00000024,0x000001c7,
0x000001c5,0x000001c6,0x00050081,0x00000024,0x000001c8,0x000001c3,0x000001c7,0x0003003e,
0x000001c1,0x000001c8,0x0004003d,0x00000024,0x000001ca,0x000001a7,0x00050085,0x00000024,
0x000001cb,0x000001ca,0x000001ba,0x0004003d,0x00000024,0x000001cc,0x0000019f,0x00050085,
0x00000024,0x000001cd,0x000001cc,0x000001ba,0x0004003d,0x00000024,0x000001ce,0x000001a3,
0x00050081,0x00000024,0x000001cf,0x000001cd,0x000001ce,0x00050081,0x00000024,0x000001d0,
0x000001cb,0x000001cf,0x0003003e,0x000001c9,0x000001d0,0x0004003d,0x00000024,0x000001d2,
0x000001b3,0x00050085,0x00000024,0x000001d3,0x000001d2,0x000001ba,0x0004003d,0x00000024,
0x000001d4,0x000001ab,0x00050085,0x00000024,0x000001d5,0x000001d4,0x000001ba,0x0004003d,
0x00000024,0x000001d6,0x000001af,0x00050081,0x00000024,0x000001d7,0x000001d5,0x000001d6,
0x00050081,0x00000024,0x000001d8,0x000001d3,0x000001d7,0x0003003e,0x000001d1,0x000001d8,
0x00050041,0x00000007,0x000001da,0x000001b7,0x00000091,0x0004003d,0x00000006,0x000001db,
0x000001da,0x0003003e,0x000001d9,0x000001db,0x00050041,0x00000007,0x000001dd,0x000001b7,
0x00000097,0x0004003d,0x00000006,0x000001de,0x000001dd,0x0003003e,0x000001dc,0x000001de,
0x00050041,0x00000007,0x000001e0,0x000001c1,0x00000091,0x0004003d,0x00000006,0x000001e1,
0x000001e0,0x0003003e,0x000001df,0x000001e1,0x00050041,0x00000007,0x000001e3,0x000001c1,
0x00000097,0x0004003d,0x00000006,0x000001e4,0x000001e3,0x0003003e,0x000001e2,0x000001e4,
0x00050041,0x00000007,0x000001e7,0x000001c1,0x000001e6,0x0004003d,0x00000006,0x000001e8,
0x000001e7,0x0003003e,0x000001e5,0x000001e8,0x00050041,0x00000007,0x000001eb,0x000001c1,
0x000001ea,0x0004003d,0x00000006,0x000001ec,0x000001eb,0x0003003e,0x000001e9,0x000001ec,
0x00050041,0x00000007,0x000001ee,0x000001c9,0x00000091,0x0004003d,0x00000006,0x000001ef,
0x000001ee,0x0003003e,0x000001ed,0x000001ef,0x00050041,0x00000007,0x000001f1,0x000001c9,
0x00000097,0x0004003d,0x00000006,0x000001f2,0x000001f1,0x0003003e,0x000001f0,0x000001f2,
0x00050041,0x00000007,0x000001f4,0x000001c9,0x000001e6,0x0004003d,0x00000006,0x000001f5,
0x000001f4,0x0003003e,0x000001f3,0x000001f5,0x00050041,0x00000007,0x000001f7,0x000001c9,
0x000001ea,0x0004003d,0x00000006,0x000001f8,0x000001f7,0x0003003e,0x000001f6,0x000001f8,
0x00050041,0x00000007,0x000001fa,0x000001d1,0x000001e6,0x0004003d,0x00000006,0x000001fb,
0x000001fa,0x0003003e,0x000001f9,0x000001fb,0x00050041,0x00000007,0x000001fd,0x000001d1,
0x000001ea,0x0004003d,0x00000006,0x000001fe,0x000001fd,0x0003003e,0x000001fc,0x000001fe,
0x0003003e,0x000001ff,0x00000200,0x0003003e,0x00000201,0x00000067,0x0004003d,0x00000022,
0x00000205,0x000001ff,0x0003003e,0x00000204,0x00000205,0x0004003d,0x00000006,0x00000207,
0x00000201,0x0003003e,0x00000206,0x00000207,0x0004003d,0x00000022,0x00000209,0x00000159,
0x0003003e,0x00000208,0x00000209,0x0003003e,0x0000020a,0x00000202,0x0003003e,0x0000020b,
0x00000203,0x0003003e,0x0000020c,0x00000203,0x0003003e,0x0000020d,0x00000203,0x0004003d,
0x00000006,0x0000020f,0x000001d9,0x0003003e,0x0000020e,0x0000020f,0x0004003d,0x00000006,
0x00000211,0x000001e9,0x0003003e,0x00000210,0x00000211,0x0004003d,0x00000006,0x00000213,
0x000001e5,0x0003003e,0x00000212,0x00000213,0x0004003d,0x00000006,0x00000215,0x000001f6,
0x0003003e,0x00000214,0x00000215,0x0004003d,0x00000006,0x00000217,0x000001e2,0x0003003e,
0x00000216,0x00000217,0x00100039,0x00000002,0x00000218,0x00000049,0x00000204,0x00000206,
0x00000208,0x0000020a,0x0000020b,0x0000020c,0x0000020d,0x0000020e,0x00000210,0x00000212,
0x00000214,0x00000216,0x0004003d,0x00000022,0x00000219,0x00000204,0x0003003e,0x000001ff,
0x00000219,0x0004003d,0x00000006,0x0000021a,0x00000206,0x0003003e,0x00000201,0x0000021a,
0x0004003d,0x00000022,0x0000021c,0x000001ff,0x0003003e,0x0000021b,0x0000021c,0x0004003d,
0x00000006,0x0000021e,0x00000201,0x0003003e,0x0000021d,0x0000021e,0x0004003d,0x00000022,
0x00000220,0x00000159,0x0003003e,0x0000021f,0x00000220,0x0003003e,0x00000221,0x00000203,
0x0003003e,0x00000222,0x00000202,0x0003003e,0x00000223,0x00000203,0x0003003e,0x00000224,
0x00000203,0x0004003d,0x00000006,0x00000226,0x000001dc,0x0003003e,0x00000225,0x00000226,
0x0004003d,0x00000006,0x00000228,0x000001e5,0x0003003e,0x00000227,0x00000228,0x0004003d,
0x00000006,0x0000022a,0x000001f6,0x0003003e,0x00000229,0x0000022a,0x0004003d,0x00000006,
0x0000022c,0x000001f3,0x0003003e,0x0000022b,0x0000022c,0x0004003d,0x00000006,0x0000022e,
0x000001ed,0x0003003e,0x0000022d,0x0000022e,0x00100039,0x00000002,0x0000022f,0x00000049,
0x0000021b,0x0000021d,0x0000021f,0x00000221,0x00000222,0x00000223,0x00000224,0x00000225,
0x00000227,0x00000229,0x0000022b,0x0000022d,0x0004003d,0x00000022,0x00000230,0x0000021b,
0x0003003e,0x000001ff,0x00000230,0x0004003d,0x00000006,0x00000231,0x0000021d,0x0003003e,
0x00000201,0x00000231,0x0004003d,0x00000022,0x00000233,0x000001ff,0x0003003e,0x00000232,
0x00000233,0x0004003d,0x00000006,0x00000235,0x00000201,0x0003003e,0x00000234,0x00000235,
0x0004003d,0x00000022,0x00000237,0x00000159,0x0003003e,0x00000236,0x00000237,0x0003003e,
0x00000238,0x00000203,0x0003003e,0x00000239,0x00000203,0x0003003e,0x0000023a,0x00000202,
0x0003003e,0x0000023b,0x00000203,0x0004003d,0x00000006,0x0000023d,0x000001e5,0x0003003e,
0x0000023c,0x0000023d,0x0004003d,0x00000006,0x0000023f,0x000001df,0x0003003e,0x0000023e,
0x0000023f,0x0004003d,0x00000006,0x00000241,0x000001e2,0x0003003e,0x00000240,0x00000241,
0x0004003d,0x00000006,0x00000243,0x000001ed,0x0003003e,0x00000242,0x00000243,0x0004003d,
0x00000006,0x00000245,0x000001fc,0x0003003e,0x00000244,0x00000245,0x00100039,0x00000002,
0x00000246,0x00000049,0x00000232,0x00000234,0x00000236,0x00000238,0x00000239,0x0000023a,
0x0000023b,0x0000023c,0x0000023e,0x00000240,0x00000242,0x00000244,0x0004003d,0x00000022,
0x00000247,0x00000232,0x0003003e,0x000001ff,0x00000247,0x0004003d,0x00000006,0x00000248,
0x00000234,0x0003003e,0x00000201,0x00000248,0x0004003d,0x00000022,0x0000024a,0x000001ff,
0x0003003e,0x00000249,0x0000024a,0x0004003d,0x00000006,0x0000024c,0x00000201,0x0003003e,
0x0000024b,0x0000024c,0x0004003d,0x00000022,0x0000024e,0x00000159,0x0003003e,0x0000024d,
0x0000024e,0x0003003e,0x0000024f,0x00000203,0x0003003e,0x00000250,0x00000203,0x0003003e,
0x00000251,0x00000203,0x0003003e,0x00000252,0x00000202,0x0004003d,0x00000006,0x00000254,
0x000001f6,0x0003003e,0x00000253,0x00000254,0x0004003d,0x00000006,0x00000256,0x000001e2,
0x0003003e,0x00000255,0x00000256,0x0004003d,0x00000006,0x00000258,0x000001ed,0x0003003e,
0x00000257,0x00000258,0x0004003d,0x00000006,0x0000025a,0x000001f0,0x0003003e,0x00000259,
0x0000025a,0x0004003d,0x00000006,0x0000025c,0x000001f9,0x0003003e,0x0000025b,0x0000025c,
0x00100039,0x00000002,0x0000025d,0x00000049,0x00000249,0x0000024b,0x0000024d,0x0000024f,
0x00000250,0x00000251,0x00000252,0x00000253,0x00000255,0x00000257,0x00000259,0x0000025b,
0x0004003d,0x00000022,0x0000025e,0x00000249,0x0003003e,0x000001ff,0x0000025e,0x0004003d,
0x00000006,0x0000025f,0x0000024b,0x0003003e,0x00000201,0x0000025f,0x0004003d,0x00000022,
0x00000261,0x000001ff,0x0004003d,0x00000022,0x00000262,0x000001ff,0x00050085,0x00000022,
0x00000263,0x00000261,0x00000262,0x0003003e,0x00000260,0x00000263,0x00050041,0x00000007,
0x00000265,0x00000260,0x00000091,0x0004003d,0x00000006,0x00000266,0x00000265,0x00050041,
0x00000007,0x00000267,0x00000260,0x00000097,0x0004003d,0x00000006,0x00000268,0x00000267,
0x00050081,0x00000006,0x00000269,0x00000266,0x00000268,0x0003003e,0x00000264,0x00000269,
0x0004003d,0x00000006,0x0000026b,0x00000264,0x000500b8,0x0000003a,0x0000026d,0x0000026b,
0x0000026c,0x0003003e,0x0000026a,0x0000026d,0x0004003d,0x00000006,0x0000026f,0x00000264,
0x0003003e,0x0000026e,0x0000026f,0x00050039,0x00000006,0x00000270,0x00000010,0x0000026e,
0x0003003e,0x00000264,0x00000270,0x0004003d,0x0000003a,0x00000271,0x0000026a,0x0004003d,
0x00000006,0x00000272,0x00000264,0x000600a9,0x00000006,0x00000273,0x00000271,0x00000059,
0x00000272,0x0003003e,0x00000264,0x00000273,0x0004003d,0x0000003a,0x00000274,0x0000026a,
0x000300f7,0x00000277,0x00000000,0x000400fa,0x00000274,0x00000276,0x00000278,0x000200f8,
0x00000276,0x0003003e,0x00000275,0x00000059,0x000200f9,0x00000277,0x000200f8,0x00000278,
0x00050041,0x00000007,0x00000279,0x000001ff,0x00000091,0x0004003d,0x00000006,0x0000027a,
0x00000279,0x0003003e,0x00000275,0x0000027a,0x000200f9,0x00000277,0x000200f8,0x00000277,
0x0004003d,0x00000006,0x0000027b,0x00000275,0x00050041,0x00000007,0x0000027c,0x000001ff,
0x00000091,0x0003003e,0x0000027c,0x0000027b,0x0004003d,0x00000006,0x0000027d,0x00000264,
0x00050050,0x00000022,0x0000027e,0x0000027d,0x0000027d,0x0004003d,0x00000022,0x0000027f,
0x000001ff,0x00050085,0x00000022,0x00000280,0x0000027f,0x0000027e,0x0003003e,0x000001ff,
0x00000280,0x0004003d,0x00000006,0x00000281,0x00000201,0x00050085,0x00000006,0x00000282,
0x00000281,0x000001b9,0x0003003e,0x00000201,0x00000282,0x0004003d,0x00000006,0x00000283,
0x00000201,0x0004003d,0x00000006,0x00000284,0x00000201,0x00050085,0x00000006,0x00000285,
0x00000284,0x00000283,0x0003003e,0x00000201,0x00000285,0x00050041,0x00000007,0x00000287,
0x000001ff,0x00000091,0x0004003d,0x00000006,0x00000288,0x00000287,0x00050041,0x00000007,
0x00000289,0x000001ff,0x00000091,0x0004003d,0x00000006,0x0000028a,0x00000289,0x00050085,
0x00000006,0x0000028b,0x00000288,0x0000028a,0x00050041,0x00000007,0x0000028c,0x000001ff,
0x00000097,0x0004003d,0x00000006,0x0000028d,0x0000028c,0x00050041,0x00000007,0x0000028e,
0x000001ff,0x00000097,0x0004003d,0x00000006,0x0000028f,0x0000028e,0x00050085,0x00000006,
0x00000290,0x0000028d,0x0000028f,0x00050081,0x00000006,0x00000291,0x0000028b,0x00000290,
0x00050041,0x00000007,0x00000292,0x000001ff,0x00000091,0x0004003d,0x00000006,0x00000293,
0x00000292,0x0006000c,0x00000006,0x00000294,0x00000001,0x00000004,0x00000293,0x00050041,
0x00000007,0x00000295,0x000001ff,0x00000097,0x0004003d,0x00000006,0x00000296,0x00000295,
0x0006000c,0x00000006,0x00000297,0x00000001,0x00000004,0x00000296,0x0007000c,0x00000006,
0x00000298,0x00000001,0x00000028,0x00000294,0x00000297,0x0003003e,0x00000299,0x00000298,
0x00050039,0x00000006,0x0000029a,0x0000000d,0x00000299,0x00050085,0x00000006,0x0000029b,
0x00000291,0x0000029a,0x0003003e,0x00000286,0x0000029b,0x0004003d,0x00000006,0x0000029d,
0x00000286,0x00050083,0x00000006,0x0000029e,0x0000029d,0x00000059,0x0004003d,0x00000006,
0x0000029f,0x00000201,0x00050085,0x00000006,0x000002a0,0x0000029e,0x0000029f,0x00050081,
0x00000006,0x000002a1,0x00000059,0x000002a0,0x0004003d,0x00000006,0x000002a3,0x00000201,
0x00050085,0x00000006,0x000002a4,0x000002a2,0x000002a3,0x00050081,0x00000006,0x000002a5,
0x00000059,0x000002a4,0x00050050,0x00000022,0x000002a6,0x000002a1,0x000002a5,0x0003003e,
0x0000029c,0x000002a6,0x0004003d,0x00000006,0x000002a9,0x00000201,0x00050085,0x00000006,
0x000002aa,0x000002a8,0x000002a9,0x00050081,0x00000006,0x000002ab,0x000001b9,0x000002aa,
0x0003003e,0x000002a7,0x000002ab,0x0004003d,0x00000006,0x000002ae,0x000002a7,0x0003003e,
0x000002ad,0x000002ae,0x00050039,0x00000006,0x000002af,0x0000000d,0x000002ad,0x0003003e,
0x000002ac,0x000002af,0x00050041,0x00000007,0x000002b1,0x00000193,0x000001e6,0x0004003d,
0x00000006,0x000002b2,0x000002b1,0x00050041,0x00000007,0x000002b3,0x00000197,0x000001e6,
0x0004003d,0x00000006,0x000002b4,0x000002b3,0x00050041,0x00000007,0x000002b5,0x0000019b,
0x000001e6,0x0004003d,0x00000006,0x000002b6,0x000002b5,0x00060050,0x00000015,0x000002b7,
0x000002b2,0x000002b4,0x000002b6,0x00050041,0x00000007,0x000002b8,0x0000019f,0x000001ea,
0x0004003d,0x00000006,0x000002b9,0x000002b8,0x00050041,0x00000007,0x000002ba,0x000001a3,
0x000001ea,0x0004003d,0x00000006,0x000002bb,0x000002ba,0x00050041,0x00000007,0x000002bc,
0x000001a7,0x000001ea,0x0004003d,0x00000006,0x000002bd,0x000002bc,0x00060050,0x00000015,
0x000002be,0x000002b9,0x000002bb,0x000002bd,0x00050041,0x00000007,0x000002bf,0x00000193,
0x00000097,0x0004003d,0x00000006,0x000002c0,0x000002bf,0x00050041,0x00000007,0x000002c1,
0x00000197,0x00000097,0x0004003d,0x00000006,0x000002c2,0x000002c1,0x00050041,0x00000007,
0x000002c3,0x0000019b,0x00000097,0x0004003d,0x00000006,0x000002c4,0x000002c3,0x00060050,
0x00000015,0x000002c5,0x000002c0,0x000002c2,0x000002c4,0x0003003e,0x000002c6,0x000002b7,
0x0003003e,0x000002c7,0x000002be,0x0003003e,0x000002c8,0x000002c5,0x00070039,0x00000015,
0x000002c9,0x0000001b,0x000002c6,0x000002c7,0x000002c8,0x00050041,0x00000007,0x000002ca,
0x0000019f,0x00000091,0x0004003d,0x00000006,0x000002cb,0x000002ca,0x00050041,0x00000007,
0x000002cc,0x000001a3,0x00000091,0x0004003d,0x00000006,0x000002cd,0x000002cc,0x00050041,
0x00000007,0x000002ce,0x000001a7,0x00000091,0x0004003d,0x00000006,0x000002cf,0x000002ce,
0x00060050,0x00000015,0x000002d0,0x000002cb,0x000002cd,0x000002cf,0x0007000c,0x00000015,
0x000002d1,0x00000001,0x00000025,0x000002c9,0x000002d0,0x0003003e,0x000002b0,0x000002d1,
0x00050041,0x00000007,0x000002d3,0x00000193,0x000001e6,0x0004003d,0x00000006,0x000002d4,
0x000002d3,0x00050041,0x00000007,0x000002d5,0x00000197,0x000001e6,0x0004003d,0x00000006,
0x000002d6,0x000002d5,0x00050041,0x00000007,0x000002d7,0x0000019b,0x000001e6,0x0004003d,
0x00000006,0x000002d8,0x000002d7,0x00060050,0x00000015,0x000002d9,0x000002d4,0x000002d6,
0x000002d8,0x00050041,0x00000007,0x000002da,0x0000019f,0x000001ea,0x0004003d,0x00000006,
0x000002db,0x000002da,0x00050041,0x00000007,0x000002dc,0x000001a3,0x000001ea,0x0004003d,
0x00000006,0x000002dd,0x000002dc,0x00050041,0x00000007,0x000002de,0x000001a7,0x000001ea,
0x0004003d,0x00000006,0x000002df,0x000002de,0x00060050,0x00000015,0x000002e0,0x000002db,
0x000002dd,0x000002df,0x00050041,0x00000007,0x000002e1,0x00000193,0x00000097,0x0004003d,
0x00000006,0x000002e2,0x000002e1,0x00050041,0x00000007,0x000002e3,0x00000197,0x00000097,
0x0004003d,0x00000006,0x000002e4,0x000002e3,0x00050041,0x00000007,0x000002e5,0x0000019b,
0x00000097,0x0004003d,0x00000006,0x000002e6,0x000002e5,0x00060050,0x00000015,0x000002e7,
0x000002e2,0x000002e4,0x000002e6,0x0003003e,0x000002e8,0x000002d9,0x0003003e,0x000002e9,
0x000002e0,0x0003003e,0x000002ea,0x000002e7,0x00070039,0x00000015,0x000002eb,0x00000020,
0x000002e8,0x000002e9,0x000002ea,0x00050041,0x00000007,0x000002ec,0x0000019f,0x00000091,
0x0004003d,0x00000006,0x000002ed,0x000002ec,0x00050041,0x00000007,0x000002ee,0x000001a3,
0x00000091,0x0004003d,0x00000006,0x000002ef,0x000002ee,0x00050041,0x00000007,0x000002f0,
0x000001a7,0x00000091,0x0004003d,0x00000006,0x000002f1,0x000002f0,0x00060050,0x00000015,
0x000002f2,0x000002ed,0x000002ef,0x000002f1,0x0007000c,0x00000015,0x000002f3,0x00000001,
0x00000028,0x000002eb,0x000002f2,0x0003003e,0x000002d2,0x000002f3,0x0003003e,0x000002f4,
0x000002f5,0x0003003e,0x000002f6,0x00000067,0x0004003d,0x00000022,0x000002f8,0x00000159,
0x00050083,0x00000022,0x000002f9,0x000002f7,0x000002f8,0x00050041,0x00000007,0x000002fa,
0x00000187,0x00000091,0x0004003d,0x00000006,0x000002fb,0x000002fa,0x00050041,0x00000007,
0x000002fc,0x0000018b,0x00000091,0x0004003d,0x00000006,0x000002fd,0x000002fc,0x00050041,
0x00000007,0x000002fe,0x0000018f,0x00000091,0x0004003d,0x00000006,0x000002ff,0x000002fe,
0x00060050,0x00000015,0x00000300,0x000002fb,0x000002fd,0x000002ff,0x0004003d,0x00000015,
0x00000302,0x000002f4,0x0003003e,0x00000301,0x00000302,0x0004003d,0x00000006,0x00000304,
0x000002f6,0x0003003e,0x00000303,0x00000304,0x0003003e,0x00000305,0x000002f9,0x0004003d,
0x00000022,0x00000307,0x000001ff,0x0003003e,0x00000306,0x00000307,0x0004003d,0x00000022,
0x00000309,0x0000029c,0x0003003e,0x00000308,0x00000309,0x0004003d,0x00000006,0x0000030b,
0x000002a7,0x0003003e,0x0000030a,0x0000030b,0x0004003d,0x00000006,0x0000030d,0x000002ac,
0x0003003e,0x0000030c,0x0000030d,0x0003003e,0x0000030e,0x00000300,0x000c0039,0x00000002,
0x0000030f,0x00000038,0x00000301,0x00000303,0x00000305,0x00000306,0x00000308,0x0000030a,
0x0000030c,0x0000030e,0x0004003d,0x00000015,0x00000310,0x00000301,0x0003003e,0x000002f4,
0x00000310,0x0004003d,0x00000006,0x00000311,0x00000303,0x0003003e,0x000002f6,0x00000311,
0x0004003d,0x00000022,0x00000313,0x00000159,0x00050083,0x00000022,0x00000314,0x00000312,
0x00000313,0x00050041,0x00000007,0x00000315,0x00000187,0x00000097,0x0004003d,0x00000006,
0x00000316,0x00000315,0x00050041,0x00000007,0x00000317,0x0000018b,0x00000097,0x0004003d,
0x00000006,0x00000318,0x00000317,0x00050041,0x00000007,0x00000319,0x0000018f,0x00000097,
0x0004003d,0x00000006,0x0000031a,0x00000319,0x00060050,0x00000015,0x0000031b,0x00000316,
0x00000318,0x0000031a,0x0004003d,0x00000015,0x0000031d,0x000002f4,0x0003003e,0x0000031c,
0x0000031d,0x0004003d,0x00000006,0x0000031f,0x000002f6,0x0003003e,0x0000031e,0x0000031f,
0x0003003e,0x00000320,0x00000314,0x0004003d,0x00000022,0x00000322,0x000001ff,0x0003003e,
0x00000321,0x00000322,0x0004003d,0x00000022,0x00000324,0x0000029c,0x0003003e,0x00000323,
0x00000324,0x0004003d,0x00000006,0x00000326,0x000002a7,0x0003003e,0x00000325,0x00000326,
0x0004003d,0x00000006,0x00000328,0x000002ac,0x0003003e,0x00000327,0x00000328,0x0003003e,
0x00000329,0x0000031b,0x000c0039,0x00000002,0x0000032a,0x00000038,0x0000031c,0x0000031e,
0x00000320,0x00000321,0x00000323,0x00000325,0x00000327,0x00000329,0x0004003d,0x00000015,
0x0000032b,0x0000031c,0x0003003e,0x000002f4,0x0000032b,0x0004003d,0x00000006,0x0000032c,
0x0000031e,0x0003003e,0x000002f6,0x0000032c,0x0004003d,0x00000022,0x0000032e,0x00000159,
0x00050083,0x00000022,0x0000032f,0x0000032d,0x0000032e,0x00050041,0x00000007,0x00000330,
0x00000193,0x00000091,0x0004003d,0x00000006,0x00000331,0x00000330,0x00050041,0x00000007,
0x00000332,0x00000197,0x00000091,0x0004003d,0x00000006,0x00000333,0x00000332,0x00050041,
0x00000007,0x00000334,0x0000019b,0x00000091,0x0004003d,0x00000006,0x00000335,0x00000334,
0x00060050,0x00000015,0x00000336,0x00000331,0x00000333,0x00000335,0x0004003d,0x00000015,
0x00000338,0x000002f4,0x0003003e,0x00000337,0x00000338,0x0004003d,0x00000006,0x0000033a,
0x000002f6,0x0003003e,0x00000339,0x0000033a,0x0003003e,0x0000033b,0x0000032f,0x0004003d,
0x00000022,0x0000033d,0x000001ff,0x0003003e,0x0000033c,0x0000033d,0x0004003d,0x00000022,
0x0000033f,0x0000029c,0x0003003e,0x0000033e,0x0000033f,0x0004003d,0x00000006,0x00000341,
0x000002a7,0x0003003e,0x00000340,0x00000341,0x0004003d,0x00000006,0x00000343,0x000002ac,
0x0003003e,0x00000342,0x00000343,0x0003003e,0x00000344,0x00000336,0x000c0039,0x00000002,
0x00000345,0x00000038,0x00000337,0x00000339,0x0000033b,0x0000033c,0x0000033e,0x00000340,
0x00000342,0x00000344,0x0004003d,0x00000015,0x00000346,0x00000337,0x0003003e,0x000002f4,
0x00000346,0x0004003d,0x00000006,0x00000347,0x00000339,0x0003003e,0x000002f6,0x00000347,
0x0004003d,0x00000022,0x00000349,0x00000159,0x00050083,0x00000022,0x0000034a,0x00000348,
0x00000349,0x00050041,0x00000007,0x0000034b,0x00000193,0x00000097,0x0004003d,0x00000006,
0x0000034c,0x0000034b,0x00050041,0x00000007,0x0000034d,0x00000197,0x00000097,0x0004003d,
0x00000006,0x0000034e,0x0000034d,0x00050041,0x00000007,0x0000034f,0x0000019b,0x00000097,
0x0004003d,0x00000006,0x00000350,0x0000034f,0x00060050,0x00000015,0x00000351,0x0000034c,
0x0000034e,0x00000350,0x0004003d,0x00000015,0x00000353,0x000002f4,0x0003003e,0x00000352,
0x00000353,0x0004003d,0x00000006,0x00000355,0x000002f6,0x0003003e,0x00000354,0x00000355,
0x0003003e,0x00000356,0x0000034a,0x0004003d,0x00000022,0x00000358,0x000001ff,0x0003003e,
0x00000357,0x00000358,0x0004003d,0x00000022,0x0000035a,0x0000029c,0x0003003e,0x00000359,
0x0000035a,0x0004003d,0x00000006,0x0000035c,0x000002a7,0x0003003e,0x0000035b,0x0000035c,
0x0004003d,0x00000006,0x0000035e,0x000002ac,0x0003003e,0x0000035d,0x0000035e,0x0003003e,
0x0000035f,0x00000351,0x000c0039,0x00000002,0x00000360,0x00000038,0x00000352,0x00000354,
0x00000356,0x00000357,0x00000359,0x0000035b,0x0000035d,0x0000035f,0x0004003d,0x00000015,
0x00000361,0x00000352,0x0003003e,0x000002f4,0x00000361,0x0004003d,0x00000006,0x00000362,
0x00000354,0x0003003e,0x000002f6,0x00000362,0x0004003d,0x00000022,0x00000363,0x00000159,
0x00050083,0x00000022,0x00000364,0x00000200,0x00000363,0x00050041,0x00000007,0x00000365,
0x00000193,0x000001e6,0x0004003d,0x00000006,0x00000366,0x00000365,0x00050041,0x00000007,
0x00000367,0x00000197,0x000001e6,0x0004003d,0x00000006,0x00000368,0x00000367,0x00050041,
0x00000007,0x00000369,0x0000019b,0x000001e6,0x0004003d,0x00000006,0x0000036a,0x00000369,
0x00060050,0x00000015,0x0000036b,0x00000366,0x00000368,0x0000036a,0x0004003d,0x00000015,
0x0000036d,0x000002f4,0x0003003e,0x0000036c,0x0000036d,0x0004003d,0x00000006,0x0000036f,
0x000002f6,0x0003003e,0x0000036e,0x0000036f,0x0003003e,0x00000370,0x00000364,0x0004003d,
0x00000022,0x00000372,0x000001ff,0x0003003e,0x00000371,0x00000372,0x0004003d,0x00000022,
0x00000374,0x0000029c,0x0003003e,0x00000373,0x00000374,0x0004003d,0x00000006,0x00000376,
0x000002a7,0x0003003e,0x00000375,0x00000376,0x0004003d,0x00000006,0x00000378,0x000002ac,
0x0003003e,0x00000377,0x00000378,0x0003003e,0x00000379,0x0000036b,0x000c0039,0x00000002,
0x0000037a,0x00000038,0x0000036c,0x0000036e,0x00000370,0x00000371,0x00000373,0x00000375,
0x00000377,0x00000379,0x0004003d,0x00000015,0x0000037b,0x0000036c,0x0003003e,0x000002f4,
0x0000037b,0x0004003d,0x00000006,0x0000037c,0x0000036e,0x0003003e,0x000002f6,0x0000037c,
0x0004003d,0x00000022,0x0000037e,0x00000159,0x00050083,0x00000022,0x0000037f,0x0000037d,
0x0000037e,0x00050041,0x00000007,0x00000380,0x00000193,0x000001ea,0x0004003d,0x00000006,
0x00000381,0x00000380,0x00050041,0x00000007,0x00000382,0x00000197,0x000001ea,0x0004003d,
0x00000006,0x00000383,0x00000382,0x00050041,0x00000007,0x00000384,0x0000019b,0x000001ea,
0x0004003d,0x00000006,0x00000385,0x00000384,0x00060050,0x00000015,0x00000386,0x00000381,
0x00000383,0x00000385,0x0004003d,0x00000015,0x00000388,0x000002f4,0x0003003e,0x00000387,
0x00000388,0x0004003d,0x00000006,0x0000038a,0x000002f6,0x0003003e,0x00000389,0x0000038a,
0x0003003e,0x0000038b,0x0000037f,0x0004003d,0x00000022,0x0000038d,0x000001ff,0x0003003e,
0x0000038c,0x0000038d,0x0004003d,0x00000022,0x0000038f,0x0000029c,0x0003003e,0x0000038e,
0x0000038f,0x0004003d,0x00000006,0x00000391,0x000002a7,0x0003003e,0x00000390,0x00000391,
0x0004003d,0x00000006,0x00000393,0x000002ac,0x0003003e,0x00000392,0x00000393,0x0003003e,
0x00000394,0x00000386,0x000c0039,0x00000002,0x00000395,0x00000038,0x00000387,0x00000389,
0x0000038b,0x0000038c,0x0000038e,0x00000390,0x00000392,0x00000394,0x0004003d,0x00000015,
0x00000396,0x00000387,0x0003003e,0x000002f4,0x00000396,0x0004003d,0x00000006,0x00000397,
0x00000389,0x0003003e,0x000002f6,0x00000397,0x0004003d,0x00000022,0x00000399,0x00000159,
0x00050083,0x00000022,0x0000039a,0x00000398,0x00000399,0x00050041,0x00000007,0x0000039b,
0x0000019f,0x00000091,0x0004003d,0x00000006,0x0000039c,0x0000039b,0x00050041,0x00000007,
0x0000039d,0x000001a3,0x00000091,0x0004003d,0x00000006,0x0000039e,0x0000039d,0x00050041,
0x00000007,0x0000039f,0x000001a7,0x00000091,0x0004003d,0x00000006,0x000003a0,0x0000039f,
0x00060050,0x00000015,0x000003a1,0x0000039c,0x0000039e,0x000003a0,0x0004003d,0x00000015,
0x000003a3,0x000002f4,0x0003003e,0x000003a2,0x000003a3,0x0004003d,0x00000006,0x000003a5,
0x000002f6,0x0003003e,0x000003a4,0x000003a5,0x0003003e,0x000003a6,0x0000039a,0x0004003d,
0x00000022,0x000003a8,0x000001ff,0x0003003e,0x000003a7,0x000003a8,0x0004003d,0x00000022,
0x000003aa,0x0000029c,0x0003003e,0x000003a9,0x000003aa,0x0004003d,0x00000006,0x000003ac,
0x000002a7,0x0003003e,0x000003ab,0x000003ac,0x0004003d,0x00000006,0x000003ae,0x000002ac,
0x0003003e,0x000003ad,0x000003ae,0x0003003e,0x000003af,0x000003a1,0x000c0039,0x00000002,
0x000003b0,0x00000038,0x000003a2,0x000003a4,0x000003a6,0x000003a7,0x000003a9,0x000003ab,
0x000003ad,0x000003af,0x0004003d,0x00000015,0x000003b1,0x000003a2,0x0003003e,0x000002f4,
0x000003b1,0x0004003d,0x00000006,0x000003b2,0x000003a4,0x0003003e,0x000002f6,0x000003b2,
0x0004003d,0x00000022,0x000003b5,0x00000159,0x00050083,0x00000022,0x000003b6,0x000003b4,
0x000003b5,0x00050041,0x00000007,0x000003b7,0x0000019f,0x00000097,0x0004003d,0x00000006,
0x000003b8,0x000003b7,0x00050041,0x00000007,0x000003b9,0x000001a3,0x00000097,0x0004003d,
0x00000006,0x000003ba,0x000003b9,0x00050041,0x00000007,0x000003bb,0x000001a7,0x00000097,
0x0004003d,0x00000006,0x000003bc,0x000003bb,0x00060050,0x00000015,0x000003bd,0x000003b8,
0x000003ba,0x000003bc,0x0004003d,0x00000015,0x000003bf,0x000002f4,0x0003003e,0x000003be,
0x000003bf,0x0004003d,0x00000006,0x000003c1,0x000002f6,0x0003003e,0x000003c0,0x000003c1,
0x0003003e,0x000003c2,0x000003b6,0x0004003d,0x00000022,0x000003c4,0x000001ff,0x0003003e,
0x000003c3,0x000003c4,0x0004003d,0x00000022,0x000003c6,0x0000029c,0x0003003e,0x000003c5,
0x000003c6,0x0004003d,0x00000006,0x000003c8,0x000002a7,0x0003003e,0x000003c7,0x000003c8,
0x0004003d,0x00000006,0x000003ca,0x000002ac,0x0003003e,0x000003c9,0x000003ca,0x0003003e,
0x000003cb,0x000003bd,0x000c0039,0x00000002,0x000003cc,0x00000038,0x000003be,0x000003c0,
0x000003c2,0x000003c3,0x000003c5,0x000003c7,0x000003c9,0x000003cb,0x0004003d,0x00000015,
0x000003cd,0x000003be,0x0003003e,0x000002f4,0x000003cd,0x0004003d,0x00000006,0x000003ce,
0x000003c0,0x0003003e,0x000002f6,0x000003ce,0x0004003d,0x00000022,0x000003d0,0x00000159,
0x00050083,0x00000022,0x000003d1,0x000003cf,0x000003d0,0x00050041,0x00000007,0x000003d2,
0x0000019f,0x000001e6,0x0004003d,0x00000006,0x000003d3,0x000003d2,0x00050041,0x00000007,
0x000003d4,0x000001a3,0x000001e6,0x0004003d,0x00000006,0x000003d5,0x000003d4,0x00050041,
0x00000007,0x000003d6,0x000001a7,0x000001e6,0x0004003d,0x00000006,0x000003d7,0x000003d6,
0x00060050,0x00000015,0x000003d8,0x000003d3,0x000003d5,0x000003d7,0x0004003d,0x00000015,
0x000003da,0x000002f4,0x0003003e,0x000003d9,0x000003da,0x0004003d,0x00000006,0x000003dc,
0x000002f6,0x0003003e,0x000003db,0x000003dc,0x0003003e,0x000003dd,0x000003d1,0x0004003d,
0x00000022,0x000003df,0x000001ff,0x0003003e,0x000003de,0x000003df,0x0004003d,0x00000022,
0x000003e1,0x0000029c,0x0003003e,0x000003e0,0x000003e1,0x0004003d,0x00000006,0x000003e3,
0x000002a7,0x0003003e,0x000003e2,0x000003e3,0x0004003d,0x00000006,0x000003e5,0x000002ac,
0x0003003e,0x000003e4,0x000003e5,0x0003003e,0x000003e6,0x000003d8,0x000c0039,0x00000002,
0x000003e7,0x00000038,0x000003d9,0x000003db,0x000003dd,0x000003de,0x000003e0,0x000003e2,
0x000003e4,0x000003e6,0x0004003d,0x00000015,0x000003e8,0x000003d9,0x0003003e,0x000002f4,
0x000003e8,0x0004003d,0x00000006,0x000003e9,0x000003db,0x0003003e,0x000002f6,0x000003e9,
0x0004003d,0x00000022,0x000003eb,0x00000159,0x00050083,0x00000022,0x000003ec,0x000003ea,
0x000003eb,0x00050041,0x00000007,0x000003ed,0x0000019f,0x000001ea,0x0004003d,0x00000006,
0x000003ee,0x000003ed,0x00050041,0x00000007,0x000003ef,0x000001a3,0x000001ea,0x0004003d,
0x00000006,0x000003f0,0x000003ef,0x00050041,0x00000007,0x000003f1,0x000001a7,0x000001ea,
0x0004003d,0x00000006,0x000003f2,0x000003f1,0x00060050,0x00000015,0x000003f3,0x000003ee,
0x000003f0,0x000003f2,0x0004003d,0x00000015,0x000003f5,0x000002f4,0x0003003e,0x000003f4,
0x000003f5,0x0004003d,0x00000006,0x000003f7,0x000002f6,0x0003003e,0x000003f6,0x000003f7,
0x0003003e,0x000003f8,0x000003ec,0x0004003d,0x00000022,0x000003fa,0x000001ff,0x0003003e,
0x000003f9,0x000003fa,0x0004003d,0x00000022,0x000003fc,0x0000029c,0x0003003e,0x000003fb,
0x000003fc,0x0004003d,0x00000006,0x000003fe,0x000002a7,0x0003003e,0x000003fd,0x000003fe,
0x0004003d,0x00000006,0x00000400,0x000002ac,0x0003003e,0x000003ff,0x00000400,0x0003003e,
0x00000401,0x000003f3,0x000c0039,0x00000002,0x00000402,0x00000038,0x000003f4,0x000003f6,
0x000003f8,0x000003f9,0x000003fb,0x000003fd,0x000003ff,0x00000401,0x0004003d,0x00000015,
0x00000403,0x000003f4,0x0003003e,0x000002f4,0x00000403,0x0004003d,0x00000006,0x00000404,
0x000003f6,0x0003003e,0x000002f6,0x00000404,0x0004003d,0x00000022,0x00000406,0x00000159,
0x00050083,0x00000022,0x00000407,0x00000405,0x00000406,0x00050041,0x00000007,0x00000408,
0x000001ab,0x000001e6,0x0004003d,0x00000006,0x00000409,0x00000408,0x00050041,0x00000007,
0x0000040a,0x000001af,0x000001e6,0x0004003d,0x00000006,0x0000040b,0x0000040a,0x00050041,
0x00000007,0x0000040c,0x000001b3,0x000001e6,0x0004003d,0x00000006,0x0000040d,0x0000040c,
0x00060050,0x00000015,0x0000040e,0x00000409,0x0000040b,0x0000040d,0x0004003d,0x00000015,
0x00000410,0x000002f4,0x0003003e,0x0000040f,0x00000410,0x0004003d,0x00000006,0x00000412,
0x000002f6,0x0003003e,0x00000411,0x00000412,0x0003003e,0x00000413,0x00000407,0x0004003d,
0x00000022,0x00000415,0x000001ff,0x0003003e,0x00000414,0x00000415,0x0004003d,0x00000022,
0x00000417,0x0000029c,0x0003003e,0x00000416,0x00000417,0x0004003d,0x00000006,0x00000419,
0x000002a7,0x0003003e,0x00000418,0x00000419,0x0004003d,0x00000006,0x0000041b,0x000002ac,
0x0003003e,0x0000041a,0x0000041b,0x0003003e,0x0000041c,0x0000040e,0x000c0039,0x00000002,
0x0000041d,0x00000038,0x0000040f,0x00000411,0x00000413,0x00000414,0x00000416,0x00000418,
0x0000041a,0x0000041c,0x0004003d,0x00000015,0x0000041e,0x0000040f,0x0003003e,0x000002f4,
0x0000041e,0x0004003d,0x00000006,0x0000041f,0x00000411,0x0003003e,0x000002f6,0x0000041f,
0x0004003d,0x00000022,0x00000421,0x00000159,0x00050083,0x00000022,0x00000422,0x00000420,
0x00000421,0x00050041,0x00000007,0x00000423,0x000001ab,0x000001ea,0x0004003d,0x00000006,
0x00000424,0x00000423,0x00050041,0x00000007,0x00000425,0x000001af,0x000001ea,0x0004003d,
0x00000006,0x00000426,0x00000425,0x00050041,0x00000007,0x00000427,0x000001b3,0x000001ea,
0x0004003d,0x00000006,0x00000428,0x00000427,0x00060050,0x00000015,0x00000429,0x00000424,
0x00000426,0x00000428,0x0004003d,0x00000015,0x0000042b,0x000002f4,0x0003003e,0x0000042a,
0x0000042b,0x0004003d,0x00000006,0x0000042d,0x000002f6,0x0003003e,0x0000042c,0x0000042d,
0x0003003e,0x0000042e,0x00000422,0x0004003d,0x00000022,0x00000430,0x000001ff,0x0003003e,
0x0000042f,0x00000430,0x0004003d,0x00000022,0x00000432,0x0000029c,0x0003003e,0x00000431,
0x00000432,0x0004003d,0x00000006,0x00000434,0x000002a7,0x0003003e,0x00000433,0x00000434,
0x0004003d,0x00000006,0x00000436,0x000002ac,0x0003003e,0x00000435,0x00000436,0x0003003e,
0x00000437,0x00000429,0x000c0039,0x00000002,0x00000438,0x00000038,0x0000042a,0x0000042c,
0x0000042e,0x0000042f,0x00000431,0x00000433,0x00000435,0x00000437,0x0004003d,0x00000015,
0x00000439,0x0000042a,0x0003003e,0x000002f4,0x00000439,0x0004003d,0x00000006,0x0000043a,
0x0000042c,0x0003003e,0x000002f6,0x0000043a,0x0004003d,0x00000015,0x0000043b,0x000002d2,
0x0004003d,0x00000015,0x0000043c,0x000002b0,0x0004003d,0x00000015,0x0000043d,0x000002f4,
0x0004003d,0x00000006,0x0000043f,0x000002f6,0x0003003e,0x0000043e,0x0000043f,0x00050039,
0x00000006,0x00000440,0x0000000a,0x0000043e,0x00060050,0x00000015,0x00000441,0x00000440,
0x00000440,0x00000440,0x00050085,0x00000015,0x00000442,0x0000043d,0x00000441,0x0007000c,
0x00000015,0x00000443,0x00000001,0x00000028,0x0000043c,0x00000442,0x0007000c,0x00000015,
0x00000444,0x00000001,0x00000025,0x0000043b,0x00000443,0x0003003e,0x00000051,0x00000444,
0x000100fd,0x00010038
};
-469
View File
@@ -1,469 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t fsr_rcas_code[] = {
0x07230203,0x00010000,0x0008000b,0x0000025e,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,
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
};
-165
View File
@@ -1,165 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t fxaa_code[] = {
0x07230203,0x00010000,0x0008000b,0x000000e4,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000018,0x000000d6,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,0x00040005,0x000000d0,0x616d756c,0x00000042,
0x00050005,0x000000d6,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,0x000000d6,
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,0x0004002b,0x00000006,0x000000d2,0x00000000,0x0007002c,0x0000000b,
0x000000d3,0x0000004d,0x0000004e,0x0000004f,0x000000d2,0x00040020,0x000000d5,0x00000003,
0x0000000b,0x0004003b,0x000000d5,0x000000d6,0x00000003,0x00020014,0x000000d9,0x00040017,
0x000000e1,0x000000d9,0x00000004,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,0x0000004a,
0x000000d0,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,0x000000d1,0x000000bd,0x00050094,0x00000006,0x000000d4,
0x000000d1,0x000000d3,0x0003003e,0x000000d0,0x000000d4,0x0004003d,0x00000006,0x000000d7,
0x000000d0,0x0004003d,0x00000006,0x000000d8,0x0000005e,0x000500b8,0x000000d9,0x000000da,
0x000000d7,0x000000d8,0x0004003d,0x00000006,0x000000db,0x000000d0,0x0004003d,0x00000006,
0x000000dc,0x00000068,0x000500ba,0x000000d9,0x000000dd,0x000000db,0x000000dc,0x000500a6,
0x000000d9,0x000000de,0x000000da,0x000000dd,0x0004003d,0x0000000b,0x000000df,0x000000ab,
0x0004003d,0x0000000b,0x000000e0,0x000000bd,0x00070050,0x000000e1,0x000000e2,0x000000de,
0x000000de,0x000000de,0x000000de,0x000600a9,0x0000000b,0x000000e3,0x000000e2,0x000000df,
0x000000e0,0x0003003e,0x000000d6,0x000000e3,0x000100fd,0x00010038
};
-174
View File
@@ -1,174 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t hdr_code[] = {
0x07230203,0x00010000,0x0008000b,0x000000f4,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000b,0x000000e9,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00050005,0x00000009,0x63786574,0x64726f6f,0x00000000,0x00060005,0x0000000b,
0x67617266,0x43786554,0x64726f6f,0x00000000,0x00030005,0x0000000d,0x00007870,0x00030005,
0x00000010,0x00004350,0x00040006,0x00000010,0x00000000,0x0063646e,0x00060006,0x00000010,
0x00000001,0x6f736572,0x6974756c,0x00006e6f,0x00030005,0x00000012,0x00006370,0x00040005,
0x0000001c,0x6f6c6f63,0x00000072,0x00060005,0x00000020,0x75706e49,0x78655474,0x65727574,
0x00000000,0x00050005,0x00000025,0x6f6f6c62,0x75735f6d,0x0000316d,0x00050005,0x0000007c,
0x6f6f6c62,0x75735f6d,0x0000326d,0x00040005,0x000000d3,0x74736964,0x00000000,0x00030005,
0x000000d5,0x00524448,0x00040005,0x000000dd,0x6e656c62,0x00000064,0x00050005,0x000000e9,
0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000000b,0x0000001e,0x00000000,0x00030047,
0x00000010,0x00000002,0x00050048,0x00000010,0x00000000,0x00000023,0x00000000,0x00050048,
0x00000010,0x00000001,0x00000023,0x00000010,0x00040047,0x00000020,0x00000021,0x00000000,
0x00040047,0x00000020,0x00000022,0x00000000,0x00040047,0x000000e9,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,0x00040017,0x0000000f,0x00000006,0x00000004,
0x0004001e,0x00000010,0x0000000f,0x00000007,0x00040020,0x00000011,0x00000009,0x00000010,
0x0004003b,0x00000011,0x00000012,0x00000009,0x00040015,0x00000013,0x00000020,0x00000001,
0x0004002b,0x00000013,0x00000014,0x00000001,0x00040020,0x00000015,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,0x0004002b,0x00000006,0x00000028,0x3f984189,
0x0004002b,0x00000006,0x00000029,0xbf984189,0x0005002c,0x00000007,0x0000002a,0x00000028,
0x00000029,0x0005002c,0x00000007,0x00000032,0x00000029,0x00000029,0x0005002c,0x00000007,
0x0000003c,0x00000028,0x00000028,0x0005002c,0x00000007,0x00000046,0x00000029,0x00000028,
0x0004002b,0x00000006,0x00000050,0x00000000,0x0004002b,0x00000006,0x00000051,0xbffdc28f,
0x0005002c,0x00000007,0x00000052,0x00000050,0x00000051,0x0004002b,0x00000006,0x0000005c,
0x3ffdc28f,0x0005002c,0x00000007,0x0000005d,0x00000050,0x0000005c,0x0005002c,0x00000007,
0x00000067,0x00000051,0x00000050,0x0005002c,0x00000007,0x00000071,0x0000005c,0x00000050,
0x0004002b,0x00000006,0x00000079,0x3ba3d70a,0x0004002b,0x00000006,0x0000007f,0x3fa70a3d,
0x0004002b,0x00000006,0x00000080,0xbfa70a3d,0x0005002c,0x00000007,0x00000081,0x0000007f,
0x00000080,0x0005002c,0x00000007,0x00000089,0x00000080,0x00000080,0x0005002c,0x00000007,
0x00000093,0x0000007f,0x0000007f,0x0005002c,0x00000007,0x0000009d,0x00000080,0x0000007f,
0x0004002b,0x00000006,0x000000a7,0xc00b3333,0x0005002c,0x00000007,0x000000a8,0x00000050,
0x000000a7,0x0004002b,0x00000006,0x000000b2,0x400b3333,0x0005002c,0x00000007,0x000000b3,
0x00000050,0x000000b2,0x0005002c,0x00000007,0x000000bd,0x000000a7,0x00000050,0x0005002c,
0x00000007,0x000000c7,0x000000b2,0x00000050,0x0004002b,0x00000006,0x000000cf,0x3c23d70a,
0x00040020,0x000000d2,0x00000007,0x00000006,0x0004002b,0x00000006,0x000000d4,0x3d9db22d,
0x0004002b,0x00000006,0x000000e3,0x3fa66666,0x0006002c,0x0000001a,0x000000e4,0x000000e3,
0x000000e3,0x000000e3,0x00040020,0x000000e8,0x00000003,0x0000000f,0x0004003b,0x000000e8,
0x000000e9,0x00000003,0x0004002b,0x00000006,0x000000f2,0x3f4b020c,0x0004002b,0x00000006,
0x000000f3,0x3f5eb852,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,0x0000007c,0x00000007,0x0004003b,0x000000d2,0x000000d3,
0x00000007,0x0004003b,0x0000001b,0x000000d5,0x00000007,0x0004003b,0x0000001b,0x000000dd,
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,0x0004003d,0x0000001e,
0x00000021,0x00000020,0x0004003d,0x00000007,0x00000022,0x00000009,0x00050057,0x0000000f,
0x00000023,0x00000021,0x00000022,0x0008004f,0x0000001a,0x00000024,0x00000023,0x00000023,
0x00000000,0x00000001,0x00000002,0x0003003e,0x0000001c,0x00000024,0x0004003d,0x0000001e,
0x00000026,0x00000020,0x0004003d,0x00000007,0x00000027,0x00000009,0x0004003d,0x00000007,
0x0000002b,0x0000000d,0x00050085,0x00000007,0x0000002c,0x0000002a,0x0000002b,0x00050081,
0x00000007,0x0000002d,0x00000027,0x0000002c,0x00050057,0x0000000f,0x0000002e,0x00000026,
0x0000002d,0x0008004f,0x0000001a,0x0000002f,0x0000002e,0x0000002e,0x00000000,0x00000001,
0x00000002,0x0003003e,0x00000025,0x0000002f,0x0004003d,0x0000001e,0x00000030,0x00000020,
0x0004003d,0x00000007,0x00000031,0x00000009,0x0004003d,0x00000007,0x00000033,0x0000000d,
0x00050085,0x00000007,0x00000034,0x00000032,0x00000033,0x00050081,0x00000007,0x00000035,
0x00000031,0x00000034,0x00050057,0x0000000f,0x00000036,0x00000030,0x00000035,0x0008004f,
0x0000001a,0x00000037,0x00000036,0x00000036,0x00000000,0x00000001,0x00000002,0x0004003d,
0x0000001a,0x00000038,0x00000025,0x00050081,0x0000001a,0x00000039,0x00000038,0x00000037,
0x0003003e,0x00000025,0x00000039,0x0004003d,0x0000001e,0x0000003a,0x00000020,0x0004003d,
0x00000007,0x0000003b,0x00000009,0x0004003d,0x00000007,0x0000003d,0x0000000d,0x00050085,
0x00000007,0x0000003e,0x0000003c,0x0000003d,0x00050081,0x00000007,0x0000003f,0x0000003b,
0x0000003e,0x00050057,0x0000000f,0x00000040,0x0000003a,0x0000003f,0x0008004f,0x0000001a,
0x00000041,0x00000040,0x00000040,0x00000000,0x00000001,0x00000002,0x0004003d,0x0000001a,
0x00000042,0x00000025,0x00050081,0x0000001a,0x00000043,0x00000042,0x00000041,0x0003003e,
0x00000025,0x00000043,0x0004003d,0x0000001e,0x00000044,0x00000020,0x0004003d,0x00000007,
0x00000045,0x00000009,0x0004003d,0x00000007,0x00000047,0x0000000d,0x00050085,0x00000007,
0x00000048,0x00000046,0x00000047,0x00050081,0x00000007,0x00000049,0x00000045,0x00000048,
0x00050057,0x0000000f,0x0000004a,0x00000044,0x00000049,0x0008004f,0x0000001a,0x0000004b,
0x0000004a,0x0000004a,0x00000000,0x00000001,0x00000002,0x0004003d,0x0000001a,0x0000004c,
0x00000025,0x00050081,0x0000001a,0x0000004d,0x0000004c,0x0000004b,0x0003003e,0x00000025,
0x0000004d,0x0004003d,0x0000001e,0x0000004e,0x00000020,0x0004003d,0x00000007,0x0000004f,
0x00000009,0x0004003d,0x00000007,0x00000053,0x0000000d,0x00050085,0x00000007,0x00000054,
0x00000052,0x00000053,0x00050081,0x00000007,0x00000055,0x0000004f,0x00000054,0x00050057,
0x0000000f,0x00000056,0x0000004e,0x00000055,0x0008004f,0x0000001a,0x00000057,0x00000056,
0x00000056,0x00000000,0x00000001,0x00000002,0x0004003d,0x0000001a,0x00000058,0x00000025,
0x00050081,0x0000001a,0x00000059,0x00000058,0x00000057,0x0003003e,0x00000025,0x00000059,
0x0004003d,0x0000001e,0x0000005a,0x00000020,0x0004003d,0x00000007,0x0000005b,0x00000009,
0x0004003d,0x00000007,0x0000005e,0x0000000d,0x00050085,0x00000007,0x0000005f,0x0000005d,
0x0000005e,0x00050081,0x00000007,0x00000060,0x0000005b,0x0000005f,0x00050057,0x0000000f,
0x00000061,0x0000005a,0x00000060,0x0008004f,0x0000001a,0x00000062,0x00000061,0x00000061,
0x00000000,0x00000001,0x00000002,0x0004003d,0x0000001a,0x00000063,0x00000025,0x00050081,
0x0000001a,0x00000064,0x00000063,0x00000062,0x0003003e,0x00000025,0x00000064,0x0004003d,
0x0000001e,0x00000065,0x00000020,0x0004003d,0x00000007,0x00000066,0x00000009,0x0004003d,
0x00000007,0x00000068,0x0000000d,0x00050085,0x00000007,0x00000069,0x00000067,0x00000068,
0x00050081,0x00000007,0x0000006a,0x00000066,0x00000069,0x00050057,0x0000000f,0x0000006b,
0x00000065,0x0000006a,0x0008004f,0x0000001a,0x0000006c,0x0000006b,0x0000006b,0x00000000,
0x00000001,0x00000002,0x0004003d,0x0000001a,0x0000006d,0x00000025,0x00050081,0x0000001a,
0x0000006e,0x0000006d,0x0000006c,0x0003003e,0x00000025,0x0000006e,0x0004003d,0x0000001e,
0x0000006f,0x00000020,0x0004003d,0x00000007,0x00000070,0x00000009,0x0004003d,0x00000007,
0x00000072,0x0000000d,0x00050085,0x00000007,0x00000073,0x00000071,0x00000072,0x00050081,
0x00000007,0x00000074,0x00000070,0x00000073,0x00050057,0x0000000f,0x00000075,0x0000006f,
0x00000074,0x0008004f,0x0000001a,0x00000076,0x00000075,0x00000075,0x00000000,0x00000001,
0x00000002,0x0004003d,0x0000001a,0x00000077,0x00000025,0x00050081,0x0000001a,0x00000078,
0x00000077,0x00000076,0x0003003e,0x00000025,0x00000078,0x0004003d,0x0000001a,0x0000007a,
0x00000025,0x0005008e,0x0000001a,0x0000007b,0x0000007a,0x00000079,0x0003003e,0x00000025,
0x0000007b,0x0004003d,0x0000001e,0x0000007d,0x00000020,0x0004003d,0x00000007,0x0000007e,
0x00000009,0x0004003d,0x00000007,0x00000082,0x0000000d,0x00050085,0x00000007,0x00000083,
0x00000081,0x00000082,0x00050081,0x00000007,0x00000084,0x0000007e,0x00000083,0x00050057,
0x0000000f,0x00000085,0x0000007d,0x00000084,0x0008004f,0x0000001a,0x00000086,0x00000085,
0x00000085,0x00000000,0x00000001,0x00000002,0x0003003e,0x0000007c,0x00000086,0x0004003d,
0x0000001e,0x00000087,0x00000020,0x0004003d,0x00000007,0x00000088,0x00000009,0x0004003d,
0x00000007,0x0000008a,0x0000000d,0x00050085,0x00000007,0x0000008b,0x00000089,0x0000008a,
0x00050081,0x00000007,0x0000008c,0x00000088,0x0000008b,0x00050057,0x0000000f,0x0000008d,
0x00000087,0x0000008c,0x0008004f,0x0000001a,0x0000008e,0x0000008d,0x0000008d,0x00000000,
0x00000001,0x00000002,0x0004003d,0x0000001a,0x0000008f,0x0000007c,0x00050081,0x0000001a,
0x00000090,0x0000008f,0x0000008e,0x0003003e,0x0000007c,0x00000090,0x0004003d,0x0000001e,
0x00000091,0x00000020,0x0004003d,0x00000007,0x00000092,0x00000009,0x0004003d,0x00000007,
0x00000094,0x0000000d,0x00050085,0x00000007,0x00000095,0x00000093,0x00000094,0x00050081,
0x00000007,0x00000096,0x00000092,0x00000095,0x00050057,0x0000000f,0x00000097,0x00000091,
0x00000096,0x0008004f,0x0000001a,0x00000098,0x00000097,0x00000097,0x00000000,0x00000001,
0x00000002,0x0004003d,0x0000001a,0x00000099,0x0000007c,0x00050081,0x0000001a,0x0000009a,
0x00000099,0x00000098,0x0003003e,0x0000007c,0x0000009a,0x0004003d,0x0000001e,0x0000009b,
0x00000020,0x0004003d,0x00000007,0x0000009c,0x00000009,0x0004003d,0x00000007,0x0000009e,
0x0000000d,0x00050085,0x00000007,0x0000009f,0x0000009d,0x0000009e,0x00050081,0x00000007,
0x000000a0,0x0000009c,0x0000009f,0x00050057,0x0000000f,0x000000a1,0x0000009b,0x000000a0,
0x0008004f,0x0000001a,0x000000a2,0x000000a1,0x000000a1,0x00000000,0x00000001,0x00000002,
0x0004003d,0x0000001a,0x000000a3,0x0000007c,0x00050081,0x0000001a,0x000000a4,0x000000a3,
0x000000a2,0x0003003e,0x0000007c,0x000000a4,0x0004003d,0x0000001e,0x000000a5,0x00000020,
0x0004003d,0x00000007,0x000000a6,0x00000009,0x0004003d,0x00000007,0x000000a9,0x0000000d,
0x00050085,0x00000007,0x000000aa,0x000000a8,0x000000a9,0x00050081,0x00000007,0x000000ab,
0x000000a6,0x000000aa,0x00050057,0x0000000f,0x000000ac,0x000000a5,0x000000ab,0x0008004f,
0x0000001a,0x000000ad,0x000000ac,0x000000ac,0x00000000,0x00000001,0x00000002,0x0004003d,
0x0000001a,0x000000ae,0x0000007c,0x00050081,0x0000001a,0x000000af,0x000000ae,0x000000ad,
0x0003003e,0x0000007c,0x000000af,0x0004003d,0x0000001e,0x000000b0,0x00000020,0x0004003d,
0x00000007,0x000000b1,0x00000009,0x0004003d,0x00000007,0x000000b4,0x0000000d,0x00050085,
0x00000007,0x000000b5,0x000000b3,0x000000b4,0x00050081,0x00000007,0x000000b6,0x000000b1,
0x000000b5,0x00050057,0x0000000f,0x000000b7,0x000000b0,0x000000b6,0x0008004f,0x0000001a,
0x000000b8,0x000000b7,0x000000b7,0x00000000,0x00000001,0x00000002,0x0004003d,0x0000001a,
0x000000b9,0x0000007c,0x00050081,0x0000001a,0x000000ba,0x000000b9,0x000000b8,0x0003003e,
0x0000007c,0x000000ba,0x0004003d,0x0000001e,0x000000bb,0x00000020,0x0004003d,0x00000007,
0x000000bc,0x00000009,0x0004003d,0x00000007,0x000000be,0x0000000d,0x00050085,0x00000007,
0x000000bf,0x000000bd,0x000000be,0x00050081,0x00000007,0x000000c0,0x000000bc,0x000000bf,
0x00050057,0x0000000f,0x000000c1,0x000000bb,0x000000c0,0x0008004f,0x0000001a,0x000000c2,
0x000000c1,0x000000c1,0x00000000,0x00000001,0x00000002,0x0004003d,0x0000001a,0x000000c3,
0x0000007c,0x00050081,0x0000001a,0x000000c4,0x000000c3,0x000000c2,0x0003003e,0x0000007c,
0x000000c4,0x0004003d,0x0000001e,0x000000c5,0x00000020,0x0004003d,0x00000007,0x000000c6,
0x00000009,0x0004003d,0x00000007,0x000000c8,0x0000000d,0x00050085,0x00000007,0x000000c9,
0x000000c7,0x000000c8,0x00050081,0x00000007,0x000000ca,0x000000c6,0x000000c9,0x00050057,
0x0000000f,0x000000cb,0x000000c5,0x000000ca,0x0008004f,0x0000001a,0x000000cc,0x000000cb,
0x000000cb,0x00000000,0x00000001,0x00000002,0x0004003d,0x0000001a,0x000000cd,0x0000007c,
0x00050081,0x0000001a,0x000000ce,0x000000cd,0x000000cc,0x0003003e,0x0000007c,0x000000ce,
0x0004003d,0x0000001a,0x000000d0,0x0000007c,0x0005008e,0x0000001a,0x000000d1,0x000000d0,
0x000000cf,0x0003003e,0x0000007c,0x000000d1,0x0003003e,0x000000d3,0x000000d4,0x0004003d,
0x0000001a,0x000000d6,0x0000001c,0x0004003d,0x0000001a,0x000000d7,0x0000007c,0x0004003d,
0x0000001a,0x000000d8,0x00000025,0x00050083,0x0000001a,0x000000d9,0x000000d7,0x000000d8,
0x00050081,0x0000001a,0x000000da,0x000000d6,0x000000d9,0x0004003d,0x00000006,0x000000db,
0x000000d3,0x0005008e,0x0000001a,0x000000dc,0x000000da,0x000000db,0x0003003e,0x000000d5,
0x000000dc,0x0004003d,0x0000001a,0x000000de,0x000000d5,0x0004003d,0x0000001a,0x000000df,
0x0000001c,0x00050081,0x0000001a,0x000000e0,0x000000de,0x000000df,0x0003003e,0x000000dd,
0x000000e0,0x0004003d,0x0000001a,0x000000e1,0x000000dd,0x0006000c,0x0000001a,0x000000e2,
0x00000001,0x00000004,0x000000e1,0x0007000c,0x0000001a,0x000000e5,0x00000001,0x0000001a,
0x000000e2,0x000000e4,0x0004003d,0x0000001a,0x000000e6,0x000000d5,0x00050081,0x0000001a,
0x000000e7,0x000000e5,0x000000e6,0x0003003e,0x0000001c,0x000000e7,0x0004003d,0x0000001a,
0x000000ea,0x0000001c,0x00060050,0x0000001a,0x000000eb,0x00000050,0x00000050,0x00000050,
0x00060050,0x0000001a,0x000000ec,0x0000000e,0x0000000e,0x0000000e,0x0008000c,0x0000001a,
0x000000ed,0x00000001,0x0000002b,0x000000ea,0x000000eb,0x000000ec,0x00050051,0x00000006,
0x000000ee,0x000000ed,0x00000000,0x00050051,0x00000006,0x000000ef,0x000000ed,0x00000001,
0x00050051,0x00000006,0x000000f0,0x000000ed,0x00000002,0x00070050,0x0000000f,0x000000f1,
0x000000ee,0x000000ef,0x000000f0,0x0000000e,0x0003003e,0x000000e9,0x000000f1,0x000100fd,
0x00010038
};
File diff suppressed because it is too large. Load diff
-154
View File
@@ -1,154 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t ntsc_code[] = {
0x07230203,0x00010000,0x0008000b,0x000000d5,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x000000bc,0x000000cf,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,
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,
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
};
-403
View File
@@ -1,403 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t sgsr_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,0x00000046,0x00000002,0x00050048,0x00000046,0x00000000,
0x00000023,0x00000000,0x00050048,0x00000046,0x00000001,0x00000023,0x00000010,0x00050048,
0x00000046,0x00000002,0x00000023,0x00000020,0x00040047,0x00000051,0x0000001e,0x00000000,
0x00040047,0x00000057,0x00000021,0x00000000,0x00040047,0x00000057,0x00000022,0x00000000,
0x00040047,0x00000214,0x0000001e,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
};
@@ -1,460 +0,0 @@
// 1116.5.0
#pragma once
const uint32_t sgsr_quality_code[] = {
0x07230203,0x00010000,0x0008000b,0x00000269,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000009c,0x00000267,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,0x00050005,0x0000007d,
0x676e656c,0x6e496874,0x00000076,0x00060005,0x00000091,0x77656956,0x74726f70,0x6f666e49,
0x00000000,0x00030005,0x00000092,0x00004350,0x00040006,0x00000092,0x00000000,0x0063646e,
0x00070006,0x00000092,0x00000001,0x77656956,0x74726f70,0x6f666e49,0x00000000,0x00070006,
0x00000092,0x00000002,0x65676445,0x72616853,0x73656e70,0x00000073,0x00030005,0x00000094,
0x00006370,0x00030005,0x0000009a,0x00007675,0x00060005,0x0000009c,0x67617266,0x43786554,
0x64726f6f,0x00000000,0x00040005,0x0000009e,0x6f6c6f63,0x00000072,0x00030005,0x000000a2,
0x00307370,0x00050005,0x000000ad,0x43676d69,0x64726f6f,0x00000000,0x00060005,0x000000b6,
0x43676d69,0x64726f6f,0x65786950,0x0000006c,0x00040005,0x000000b9,0x726f6f63,0x00000064,
0x00030005,0x000000be,0x00006c70,0x00040005,0x000000c3,0x7466656c,0x00000000,0x00050005,
0x000000c7,0x65676465,0x65746f56,0x00000000,0x00040005,0x000000e8,0x68676972,0x00000074,
0x00040005,0x000000f0,0x6f447075,0x00006e77,0x00040005,0x0000010a,0x6e61656d,0x00000000,
0x00030005,0x00000129,0x006d7573,0x00040005,0x00000159,0x4d6d7573,0x006e6165,0x00030005,
0x0000015d,0x00647473,0x00040005,0x00000161,0x61746164,0x00000000,0x00040005,0x00000163,
0x61726170,0x0000006d,0x00040005,0x00000165,0x61726170,0x0000006d,0x00030005,0x0000016b,
0x00595761,0x00040005,0x0000016f,0x61726170,0x0000006d,0x00040005,0x00000172,0x61726170,
0x0000006d,0x00040005,0x00000173,0x61726170,0x0000006d,0x00040005,0x00000176,0x61726170,
0x0000006d,0x00040005,0x0000017f,0x61726170,0x0000006d,0x00040005,0x00000180,0x61726170,
0x0000006d,0x00040005,0x00000181,0x61726170,0x0000006d,0x00040005,0x00000184,0x61726170,
0x0000006d,0x00040005,0x00000190,0x61726170,0x0000006d,0x00040005,0x00000191,0x61726170,
0x0000006d,0x00040005,0x00000192,0x61726170,0x0000006d,0x00040005,0x00000195,0x61726170,
0x0000006d,0x00040005,0x0000019d,0x61726170,0x0000006d,0x00040005,0x000001a0,0x61726170,
0x0000006d,0x00040005,0x000001a1,0x61726170,0x0000006d,0x00040005,0x000001a4,0x61726170,
0x0000006d,0x00040005,0x000001af,0x61726170,0x0000006d,0x00040005,0x000001b0,0x61726170,
0x0000006d,0x00040005,0x000001b1,0x61726170,0x0000006d,0x00040005,0x000001b4,0x61726170,
0x0000006d,0x00040005,0x000001bc,0x61726170,0x0000006d,0x00040005,0x000001bf,0x61726170,
0x0000006d,0x00040005,0x000001c0,0x61726170,0x0000006d,0x00040005,0x000001c3,0x61726170,
0x0000006d,0x00040005,0x000001c8,0x61726170,0x0000006d,0x00040005,0x000001cb,0x61726170,
0x0000006d,0x00040005,0x000001ce,0x61726170,0x0000006d,0x00040005,0x000001d1,0x61726170,
0x0000006d,0x00040005,0x000001d9,0x61726170,0x0000006d,0x00040005,0x000001da,0x61726170,
0x0000006d,0x00040005,0x000001dd,0x61726170,0x0000006d,0x00040005,0x000001e0,0x61726170,
0x0000006d,0x00040005,0x000001eb,0x61726170,0x0000006d,0x00040005,0x000001ec,0x61726170,
0x0000006d,0x00040005,0x000001ed,0x61726170,0x0000006d,0x00040005,0x000001f0,0x61726170,
0x0000006d,0x00040005,0x000001fb,0x61726170,0x0000006d,0x00040005,0x000001fc,0x61726170,
0x0000006d,0x00040005,0x000001fd,0x61726170,0x0000006d,0x00040005,0x00000200,0x61726170,
0x0000006d,0x00040005,0x00000208,0x61726170,0x0000006d,0x00040005,0x00000209,0x61726170,
0x0000006d,0x00040005,0x0000020c,0x61726170,0x0000006d,0x00040005,0x0000020f,0x61726170,
0x0000006d,0x00040005,0x00000217,0x61726170,0x0000006d,0x00040005,0x00000218,0x61726170,
0x0000006d,0x00040005,0x0000021b,0x61726170,0x0000006d,0x00040005,0x0000021e,0x61726170,
0x0000006d,0x00040005,0x00000223,0x616e6966,0x0000596c,0x00040005,0x00000229,0x5978616d,
0x00000000,0x00040005,0x00000235,0x596e696d,0x00000000,0x00040005,0x0000024a,0x746c6564,
0x00005961,0x00050005,0x00000267,0x5f74756f,0x67726154,0x00307465,0x00030047,0x00000092,
0x00000002,0x00050048,0x00000092,0x00000000,0x00000023,0x00000000,0x00050048,0x00000092,
0x00000001,0x00000023,0x00000010,0x00050048,0x00000092,0x00000002,0x00000023,0x00000020,
0x00040047,0x0000009c,0x0000001e,0x00000000,0x00040047,0x000000a2,0x00000021,0x00000000,
0x00040047,0x000000a2,0x00000022,0x00000000,0x00040047,0x00000267,0x0000001e,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,0x00000083,0x38010182,0x0005001e,0x00000092,0x00000016,0x00000016,
0x00000006,0x00040020,0x00000093,0x00000009,0x00000092,0x0004003b,0x00000093,0x00000094,
0x00000009,0x00040015,0x00000095,0x00000020,0x00000001,0x0004002b,0x00000095,0x00000096,
0x00000001,0x00040020,0x00000097,0x00000009,0x00000016,0x00040020,0x0000009b,0x00000001,
0x0000000e,0x0004003b,0x0000009b,0x0000009c,0x00000001,0x00090019,0x0000009f,0x00000006,
0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,0x00000000,0x0003001b,0x000000a0,
0x0000009f,0x00040020,0x000000a1,0x00000000,0x000000a0,0x0004003b,0x000000a1,0x000000a2,
0x00000000,0x0004002b,0x00000006,0x000000b2,0xbf000000,0x0004002b,0x00000006,0x000000b3,
0x3f000000,0x0005002c,0x0000000e,0x000000b4,0x000000b2,0x000000b3,0x0004002b,0x00000006,
0x000000dd,0x3d008081,0x00020014,0x000000de,0x0004002b,0x00000006,0x00000116,0x3e800000,
0x0004002b,0x00000006,0x0000015a,0x41224505,0x0004002b,0x00000006,0x0000018e,0x40000000,
0x0004002b,0x00000095,0x00000241,0x00000002,0x00040020,0x00000242,0x00000009,0x00000006,
0x0004002b,0x00000006,0x00000250,0xbdb8b8b9,0x0004002b,0x00000006,0x00000251,0x3db8b8b9,
0x00040020,0x00000266,0x00000003,0x00000016,0x0004003b,0x00000266,0x00000267,0x00000003,
0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,
0x00000017,0x00000091,0x00000007,0x0004003b,0x00000034,0x0000009a,0x00000007,0x0004003b,
0x00000017,0x0000009e,0x00000007,0x0004003b,0x00000034,0x000000ad,0x00000007,0x0004003b,
0x00000034,0x000000b6,0x00000007,0x0004003b,0x00000034,0x000000b9,0x00000007,0x0004003b,
0x00000034,0x000000be,0x00000007,0x0004003b,0x00000017,0x000000c3,0x00000007,0x0004003b,
0x00000007,0x000000c7,0x00000007,0x0004003b,0x00000017,0x000000e8,0x00000007,0x0004003b,
0x00000017,0x000000f0,0x00000007,0x0004003b,0x00000007,0x0000010a,0x00000007,0x0004003b,
0x00000007,0x00000129,0x00000007,0x0004003b,0x00000007,0x00000159,0x00000007,0x0004003b,
0x00000007,0x0000015d,0x00000007,0x0004003b,0x0000000d,0x00000161,0x00000007,0x0004003b,
0x00000017,0x00000163,0x00000007,0x0004003b,0x00000017,0x00000165,0x00000007,0x0004003b,
0x00000034,0x0000016b,0x00000007,0x0004003b,0x00000007,0x0000016f,0x00000007,0x0004003b,
0x00000007,0x00000172,0x00000007,0x0004003b,0x00000007,0x00000173,0x00000007,0x0004003b,
0x0000000d,0x00000176,0x00000007,0x0004003b,0x00000007,0x0000017f,0x00000007,0x0004003b,
0x00000007,0x00000180,0x00000007,0x0004003b,0x00000007,0x00000181,0x00000007,0x0004003b,
0x0000000d,0x00000184,0x00000007,0x0004003b,0x00000007,0x00000190,0x00000007,0x0004003b,
0x00000007,0x00000191,0x00000007,0x0004003b,0x00000007,0x00000192,0x00000007,0x0004003b,
0x0000000d,0x00000195,0x00000007,0x0004003b,0x00000007,0x0000019d,0x00000007,0x0004003b,
0x00000007,0x000001a0,0x00000007,0x0004003b,0x00000007,0x000001a1,0x00000007,0x0004003b,
0x0000000d,0x000001a4,0x00000007,0x0004003b,0x00000007,0x000001af,0x00000007,0x0004003b,
0x00000007,0x000001b0,0x00000007,0x0004003b,0x00000007,0x000001b1,0x00000007,0x0004003b,
0x0000000d,0x000001b4,0x00000007,0x0004003b,0x00000007,0x000001bc,0x00000007,0x0004003b,
0x00000007,0x000001bf,0x00000007,0x0004003b,0x00000007,0x000001c0,0x00000007,0x0004003b,
0x0000000d,0x000001c3,0x00000007,0x0004003b,0x00000007,0x000001c8,0x00000007,0x0004003b,
0x00000007,0x000001cb,0x00000007,0x0004003b,0x00000007,0x000001ce,0x00000007,0x0004003b,
0x0000000d,0x000001d1,0x00000007,0x0004003b,0x00000007,0x000001d9,0x00000007,0x0004003b,
0x00000007,0x000001da,0x00000007,0x0004003b,0x00000007,0x000001dd,0x00000007,0x0004003b,
0x0000000d,0x000001e0,0x00000007,0x0004003b,0x00000007,0x000001eb,0x00000007,0x0004003b,
0x00000007,0x000001ec,0x00000007,0x0004003b,0x00000007,0x000001ed,0x00000007,0x0004003b,
0x0000000d,0x000001f0,0x00000007,0x0004003b,0x00000007,0x000001fb,0x00000007,0x0004003b,
0x00000007,0x000001fc,0x00000007,0x0004003b,0x00000007,0x000001fd,0x00000007,0x0004003b,
0x0000000d,0x00000200,0x00000007,0x0004003b,0x00000007,0x00000208,0x00000007,0x0004003b,
0x00000007,0x00000209,0x00000007,0x0004003b,0x00000007,0x0000020c,0x00000007,0x0004003b,
0x0000000d,0x0000020f,0x00000007,0x0004003b,0x00000007,0x00000217,0x00000007,0x0004003b,
0x00000007,0x00000218,0x00000007,0x0004003b,0x00000007,0x0000021b,0x00000007,0x0004003b,
0x0000000d,0x0000021e,0x00000007,0x0004003b,0x00000007,0x00000223,0x00000007,0x0004003b,
0x00000007,0x00000229,0x00000007,0x0004003b,0x00000007,0x00000235,0x00000007,0x0004003b,
0x00000007,0x0000024a,0x00000007,0x00050041,0x00000097,0x00000098,0x00000094,0x00000096,
0x0004003d,0x00000016,0x00000099,0x00000098,0x0003003e,0x00000091,0x00000099,0x0004003d,
0x0000000e,0x0000009d,0x0000009c,0x0003003e,0x0000009a,0x0000009d,0x0004003d,0x000000a0,
0x000000a3,0x000000a2,0x0004003d,0x0000000e,0x000000a4,0x0000009a,0x00070058,0x00000016,
0x000000a5,0x000000a3,0x000000a4,0x00000002,0x00000053,0x0008004f,0x0000000c,0x000000a6,
0x000000a5,0x000000a5,0x00000000,0x00000001,0x00000002,0x00050041,0x00000007,0x000000a7,
0x0000009e,0x00000031,0x00050051,0x00000006,0x000000a8,0x000000a6,0x00000000,0x0003003e,
0x000000a7,0x000000a8,0x00050041,0x00000007,0x000000a9,0x0000009e,0x0000003a,0x00050051,
0x00000006,0x000000aa,0x000000a6,0x00000001,0x0003003e,0x000000a9,0x000000aa,0x00050041,
0x00000007,0x000000ab,0x0000009e,0x00000069,0x00050051,0x00000006,0x000000ac,0x000000a6,
0x00000002,0x0003003e,0x000000ab,0x000000ac,0x0004003d,0x0000000e,0x000000ae,0x0000009a,
0x0004003d,0x00000016,0x000000af,0x00000091,0x0007004f,0x0000000e,0x000000b0,0x000000af,
0x000000af,0x00000002,0x00000003,0x00050085,0x0000000e,0x000000b1,0x000000ae,0x000000b0,
0x00050081,0x0000000e,0x000000b5,0x000000b1,0x000000b4,0x0003003e,0x000000ad,0x000000b5,
0x0004003d,0x0000000e,0x000000b7,0x000000ad,0x0006000c,0x0000000e,0x000000b8,0x00000001,
0x00000008,0x000000b7,0x0003003e,0x000000b6,0x000000b8,0x0004003d,0x0000000e,0x000000ba,
0x000000b6,0x0004003d,0x00000016,0x000000bb,0x00000091,0x0007004f,0x0000000e,0x000000bc,
0x000000bb,0x000000bb,0x00000000,0x00000001,0x00050085,0x0000000e,0x000000bd,0x000000ba,
0x000000bc,0x0003003e,0x000000b9,0x000000bd,0x0004003d,0x0000000e,0x000000bf,0x000000ad,
0x0004003d,0x0000000e,0x000000c0,0x000000b6,0x0004007f,0x0000000e,0x000000c1,0x000000c0,
0x00050081,0x0000000e,0x000000c2,0x000000bf,0x000000c1,0x0003003e,0x000000be,0x000000c2,
0x0004003d,0x000000a0,0x000000c4,0x000000a2,0x0004003d,0x0000000e,0x000000c5,0x000000b9,
0x00060060,0x00000016,0x000000c6,0x000000c4,0x000000c5,0x00000096,0x0003003e,0x000000c3,
0x000000c6,0x00050041,0x00000007,0x000000c8,0x000000c3,0x00000069,0x0004003d,0x00000006,
0x000000c9,0x000000c8,0x00050041,0x00000007,0x000000ca,0x000000c3,0x0000003a,0x0004003d,
0x00000006,0x000000cb,0x000000ca,0x00050083,0x00000006,0x000000cc,0x000000c9,0x000000cb,
0x0006000c,0x00000006,0x000000cd,0x00000001,0x00000004,0x000000cc,0x00050041,0x00000007,
0x000000ce,0x0000009e,0x0000003a,0x0004003d,0x00000006,0x000000cf,0x000000ce,0x00050041,
0x00000007,0x000000d0,0x000000c3,0x0000003a,0x0004003d,0x00000006,0x000000d1,0x000000d0,
0x00050083,0x00000006,0x000000d2,0x000000cf,0x000000d1,0x0006000c,0x00000006,0x000000d3,
0x00000001,0x00000004,0x000000d2,0x00050081,0x00000006,0x000000d4,0x000000cd,0x000000d3,
0x00050041,0x00000007,0x000000d5,0x0000009e,0x0000003a,0x0004003d,0x00000006,0x000000d6,
0x000000d5,0x00050041,0x00000007,0x000000d7,0x000000c3,0x00000069,0x0004003d,0x00000006,
0x000000d8,0x000000d7,0x00050083,0x00000006,0x000000d9,0x000000d6,0x000000d8,0x0006000c,
0x00000006,0x000000da,0x00000001,0x00000004,0x000000d9,0x00050081,0x00000006,0x000000db,
0x000000d4,0x000000da,0x0003003e,0x000000c7,0x000000db,0x0004003d,0x00000006,0x000000dc,
0x000000c7,0x000500ba,0x000000de,0x000000df,0x000000dc,0x000000dd,0x000300f7,0x000000e1,
0x00000000,0x000400fa,0x000000df,0x000000e0,0x000000e1,0x000200f8,0x000000e0,0x00050041,
0x00000007,0x000000e2,0x00000091,0x00000031,0x0004003d,0x00000006,0x000000e3,0x000000e2,
0x00050041,0x00000007,0x000000e4,0x000000b9,0x00000031,0x0004003d,0x00000006,0x000000e5,
0x000000e4,0x00050081,0x00000006,0x000000e6,0x000000e5,0x000000e3,0x00050041,0x00000007,
0x000000e7,0x000000b9,0x00000031,0x0003003e,0x000000e7,0x000000e6,0x0004003d,0x000000a0,
0x000000e9,0x000000a2,0x0004003d,0x0000000e,0x000000ea,0x000000b9,0x00050041,0x00000007,
0x000000eb,0x00000091,0x00000031,0x0004003d,0x00000006,0x000000ec,0x000000eb,0x00050050,
0x0000000e,0x000000ed,0x000000ec,0x00000053,0x00050081,0x0000000e,0x000000ee,0x000000ea,
0x000000ed,0x00060060,0x00000016,0x000000ef,0x000000e9,0x000000ee,0x00000096,0x0003003e,
0x000000e8,0x000000ef,0x0004003d,0x000000a0,0x000000f1,0x000000a2,0x0004003d,0x0000000e,
0x000000f2,0x000000b9,0x00050041,0x00000007,0x000000f3,0x00000091,0x0000003a,0x0004003d,
0x00000006,0x000000f4,0x000000f3,0x0004007f,0x00000006,0x000000f5,0x000000f4,0x00050050,
0x0000000e,0x000000f6,0x00000053,0x000000f5,0x00050081,0x0000000e,0x000000f7,0x000000f2,
0x000000f6,0x00060060,0x00000016,0x000000f8,0x000000f1,0x000000f7,0x00000096,0x0007004f,
0x0000000e,0x000000f9,0x000000f8,0x000000f8,0x00000003,0x00000002,0x00050041,0x00000007,
0x000000fa,0x000000f0,0x00000031,0x00050051,0x00000006,0x000000fb,0x000000f9,0x00000000,
0x0003003e,0x000000fa,0x000000fb,0x00050041,0x00000007,0x000000fc,0x000000f0,0x0000003a,
0x00050051,0x00000006,0x000000fd,0x000000f9,0x00000001,0x0003003e,0x000000fc,0x000000fd,
0x0004003d,0x000000a0,0x000000fe,0x000000a2,0x0004003d,0x0000000e,0x000000ff,0x000000b9,
0x00050041,0x00000007,0x00000100,0x00000091,0x0000003a,0x0004003d,0x00000006,0x00000101,
0x00000100,0x00050050,0x0000000e,0x00000102,0x00000053,0x00000101,0x00050081,0x0000000e,
0x00000103,0x000000ff,0x00000102,0x00060060,0x00000016,0x00000104,0x000000fe,0x00000103,
0x00000096,0x0007004f,0x0000000e,0x00000105,0x00000104,0x00000104,0x00000001,0x00000000,
0x00050041,0x00000007,0x00000106,0x000000f0,0x00000069,0x00050051,0x00000006,0x00000107,
0x00000105,0x00000000,0x0003003e,0x00000106,0x00000107,0x00050041,0x00000007,0x00000108,
0x000000f0,0x0000006e,0x00050051,0x00000006,0x00000109,0x00000105,0x00000001,0x0003003e,
0x00000108,0x00000109,0x00050041,0x00000007,0x0000010b,0x000000c3,0x0000003a,0x0004003d,
0x00000006,0x0000010c,0x0000010b,0x00050041,0x00000007,0x0000010d,0x000000c3,0x00000069,
0x0004003d,0x00000006,0x0000010e,0x0000010d,0x00050081,0x00000006,0x0000010f,0x0000010c,
0x0000010e,0x00050041,0x00000007,0x00000110,0x000000e8,0x00000031,0x0004003d,0x00000006,
0x00000111,0x00000110,0x00050081,0x00000006,0x00000112,0x0000010f,0x00000111,0x00050041,
0x00000007,0x00000113,0x000000e8,0x0000006e,0x0004003d,0x00000006,0x00000114,0x00000113,
0x00050081,0x00000006,0x00000115,0x00000112,0x00000114,0x00050085,0x00000006,0x00000117,
0x00000115,0x00000116,0x0003003e,0x0000010a,0x00000117,0x0004003d,0x00000016,0x00000118,
0x000000c3,0x0004003d,0x00000006,0x00000119,0x0000010a,0x00070050,0x00000016,0x0000011a,
0x00000119,0x00000119,0x00000119,0x00000119,0x00050083,0x00000016,0x0000011b,0x00000118,
0x0000011a,0x0003003e,0x000000c3,0x0000011b,0x0004003d,0x00000016,0x0000011c,0x000000e8,
0x0004003d,0x00000006,0x0000011d,0x0000010a,0x00070050,0x00000016,0x0000011e,0x0000011d,
0x0000011d,0x0000011d,0x0000011d,0x00050083,0x00000016,0x0000011f,0x0000011c,0x0000011e,
0x0003003e,0x000000e8,0x0000011f,0x0004003d,0x00000016,0x00000120,0x000000f0,0x0004003d,
0x00000006,0x00000121,0x0000010a,0x00070050,0x00000016,0x00000122,0x00000121,0x00000121,
0x00000121,0x00000121,0x00050083,0x00000016,0x00000123,0x00000120,0x00000122,0x0003003e,
0x000000f0,0x00000123,0x00050041,0x00000007,0x00000124,0x0000009e,0x0000003a,0x0004003d,
0x00000006,0x00000125,0x00000124,0x0004003d,0x00000006,0x00000126,0x0000010a,0x00050083,
0x00000006,0x00000127,0x00000125,0x00000126,0x00050041,0x00000007,0x00000128,0x0000009e,
0x0000006e,0x0003003e,0x00000128,0x00000127,0x00050041,0x00000007,0x0000012a,0x000000c3,
0x00000031,0x0004003d,0x00000006,0x0000012b,0x0000012a,0x0006000c,0x00000006,0x0000012c,
0x00000001,0x00000004,0x0000012b,0x00050041,0x00000007,0x0000012d,0x000000c3,0x0000003a,
0x0004003d,0x00000006,0x0000012e,0x0000012d,0x0006000c,0x00000006,0x0000012f,0x00000001,
0x00000004,0x0000012e,0x00050081,0x00000006,0x00000130,0x0000012c,0x0000012f,0x00050041,
0x00000007,0x00000131,0x000000c3,0x00000069,0x0004003d,0x00000006,0x00000132,0x00000131,
0x0006000c,0x00000006,0x00000133,0x00000001,0x00000004,0x00000132,0x00050081,0x00000006,
0x00000134,0x00000130,0x00000133,0x00050041,0x00000007,0x00000135,0x000000c3,0x0000006e,
0x0004003d,0x00000006,0x00000136,0x00000135,0x0006000c,0x00000006,0x00000137,0x00000001,
0x00000004,0x00000136,0x00050081,0x00000006,0x00000138,0x00000134,0x00000137,0x00050041,
0x00000007,0x00000139,0x000000e8,0x00000031,0x0004003d,0x00000006,0x0000013a,0x00000139,
0x0006000c,0x00000006,0x0000013b,0x00000001,0x00000004,0x0000013a,0x00050041,0x00000007,
0x0000013c,0x000000e8,0x0000003a,0x0004003d,0x00000006,0x0000013d,0x0000013c,0x0006000c,
0x00000006,0x0000013e,0x00000001,0x00000004,0x0000013d,0x00050081,0x00000006,0x0000013f,
0x0000013b,0x0000013e,0x00050041,0x00000007,0x00000140,0x000000e8,0x00000069,0x0004003d,
0x00000006,0x00000141,0x00000140,0x0006000c,0x00000006,0x00000142,0x00000001,0x00000004,
0x00000141,0x00050081,0x00000006,0x00000143,0x0000013f,0x00000142,0x00050041,0x00000007,
0x00000144,0x000000e8,0x0000006e,0x0004003d,0x00000006,0x00000145,0x00000144,0x0006000c,
0x00000006,0x00000146,0x00000001,0x00000004,0x00000145,0x00050081,0x00000006,0x00000147,
0x00000143,0x00000146,0x00050081,0x00000006,0x00000148,0x00000138,0x00000147,0x00050041,
0x00000007,0x00000149,0x000000f0,0x00000031,0x0004003d,0x00000006,0x0000014a,0x00000149,
0x0006000c,0x00000006,0x0000014b,0x00000001,0x00000004,0x0000014a,0x00050041,0x00000007,
0x0000014c,0x000000f0,0x0000003a,0x0004003d,0x00000006,0x0000014d,0x0000014c,0x0006000c,
0x00000006,0x0000014e,0x00000001,0x00000004,0x0000014d,0x00050081,0x00000006,0x0000014f,
0x0000014b,0x0000014e,0x00050041,0x00000007,0x00000150,0x000000f0,0x00000069,0x0004003d,
0x00000006,0x00000151,0x00000150,0x0006000c,0x00000006,0x00000152,0x00000001,0x00000004,
0x00000151,0x00050081,0x00000006,0x00000153,0x0000014f,0x00000152,0x00050041,0x00000007,
0x00000154,0x000000f0,0x0000006e,0x0004003d,0x00000006,0x00000155,0x00000154,0x0006000c,
0x00000006,0x00000156,0x00000001,0x00000004,0x00000155,0x00050081,0x00000006,0x00000157,
0x00000153,0x00000156,0x00050081,0x00000006,0x00000158,0x00000148,0x00000157,0x0003003e,
0x00000129,0x00000158,0x0004003d,0x00000006,0x0000015b,0x00000129,0x00050088,0x00000006,
0x0000015c,0x0000015a,0x0000015b,0x0003003e,0x00000159,0x0000015c,0x0004003d,0x00000006,
0x0000015e,0x00000159,0x0004003d,0x00000006,0x0000015f,0x00000159,0x00050085,0x00000006,
0x00000160,0x0000015e,0x0000015f,0x0003003e,0x0000015d,0x00000160,0x0004003d,0x00000006,
0x00000162,0x0000015d,0x0004003d,0x00000016,0x00000164,0x000000c3,0x0003003e,0x00000163,
0x00000164,0x0004003d,0x00000016,0x00000166,0x000000e8,0x0003003e,0x00000165,0x00000166,
0x00060039,0x0000000e,0x00000167,0x0000001b,0x00000163,0x00000165,0x00050051,0x00000006,
0x00000168,0x00000167,0x00000000,0x00050051,0x00000006,0x00000169,0x00000167,0x00000001,
0x00060050,0x0000000c,0x0000016a,0x00000162,0x00000168,0x00000169,0x0003003e,0x00000161,
0x0000016a,0x00050041,0x00000007,0x0000016c,0x000000be,0x0000003a,0x0004003d,0x00000006,
0x0000016d,0x0000016c,0x00050081,0x00000006,0x0000016e,0x0000016d,0x00000054,0x00050041,
0x00000007,0x00000170,0x000000be,0x00000031,0x0004003d,0x00000006,0x00000171,0x00000170,
0x0003003e,0x0000016f,0x00000171,0x0003003e,0x00000172,0x0000016e,0x00050041,0x00000007,
0x00000174,0x000000f0,0x00000031,0x0004003d,0x00000006,0x00000175,0x00000174,0x0003003e,
0x00000173,0x00000175,0x0004003d,0x0000000c,0x00000177,0x00000161,0x0003003e,0x00000176,
0x00000177,0x00080039,0x0000000e,0x00000178,0x00000014,0x0000016f,0x00000172,0x00000173,
0x00000176,0x0003003e,0x0000016b,0x00000178,0x00050041,0x00000007,0x00000179,0x000000be,
0x00000031,0x0004003d,0x00000006,0x0000017a,0x00000179,0x00050083,0x00000006,0x0000017b,
0x0000017a,0x00000054,0x00050041,0x00000007,0x0000017c,0x000000be,0x0000003a,0x0004003d,
0x00000006,0x0000017d,0x0000017c,0x00050081,0x00000006,0x0000017e,0x0000017d,0x00000054,
0x0003003e,0x0000017f,0x0000017b,0x0003003e,0x00000180,0x0000017e,0x00050041,0x00000007,
0x00000182,0x000000f0,0x0000003a,0x0004003d,0x00000006,0x00000183,0x00000182,0x0003003e,
0x00000181,0x00000183,0x0004003d,0x0000000c,0x00000185,0x00000161,0x0003003e,0x00000184,
0x00000185,0x00080039,0x0000000e,0x00000186,0x00000014,0x0000017f,0x00000180,0x00000181,
0x00000184,0x0004003d,0x0000000e,0x00000187,0x0000016b,0x00050081,0x0000000e,0x00000188,
0x00000187,0x00000186,0x0003003e,0x0000016b,0x00000188,0x00050041,0x00000007,0x00000189,
0x000000be,0x00000031,0x0004003d,0x00000006,0x0000018a,0x00000189,0x00050083,0x00000006,
0x0000018b,0x0000018a,0x00000054,0x00050041,0x00000007,0x0000018c,0x000000be,0x0000003a,
0x0004003d,0x00000006,0x0000018d,0x0000018c,0x00050083,0x00000006,0x0000018f,0x0000018d,
0x0000018e,0x0003003e,0x00000190,0x0000018b,0x0003003e,0x00000191,0x0000018f,0x00050041,
0x00000007,0x00000193,0x000000f0,0x00000069,0x0004003d,0x00000006,0x00000194,0x00000193,
0x0003003e,0x00000192,0x00000194,0x0004003d,0x0000000c,0x00000196,0x00000161,0x0003003e,
0x00000195,0x00000196,0x00080039,0x0000000e,0x00000197,0x00000014,0x00000190,0x00000191,
0x00000192,0x00000195,0x0004003d,0x0000000e,0x00000198,0x0000016b,0x00050081,0x0000000e,
0x00000199,0x00000198,0x00000197,0x0003003e,0x0000016b,0x00000199,0x00050041,0x00000007,
0x0000019a,0x000000be,0x0000003a,0x0004003d,0x00000006,0x0000019b,0x0000019a,0x00050083,
0x00000006,0x0000019c,0x0000019b,0x0000018e,0x00050041,0x00000007,0x0000019e,0x000000be,
0x00000031,0x0004003d,0x00000006,0x0000019f,0x0000019e,0x0003003e,0x0000019d,0x0000019f,
0x0003003e,0x000001a0,0x0000019c,0x00050041,0x00000007,0x000001a2,0x000000f0,0x0000006e,
0x0004003d,0x00000006,0x000001a3,0x000001a2,0x0003003e,0x000001a1,0x000001a3,0x0004003d,
0x0000000c,0x000001a5,0x00000161,0x0003003e,0x000001a4,0x000001a5,0x00080039,0x0000000e,
0x000001a6,0x00000014,0x0000019d,0x000001a0,0x000001a1,0x000001a4,0x0004003d,0x0000000e,
0x000001a7,0x0000016b,0x00050081,0x0000000e,0x000001a8,0x000001a7,0x000001a6,0x0003003e,
0x0000016b,0x000001a8,0x00050041,0x00000007,0x000001a9,0x000000be,0x00000031,0x0004003d,
0x00000006,0x000001aa,0x000001a9,0x00050081,0x00000006,0x000001ab,0x000001aa,0x00000054,
0x00050041,0x00000007,0x000001ac,0x000000be,0x0000003a,0x0004003d,0x00000006,0x000001ad,
0x000001ac,0x00050083,0x00000006,0x000001ae,0x000001ad,0x00000054,0x0003003e,0x000001af,
0x000001ab,0x0003003e,0x000001b0,0x000001ae,0x00050041,0x00000007,0x000001b2,0x000000c3,
0x00000031,0x0004003d,0x00000006,0x000001b3,0x000001b2,0x0003003e,0x000001b1,0x000001b3,
0x0004003d,0x0000000c,0x000001b5,0x00000161,0x0003003e,0x000001b4,0x000001b5,0x00080039,
0x0000000e,0x000001b6,0x00000014,0x000001af,0x000001b0,0x000001b1,0x000001b4,0x0004003d,
0x0000000e,0x000001b7,0x0000016b,0x00050081,0x0000000e,0x000001b8,0x000001b7,0x000001b6,
0x0003003e,0x0000016b,0x000001b8,0x00050041,0x00000007,0x000001b9,0x000000be,0x0000003a,
0x0004003d,0x00000006,0x000001ba,0x000001b9,0x00050083,0x00000006,0x000001bb,0x000001ba,
0x00000054,0x00050041,0x00000007,0x000001bd,0x000000be,0x00000031,0x0004003d,0x00000006,
0x000001be,0x000001bd,0x0003003e,0x000001bc,0x000001be,0x0003003e,0x000001bf,0x000001bb,
0x00050041,0x00000007,0x000001c1,0x000000c3,0x0000003a,0x0004003d,0x00000006,0x000001c2,
0x000001c1,0x0003003e,0x000001c0,0x000001c2,0x0004003d,0x0000000c,0x000001c4,0x00000161,
0x0003003e,0x000001c3,0x000001c4,0x00080039,0x0000000e,0x000001c5,0x00000014,0x000001bc,
0x000001bf,0x000001c0,0x000001c3,0x0004003d,0x0000000e,0x000001c6,0x0000016b,0x00050081,
0x0000000e,0x000001c7,0x000001c6,0x000001c5,0x0003003e,0x0000016b,0x000001c7,0x00050041,
0x00000007,0x000001c9,0x000000be,0x00000031,0x0004003d,0x00000006,0x000001ca,0x000001c9,
0x0003003e,0x000001c8,0x000001ca,0x00050041,0x00000007,0x000001cc,0x000000be,0x0000003a,
0x0004003d,0x00000006,0x000001cd,0x000001cc,0x0003003e,0x000001cb,0x000001cd,0x00050041,
0x00000007,0x000001cf,0x000000c3,0x00000069,0x0004003d,0x00000006,0x000001d0,0x000001cf,
0x0003003e,0x000001ce,0x000001d0,0x0004003d,0x0000000c,0x000001d2,0x00000161,0x0003003e,
0x000001d1,0x000001d2,0x00080039,0x0000000e,0x000001d3,0x00000014,0x000001c8,0x000001cb,
0x000001ce,0x000001d1,0x0004003d,0x0000000e,0x000001d4,0x0000016b,0x00050081,0x0000000e,
0x000001d5,0x000001d4,0x000001d3,0x0003003e,0x0000016b,0x000001d5,0x00050041,0x00000007,
0x000001d6,0x000000be,0x00000031,0x0004003d,0x00000006,0x000001d7,0x000001d6,0x00050081,
0x00000006,0x000001d8,0x000001d7,0x00000054,0x0003003e,0x000001d9,0x000001d8,0x00050041,
0x00000007,0x000001db,0x000000be,0x0000003a,0x0004003d,0x00000006,0x000001dc,0x000001db,
0x0003003e,0x000001da,0x000001dc,0x00050041,0x00000007,0x000001de,0x000000c3,0x0000006e,
0x0004003d,0x00000006,0x000001df,0x000001de,0x0003003e,0x000001dd,0x000001df,0x0004003d,
0x0000000c,0x000001e1,0x00000161,0x0003003e,0x000001e0,0x000001e1,0x00080039,0x0000000e,
0x000001e2,0x00000014,0x000001d9,0x000001da,0x000001dd,0x000001e0,0x0004003d,0x0000000e,
0x000001e3,0x0000016b,0x00050081,0x0000000e,0x000001e4,0x000001e3,0x000001e2,0x0003003e,
0x0000016b,0x000001e4,0x00050041,0x00000007,0x000001e5,0x000000be,0x00000031,0x0004003d,
0x00000006,0x000001e6,0x000001e5,0x00050083,0x00000006,0x000001e7,0x000001e6,0x00000054,
0x00050041,0x00000007,0x000001e8,0x000000be,0x0000003a,0x0004003d,0x00000006,0x000001e9,
0x000001e8,0x00050083,0x00000006,0x000001ea,0x000001e9,0x00000054,0x0003003e,0x000001eb,
0x000001e7,0x0003003e,0x000001ec,0x000001ea,0x00050041,0x00000007,0x000001ee,0x000000e8,
0x00000031,0x0004003d,0x00000006,0x000001ef,0x000001ee,0x0003003e,0x000001ed,0x000001ef,
0x0004003d,0x0000000c,0x000001f1,0x00000161,0x0003003e,0x000001f0,0x000001f1,0x00080039,
0x0000000e,0x000001f2,0x00000014,0x000001eb,0x000001ec,0x000001ed,0x000001f0,0x0004003d,
0x0000000e,0x000001f3,0x0000016b,0x00050081,0x0000000e,0x000001f4,0x000001f3,0x000001f2,
0x0003003e,0x0000016b,0x000001f4,0x00050041,0x00000007,0x000001f5,0x000000be,0x00000031,
0x0004003d,0x00000006,0x000001f6,0x000001f5,0x00050083,0x00000006,0x000001f7,0x000001f6,
0x0000018e,0x00050041,0x00000007,0x000001f8,0x000000be,0x0000003a,0x0004003d,0x00000006,
0x000001f9,0x000001f8,0x00050083,0x00000006,0x000001fa,0x000001f9,0x00000054,0x0003003e,
0x000001fb,0x000001f7,0x0003003e,0x000001fc,0x000001fa,0x00050041,0x00000007,0x000001fe,
0x000000e8,0x0000003a,0x0004003d,0x00000006,0x000001ff,0x000001fe,0x0003003e,0x000001fd,
0x000001ff,0x0004003d,0x0000000c,0x00000201,0x00000161,0x0003003e,0x00000200,0x00000201,
0x00080039,0x0000000e,0x00000202,0x00000014,0x000001fb,0x000001fc,0x000001fd,0x00000200,
0x0004003d,0x0000000e,0x00000203,0x0000016b,0x00050081,0x0000000e,0x00000204,0x00000203,
0x00000202,0x0003003e,0x0000016b,0x00000204,0x00050041,0x00000007,0x00000205,0x000000be,
0x00000031,0x0004003d,0x00000006,0x00000206,0x00000205,0x00050083,0x00000006,0x00000207,
0x00000206,0x0000018e,0x0003003e,0x00000208,0x00000207,0x00050041,0x00000007,0x0000020a,
0x000000be,0x0000003a,0x0004003d,0x00000006,0x0000020b,0x0000020a,0x0003003e,0x00000209,
0x0000020b,0x00050041,0x00000007,0x0000020d,0x000000e8,0x00000069,0x0004003d,0x00000006,
0x0000020e,0x0000020d,0x0003003e,0x0000020c,0x0000020e,0x0004003d,0x0000000c,0x00000210,
0x00000161,0x0003003e,0x0000020f,0x00000210,0x00080039,0x0000000e,0x00000211,0x00000014,
0x00000208,0x00000209,0x0000020c,0x0000020f,0x0004003d,0x0000000e,0x00000212,0x0000016b,
0x00050081,0x0000000e,0x00000213,0x00000212,0x00000211,0x0003003e,0x0000016b,0x00000213,
0x00050041,0x00000007,0x00000214,0x000000be,0x00000031,0x0004003d,0x00000006,0x00000215,
0x00000214,0x00050083,0x00000006,0x00000216,0x00000215,0x00000054,0x0003003e,0x00000217,
0x00000216,0x00050041,0x00000007,0x00000219,0x000000be,0x0000003a,0x0004003d,0x00000006,
0x0000021a,0x00000219,0x0003003e,0x00000218,0x0000021a,0x00050041,0x00000007,0x0000021c,
0x000000e8,0x0000006e,0x0004003d,0x00000006,0x0000021d,0x0000021c,0x0003003e,0x0000021b,
0x0000021d,0x0004003d,0x0000000c,0x0000021f,0x00000161,0x0003003e,0x0000021e,0x0000021f,
0x00080039,0x0000000e,0x00000220,0x00000014,0x00000217,0x00000218,0x0000021b,0x0000021e,
0x0004003d,0x0000000e,0x00000221,0x0000016b,0x00050081,0x0000000e,0x00000222,0x00000221,
0x00000220,0x0003003e,0x0000016b,0x00000222,0x00050041,0x00000007,0x00000224,0x0000016b,
0x0000003a,0x0004003d,0x00000006,0x00000225,0x00000224,0x00050041,0x00000007,0x00000226,
0x0000016b,0x00000031,0x0004003d,0x00000006,0x00000227,0x00000226,0x00050088,0x00000006,
0x00000228,0x00000225,0x00000227,0x0003003e,0x00000223,0x00000228,0x00050041,0x00000007,
0x0000022a,0x000000c3,0x0000003a,0x0004003d,0x00000006,0x0000022b,0x0000022a,0x00050041,
0x00000007,0x0000022c,0x000000c3,0x00000069,0x0004003d,0x00000006,0x0000022d,0x0000022c,
0x0007000c,0x00000006,0x0000022e,0x00000001,0x00000028,0x0000022b,0x0000022d,0x00050041,
0x00000007,0x0000022f,0x000000e8,0x00000031,0x0004003d,0x00000006,0x00000230,0x0000022f,
0x00050041,0x00000007,0x00000231,0x000000e8,0x0000006e,0x0004003d,0x00000006,0x00000232,
0x00000231,0x0007000c,0x00000006,0x00000233,0x00000001,0x00000028,0x00000230,0x00000232,
0x0007000c,0x00000006,0x00000234,0x00000001,0x00000028,0x0000022e,0x00000233,0x0003003e,
0x00000229,0x00000234,0x00050041,0x00000007,0x00000236,0x000000c3,0x0000003a,0x0004003d,
0x00000006,0x00000237,0x00000236,0x00050041,0x00000007,0x00000238,0x000000c3,0x00000069,
0x0004003d,0x00000006,0x00000239,0x00000238,0x0007000c,0x00000006,0x0000023a,0x00000001,
0x00000025,0x00000237,0x00000239,0x00050041,0x00000007,0x0000023b,0x000000e8,0x00000031,
0x0004003d,0x00000006,0x0000023c,0x0000023b,0x00050041,0x00000007,0x0000023d,0x000000e8,
0x0000006e,0x0004003d,0x00000006,0x0000023e,0x0000023d,0x0007000c,0x00000006,0x0000023f,
0x00000001,0x00000025,0x0000023c,0x0000023e,0x0007000c,0x00000006,0x00000240,0x00000001,
0x00000025,0x0000023a,0x0000023f,0x0003003e,0x00000235,0x00000240,0x00050041,0x00000242,
0x00000243,0x00000094,0x00000241,0x0004003d,0x00000006,0x00000244,0x00000243,0x0004003d,
0x00000006,0x00000245,0x00000223,0x00050085,0x00000006,0x00000246,0x00000244,0x00000245,
0x0004003d,0x00000006,0x00000247,0x00000235,0x0004003d,0x00000006,0x00000248,0x00000229,
0x0008000c,0x00000006,0x00000249,0x00000001,0x0000002b,0x00000246,0x00000247,0x00000248,
0x0003003e,0x00000223,0x00000249,0x0004003d,0x00000006,0x0000024b,0x00000223,0x00050041,
0x00000007,0x0000024c,0x0000009e,0x0000006e,0x0004003d,0x00000006,0x0000024d,0x0000024c,
0x00050083,0x00000006,0x0000024e,0x0000024b,0x0000024d,0x0003003e,0x0000024a,0x0000024e,
0x0004003d,0x00000006,0x0000024f,0x0000024a,0x0008000c,0x00000006,0x00000252,0x00000001,
0x0000002b,0x0000024f,0x00000250,0x00000251,0x0003003e,0x0000024a,0x00000252,0x00050041,
0x00000007,0x00000253,0x0000009e,0x00000031,0x0004003d,0x00000006,0x00000254,0x00000253,
0x0004003d,0x00000006,0x00000255,0x0000024a,0x00050081,0x00000006,0x00000256,0x00000254,
0x00000255,0x0008000c,0x00000006,0x00000257,0x00000001,0x0000002b,0x00000256,0x00000053,
0x00000054,0x00050041,0x00000007,0x00000258,0x0000009e,0x00000031,0x0003003e,0x00000258,
0x00000257,0x00050041,0x00000007,0x00000259,0x0000009e,0x0000003a,0x0004003d,0x00000006,
0x0000025a,0x00000259,0x0004003d,0x00000006,0x0000025b,0x0000024a,0x00050081,0x00000006,
0x0000025c,0x0000025a,0x0000025b,0x0008000c,0x00000006,0x0000025d,0x00000001,0x0000002b,
0x0000025c,0x00000053,0x00000054,0x00050041,0x00000007,0x0000025e,0x0000009e,0x0000003a,
0x0003003e,0x0000025e,0x0000025d,0x00050041,0x00000007,0x0000025f,0x0000009e,0x00000069,
0x0004003d,0x00000006,0x00000260,0x0000025f,0x0004003d,0x00000006,0x00000261,0x0000024a,
0x00050081,0x00000006,0x00000262,0x00000260,0x00000261,0x0008000c,0x00000006,0x00000263,
0x00000001,0x0000002b,0x00000262,0x00000053,0x00000054,0x00050041,0x00000007,0x00000264,
0x0000009e,0x00000069,0x0003003e,0x00000264,0x00000263,0x000200f9,0x000000e1,0x000200f8,
0x000000e1,0x00050041,0x00000007,0x00000265,0x0000009e,0x0000006e,0x0003003e,0x00000265,
0x00000054,0x0004003d,0x00000016,0x00000268,0x0000009e,0x0003003e,0x00000267,0x00000268,
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,0x00000007,0x0000007d,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,0x00050041,0x00000007,
0x0000007e,0x00000074,0x00000031,0x0004003d,0x00000006,0x0000007f,0x0000007e,0x00050041,
0x00000007,0x00000080,0x00000074,0x00000031,0x0004003d,0x00000006,0x00000081,0x00000080,
0x00050085,0x00000006,0x00000082,0x0000007f,0x00000081,0x00050081,0x00000006,0x00000084,
0x00000082,0x00000083,0x00050041,0x00000007,0x00000085,0x00000074,0x0000003a,0x0004003d,
0x00000006,0x00000086,0x00000085,0x00050041,0x00000007,0x00000087,0x00000074,0x0000003a,
0x0004003d,0x00000006,0x00000088,0x00000087,0x00050085,0x00000006,0x00000089,0x00000086,
0x00000088,0x00050081,0x00000006,0x0000008a,0x00000084,0x00000089,0x0006000c,0x00000006,
0x0000008b,0x00000001,0x00000020,0x0000008a,0x0003003e,0x0000007d,0x0000008b,0x0004003d,
0x0000000e,0x0000008c,0x00000074,0x0004003d,0x00000006,0x0000008d,0x0000007d,0x0005008e,
0x0000000e,0x0000008e,0x0000008c,0x0000008d,0x000200fe,0x0000008e,0x00010038
};
-90
View File
@@ -1,90 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t toon_code[] = {
0x07230203,0x00010000,0x0008000b,0x0000006d,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000000b,0x00000067,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00030005,0x00000009,0x00007675,0x00060005,0x0000000b,0x67617266,0x43786554,
0x64726f6f,0x00000000,0x00060005,0x0000000e,0x65676465,0x65726854,0x6c6f6873,0x00000064,
0x00040005,0x00000010,0x7366666f,0x00007465,0x00030005,0x00000014,0x00004350,0x00040006,
0x00000014,0x00000000,0x0063646e,0x00060006,0x00000014,0x00000001,0x6f736572,0x6974756c,
0x00006e6f,0x00030005,0x00000016,0x00006370,0x00050005,0x0000001f,0x6f6c6f63,0x6e654372,
0x00726574,0x00060005,0x00000023,0x75706e49,0x78655474,0x65727574,0x00000000,0x00050005,
0x00000028,0x6f6c6f63,0x66654c72,0x00000074,0x00050005,0x00000034,0x6f6c6f63,0x67695272,
0x00007468,0x00040005,0x0000003d,0x6f6c6f63,0x00705572,0x00050005,0x00000047,0x6f6c6f63,
0x776f4472,0x0000006e,0x00060005,0x00000050,0x66666964,0x69726f48,0x746e6f7a,0x00006c61,
0x00060005,0x00000055,0x66666964,0x74726556,0x6c616369,0x00000000,0x00050005,0x0000005a,
0x65676465,0x74636146,0x0000726f,0x00060005,0x00000060,0x6c74756f,0x43656e69,0x726f6c6f,
0x00000000,0x00050005,0x00000067,0x4374756f,0x726f6c6f,0x00000000,0x00040047,0x0000000b,
0x0000001e,0x00000000,0x00030047,0x00000014,0x00000002,0x00050048,0x00000014,0x00000000,
0x00000023,0x00000000,0x00050048,0x00000014,0x00000001,0x00000023,0x00000010,0x00040047,
0x00000023,0x00000021,0x00000000,0x00040047,0x00000023,0x00000022,0x00000000,0x00040047,
0x00000067,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,0x00040020,0x0000000d,0x00000007,0x00000006,0x0004002b,
0x00000006,0x0000000f,0x3e4ccccd,0x0004002b,0x00000006,0x00000011,0x3f800000,0x0005002c,
0x00000007,0x00000012,0x00000011,0x00000011,0x00040017,0x00000013,0x00000006,0x00000004,
0x0004001e,0x00000014,0x00000013,0x00000007,0x00040020,0x00000015,0x00000009,0x00000014,
0x0004003b,0x00000015,0x00000016,0x00000009,0x00040015,0x00000017,0x00000020,0x00000001,
0x0004002b,0x00000017,0x00000018,0x00000001,0x00040020,0x00000019,0x00000009,0x00000007,
0x00040017,0x0000001d,0x00000006,0x00000003,0x00040020,0x0000001e,0x00000007,0x0000001d,
0x00090019,0x00000020,0x00000006,0x00000001,0x00000000,0x00000000,0x00000000,0x00000001,
0x00000000,0x0003001b,0x00000021,0x00000020,0x00040020,0x00000022,0x00000000,0x00000021,
0x0004003b,0x00000022,0x00000023,0x00000000,0x00040015,0x0000002b,0x00000020,0x00000000,
0x0004002b,0x0000002b,0x0000002c,0x00000000,0x0004002b,0x00000006,0x0000002f,0x00000000,
0x0004002b,0x0000002b,0x00000040,0x00000001,0x0006002c,0x0000001d,0x00000062,0x0000002f,
0x0000002f,0x0000002f,0x00040020,0x00000066,0x00000003,0x00000013,0x0004003b,0x00000066,
0x00000067,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,
0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,0x0004003b,0x0000000d,0x0000000e,
0x00000007,0x0004003b,0x00000008,0x00000010,0x00000007,0x0004003b,0x0000001e,0x0000001f,
0x00000007,0x0004003b,0x0000001e,0x00000028,0x00000007,0x0004003b,0x0000001e,0x00000034,
0x00000007,0x0004003b,0x0000001e,0x0000003d,0x00000007,0x0004003b,0x0000001e,0x00000047,
0x00000007,0x0004003b,0x0000000d,0x00000050,0x00000007,0x0004003b,0x0000000d,0x00000055,
0x00000007,0x0004003b,0x0000000d,0x0000005a,0x00000007,0x0004003b,0x0000001e,0x00000060,
0x00000007,0x0004003d,0x00000007,0x0000000c,0x0000000b,0x0003003e,0x00000009,0x0000000c,
0x0003003e,0x0000000e,0x0000000f,0x00050041,0x00000019,0x0000001a,0x00000016,0x00000018,
0x0004003d,0x00000007,0x0000001b,0x0000001a,0x00050088,0x00000007,0x0000001c,0x00000012,
0x0000001b,0x0003003e,0x00000010,0x0000001c,0x0004003d,0x00000021,0x00000024,0x00000023,
0x0004003d,0x00000007,0x00000025,0x00000009,0x00050057,0x00000013,0x00000026,0x00000024,
0x00000025,0x0008004f,0x0000001d,0x00000027,0x00000026,0x00000026,0x00000000,0x00000001,
0x00000002,0x0003003e,0x0000001f,0x00000027,0x0004003d,0x00000021,0x00000029,0x00000023,
0x0004003d,0x00000007,0x0000002a,0x00000009,0x00050041,0x0000000d,0x0000002d,0x00000010,
0x0000002c,0x0004003d,0x00000006,0x0000002e,0x0000002d,0x00050050,0x00000007,0x00000030,
0x0000002e,0x0000002f,0x00050083,0x00000007,0x00000031,0x0000002a,0x00000030,0x00050057,
0x00000013,0x00000032,0x00000029,0x00000031,0x0008004f,0x0000001d,0x00000033,0x00000032,
0x00000032,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000028,0x00000033,0x0004003d,
0x00000021,0x00000035,0x00000023,0x0004003d,0x00000007,0x00000036,0x00000009,0x00050041,
0x0000000d,0x00000037,0x00000010,0x0000002c,0x0004003d,0x00000006,0x00000038,0x00000037,
0x00050050,0x00000007,0x00000039,0x00000038,0x0000002f,0x00050081,0x00000007,0x0000003a,
0x00000036,0x00000039,0x00050057,0x00000013,0x0000003b,0x00000035,0x0000003a,0x0008004f,
0x0000001d,0x0000003c,0x0000003b,0x0000003b,0x00000000,0x00000001,0x00000002,0x0003003e,
0x00000034,0x0000003c,0x0004003d,0x00000021,0x0000003e,0x00000023,0x0004003d,0x00000007,
0x0000003f,0x00000009,0x00050041,0x0000000d,0x00000041,0x00000010,0x00000040,0x0004003d,
0x00000006,0x00000042,0x00000041,0x00050050,0x00000007,0x00000043,0x0000002f,0x00000042,
0x00050083,0x00000007,0x00000044,0x0000003f,0x00000043,0x00050057,0x00000013,0x00000045,
0x0000003e,0x00000044,0x0008004f,0x0000001d,0x00000046,0x00000045,0x00000045,0x00000000,
0x00000001,0x00000002,0x0003003e,0x0000003d,0x00000046,0x0004003d,0x00000021,0x00000048,
0x00000023,0x0004003d,0x00000007,0x00000049,0x00000009,0x00050041,0x0000000d,0x0000004a,
0x00000010,0x00000040,0x0004003d,0x00000006,0x0000004b,0x0000004a,0x00050050,0x00000007,
0x0000004c,0x0000002f,0x0000004b,0x00050081,0x00000007,0x0000004d,0x00000049,0x0000004c,
0x00050057,0x00000013,0x0000004e,0x00000048,0x0000004d,0x0008004f,0x0000001d,0x0000004f,
0x0000004e,0x0000004e,0x00000000,0x00000001,0x00000002,0x0003003e,0x00000047,0x0000004f,
0x0004003d,0x0000001d,0x00000051,0x00000034,0x0004003d,0x0000001d,0x00000052,0x00000028,
0x00050083,0x0000001d,0x00000053,0x00000051,0x00000052,0x0006000c,0x00000006,0x00000054,
0x00000001,0x00000042,0x00000053,0x0003003e,0x00000050,0x00000054,0x0004003d,0x0000001d,
0x00000056,0x0000003d,0x0004003d,0x0000001d,0x00000057,0x00000047,0x00050083,0x0000001d,
0x00000058,0x00000056,0x00000057,0x0006000c,0x00000006,0x00000059,0x00000001,0x00000042,
0x00000058,0x0003003e,0x00000055,0x00000059,0x0004003d,0x00000006,0x0000005b,0x0000000e,
0x0004003d,0x00000006,0x0000005c,0x00000050,0x0004003d,0x00000006,0x0000005d,0x00000055,
0x00050081,0x00000006,0x0000005e,0x0000005c,0x0000005d,0x0007000c,0x00000006,0x0000005f,
0x00000001,0x00000030,0x0000005b,0x0000005e,0x0003003e,0x0000005a,0x0000005f,0x0004003d,
0x0000001d,0x00000061,0x0000001f,0x0004003d,0x00000006,0x00000063,0x0000005a,0x00060050,
0x0000001d,0x00000064,0x00000063,0x00000063,0x00000063,0x0008000c,0x0000001d,0x00000065,
0x00000001,0x0000002e,0x00000061,0x00000062,0x00000064,0x0003003e,0x00000060,0x00000065,
0x0004003d,0x0000001d,0x00000068,0x00000060,0x00050051,0x00000006,0x00000069,0x00000068,
0x00000000,0x00050051,0x00000006,0x0000006a,0x00000068,0x00000001,0x00050051,0x00000006,
0x0000006b,0x00000068,0x00000002,0x00070050,0x00000013,0x0000006c,0x00000069,0x0000006a,
0x0000006b,0x00000011,0x0003003e,0x00000067,0x0000006c,0x000100fd,0x00010038
};
-65
View File
@@ -1,65 +0,0 @@
// 1116.2.0
#pragma once
const uint32_t upscale_vert_code[] = {
0x07230203,0x00010000,0x0008000b,0x0000004b,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0008000f,0x00000000,0x00000004,0x6e69616d,0x00000000,0x0000000a,0x0000003b,0x00000045,
0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,0x00000000,0x00030005,
0x00000008,0x00006978,0x00060005,0x0000000a,0x565f6c67,0x65747265,0x646e4978,0x00007865,
0x00030005,0x0000000f,0x00006979,0x00030005,0x00000014,0x00000078,0x00030005,0x0000001c,
0x00004350,0x00040006,0x0000001c,0x00000000,0x0063646e,0x00030005,0x0000001e,0x00006370,
0x00030005,0x0000002a,0x00000079,0x00060005,0x00000039,0x505f6c67,0x65567265,0x78657472,
0x00000000,0x00060006,0x00000039,0x00000000,0x505f6c67,0x7469736f,0x006e6f69,0x00070006,
0x00000039,0x00000001,0x505f6c67,0x746e696f,0x657a6953,0x00000000,0x00070006,0x00000039,
0x00000002,0x435f6c67,0x4470696c,0x61747369,0x0065636e,0x00070006,0x00000039,0x00000003,
0x435f6c67,0x446c6c75,0x61747369,0x0065636e,0x00030005,0x0000003b,0x00000000,0x00060005,
0x00000045,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00040047,0x0000000a,0x0000000b,
0x0000002a,0x00030047,0x0000001c,0x00000002,0x00050048,0x0000001c,0x00000000,0x00000023,
0x00000000,0x00030047,0x00000039,0x00000002,0x00050048,0x00000039,0x00000000,0x0000000b,
0x00000000,0x00050048,0x00000039,0x00000001,0x0000000b,0x00000001,0x00050048,0x00000039,
0x00000002,0x0000000b,0x00000003,0x00050048,0x00000039,0x00000003,0x0000000b,0x00000004,
0x00040047,0x00000045,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,
0x00000002,0x00040015,0x00000006,0x00000020,0x00000001,0x00040020,0x00000007,0x00000007,
0x00000006,0x00040020,0x00000009,0x00000001,0x00000006,0x0004003b,0x00000009,0x0000000a,
0x00000001,0x0004002b,0x00000006,0x0000000c,0x00000001,0x00030016,0x00000012,0x00000020,
0x00040020,0x00000013,0x00000007,0x00000012,0x00020014,0x00000016,0x00040017,0x0000001b,
0x00000012,0x00000004,0x0003001e,0x0000001c,0x0000001b,0x00040020,0x0000001d,0x00000009,
0x0000001c,0x0004003b,0x0000001d,0x0000001e,0x00000009,0x0004002b,0x00000006,0x0000001f,
0x00000000,0x00040015,0x00000020,0x00000020,0x00000000,0x0004002b,0x00000020,0x00000021,
0x00000002,0x00040020,0x00000022,0x00000009,0x00000012,0x0004002b,0x00000020,0x00000026,
0x00000000,0x0004002b,0x00000020,0x00000030,0x00000003,0x0004002b,0x00000020,0x00000034,
0x00000001,0x0004001c,0x00000038,0x00000012,0x00000034,0x0006001e,0x00000039,0x0000001b,
0x00000012,0x00000038,0x00000038,0x00040020,0x0000003a,0x00000003,0x00000039,0x0004003b,
0x0000003a,0x0000003b,0x00000003,0x0004002b,0x00000012,0x0000003e,0x00000000,0x0004002b,
0x00000012,0x0000003f,0x3f800000,0x00040020,0x00000041,0x00000003,0x0000001b,0x00040017,
0x00000043,0x00000012,0x00000002,0x00040020,0x00000044,0x00000003,0x00000043,0x0004003b,
0x00000044,0x00000045,0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,
0x000200f8,0x00000005,0x0004003b,0x00000007,0x00000008,0x00000007,0x0004003b,0x00000007,
0x0000000f,0x00000007,0x0004003b,0x00000013,0x00000014,0x00000007,0x0004003b,0x00000013,
0x00000018,0x00000007,0x0004003b,0x00000013,0x0000002a,0x00000007,0x0004003b,0x00000013,
0x0000002d,0x00000007,0x0004003d,0x00000006,0x0000000b,0x0000000a,0x000500c3,0x00000006,
0x0000000d,0x0000000b,0x0000000c,0x000500c7,0x00000006,0x0000000e,0x0000000d,0x0000000c,
0x0003003e,0x00000008,0x0000000e,0x0004003d,0x00000006,0x00000010,0x0000000a,0x000500c7,
0x00000006,0x00000011,0x00000010,0x0000000c,0x0003003e,0x0000000f,0x00000011,0x0004003d,
0x00000006,0x00000015,0x00000008,0x000500aa,0x00000016,0x00000017,0x00000015,0x0000000c,
0x000300f7,0x0000001a,0x00000000,0x000400fa,0x00000017,0x00000019,0x00000025,0x000200f8,
0x00000019,0x00060041,0x00000022,0x00000023,0x0000001e,0x0000001f,0x00000021,0x0004003d,
0x00000012,0x00000024,0x00000023,0x0003003e,0x00000018,0x00000024,0x000200f9,0x0000001a,
0x000200f8,0x00000025,0x00060041,0x00000022,0x00000027,0x0000001e,0x0000001f,0x00000026,
0x0004003d,0x00000012,0x00000028,0x00000027,0x0003003e,0x00000018,0x00000028,0x000200f9,
0x0000001a,0x000200f8,0x0000001a,0x0004003d,0x00000012,0x00000029,0x00000018,0x0003003e,
0x00000014,0x00000029,0x0004003d,0x00000006,0x0000002b,0x0000000f,0x000500aa,0x00000016,
0x0000002c,0x0000002b,0x0000000c,0x000300f7,0x0000002f,0x00000000,0x000400fa,0x0000002c,
0x0000002e,0x00000033,0x000200f8,0x0000002e,0x00060041,0x00000022,0x00000031,0x0000001e,
0x0000001f,0x00000030,0x0004003d,0x00000012,0x00000032,0x00000031,0x0003003e,0x0000002d,
0x00000032,0x000200f9,0x0000002f,0x000200f8,0x00000033,0x00060041,0x00000022,0x00000035,
0x0000001e,0x0000001f,0x00000034,0x0004003d,0x00000012,0x00000036,0x00000035,0x0003003e,
0x0000002d,0x00000036,0x000200f9,0x0000002f,0x000200f8,0x0000002f,0x0004003d,0x00000012,
0x00000037,0x0000002d,0x0003003e,0x0000002a,0x00000037,0x0004003d,0x00000012,0x0000003c,
0x00000014,0x0004003d,0x00000012,0x0000003d,0x0000002a,0x00070050,0x0000001b,0x00000040,
0x0000003c,0x0000003d,0x0000003e,0x0000003f,0x00050041,0x00000041,0x00000042,0x0000003b,
0x0000001f,0x0003003e,0x00000042,0x00000040,0x0004003d,0x00000006,0x00000046,0x00000008,
0x0004006f,0x00000012,0x00000047,0x00000046,0x0004003d,0x00000006,0x00000048,0x0000000f,
0x0004006f,0x00000012,0x00000049,0x00000048,0x00050050,0x00000043,0x0000004a,0x00000047,
0x00000049,0x0003003e,0x00000045,0x0000004a,0x000100fd,0x00010038
};
-49
View File
@@ -1,49 +0,0 @@
// 1116.3.0
#pragma once
const uint32_t window_frag_code[] = {
0x07230203,0x00010000,0x0008000b,0x00000033,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000011,0x00000015,0x00030010,
0x00000004,0x00000007,0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,
0x00000000,0x00030005,0x00000009,0x00000063,0x00050005,0x0000000d,0x53786574,0x6c706d61,
0x00007265,0x00060005,0x00000011,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00050005,
0x00000015,0x4374756f,0x726f6c6f,0x00000000,0x00030005,0x0000001a,0x00004350,0x00050006,
0x0000001a,0x00000000,0x5863646e,0x00000030,0x00050006,0x0000001a,0x00000001,0x5963646e,
0x00000030,0x00050006,0x0000001a,0x00000002,0x5863646e,0x00000031,0x00050006,0x0000001a,
0x00000003,0x5963646e,0x00000031,0x00060006,0x0000001a,0x00000004,0x54657375,0x6c417865,
0x00616870,0x00030005,0x0000001c,0x00006370,0x00040047,0x0000000d,0x00000021,0x00000000,
0x00040047,0x0000000d,0x00000022,0x00000000,0x00040047,0x00000011,0x0000001e,0x00000000,
0x00040047,0x00000015,0x0000001e,0x00000000,0x00030047,0x0000001a,0x00000002,0x00050048,
0x0000001a,0x00000000,0x00000023,0x00000000,0x00050048,0x0000001a,0x00000001,0x00000023,
0x00000004,0x00050048,0x0000001a,0x00000002,0x00000023,0x00000008,0x00050048,0x0000001a,
0x00000003,0x00000023,0x0000000c,0x00050048,0x0000001a,0x00000004,0x00000023,0x00000010,
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,0x00040020,0x0000000c,0x00000000,0x0000000b,
0x0004003b,0x0000000c,0x0000000d,0x00000000,0x00040017,0x0000000f,0x00000006,0x00000002,
0x00040020,0x00000010,0x00000001,0x0000000f,0x0004003b,0x00000010,0x00000011,0x00000001,
0x00040020,0x00000014,0x00000003,0x00000007,0x0004003b,0x00000014,0x00000015,0x00000003,
0x00040017,0x00000016,0x00000006,0x00000003,0x00040015,0x00000019,0x00000020,0x00000001,
0x0007001e,0x0000001a,0x00000006,0x00000006,0x00000006,0x00000006,0x00000019,0x00040020,
0x0000001b,0x00000009,0x0000001a,0x0004003b,0x0000001b,0x0000001c,0x00000009,0x0004002b,
0x00000019,0x0000001d,0x00000004,0x00040020,0x0000001e,0x00000009,0x00000019,0x0004002b,
0x00000019,0x00000021,0x00000000,0x00020014,0x00000022,0x00040020,0x00000024,0x00000007,
0x00000006,0x00040015,0x00000028,0x00000020,0x00000000,0x0004002b,0x00000028,0x00000029,
0x00000003,0x0004002b,0x00000006,0x0000002d,0x3f800000,0x00050036,0x00000002,0x00000004,
0x00000000,0x00000003,0x000200f8,0x00000005,0x0004003b,0x00000008,0x00000009,0x00000007,
0x0004003b,0x00000024,0x00000025,0x00000007,0x0004003d,0x0000000b,0x0000000e,0x0000000d,
0x0004003d,0x0000000f,0x00000012,0x00000011,0x00050057,0x00000007,0x00000013,0x0000000e,
0x00000012,0x0003003e,0x00000009,0x00000013,0x0004003d,0x00000007,0x00000017,0x00000009,
0x0008004f,0x00000016,0x00000018,0x00000017,0x00000017,0x00000000,0x00000001,0x00000002,
0x00050041,0x0000001e,0x0000001f,0x0000001c,0x0000001d,0x0004003d,0x00000019,0x00000020,
0x0000001f,0x000500ab,0x00000022,0x00000023,0x00000020,0x00000021,0x000300f7,0x00000027,
0x00000000,0x000400fa,0x00000023,0x00000026,0x0000002c,0x000200f8,0x00000026,0x00050041,
0x00000024,0x0000002a,0x00000009,0x00000029,0x0004003d,0x00000006,0x0000002b,0x0000002a,
0x0003003e,0x00000025,0x0000002b,0x000200f9,0x00000027,0x000200f8,0x0000002c,0x0003003e,
0x00000025,0x0000002d,0x000200f9,0x00000027,0x000200f8,0x00000027,0x0004003d,0x00000006,
0x0000002e,0x00000025,0x00050051,0x00000006,0x0000002f,0x00000018,0x00000000,0x00050051,
0x00000006,0x00000030,0x00000018,0x00000001,0x00050051,0x00000006,0x00000031,0x00000018,
0x00000002,0x00070050,0x00000007,0x00000032,0x0000002f,0x00000030,0x00000031,0x0000002e,
0x0003003e,0x00000015,0x00000032,0x000100fd,0x00010038
};
-68
View File
@@ -1,68 +0,0 @@
// 1116.3.0
#pragma once
const uint32_t window_vert_code[] = {
0x07230203,0x00010000,0x0008000b,0x0000004a,0x00000000,0x00020011,0x00000001,0x0006000b,
0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
0x0008000f,0x00000000,0x00000004,0x6e69616d,0x00000000,0x0000000a,0x0000003a,0x00000044,
0x00030003,0x00000002,0x000001c2,0x00040005,0x00000004,0x6e69616d,0x00000000,0x00030005,
0x00000008,0x00006978,0x00060005,0x0000000a,0x565f6c67,0x65747265,0x646e4978,0x00007865,
0x00030005,0x0000000f,0x00006979,0x00030005,0x00000014,0x00000078,0x00030005,0x0000001b,
0x00004350,0x00050006,0x0000001b,0x00000000,0x5863646e,0x00000030,0x00050006,0x0000001b,
0x00000001,0x5963646e,0x00000030,0x00050006,0x0000001b,0x00000002,0x5863646e,0x00000031,
0x00050006,0x0000001b,0x00000003,0x5963646e,0x00000031,0x00030005,0x0000001d,0x00006370,
0x00030005,0x00000027,0x00000079,0x00060005,0x00000038,0x505f6c67,0x65567265,0x78657472,
0x00000000,0x00060006,0x00000038,0x00000000,0x505f6c67,0x7469736f,0x006e6f69,0x00070006,
0x00000038,0x00000001,0x505f6c67,0x746e696f,0x657a6953,0x00000000,0x00070006,0x00000038,
0x00000002,0x435f6c67,0x4470696c,0x61747369,0x0065636e,0x00070006,0x00000038,0x00000003,
0x435f6c67,0x446c6c75,0x61747369,0x0065636e,0x00030005,0x0000003a,0x00000000,0x00060005,
0x00000044,0x67617266,0x43786554,0x64726f6f,0x00000000,0x00040047,0x0000000a,0x0000000b,
0x0000002a,0x00030047,0x0000001b,0x00000002,0x00050048,0x0000001b,0x00000000,0x00000023,
0x00000000,0x00050048,0x0000001b,0x00000001,0x00000023,0x00000004,0x00050048,0x0000001b,
0x00000002,0x00000023,0x00000008,0x00050048,0x0000001b,0x00000003,0x00000023,0x0000000c,
0x00030047,0x00000038,0x00000002,0x00050048,0x00000038,0x00000000,0x0000000b,0x00000000,
0x00050048,0x00000038,0x00000001,0x0000000b,0x00000001,0x00050048,0x00000038,0x00000002,
0x0000000b,0x00000003,0x00050048,0x00000038,0x00000003,0x0000000b,0x00000004,0x00040047,
0x00000044,0x0000001e,0x00000000,0x00020013,0x00000002,0x00030021,0x00000003,0x00000002,
0x00040015,0x00000006,0x00000020,0x00000001,0x00040020,0x00000007,0x00000007,0x00000006,
0x00040020,0x00000009,0x00000001,0x00000006,0x0004003b,0x00000009,0x0000000a,0x00000001,
0x0004002b,0x00000006,0x0000000c,0x00000001,0x00030016,0x00000012,0x00000020,0x00040020,
0x00000013,0x00000007,0x00000012,0x00020014,0x00000016,0x0006001e,0x0000001b,0x00000012,
0x00000012,0x00000012,0x00000012,0x00040020,0x0000001c,0x00000009,0x0000001b,0x0004003b,
0x0000001c,0x0000001d,0x00000009,0x0004002b,0x00000006,0x0000001e,0x00000002,0x00040020,
0x0000001f,0x00000009,0x00000012,0x0004002b,0x00000006,0x00000023,0x00000000,0x0004002b,
0x00000006,0x0000002d,0x00000003,0x00040017,0x00000034,0x00000012,0x00000004,0x00040015,
0x00000035,0x00000020,0x00000000,0x0004002b,0x00000035,0x00000036,0x00000001,0x0004001c,
0x00000037,0x00000012,0x00000036,0x0006001e,0x00000038,0x00000034,0x00000012,0x00000037,
0x00000037,0x00040020,0x00000039,0x00000003,0x00000038,0x0004003b,0x00000039,0x0000003a,
0x00000003,0x0004002b,0x00000012,0x0000003d,0x00000000,0x0004002b,0x00000012,0x0000003e,
0x3f800000,0x00040020,0x00000040,0x00000003,0x00000034,0x00040017,0x00000042,0x00000012,
0x00000002,0x00040020,0x00000043,0x00000003,0x00000042,0x0004003b,0x00000043,0x00000044,
0x00000003,0x00050036,0x00000002,0x00000004,0x00000000,0x00000003,0x000200f8,0x00000005,
0x0004003b,0x00000007,0x00000008,0x00000007,0x0004003b,0x00000007,0x0000000f,0x00000007,
0x0004003b,0x00000013,0x00000014,0x00000007,0x0004003b,0x00000013,0x00000018,0x00000007,
0x0004003b,0x00000013,0x00000027,0x00000007,0x0004003b,0x00000013,0x0000002a,0x00000007,
0x0004003d,0x00000006,0x0000000b,0x0000000a,0x000500c3,0x00000006,0x0000000d,0x0000000b,
0x0000000c,0x000500c7,0x00000006,0x0000000e,0x0000000d,0x0000000c,0x0003003e,0x00000008,
0x0000000e,0x0004003d,0x00000006,0x00000010,0x0000000a,0x000500c7,0x00000006,0x00000011,
0x00000010,0x0000000c,0x0003003e,0x0000000f,0x00000011,0x0004003d,0x00000006,0x00000015,
0x00000008,0x000500aa,0x00000016,0x00000017,0x00000015,0x0000000c,0x000300f7,0x0000001a,
0x00000000,0x000400fa,0x00000017,0x00000019,0x00000022,0x000200f8,0x00000019,0x00050041,
0x0000001f,0x00000020,0x0000001d,0x0000001e,0x0004003d,0x00000012,0x00000021,0x00000020,
0x0003003e,0x00000018,0x00000021,0x000200f9,0x0000001a,0x000200f8,0x00000022,0x00050041,
0x0000001f,0x00000024,0x0000001d,0x00000023,0x0004003d,0x00000012,0x00000025,0x00000024,
0x0003003e,0x00000018,0x00000025,0x000200f9,0x0000001a,0x000200f8,0x0000001a,0x0004003d,
0x00000012,0x00000026,0x00000018,0x0003003e,0x00000014,0x00000026,0x0004003d,0x00000006,
0x00000028,0x0000000f,0x000500aa,0x00000016,0x00000029,0x00000028,0x0000000c,0x000300f7,
0x0000002c,0x00000000,0x000400fa,0x00000029,0x0000002b,0x00000030,0x000200f8,0x0000002b,
0x00050041,0x0000001f,0x0000002e,0x0000001d,0x0000002d,0x0004003d,0x00000012,0x0000002f,
0x0000002e,0x0003003e,0x0000002a,0x0000002f,0x000200f9,0x0000002c,0x000200f8,0x00000030,
0x00050041,0x0000001f,0x00000031,0x0000001d,0x0000000c,0x0004003d,0x00000012,0x00000032,
0x00000031,0x0003003e,0x0000002a,0x00000032,0x000200f9,0x0000002c,0x000200f8,0x0000002c,
0x0004003d,0x00000012,0x00000033,0x0000002a,0x0003003e,0x00000027,0x00000033,0x0004003d,
0x00000012,0x0000003b,0x00000014,0x0004003d,0x00000012,0x0000003c,0x00000027,0x00070050,
0x00000034,0x0000003f,0x0000003b,0x0000003c,0x0000003d,0x0000003e,0x00050041,0x00000040,
0x00000041,0x0000003a,0x00000023,0x0003003e,0x00000041,0x0000003f,0x0004003d,0x00000006,
0x00000045,0x00000008,0x0004006f,0x00000012,0x00000046,0x00000045,0x0004003d,0x00000006,
0x00000047,0x0000000f,0x0004006f,0x00000012,0x00000048,0x00000047,0x00050050,0x00000042,
0x00000049,0x00000046,0x00000048,0x0003003e,0x00000044,0x00000049,0x000100fd,0x00010038
};
@@ -1,3 +0,0 @@
# cmake files
.cache/
build/
-29
View File
@@ -1,29 +0,0 @@
cmake_minimum_required(VERSION 3.10)
project(dxbc
VERSION 2.6.2
DESCRIPTION "DXVK's DXBC"
LANGUAGES CXX)
file(GLOB SOURCES
"src/dxbc/*.cpp"
"src/spirv/*.cpp"
"src/util/*.cpp"
)
add_library(dxbc STATIC ${SOURCES})
# target
set_target_properties(dxbc PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON)
target_include_directories(dxbc SYSTEM
PUBLIC include/dxbc
PUBLIC include/spirv include/util include/dxvk)
target_compile_options(dxbc PRIVATE
-fPIC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set_target_properties(dxbc PROPERTIES
EXPORT_COMPILE_COMMANDS ON)
endif()
-24
View File
@@ -1,24 +0,0 @@
Copyright (c) 2017 Philip Rebohle
Copyright (c) 2019 Joshua Ashton
Copyright (c) 2019 Robin Kertels
Copyright (c) 2023 Jeffrey Ellison
zlib/libpng license
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
– The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
– Altered source versions must be plainly marked as such, and must not
be misrepresented as being the original software.
– This notice may not be removed or altered from any source distribution.
-4
View File
@@ -1,4 +0,0 @@
This GitHub repo hosts the files for running DXVK's shader translation independently of DXVK.
Please check out the original project:
https://github.com/doitsujin/dxvk
@@ -1,110 +0,0 @@
#pragma once
#include "dxbc_chunk_isgn.h"
#include "dxbc_decoder.h"
#include "dxbc_defs.h"
#include "dxbc_names.h"
#include "dxbc_modinfo.h"
#include "dxbc_util.h"
namespace dxvk {
/**
* \brief Info about unordered access views
*
* Stores whether an UAV is accessed with typed
* read or atomic instructions. This information
* will be used to generate image types.
*/
struct DxbcUavInfo {
bool accessTypedLoad = false;
bool accessAtomicOp = false;
bool sparseFeedback = false;
bool nonInvariantAccess = false;
DxvkAccessOp accessOp = DxvkAccessOp::None;
VkAccessFlags accessFlags = 0;
};
/**
* \brief Info about shader resource views
*
* Stores whether an SRV is accessed with
* sparse feedback. Useful for buffers.
*/
struct DxbcSrvInfo {
bool sparseFeedback = false;
};
/**
* \brief Counts cull and clip distances
*/
struct DxbcClipCullInfo {
uint32_t numClipPlanes = 0;
uint32_t numCullPlanes = 0;
};
/**
* \brief Shader analysis info
*/
struct DxbcAnalysisInfo {
std::array<DxbcUavInfo, 64> uavInfos;
std::array<DxbcSrvInfo, 128> srvInfos;
std::array<DxbcRegMask, 4096> xRegMasks;
DxbcClipCullInfo clipCullIn;
DxbcClipCullInfo clipCullOut;
DxbcBindingMask bindings = { };
bool usesDerivatives = false;
bool usesKill = false;
};
/**
* \brief DXBC shader analysis pass
*
* Collects information about the shader itself
* and the resources used by the shader, which
* will later be used by the actual compiler.
*/
class DxbcAnalyzer {
public:
DxbcAnalyzer(
const DxbcModuleInfo& moduleInfo,
const DxbcProgramInfo& programInfo,
const Rc<DxbcIsgn>& isgn,
const Rc<DxbcIsgn>& osgn,
const Rc<DxbcIsgn>& psgn,
DxbcAnalysisInfo& analysis);
~DxbcAnalyzer();
/**
* \brief Processes a single instruction
* \param [in] ins The instruction
*/
void processInstruction(
const DxbcShaderInstruction& ins);
private:
Rc<DxbcIsgn> m_isgn;
Rc<DxbcIsgn> m_osgn;
Rc<DxbcIsgn> m_psgn;
DxbcAnalysisInfo* m_analysis = nullptr;
DxbcClipCullInfo getClipCullInfo(
const Rc<DxbcIsgn>& sgn) const;
void setUavAccessOp(uint32_t uav, DxvkAccessOp op);
static DxvkAccessOp getStoreAccessOp(DxbcRegMask writeMask, const DxbcRegister& src);
static DxvkAccessOp getConstantStoreOp(uint32_t value);
};
}
@@ -1,68 +0,0 @@
#pragma once
#include <cctype>
#include "dxbc_common.h"
#include "dxbc_decoder.h"
#include "dxbc_enums.h"
#include "dxbc_reader.h"
namespace dxvk {
/**
* \brief Signature entry
*
* Stores the semantic name of an input or
* output and the corresponding register.
*/
struct DxbcSgnEntry {
std::string semanticName;
uint32_t semanticIndex;
uint32_t registerId;
DxbcRegMask componentMask;
DxbcRegMask componentUsed;
DxbcScalarType componentType;
DxbcSystemValue systemValue;
uint32_t streamId;
};
/**
* \brief Input/Output signature chunk
*
* Stores information about the input and
* output registers used by the shader stage.
*/
class DxbcIsgn : public RcObject {
public:
DxbcIsgn(DxbcReader reader, DxbcTag tag);
~DxbcIsgn();
auto begin() const { return m_entries.cbegin(); }
auto end () const { return m_entries.cend(); }
const DxbcSgnEntry* findByRegister(
uint32_t registerId) const;
const DxbcSgnEntry* find(
const std::string& semanticName,
uint32_t semanticIndex,
uint32_t streamIndex) const;
DxbcRegMask regMask(
uint32_t registerId) const;
uint32_t maxRegisterCount() const;
static bool compareSemanticNames(
const std::string& a,
const std::string& b);
private:
std::vector<DxbcSgnEntry> m_entries;
};
}
@@ -1,39 +0,0 @@
#pragma once
#include "dxbc_common.h"
#include "dxbc_decoder.h"
#include "dxbc_reader.h"
namespace dxvk {
/**
* \brief Shader code chunk
*
* Stores the DXBC shader code itself, as well
* as some meta info about the shader, i.e. what
* type of shader this is.
*/
class DxbcShex : public RcObject {
public:
DxbcShex(DxbcReader reader);
~DxbcShex();
DxbcProgramInfo programInfo() const {
return m_programInfo;
}
DxbcCodeSlice slice() const {
return DxbcCodeSlice(m_code.data(),
m_code.data() + m_code.size());
}
private:
DxbcProgramInfo m_programInfo;
std::vector<uint32_t> m_code;
};
}
@@ -1,72 +0,0 @@
#pragma once
#include "dxbc_include.h"
namespace dxvk {
/**
* \brief DXBC Program type
*
* Defines the shader stage that a DXBC
* module has been compiled form.
*/
enum class DxbcProgramType : uint16_t {
PixelShader = 0,
VertexShader = 1,
GeometryShader = 2,
HullShader = 3,
DomainShader = 4,
ComputeShader = 5,
Count
};
using DxbcProgramTypeFlags = Flags<DxbcProgramType>;
/**
* \brief DXBC shader info
*
* Stores the shader program type.
*/
class DxbcProgramInfo {
public:
DxbcProgramInfo() { }
DxbcProgramInfo(DxbcProgramType type)
: m_type(type) { }
/**
* \brief Program type
* \returns Program type
*/
DxbcProgramType type() const {
return m_type;
}
/**
* \brief Vulkan shader stage
*
* The \c VkShaderStageFlagBits constant
* that corresponds to the program type.
* \returns Vulkan shaer stage
*/
VkShaderStageFlagBits shaderStage() const;
/**
* \brief SPIR-V execution model
*
* The execution model that corresponds
* to the Vulkan shader stage.
* \returns SPIR-V execution model
*/
spv::ExecutionModel executionModel() const;
private:
DxbcProgramType m_type = DxbcProgramType::PixelShader;
};
}
Loaded 100 of 450 files, more files were not shown because too many files have changed in this diff. Show more